{
  "resourceType": "Bundle",
  "id": "example-digidot-multiple-care-episodes",
  "type": "transaction",
  "timestamp": "2026-09-01T10:00:00+00:00",
  "entry": [
    {
      "fullUrl": "https://example.org/fhir/Patient/journey-patient",
      "resource": {
        "resourceType": "Patient",
        "id": "journey-patient",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Patient"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: journey-patient.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:patient",
            "value": "journey-patient"
          }
        ],
        "active": true,
        "name": [
          {
            "use": "official",
            "family": "Demopasient",
            "given": [
              "Kari"
            ]
          }
        ],
        "gender": "female",
        "birthDate": "1985-04-12"
      },
      "request": {
        "method": "PUT",
        "url": "Patient/journey-patient"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Organization/org-general",
      "resource": {
        "resourceType": "Organization",
        "id": "org-general",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Organization"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: org-general.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:organization",
            "value": "org-general"
          }
        ],
        "active": true,
        "name": "Allmenntannlege – syntetisk virksomhet"
      },
      "request": {
        "method": "PUT",
        "url": "Organization/org-general"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Location/location-general",
      "resource": {
        "resourceType": "Location",
        "id": "location-general",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Location"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: location-general.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:location",
            "value": "location-general"
          }
        ],
        "status": "active",
        "name": "Behandlingssted general",
        "mode": "instance",
        "managingOrganization": {
          "reference": "Organization/org-general"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Location/location-general"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Practitioner/practitioner-general",
      "resource": {
        "resourceType": "Practitioner",
        "id": "practitioner-general",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: practitioner-general.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.4.4",
            "value": "123456789"
          }
        ],
        "active": true,
        "name": [
          {
            "family": "Eksempel",
            "given": [
              "general"
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Practitioner/practitioner-general"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Organization/org-specialist",
      "resource": {
        "resourceType": "Organization",
        "id": "org-specialist",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Organization"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: org-specialist.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:organization",
            "value": "org-specialist"
          }
        ],
        "active": true,
        "name": "Tannlegespesialist – syntetisk virksomhet"
      },
      "request": {
        "method": "PUT",
        "url": "Organization/org-specialist"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Location/location-specialist",
      "resource": {
        "resourceType": "Location",
        "id": "location-specialist",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Location"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: location-specialist.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:location",
            "value": "location-specialist"
          }
        ],
        "status": "active",
        "name": "Behandlingssted specialist",
        "mode": "instance",
        "managingOrganization": {
          "reference": "Organization/org-specialist"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Location/location-specialist"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Practitioner/practitioner-specialist",
      "resource": {
        "resourceType": "Practitioner",
        "id": "practitioner-specialist",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: practitioner-specialist.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.4.4",
            "value": "987654321"
          }
        ],
        "active": true,
        "name": [
          {
            "family": "Eksempel",
            "given": [
              "specialist"
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Practitioner/practitioner-specialist"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Encounter/contact-discovery",
      "resource": {
        "resourceType": "Encounter",
        "id": "contact-discovery",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:encounter",
            "value": "contact-discovery"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB"
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF"
                  }
                ]
              }
            ],
            "individual": {
              "type": "Practitioner",
              "reference": "Practitioner/practitioner-general"
            }
          }
        ],
        "period": {
          "start": "2026-08-10T07:00:00+00:00",
          "end": "2026-08-10T08:00:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/location-general"
            },
            "status": "completed"
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-general"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic actual contact 2026-08-10 09:00–10:00.</p></div>"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/episode-general"
          },
          {
            "reference": "EpisodeOfCare/episode-independent"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/contact-discovery"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Encounter/contact-assessment",
      "resource": {
        "resourceType": "Encounter",
        "id": "contact-assessment",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:encounter",
            "value": "contact-assessment"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB"
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF"
                  }
                ]
              }
            ],
            "individual": {
              "type": "Practitioner",
              "reference": "Practitioner/practitioner-specialist"
            }
          }
        ],
        "period": {
          "start": "2026-08-17T08:05:00+00:00",
          "end": "2026-08-17T08:30:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/location-specialist"
            },
            "status": "completed"
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-specialist"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic actual contact 2026-08-17 10:05–10:30.</p></div>"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/episode-specialist"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/request-referral"
          }
        ],
        "appointment": [
          {
            "reference": "Appointment/appointment-assessment"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/contact-assessment"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Encounter/contact-treatment",
      "resource": {
        "resourceType": "Encounter",
        "id": "contact-treatment",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:encounter",
            "value": "contact-treatment"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB"
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF"
                  }
                ]
              }
            ],
            "individual": {
              "type": "Practitioner",
              "reference": "Practitioner/practitioner-specialist"
            }
          }
        ],
        "period": {
          "start": "2026-08-24T07:10:00+00:00",
          "end": "2026-08-24T08:00:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/location-specialist"
            },
            "status": "completed"
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-specialist"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic actual contact 2026-08-24 09:10–10:00.</p></div>"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/episode-specialist"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/request-treatment"
          }
        ],
        "appointment": [
          {
            "reference": "Appointment/appointment-treatment"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/contact-treatment"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Encounter/contact-return",
      "resource": {
        "resourceType": "Encounter",
        "id": "contact-return",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:encounter",
            "value": "contact-return"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB"
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF"
                  }
                ]
              }
            ],
            "individual": {
              "type": "Practitioner",
              "reference": "Practitioner/practitioner-general"
            }
          }
        ],
        "period": {
          "start": "2026-09-01T07:00:00+00:00",
          "end": "2026-09-01T07:20:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/location-general"
            },
            "status": "completed"
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-general"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic actual contact 2026-09-01 09:00–09:20.</p></div>"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/episode-general"
          },
          {
            "reference": "EpisodeOfCare/episode-independent"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/request-return"
          }
        ],
        "appointment": [
          {
            "reference": "Appointment/appointment-return"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/contact-return"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Observation/journey-radiograph",
      "resource": {
        "resourceType": "Observation",
        "id": "journey-radiograph",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no"
          ],
          "tag": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/example-status",
              "code": "historical",
              "display": "Historical local Observation coding; not conformant to the current SNOMED-only DigiDOT Observation profile."
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic specialist journey: journey-radiograph.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:observation",
            "value": "journey-radiograph"
          }
        ],
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "imaging",
                "display": "Imaging"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "id": "primary",
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-radiographic-assessment",
              "display": "Dental radiographic assessment"
            },
            {
              "id": "SCTpost",
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-radiographic-assessment",
              "display": "Dental radiographic assessment"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-discovery"
        },
        "effectiveDateTime": "2026-08-10T07:10:00+00:00",
        "performer": [
          {
            "reference": "Practitioner/practitioner-general"
          }
        ],
        "valueCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "80967001",
              "display": "Dental caries"
            }
          ]
        },
        "bodySite": {
          "extension": [
            {
              "url": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ehds-body-structure",
              "extension": [
                {
                  "url": "location",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "version": "http://snomed.info/sct/51000202101/version/20260715",
                        "code": "36492000"
                      }
                    ]
                  }
                },
                {
                  "url": "locationQualifier",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "version": "http://snomed.info/sct/51000202101/version/20260715",
                        "code": "710098004",
                        "display": "Occlusal (qualifier value)"
                      }
                    ]
                  }
                },
                {
                  "url": "locationQualifier",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "version": "http://snomed.info/sct/51000202101/version/20260715",
                        "code": "46053002",
                        "display": "Distal (qualifier value)"
                      }
                    ]
                  }
                }
              ]
            }
          ]
        },
        "method": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-method",
              "code": "radiographic-assessment",
              "display": "Radiographic assessment"
            }
          ]
        }
      },
      "request": {
        "method": "PUT",
        "url": "Observation/journey-radiograph"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Condition/journey-caries",
      "resource": {
        "resourceType": "Condition",
        "id": "journey-caries",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Condition-no|0.7.0"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic caries finding on tooth 15, first recorded 10 August; treated by another organisation and recorded as resolved at return on 1 September. This is the final snapshot, not the original signed record.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:condition",
            "value": "journey-caries"
          }
        ],
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
              "code": "resolved",
              "display": "Resolved"
            }
          ]
        },
        "verificationStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
              "code": "confirmed",
              "display": "Confirmed"
            }
          ]
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://hl7.org/fhir/us/dental-data-exchange/CodeSystem/dental-category",
                "code": "dental",
                "display": "Dental"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "id": "SCTpre",
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "80967001",
              "display": "Dental caries"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "80967001:{363698007=(36492000+83473006+90933009)}",
              "id": "SCTextended"
            }
          ]
        },
        "bodySite": [
          {
            "extension": [
              {
                "url": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ehds-body-structure",
                "extension": [
                  {
                    "url": "location",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "36492000"
                        }
                      ]
                    }
                  },
                  {
                    "url": "locationQualifier",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "710098004",
                          "display": "Occlusal (qualifier value)"
                        }
                      ]
                    }
                  },
                  {
                    "url": "locationQualifier",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "46053002",
                          "display": "Distal (qualifier value)"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        ],
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-discovery"
        },
        "onsetDateTime": "2026-08-10",
        "abatementDateTime": "2026-09-01T07:15:00+00:00",
        "recordedDate": "2026-08-10T07:15:00+00:00",
        "recorder": {
          "reference": "Practitioner/practitioner-general"
        },
        "asserter": {
          "reference": "Practitioner/practitioner-general"
        },
        "evidence": [
          {
            "detail": [
              {
                "reference": "Observation/journey-radiograph"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Condition/journey-caries"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/EpisodeOfCare/episode-general",
      "resource": {
        "resourceType": "EpisodeOfCare",
        "id": "episode-general",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-EpisodeOfCare-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:episodeofcare",
            "value": "episode-general"
          }
        ],
        "status": "finished",
        "patient": {
          "reference": "Patient/journey-patient"
        },
        "managingOrganization": {
          "reference": "Organization/org-general"
        },
        "period": {
          "start": "2026-08-10",
          "end": "2026-09-01"
        },
        "diagnosis": [
          {
            "condition": {
              "reference": "Condition/journey-caries"
            }
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic responsibility period for general. Separate identity; related through the actual referral.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "EpisodeOfCare/episode-general"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/EpisodeOfCare/episode-specialist",
      "resource": {
        "resourceType": "EpisodeOfCare",
        "id": "episode-specialist",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-EpisodeOfCare-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:episodeofcare",
            "value": "episode-specialist"
          }
        ],
        "status": "finished",
        "patient": {
          "reference": "Patient/journey-patient"
        },
        "managingOrganization": {
          "reference": "Organization/org-specialist"
        },
        "period": {
          "start": "2026-08-11",
          "end": "2026-08-24"
        },
        "diagnosis": [
          {
            "condition": {
              "reference": "Condition/journey-caries"
            }
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic responsibility period for specialist. Separate identity; related through the actual referral.</p></div>"
        },
        "referralRequest": [
          {
            "reference": "ServiceRequest/request-referral"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "EpisodeOfCare/episode-specialist"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/ServiceRequest/request-referral",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "request-referral",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:servicerequest",
            "value": "request-referral"
          }
        ],
        "status": "completed",
        "intent": "order",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-treatment"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "129125009:{408730004=397943006,408731000=410512000,408732007=410604004,363589002=(234789004:{363704007=36492000})}"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-discovery"
        },
        "authoredOn": "2026-08-10T08:00:00+00:00",
        "requester": {
          "reference": "Practitioner/practitioner-general"
        },
        "performer": [
          {
            "reference": "Organization/org-specialist"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/journey-caries"
          }
        ],
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/episode-general"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic request-referral. The origin contact and source episode remain unchanged after subsequent contacts.</p></div>"
        },
        "note": [
          {
            "text": "Syntetisk henvisning: ber om spesialistvurdering og restaurering av tann 15 dersom dette bekreftes egnet. Funnet og relevant kontekst følger som referanser."
          }
        ],
        "bodySite": [
          {
            "extension": [
              {
                "url": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ehds-body-structure",
                "extension": [
                  {
                    "url": "location",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "36492000"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/request-referral"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/ServiceRequest/request-treatment",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "request-treatment",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:servicerequest",
            "value": "request-treatment"
          }
        ],
        "status": "completed",
        "intent": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-treatment"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "129125009:{408730004=397943006,408731000=410512000,408732007=410604004,363589002=(234789004)}"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-assessment"
        },
        "authoredOn": "2026-08-17T08:30:00+00:00",
        "requester": {
          "reference": "Practitioner/practitioner-specialist"
        },
        "performer": [
          {
            "reference": "Organization/org-specialist"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/journey-caries"
          }
        ],
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/episode-specialist"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic request-treatment. The origin contact and source episode remain unchanged after subsequent contacts.</p></div>"
        },
        "basedOn": [
          {
            "reference": "ServiceRequest/request-referral"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/request-treatment"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/ServiceRequest/request-return",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "request-return",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:servicerequest",
            "value": "request-return"
          }
        ],
        "status": "completed",
        "intent": "order",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-follow-up"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "129125009:{408730004=397943006,408731000=410512000,408732007=410604004,363589002=(390906007)}"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-treatment"
        },
        "authoredOn": "2026-08-24T08:00:00+00:00",
        "requester": {
          "reference": "Practitioner/practitioner-specialist"
        },
        "performer": [
          {
            "reference": "Organization/org-general"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/journey-caries"
          }
        ],
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/episode-specialist"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic request-return. The origin contact and source episode remain unchanged after subsequent contacts.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/request-return"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Appointment/appointment-assessment",
      "resource": {
        "resourceType": "Appointment",
        "id": "appointment-assessment",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:appointment",
            "value": "appointment-assessment"
          }
        ],
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "description": "Syntetisk avtale: appointment-assessment",
        "start": "2026-08-17T08:00:00+00:00",
        "end": "2026-08-17T08:30:00+00:00",
        "basedOn": [
          {
            "reference": "ServiceRequest/request-referral"
          }
        ],
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/episode-specialist"
          }
        ],
        "participant": [
          {
            "actor": {
              "type": "Patient",
              "reference": "Patient/journey-patient"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "type": "Practitioner",
              "reference": "Practitioner/practitioner-specialist"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "type": "Location",
              "reference": "Location/location-specialist"
            },
            "status": "accepted"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/appointment-assessment"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Appointment/appointment-treatment",
      "resource": {
        "resourceType": "Appointment",
        "id": "appointment-treatment",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:appointment",
            "value": "appointment-treatment"
          }
        ],
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "description": "Syntetisk avtale: appointment-treatment",
        "start": "2026-08-24T07:00:00+00:00",
        "end": "2026-08-24T08:00:00+00:00",
        "basedOn": [
          {
            "reference": "ServiceRequest/request-treatment"
          }
        ],
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/episode-specialist"
          }
        ],
        "participant": [
          {
            "actor": {
              "type": "Patient",
              "reference": "Patient/journey-patient"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "type": "Practitioner",
              "reference": "Practitioner/practitioner-specialist"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "type": "Location",
              "reference": "Location/location-specialist"
            },
            "status": "accepted"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/appointment-treatment"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Appointment/appointment-return",
      "resource": {
        "resourceType": "Appointment",
        "id": "appointment-return",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:appointment",
            "value": "appointment-return"
          }
        ],
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "description": "Syntetisk avtale: appointment-return",
        "start": "2026-09-01T07:00:00+00:00",
        "end": "2026-09-01T07:30:00+00:00",
        "basedOn": [
          {
            "reference": "ServiceRequest/request-return"
          }
        ],
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/episode-general"
          },
          {
            "reference": "EpisodeOfCare/episode-independent"
          }
        ],
        "participant": [
          {
            "actor": {
              "type": "Patient",
              "reference": "Patient/journey-patient"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "type": "Practitioner",
              "reference": "Practitioner/practitioner-general"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "type": "Location",
              "reference": "Location/location-general"
            },
            "status": "accepted"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/appointment-return"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Procedure/journey-restoration",
      "resource": {
        "resourceType": "Procedure",
        "id": "journey-restoration",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Procedure-no"
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic completed composite restoration of tooth 15 at the specialist organisation. The local treatment request fulfils the original referral.</p></div>"
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:procedure",
            "value": "journey-restoration"
          }
        ],
        "status": "completed",
        "category": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-procedure-category",
              "code": "dental-procedure",
              "display": "Dental procedure"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "id": "SCTpre",
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "234789004",
              "display": "Insertion of composite restoration into tooth"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "234789004:{363704007=(36492000+83473006+90933009)}",
              "id": "SCTextended"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-treatment"
        },
        "performedDateTime": "2026-08-24T07:45:00+00:00",
        "recorder": {
          "reference": "Practitioner/practitioner-specialist"
        },
        "performer": [
          {
            "actor": {
              "reference": "Practitioner/practitioner-specialist"
            }
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/journey-caries"
          }
        ],
        "bodySite": [
          {
            "extension": [
              {
                "url": "https://novari.no/fhir/digidot/StructureDefinition/digidot-ehds-body-structure",
                "extension": [
                  {
                    "url": "location",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "36492000"
                        }
                      ]
                    }
                  },
                  {
                    "url": "locationQualifier",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "710098004",
                          "display": "Occlusal (qualifier value)"
                        }
                      ]
                    }
                  },
                  {
                    "url": "locationQualifier",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "46053002",
                          "display": "Distal (qualifier value)"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/request-treatment"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Procedure/journey-restoration"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Composition/note-discovery",
      "resource": {
        "resourceType": "Composition",
        "id": "note-discovery",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no"
          ]
        },
        "identifier": {
          "system": "urn:novari:example:specialist-journey:composition",
          "value": "note-discovery"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-discovery"
        },
        "date": "2026-08-10T08:15:00+00:00",
        "author": [
          {
            "reference": "Practitioner/practitioner-general"
          }
        ],
        "title": "Syntetisk journalnotat – contact-discovery",
        "section": [
          {
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Karies på tann 15 er dokumentert og henvises til spesialist. En separat oppfølgingssak er også vurdert under denne kontakten. Den separate saken omfattes ikke av henvisningen.</p></div>"
            },
            "entry": [
              {
                "reference": "Observation/journey-radiograph"
              },
              {
                "reference": "Condition/journey-caries"
              },
              {
                "reference": "ServiceRequest/request-referral"
              }
            ]
          }
        ],
        "language": "nb"
      },
      "request": {
        "method": "PUT",
        "url": "Composition/note-discovery"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Composition/note-assessment",
      "resource": {
        "resourceType": "Composition",
        "id": "note-assessment",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no"
          ]
        },
        "identifier": {
          "system": "urn:novari:example:specialist-journey:composition",
          "value": "note-assessment"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-assessment"
        },
        "date": "2026-08-17T08:40:00+00:00",
        "author": [
          {
            "reference": "Practitioner/practitioner-specialist"
          }
        ],
        "title": "Syntetisk journalnotat – contact-assessment",
        "section": [
          {
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Henvisningen og tidligere funn er gjennomgått. Spesialistvurdering er utført. Videre restaurerende behandling er planlagt og forklart for pasienten. Egen behandlingstime avtales.</p></div>"
            },
            "entry": [
              {
                "reference": "Condition/journey-caries"
              },
              {
                "reference": "ServiceRequest/request-treatment"
              }
            ]
          }
        ],
        "language": "nb"
      },
      "request": {
        "method": "PUT",
        "url": "Composition/note-assessment"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Composition/note-treatment",
      "resource": {
        "resourceType": "Composition",
        "id": "note-treatment",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no"
          ]
        },
        "identifier": {
          "system": "urn:novari:example:specialist-journey:composition",
          "value": "note-treatment"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-treatment"
        },
        "date": "2026-08-24T08:15:00+00:00",
        "author": [
          {
            "reference": "Practitioner/practitioner-specialist"
          }
        ],
        "title": "Syntetisk journalnotat – contact-treatment",
        "section": [
          {
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Planlagt restaurering av tann 15 er utført og registrert strukturert. Informasjon om oppfølging er gitt. Allmenntannlegen bes følge opp; spesialistens avgrensede oppdrag avsluttes.</p></div>"
            },
            "entry": [
              {
                "reference": "Procedure/journey-restoration"
              },
              {
                "reference": "ServiceRequest/request-return"
              }
            ]
          }
        ],
        "language": "nb"
      },
      "request": {
        "method": "PUT",
        "url": "Composition/note-treatment"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Composition/note-return",
      "resource": {
        "resourceType": "Composition",
        "id": "note-return",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no"
          ]
        },
        "identifier": {
          "system": "urn:novari:example:specialist-journey:composition",
          "value": "note-return"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2"
            }
          ]
        },
        "subject": {
          "reference": "Patient/journey-patient"
        },
        "encounter": {
          "reference": "Encounter/contact-return"
        },
        "date": "2026-09-01T07:30:00+00:00",
        "author": [
          {
            "reference": "Practitioner/practitioner-general"
          }
        ],
        "title": "Syntetisk journalnotat – contact-return",
        "section": [
          {
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Behandlingssaken for tann 15 avsluttes etter oppfølging. Den separate oppfølgingssaken er også vurdert og videreføres.</p></div>"
            },
            "entry": [
              {
                "reference": "Condition/journey-caries"
              },
              {
                "reference": "ServiceRequest/request-return"
              }
            ]
          }
        ],
        "language": "nb"
      },
      "request": {
        "method": "PUT",
        "url": "Composition/note-return"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/EpisodeOfCare/episode-independent",
      "resource": {
        "resourceType": "EpisodeOfCare",
        "id": "episode-independent",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-EpisodeOfCare-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:example:specialist-journey:episodeofcare",
            "value": "episode-independent"
          }
        ],
        "status": "active",
        "patient": {
          "reference": "Patient/journey-patient"
        },
        "managingOrganization": {
          "reference": "Organization/org-general"
        },
        "period": {
          "start": "2026-08-01"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic separate oral-care matter addressed at the same contact. It is not part of the tooth-15 specialist referral.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "EpisodeOfCare/episode-independent"
      }
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "https://novari.no/fhir/digidot/CodeSystem/example-status",
        "code": "historical",
        "display": "Historical illustration: contains local Observation codes not accepted by the current profile. Not a current validation or import example; clinical mappings remain to be agreed."
      },
      {
        "display": "Test-data transaction, not a DENT submission. This complete dataset includes Patient and may use client-assigned IDs or resources outside the DENT submission contract. It must not be submitted unchanged to DENT. Use the focused DigiDOT transaction examples for supplier submissions."
      }
    ]
  }
}