{
  "resourceType": "Bundle",
  "id": "example-digidot-complete-line-danser-transaction",
  "type": "transaction",
  "timestamp": "2028-06-12T07:30:00+00:00",
  "entry": [
    {
      "resource": {
        "resourceType": "Patient",
        "id": "patient-line-danser",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Patient"
          ],
          "source": "https://www.nhn.no/tjenester/persontjenesten",
          "tag": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/cache-status",
              "code": "source-current",
              "display": "Source checked for this test import"
            }
          ]
        },
        "identifier": [
          {
            "use": "official",
            "system": "urn:oid:2.16.578.1.12.4.1.4.1",
            "value": "15076500565"
          }
        ],
        "active": true,
        "name": [
          {
            "use": "official",
            "family": "Danser",
            "given": [
              "Line"
            ]
          }
        ],
        "telecom": [
          {
            "system": "phone",
            "value": "+4790000000",
            "use": "mobile"
          },
          {
            "system": "email",
            "value": "line.danser.test@example.org",
            "use": "home"
          }
        ],
        "gender": "female",
        "birthDate": "1965-07-15",
        "address": [
          {
            "use": "home",
            "type": "physical",
            "line": [
              "Flaklypa 31"
            ],
            "city": "Testvik",
            "postalCode": "3602",
            "country": "NO"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Patient/patient-line-danser"
      },
      "fullUrl": "https://example.org/fhir/Patient/patient-line-danser"
    },
    {
      "resource": {
        "resourceType": "Person",
        "id": "person-line-danser",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Person"
          ],
          "source": "https://www.nhn.no/tjenester/persontjenesten"
        },
        "identifier": [
          {
            "use": "official",
            "system": "urn:oid:2.16.578.1.12.4.1.4.1",
            "value": "15076500565"
          }
        ],
        "name": [
          {
            "family": "Danser",
            "given": [
              "Line"
            ]
          }
        ],
        "gender": "female",
        "birthDate": "1965-07-15",
        "link": [
          {
            "target": {
              "reference": "Patient/patient-line-danser",
              "display": "Line Danser"
            },
            "assurance": "level3"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Person/person-line-danser"
      },
      "fullUrl": "https://example.org/fhir/Person/person-line-danser"
    },
    {
      "resource": {
        "resourceType": "Organization",
        "id": "org-digidot-test-clinic",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Organization"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.2",
            "value": "999999999"
          }
        ],
        "active": true,
        "type": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/organization-type",
                "code": "prov",
                "display": "Healthcare Provider"
              }
            ]
          }
        ],
        "name": "DigiDOT public dental test clinic",
        "telecom": [
          {
            "system": "phone",
            "value": "+4732000000",
            "use": "work"
          }
        ],
        "address": [
          {
            "line": [
              "Tannhelseveien 1"
            ],
            "city": "Testvik",
            "postalCode": "3601",
            "country": "NO"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Organization/org-digidot-test-clinic"
      },
      "fullUrl": "https://example.org/fhir/Organization/org-digidot-test-clinic"
    },
    {
      "resource": {
        "resourceType": "Location",
        "id": "loc-digidot-room-2",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Location"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:location",
            "value": "loc-digidot-room-2"
          }
        ],
        "status": "active",
        "name": "DigiDOT treatment room 2",
        "mode": "instance",
        "type": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v3-RoleCode",
                "code": "OF",
                "display": "Outpatient facility"
              }
            ]
          }
        ],
        "managingOrganization": {
          "reference": "Organization/org-digidot-test-clinic"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Location/loc-digidot-room-2"
      },
      "fullUrl": "https://example.org/fhir/Location/loc-digidot-room-2"
    },
    {
      "resource": {
        "resourceType": "Practitioner",
        "id": "practitioner-tora-tannlege",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
          ],
          "source": "https://www.nhn.no/tjenester/helsepersonellregisteret"
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.4.4",
            "value": "123456789"
          }
        ],
        "active": true,
        "name": [
          {
            "family": "Tannlege",
            "given": [
              "Tora"
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Practitioner/practitioner-tora-tannlege"
      },
      "fullUrl": "https://example.org/fhir/Practitioner/practitioner-tora-tannlege"
    },
    {
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "practitionerrole-tora-dentist",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-PractitionerRole"
          ],
          "source": "https://www.nhn.no/tjenester/helsepersonellregisteret"
        },
        "active": true,
        "practitioner": {
          "reference": "Practitioner/practitioner-tora-tannlege",
          "display": "Tora Tannlege"
        },
        "organization": {
          "reference": "Organization/org-digidot-test-clinic"
        },
        "code": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-personnel-type",
                "code": "dentist",
                "display": "Dentist"
              }
            ],
            "text": "Dentist"
          }
        ],
        "location": [
          {
            "reference": "Location/loc-digidot-room-2"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "PractitionerRole/practitionerrole-tora-dentist"
      },
      "fullUrl": "https://example.org/fhir/PractitionerRole/practitionerrole-tora-dentist"
    },
    {
      "resource": {
        "resourceType": "Coverage",
        "id": "coverage-line-danser-public-dental",
        "status": "active",
        "type": {
          "text": "Public dental service test coverage"
        },
        "beneficiary": {
          "reference": "Patient/patient-line-danser"
        },
        "period": {
          "start": "2028-01-01",
          "end": "2028-12-31"
        },
        "payor": [
          {
            "reference": "Organization/org-digidot-test-clinic",
            "display": "DigiDOT public dental test clinic"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Coverage/coverage-line-danser-public-dental"
      },
      "fullUrl": "https://example.org/fhir/Coverage/coverage-line-danser-public-dental"
    },
    {
      "resource": {
        "resourceType": "EpisodeOfCare",
        "id": "eoc-line-danser-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-EpisodeOfCare-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:episode",
            "value": "eoc-line-danser-2028"
          }
        ],
        "status": "finished",
        "patient": {
          "reference": "Patient/patient-line-danser"
        },
        "managingOrganization": {
          "reference": "Organization/org-digidot-test-clinic"
        },
        "period": {
          "start": "2028-04-15",
          "end": "2028-06-12"
        },
        "careManager": {
          "reference": "PractitionerRole/practitionerrole-tora-dentist",
          "type": "PractitionerRole"
        },
        "diagnosis": [
          {
            "condition": {
              "reference": "Condition/condition-line-danser-caries-15"
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "EpisodeOfCare/eoc-line-danser-2028"
      },
      "fullUrl": "https://example.org/fhir/EpisodeOfCare/eoc-line-danser-2028"
    },
    {
      "resource": {
        "resourceType": "AllergyIntolerance",
        "id": "allergy-line-danser-latex",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-AllergyIntolerance"
          ],
          "source": "https://utviklerportal.nhn.no/informasjonstjenester/kjernejournal/kritisk-informasjon",
          "tag": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/cache-status",
              "code": "source-current",
              "display": "Source checked for this clinical context"
            }
          ]
        },
        "clinicalStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
              "code": "active"
            }
          ]
        },
        "verificationStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
              "code": "confirmed"
            }
          ]
        },
        "type": "allergy",
        "category": [
          "environment"
        ],
        "criticality": "high",
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "300916003",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "display": "Latex allergy"
            }
          ],
          "text": "Latex allergy"
        },
        "patient": {
          "reference": "Patient/patient-line-danser"
        },
        "recordedDate": "2028-05-01T06:20:00+00:00",
        "recorder": {
          "reference": "PractitionerRole/practitionerrole-tora-dentist"
        },
        "reaction": [
          {
            "manifestation": [
              {
                "coding": [
                  {
                    "system": "http://snomed.info/sct",
                    "code": "271807003",
                    "version": "http://snomed.info/sct/51000202101/version/20260715",
                    "display": "Skin rash"
                  }
                ],
                "text": "Rash and swelling after latex exposure"
              }
            ],
            "severity": "moderate"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "AllergyIntolerance/allergy-line-danser-latex"
      },
      "fullUrl": "https://example.org/fhir/AllergyIntolerance/allergy-line-danser-latex"
    },
    {
      "resource": {
        "resourceType": "Medication",
        "id": "sfm-medication-line-danser-apixaban",
        "meta": {
          "profile": [
            "http://ehelse.no/fhir/StructureDefinition/sfm-Medication"
          ],
          "source": "https://utviklerportal.nhn.no/informasjonstjenester/sentral-forskrivningsmodul"
        },
        "code": {
          "coding": [
            {
              "system": "http://www.whocc.no/atc",
              "code": "B01AF02",
              "display": "Apixaban"
            }
          ],
          "text": "Apixaban 5 mg tablet"
        },
        "status": "active"
      },
      "request": {
        "method": "PUT",
        "url": "Medication/sfm-medication-line-danser-apixaban"
      },
      "fullUrl": "https://example.org/fhir/Medication/sfm-medication-line-danser-apixaban"
    },
    {
      "resource": {
        "resourceType": "MedicationStatement",
        "id": "sfm-medstmt-line-danser-apixaban",
        "meta": {
          "profile": [
            "http://ehelse.no/fhir/StructureDefinition/sfm-MedicationStatement"
          ],
          "source": "https://utviklerportal.nhn.no/informasjonstjenester/sentral-forskrivningsmodul"
        },
        "status": "active",
        "medicationReference": {
          "reference": "Medication/sfm-medication-line-danser-apixaban",
          "display": "Apixaban 5 mg tablet"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "effectivePeriod": {
          "start": "2027-10-01"
        },
        "dateAsserted": "2028-05-15T06:00:00+00:00",
        "informationSource": {
          "reference": "Patient/patient-line-danser"
        },
        "dosage": [
          {
            "text": "One tablet twice daily. Test example only.",
            "timing": {
              "repeat": {
                "frequency": 2,
                "period": 1,
                "periodUnit": "d"
              }
            },
            "doseAndRate": [
              {
                "doseQuantity": {
                  "value": 5,
                  "unit": "mg",
                  "system": "http://unitsofmeasure.org",
                  "code": "mg"
                }
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "MedicationStatement/sfm-medstmt-line-danser-apixaban"
      },
      "fullUrl": "https://example.org/fhir/MedicationStatement/sfm-medstmt-line-danser-apixaban"
    },
    {
      "resource": {
        "resourceType": "List",
        "id": "sfm-list-line-danser",
        "meta": {
          "profile": [
            "http://ehelse.no/fhir/StructureDefinition/sfm-lib-List"
          ],
          "source": "https://utviklerportal.nhn.no/informasjonstjenester/sentral-forskrivningsmodul"
        },
        "status": "current",
        "mode": "working",
        "title": "SFM medication list snapshot for Line Danser",
        "code": {
          "text": "Medication list from SFM"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "date": "2028-05-15T06:00:00+00:00",
        "entry": [
          {
            "item": {
              "reference": "MedicationStatement/sfm-medstmt-line-danser-apixaban"
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "List/sfm-list-line-danser"
      },
      "fullUrl": "https://example.org/fhir/List/sfm-list-line-danser"
    },
    {
      "resource": {
        "resourceType": "Device",
        "id": "device-line-danser-implant-36",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Device-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:device",
            "value": "implant-36-line-danser"
          }
        ],
        "status": "active",
        "type": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-device-type",
              "code": "dental-implant",
              "display": "Dental implant"
            }
          ],
          "text": "Dental implant tooth 36"
        },
        "patient": {
          "reference": "Patient/patient-line-danser"
        },
        "owner": {
          "reference": "Organization/org-digidot-test-clinic"
        },
        "location": {
          "reference": "Location/loc-digidot-room-2"
        },
        "note": [
          {
            "text": "Existing dental implant in region 36, relevant for treatment planning."
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Device/device-line-danser-implant-36"
      },
      "fullUrl": "https://example.org/fhir/Device/device-line-danser-implant-36"
    },
    {
      "resource": {
        "resourceType": "DeviceUseStatement",
        "id": "deviceuse-line-danser-implant-36",
        "status": "active",
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "device": {
          "reference": "Device/device-line-danser-implant-36",
          "display": "Dental implant tooth 36"
        },
        "recordedOn": "2028-05-15T06:10:00+00:00",
        "source": {
          "reference": "PractitionerRole/practitionerrole-tora-dentist"
        }
      },
      "request": {
        "method": "PUT",
        "url": "DeviceUseStatement/deviceuse-line-danser-implant-36"
      },
      "fullUrl": "https://example.org/fhir/DeviceUseStatement/deviceuse-line-danser-implant-36"
    },
    {
      "resource": {
        "resourceType": "Flag",
        "id": "flag-line-danser-bleeding-risk",
        "meta": {
          "source": "https://utviklerportal.nhn.no/informasjonstjenester/kjernejournal/kritisk-informasjon"
        },
        "status": "active",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/flag-category",
                "code": "safety",
                "display": "Safety"
              }
            ]
          }
        ],
        "code": {
          "text": "Medication-related bleeding risk. Review SFM medication context before invasive treatment."
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "period": {
          "start": "2028-05-15"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Flag/flag-line-danser-bleeding-risk"
      },
      "fullUrl": "https://example.org/fhir/Flag/flag-line-danser-bleeding-risk"
    },
    {
      "resource": {
        "resourceType": "Consent",
        "id": "consent-line-danser-treatment-context",
        "meta": {
          "source": "https://utviklerportal.nhn.no/informasjonstjenester/kjernejournal/kritisk-informasjon"
        },
        "status": "active",
        "scope": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/consentscope",
              "code": "adr",
              "display": "Advanced Care Directive"
            }
          ]
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://loinc.org",
                "code": "42348-3",
                "display": "Advance directives"
              }
            ]
          }
        ],
        "patient": {
          "reference": "Patient/patient-line-danser"
        },
        "dateTime": "2028-05-15T06:05:00+00:00",
        "performer": [
          {
            "reference": "Patient/patient-line-danser"
          }
        ],
        "provision": {
          "type": "permit",
          "period": {
            "start": "2028-05-15"
          }
        }
      },
      "request": {
        "method": "PUT",
        "url": "Consent/consent-line-danser-treatment-context"
      },
      "fullUrl": "https://example.org/fhir/Consent/consent-line-danser-treatment-context"
    },
    {
      "resource": {
        "resourceType": "QuestionnaireResponse",
        "id": "qr-line-danser-anamnesis",
        "status": "completed",
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "authored": "2028-05-15T06:25:00+00:00",
        "author": {
          "reference": "Patient/patient-line-danser"
        },
        "item": [
          {
            "linkId": "dental-anxiety",
            "text": "Dental anxiety reported by patient",
            "answer": [
              {
                "valueString": "Needs extra explanation and breaks before local anesthesia."
              }
            ]
          },
          {
            "linkId": "bleeding-medication",
            "text": "Uses medication that may affect bleeding",
            "answer": [
              {
                "valueBoolean": true
              }
            ]
          },
          {
            "linkId": "latex-allergy-aware",
            "text": "Latex allergy confirmed with patient",
            "answer": [
              {
                "valueBoolean": true
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "QuestionnaireResponse/qr-line-danser-anamnesis"
      },
      "fullUrl": "https://example.org/fhir/QuestionnaireResponse/qr-line-danser-anamnesis"
    },
    {
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "sr-line-danser-recall-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:servicerequest",
            "value": "sr-line-danser-recall-2028"
          }
        ],
        "status": "completed",
        "intent": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-recall",
                "display": "Dental recall"
              }
            ],
            "text": "Dental recall"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "129125009:{408730004=397943006,408731000=410512000,408732007=410604004,363589002=(185349003)}"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "authoredOn": "2028-04-15",
        "requester": {
          "reference": "PractitionerRole/practitionerrole-tora-dentist"
        },
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          },
          {
            "reference": "QuestionnaireResponse/qr-line-danser-anamnesis"
          },
          {
            "reference": "List/sfm-list-line-danser"
          }
        ],
        "note": [
          {
            "text": "Recall request with category dental-recall. occurrencePeriod represents the recall due window; the exact booked time is represented separately by Appointment/appointment-line-danser-recall-2028."
          }
        ],
        "occurrencePeriod": {
          "start": "2028-05-01",
          "end": "2028-05-31"
        }
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/sr-line-danser-recall-2028"
      },
      "fullUrl": "https://example.org/fhir/ServiceRequest/sr-line-danser-recall-2028"
    },
    {
      "resource": {
        "resourceType": "Appointment",
        "id": "appointment-line-danser-recall-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no"
          ]
        },
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-recall-2028"
          }
        ],
        "start": "2028-05-15T07:00:00+00:00",
        "end": "2028-05-15T07:40:00+00:00",
        "created": "2028-04-20",
        "participant": [
          {
            "actor": {
              "reference": "Patient/patient-line-danser",
              "display": "Line Danser",
              "type": "Patient"
            },
            "required": "required",
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist",
              "display": "Tora Tannlege",
              "type": "PractitionerRole"
            },
            "required": "required",
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "Location/loc-digidot-room-2",
              "display": "DigiDOT treatment room 2",
              "type": "Location"
            },
            "required": "required",
            "status": "accepted"
          }
        ],
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          }
        ],
        "description": "Dental examination",
        "identifier": [
          {
            "system": "urn:novari:example:appointment",
            "value": "appointment-line-danser-recall-2028"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/appointment-line-danser-recall-2028"
      },
      "fullUrl": "https://example.org/fhir/Appointment/appointment-line-danser-recall-2028"
    },
    {
      "resource": {
        "resourceType": "Encounter",
        "id": "enc-line-danser-recall-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:encounter",
            "value": "enc-line-danser-recall-2028"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB",
          "display": "ambulatory"
        },
        "type": [
          {
            "text": "Ordinary dental consultation / recall examination"
          }
        ],
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-recall-2028"
          }
        ],
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF",
                    "display": "primary performer"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist",
              "display": "Tora Tannlege",
              "type": "PractitionerRole"
            }
          }
        ],
        "appointment": [
          {
            "reference": "Appointment/appointment-line-danser-recall-2028"
          }
        ],
        "period": {
          "start": "2028-05-15T07:00:00+00:00",
          "end": "2028-05-15T07:40:00+00:00"
        },
        "reasonReference": [
          {
            "reference": "Observation/obs-line-danser-pain-15"
          },
          {
            "reference": "Observation/obs-line-danser-radiographic-caries-15"
          },
          {
            "reference": "Condition/condition-line-danser-caries-15"
          }
        ],
        "location": [
          {
            "location": {
              "reference": "Location/loc-digidot-room-2"
            }
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-digidot-test-clinic"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/enc-line-danser-recall-2028"
      },
      "fullUrl": "https://example.org/fhir/Encounter/enc-line-danser-recall-2028"
    },
    {
      "resource": {
        "resourceType": "Observation",
        "id": "obs-line-danser-dmft-2028",
        "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."
            }
          ]
        },
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-recall-2028"
          }
        ],
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "exam",
                "display": "Exam"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dmft-index",
              "display": "DMFT index",
              "id": "primary"
            },
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dmft-index",
              "display": "DMFT index",
              "id": "SCTpost"
            }
          ],
          "text": "DMFT index from recall examination"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "effectiveDateTime": "2028-05-15T07:20:00+00:00",
        "performer": [
          {
            "reference": "Practitioner/practitioner-tora-tannlege"
          }
        ],
        "valueInteger": 3,
        "method": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-method",
              "code": "calculated-index",
              "display": "Calculated index"
            }
          ]
        }
      },
      "request": {
        "method": "PUT",
        "url": "Observation/obs-line-danser-dmft-2028"
      },
      "fullUrl": "https://example.org/fhir/Observation/obs-line-danser-dmft-2028"
    },
    {
      "resource": {
        "resourceType": "Observation",
        "id": "obs-line-danser-pain-15",
        "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."
            }
          ]
        },
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-recall-2028"
          }
        ],
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "survey",
                "display": "Survey"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-pain-score",
              "display": "Dental pain score",
              "id": "primary"
            },
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-pain-score",
              "display": "Dental pain score",
              "id": "SCTpost"
            }
          ],
          "text": "Patient reported dental pain score"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "effectiveDateTime": "2028-05-15T07:10:00+00:00",
        "performer": [
          {
            "reference": "Patient/patient-line-danser"
          }
        ],
        "valueInteger": 4,
        "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"
                      }
                    ],
                    "text": "Tooth 15, occlusal and distal surfaces"
                  }
                },
                {
                  "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": "patient-reported",
              "display": "Patient reported"
            }
          ]
        },
        "note": [
          {
            "text": "Patient-reported symptom captured during the ordinary consultation before the treatment plan was created."
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Observation/obs-line-danser-pain-15"
      },
      "fullUrl": "https://example.org/fhir/Observation/obs-line-danser-pain-15"
    },
    {
      "resource": {
        "resourceType": "ImagingStudy",
        "id": "imgstudy-line-danser-opg-2028",
        "status": "available",
        "identifier": [
          {
            "system": "urn:dicom:uid",
            "value": "urn:oid:1.2.826.0.1.3680043.10.999.2028051501"
          }
        ],
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "started": "2028-05-15T07:28:00+00:00",
        "numberOfSeries": 1,
        "numberOfInstances": 1,
        "series": [
          {
            "uid": "1.2.826.0.1.3680043.10.999.2028051501.1",
            "number": 1,
            "modality": {
              "system": "http://dicom.nema.org/resources/ontology/DCM",
              "code": "DX",
              "display": "Digital Radiography"
            },
            "description": "Panoramic dental image test metadata",
            "numberOfInstances": 1,
            "instance": [
              {
                "uid": "1.2.826.0.1.3680043.10.999.2028051501.1.1",
                "sopClass": {
                  "system": "urn:ietf:rfc:3986",
                  "code": "urn:oid:1.2.840.10008.5.1.4.1.1.1.1",
                  "display": "Digital X-Ray Image Storage - For Presentation"
                },
                "number": 1,
                "title": "OPG test image metadata"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "ImagingStudy/imgstudy-line-danser-opg-2028"
      },
      "fullUrl": "https://example.org/fhir/ImagingStudy/imgstudy-line-danser-opg-2028"
    },
    {
      "resource": {
        "resourceType": "Observation",
        "id": "obs-line-danser-radiographic-caries-15",
        "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."
            }
          ]
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "imaging",
                "display": "Imaging"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-radiographic-assessment",
              "display": "Dental radiographic assessment",
              "id": "primary"
            },
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-radiographic-assessment",
              "display": "Dental radiographic assessment",
              "id": "SCTpost"
            }
          ],
          "text": "Dental radiographic assessment, tooth 15"
        },
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-recall-2028"
          }
        ],
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "effectiveDateTime": "2028-05-15T07:35:00+00:00",
        "performer": [
          {
            "reference": "Practitioner/practitioner-tora-tannlege"
          }
        ],
        "valueCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "80967001",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "display": "Dental caries"
            }
          ],
          "text": "Radiographic signs compatible with dentinal 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"
                      }
                    ],
                    "text": "Tooth 15, occlusal and distal surfaces"
                  }
                },
                {
                  "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"
            }
          ]
        },
        "note": [
          {
            "text": "Radiographic finding made during the ordinary consultation and used as evidence for the treatment plan."
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Observation/obs-line-danser-radiographic-caries-15"
      },
      "fullUrl": "https://example.org/fhir/Observation/obs-line-danser-radiographic-caries-15"
    },
    {
      "resource": {
        "resourceType": "DiagnosticReport",
        "id": "diagnosticreport-line-danser-opg-2028",
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0074",
                "code": "RAD",
                "display": "Radiology"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "363679005",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "display": "Imaging"
            }
          ],
          "text": "OPG radiographic assessment"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "effectiveDateTime": "2028-05-15T07:35:00+00:00",
        "issued": "2028-05-15T07:40:00+00:00",
        "performer": [
          {
            "reference": "Organization/org-digidot-test-clinic"
          }
        ],
        "result": [
          {
            "reference": "Observation/obs-line-danser-radiographic-caries-15"
          }
        ],
        "imagingStudy": [
          {
            "reference": "ImagingStudy/imgstudy-line-danser-opg-2028"
          }
        ],
        "conclusion": "Test OPG report: caries suspected in tooth 15. Existing implant in region 36."
      },
      "request": {
        "method": "PUT",
        "url": "DiagnosticReport/diagnosticreport-line-danser-opg-2028"
      },
      "fullUrl": "https://example.org/fhir/DiagnosticReport/diagnosticreport-line-danser-opg-2028"
    },
    {
      "resource": {
        "resourceType": "Binary",
        "id": "binary-line-danser-opg-report",
        "contentType": "text/plain",
        "data": "RGlnaURPVCB0ZXN0IE9QRyByZXBvcnQgcGxhY2Vob2xkZXIuIE5vIHJlYWwgaW1hZ2UgZGF0YS4="
      },
      "request": {
        "method": "PUT",
        "url": "Binary/binary-line-danser-opg-report"
      },
      "fullUrl": "https://example.org/fhir/Binary/binary-line-danser-opg-report"
    },
    {
      "resource": {
        "resourceType": "DocumentReference",
        "id": "docref-line-danser-opg-report",
        "status": "current",
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "18748-4",
              "display": "Diagnostic imaging study"
            }
          ],
          "text": "OPG report document"
        },
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/v2-0074",
                "code": "RAD",
                "display": "Radiology"
              }
            ]
          }
        ],
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "date": "2028-05-15T07:42:00+00:00",
        "author": [
          {
            "reference": "Organization/org-digidot-test-clinic"
          }
        ],
        "content": [
          {
            "attachment": {
              "contentType": "text/plain",
              "language": "en",
              "url": "Binary/binary-line-danser-opg-report",
              "title": "OPG report placeholder",
              "creation": "2028-05-15T07:42:00+00:00"
            }
          }
        ],
        "context": {
          "encounter": [
            {
              "reference": "Encounter/enc-line-danser-recall-2028"
            }
          ],
          "related": [
            {
              "reference": "DiagnosticReport/diagnosticreport-line-danser-opg-2028"
            },
            {
              "reference": "ImagingStudy/imgstudy-line-danser-opg-2028"
            }
          ]
        }
      },
      "request": {
        "method": "PUT",
        "url": "DocumentReference/docref-line-danser-opg-report"
      },
      "fullUrl": "https://example.org/fhir/DocumentReference/docref-line-danser-opg-report"
    },
    {
      "resource": {
        "resourceType": "Condition",
        "id": "condition-line-danser-caries-15",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Condition-no|0.7.0"
          ]
        },
        "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"
              }
            ],
            "text": "Dental"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "80967001",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "display": "Dental caries",
              "id": "SCTpre"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "80967001:{363698007=(36492000+83473006+90933009)}",
              "id": "SCTextended"
            }
          ],
          "text": "Caries in tooth 15, occlusal/distal surfaces"
        },
        "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"
                        }
                      ],
                      "text": "Tooth 15, occlusal and distal surfaces"
                    }
                  },
                  {
                    "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/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "evidence": [
          {
            "detail": [
              {
                "reference": "Observation/obs-line-danser-radiographic-caries-15"
              }
            ]
          }
        ],
        "onsetDateTime": "2028-05-15T07:35:00+00:00",
        "recordedDate": "2028-05-15T07:38:00+00:00",
        "asserter": {
          "reference": "Practitioner/practitioner-tora-tannlege"
        },
        "note": [
          {
            "text": "Problem discovered during the ordinary consultation on 2028-05-15. It was the reason for the restoration ServiceRequest and was clinically resolved after the completed restoration on 2028-05-22; follow-up on 2028-06-12 documented no pain."
          }
        ],
        "abatementDateTime": "2028-05-22T08:25:00+00:00"
      },
      "request": {
        "method": "PUT",
        "url": "Condition/condition-line-danser-caries-15"
      },
      "fullUrl": "https://example.org/fhir/Condition/condition-line-danser-caries-15"
    },
    {
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "sr-line-danser-restoration-15",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:servicerequest",
            "value": "sr-line-danser-restoration-15"
          }
        ],
        "status": "completed",
        "intent": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-treatment",
                "display": "Dental treatment"
              }
            ],
            "text": "Dental treatment request"
          }
        ],
        "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+83473006+90933009)})}"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "authoredOn": "2028-05-15",
        "requester": {
          "reference": "PractitionerRole/practitionerrole-tora-dentist"
        },
        "performer": [
          {
            "reference": "PractitionerRole/practitionerrole-tora-dentist"
          }
        ],
        "locationReference": [
          {
            "reference": "Location/loc-digidot-room-2"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/condition-line-danser-caries-15"
          },
          {
            "reference": "Observation/obs-line-danser-radiographic-caries-15"
          },
          {
            "reference": "Observation/obs-line-danser-pain-15"
          }
        ],
        "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"
                        }
                      ],
                      "text": "Tooth 15, occlusal and distal surfaces"
                    }
                  },
                  {
                    "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)"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        ],
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          },
          {
            "reference": "AllergyIntolerance/allergy-line-danser-latex"
          },
          {
            "reference": "Flag/flag-line-danser-bleeding-risk"
          },
          {
            "reference": "Consent/consent-line-danser-treatment-context"
          },
          {
            "reference": "QuestionnaireResponse/qr-line-danser-anamnesis"
          },
          {
            "reference": "List/sfm-list-line-danser"
          },
          {
            "reference": "MedicationStatement/sfm-medstmt-line-danser-apixaban"
          },
          {
            "reference": "DeviceUseStatement/deviceuse-line-danser-implant-36"
          },
          {
            "reference": "ImagingStudy/imgstudy-line-danser-opg-2028"
          },
          {
            "reference": "DiagnosticReport/diagnosticreport-line-danser-opg-2028"
          },
          {
            "reference": "DocumentReference/docref-line-danser-opg-report"
          },
          {
            "reference": "Composition/composition-line-danser-summary"
          },
          {
            "reference": "Condition/condition-line-danser-caries-15"
          },
          {
            "reference": "Observation/obs-line-danser-dmft-2028"
          }
        ],
        "note": [
          {
            "text": "Created during Encounter/enc-line-danser-recall-2028 after caries in tooth 15 was detected. This request is the clinical plan/order that led to Appointment/appointment-line-danser-treatment-2028 and the later restoration procedure. supportingInfo intentionally demonstrates selected external context: allergy, SFM medication, dental anxiety, imaging and patient summary."
          }
        ],
        "occurrenceDateTime": "2028-05-22T08:00:00+00:00"
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/sr-line-danser-restoration-15"
      },
      "fullUrl": "https://example.org/fhir/ServiceRequest/sr-line-danser-restoration-15"
    },
    {
      "resource": {
        "resourceType": "Procedure",
        "id": "procedure-line-danser-restoration-15",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Procedure-no"
          ]
        },
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-restoration-15"
          }
        ],
        "status": "completed",
        "category": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-procedure-category",
              "code": "dental-procedure",
              "display": "Dental procedure"
            }
          ],
          "text": "Dental procedure"
        },
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "234789004",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "display": "Insertion of composite restoration into tooth",
              "id": "SCTpre"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "234789004:{363704007=(36492000+83473006+90933009)}",
              "id": "SCTextended"
            }
          ],
          "text": "Completed two-surface composite restoration tooth 15"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-treatment-2028"
        },
        "performedDateTime": "2028-05-22T08:25:00+00:00",
        "performer": [
          {
            "actor": {
              "type": "Practitioner",
              "display": "Tora Tannlege",
              "reference": "urn:uuid:abb9cc25-7488-5f85-a54f-85376c9743b6"
            }
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/condition-line-danser-caries-15"
          }
        ],
        "note": [
          {
            "text": "Apixaban from SFM and latex allergy were reviewed before procedure. A separate ServiceRequest and Appointment represent the planned control."
          }
        ],
        "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"
                        }
                      ],
                      "text": "Tooth 15, occlusal and distal surfaces"
                    }
                  },
                  {
                    "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)"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Procedure/procedure-line-danser-restoration-15"
      },
      "fullUrl": "https://example.org/fhir/Procedure/procedure-line-danser-restoration-15"
    },
    {
      "resource": {
        "resourceType": "ChargeItem",
        "id": "charge-line-danser-restoration-15",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ChargeItem-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:chargeitem",
            "value": "charge-line-danser-restoration-15"
          }
        ],
        "status": "billable",
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
              "code": "T-DEMO-2FL",
              "display": "Demo two-surface composite filling fee"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "context": {
          "reference": "Encounter/enc-line-danser-treatment-2028"
        },
        "occurrenceDateTime": "2028-05-22T08:25:00+00:00",
        "performer": [
          {
            "actor": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist"
            }
          }
        ],
        "service": [
          {
            "reference": "Procedure/procedure-line-danser-restoration-15"
          }
        ],
        "quantity": {
          "value": 1
        },
        "priceOverride": {
          "value": 0,
          "currency": "NOK"
        }
      },
      "request": {
        "method": "PUT",
        "url": "ChargeItem/charge-line-danser-restoration-15"
      },
      "fullUrl": "https://example.org/fhir/ChargeItem/charge-line-danser-restoration-15"
    },
    {
      "resource": {
        "resourceType": "ChargeItem",
        "id": "charge-line-danser-xray-opg",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ChargeItem-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:chargeitem",
            "value": "charge-line-danser-xray-opg"
          }
        ],
        "status": "billable",
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
              "code": "T-DEMO-XRAY",
              "display": "Demo radiographic assessment fee"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "context": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "occurrenceDateTime": "2028-05-15T07:35:00+00:00",
        "performer": [
          {
            "actor": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist"
            }
          }
        ],
        "service": [
          {
            "reference": "Observation/obs-line-danser-radiographic-caries-15"
          }
        ],
        "quantity": {
          "value": 1
        },
        "priceOverride": {
          "value": 0,
          "currency": "NOK"
        }
      },
      "request": {
        "method": "PUT",
        "url": "ChargeItem/charge-line-danser-xray-opg"
      },
      "fullUrl": "https://example.org/fhir/ChargeItem/charge-line-danser-xray-opg"
    },
    {
      "resource": {
        "resourceType": "Claim",
        "id": "claim-line-danser-restoration-15",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Claim-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:claim",
            "value": "claim-line-danser-restoration-15"
          }
        ],
        "status": "active",
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/claim-type",
              "code": "oral",
              "display": "Oral"
            }
          ]
        },
        "use": "claim",
        "patient": {
          "reference": "Patient/patient-line-danser"
        },
        "created": "2028-05-22T09:00:00+00:00",
        "provider": {
          "reference": "Organization/org-digidot-test-clinic"
        },
        "priority": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/processpriority",
              "code": "normal",
              "display": "Normal"
            }
          ]
        },
        "facility": {
          "reference": "Location/loc-digidot-room-2"
        },
        "procedure": [
          {
            "sequence": 1,
            "date": "2028-05-22T08:25:00+00:00",
            "procedureReference": {
              "reference": "Procedure/procedure-line-danser-restoration-15"
            }
          }
        ],
        "insurance": [
          {
            "sequence": 1,
            "focal": true,
            "coverage": {
              "reference": "Coverage/coverage-line-danser-public-dental"
            }
          }
        ],
        "item": [
          {
            "sequence": 1,
            "encounter": [
              {
                "reference": "Encounter/enc-line-danser-treatment-2028"
              }
            ],
            "procedureSequence": [
              1
            ],
            "productOrService": {
              "coding": [
                {
                  "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
                  "code": "T-DEMO-2FL",
                  "display": "Demo two-surface composite filling fee"
                }
              ]
            },
            "servicedDate": "2028-05-22",
            "quantity": {
              "value": 1
            },
            "unitPrice": {
              "value": 0,
              "currency": "NOK"
            },
            "net": {
              "value": 0,
              "currency": "NOK"
            }
          },
          {
            "sequence": 2,
            "encounter": [
              {
                "reference": "Encounter/enc-line-danser-recall-2028"
              }
            ],
            "productOrService": {
              "coding": [
                {
                  "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-tariff-code",
                  "code": "T-DEMO-XRAY",
                  "display": "Demo radiographic assessment fee"
                }
              ]
            },
            "servicedDate": "2028-05-15",
            "quantity": {
              "value": 1
            },
            "unitPrice": {
              "value": 0,
              "currency": "NOK"
            },
            "net": {
              "value": 0,
              "currency": "NOK"
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Claim/claim-line-danser-restoration-15"
      },
      "fullUrl": "https://example.org/fhir/Claim/claim-line-danser-restoration-15"
    },
    {
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "sr-line-danser-next-recall-2029",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:servicerequest",
            "value": "sr-line-danser-next-recall-2029"
          }
        ],
        "status": "active",
        "intent": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-recall",
                "display": "Dental recall"
              }
            ],
            "text": "Dental recall"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "129125009:{408730004=397943006,408731000=410512000,408732007=410604004,363589002=(185349003)}"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "occurrenceTiming": {
          "repeat": {
            "boundsPeriod": {
              "start": "2029-05-01",
              "end": "2029-06-30"
            },
            "period": 12,
            "periodUnit": "mo"
          }
        },
        "authoredOn": "2028-06-12",
        "requester": {
          "reference": "PractitionerRole/practitionerrole-tora-dentist"
        },
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          },
          {
            "reference": "Observation/obs-line-danser-dmft-2028"
          },
          {
            "reference": "Observation/obs-line-danser-followup-pain-15"
          }
        ],
        "encounter": {
          "reference": "Encounter/enc-line-danser-followup-2028"
        },
        "note": [
          {
            "text": "Next recall cycle represented as ordinary DigiDOT ServiceRequest with category dental-recall. Created after the follow-up/control encounter; occurrenceTiming.repeat expresses the recall cadence and due window, not a booked appointment."
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/sr-line-danser-next-recall-2029"
      },
      "fullUrl": "https://example.org/fhir/ServiceRequest/sr-line-danser-next-recall-2029"
    },
    {
      "resource": {
        "resourceType": "Composition",
        "id": "contact-note-line-danser-recall-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no"
          ]
        },
        "identifier": {
          "system": "urn:novari:test:dental-contact-note",
          "value": "contact-note-line-danser-recall-2028"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2",
              "display": "Journalnotat"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-recall-2028"
        },
        "date": "2028-05-15T07:45:00+00:00",
        "author": [
          {
            "reference": "Practitioner/practitioner-tora-tannlege",
            "type": "Practitioner",
            "display": "Tora Tannlege"
          }
        ],
        "title": "Journal note - recall examination 15 May 2028",
        "confidentiality": "N",
        "custodian": {
          "reference": "Organization/org-digidot-test-clinic"
        },
        "section": [
          {
            "title": "Dental contact note",
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Recall examination completed. The patient reported pain related to tooth 15. Bitewing imaging showed caries on tooth 15. The finding, available treatment options and the plan for restoration were reviewed with the patient. A separate treatment appointment was planned.</p></div>"
            },
            "entry": [
              {
                "reference": "Observation/obs-line-danser-pain-15"
              },
              {
                "reference": "Observation/obs-line-danser-radiographic-caries-15"
              },
              {
                "reference": "Condition/condition-line-danser-caries-15"
              },
              {
                "reference": "ServiceRequest/sr-line-danser-restoration-15"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Composition/contact-note-line-danser-recall-2028"
      },
      "fullUrl": "https://example.org/fhir/Composition/contact-note-line-danser-recall-2028"
    },
    {
      "resource": {
        "resourceType": "Composition",
        "id": "composition-line-danser-summary",
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "http://loinc.org",
              "code": "60591-5",
              "display": "Patient summary Document"
            }
          ],
          "text": "DigiDOT patient summary view"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "date": "2028-06-12T07:30:00+00:00",
        "author": [
          {
            "reference": "Organization/org-digidot-test-clinic"
          }
        ],
        "title": "DigiDOT patient summary after dental treatment follow-up",
        "confidentiality": "N",
        "section": [
          {
            "title": "Relevant dental and medical conditions",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "11450-4",
                  "display": "Problem list"
                }
              ]
            },
            "entry": [
              {
                "reference": "Condition/condition-line-danser-caries-15"
              },
              {
                "reference": "Observation/obs-line-danser-dmft-2028"
              },
              {
                "reference": "Observation/obs-line-danser-followup-pain-15"
              }
            ]
          },
          {
            "title": "Hypersensitivity",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "48765-2",
                  "display": "Allergies and adverse reactions"
                }
              ]
            },
            "entry": [
              {
                "reference": "AllergyIntolerance/allergy-line-danser-latex"
              }
            ]
          },
          {
            "title": "Procedures",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "47519-4",
                  "display": "History of procedures"
                }
              ]
            },
            "entry": [
              {
                "reference": "Procedure/procedure-line-danser-restoration-15"
              }
            ]
          },
          {
            "title": "Medical devices",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "46264-8",
                  "display": "History of medical device use"
                }
              ]
            },
            "entry": [
              {
                "reference": "DeviceUseStatement/deviceuse-line-danser-implant-36"
              },
              {
                "reference": "Device/device-line-danser-implant-36"
              }
            ]
          },
          {
            "title": "Warnings and limitations",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "75310-3",
                  "display": "Health concerns"
                }
              ]
            },
            "entry": [
              {
                "reference": "Flag/flag-line-danser-bleeding-risk"
              },
              {
                "reference": "Consent/consent-line-danser-treatment-context"
              }
            ]
          },
          {
            "title": "Medication",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "10160-0",
                  "display": "History of Medication use Narrative"
                }
              ]
            },
            "entry": [
              {
                "reference": "MedicationStatement/sfm-medstmt-line-danser-apixaban"
              }
            ]
          },
          {
            "title": "Imaging and documents",
            "code": {
              "coding": [
                {
                  "system": "http://loinc.org",
                  "code": "18748-4",
                  "display": "Diagnostic imaging study"
                }
              ]
            },
            "entry": [
              {
                "reference": "DiagnosticReport/diagnosticreport-line-danser-opg-2028"
              },
              {
                "reference": "DocumentReference/docref-line-danser-opg-report"
              },
              {
                "reference": "ImagingStudy/imgstudy-line-danser-opg-2028"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Composition/composition-line-danser-summary"
      },
      "fullUrl": "https://example.org/fhir/Composition/composition-line-danser-summary"
    },
    {
      "resource": {
        "resourceType": "Provenance",
        "id": "provenance-line-danser-external-context",
        "target": [
          {
            "reference": "AllergyIntolerance/allergy-line-danser-latex"
          },
          {
            "reference": "List/sfm-list-line-danser"
          },
          {
            "reference": "MedicationStatement/sfm-medstmt-line-danser-apixaban"
          },
          {
            "reference": "Flag/flag-line-danser-bleeding-risk"
          },
          {
            "reference": "Consent/consent-line-danser-treatment-context"
          },
          {
            "reference": "QuestionnaireResponse/qr-line-danser-anamnesis"
          },
          {
            "reference": "ImagingStudy/imgstudy-line-danser-opg-2028"
          },
          {
            "reference": "DiagnosticReport/diagnosticreport-line-danser-opg-2028"
          },
          {
            "reference": "DocumentReference/docref-line-danser-opg-report"
          },
          {
            "reference": "Composition/composition-line-danser-summary"
          },
          {
            "reference": "Encounter/enc-line-danser-previsit-2028"
          },
          {
            "reference": "Encounter/enc-line-danser-recall-2028"
          },
          {
            "reference": "Encounter/enc-line-danser-treatment-2028"
          },
          {
            "reference": "Encounter/enc-line-danser-followup-2028"
          },
          {
            "reference": "ServiceRequest/sr-line-danser-followup-2028"
          },
          {
            "reference": "Observation/obs-line-danser-followup-pain-15"
          },
          {
            "reference": "ServiceRequest/sr-line-danser-next-recall-2029"
          }
        ],
        "recorded": "2028-06-12T07:30:00+00:00",
        "agent": [
          {
            "type": {
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/provenance-participant-type",
                  "code": "assembler",
                  "display": "Assembler"
                }
              ]
            },
            "who": {
              "reference": "Organization/org-digidot-test-clinic",
              "display": "DigiDOT public dental test clinic"
            }
          }
        ],
        "entity": [
          {
            "role": "source",
            "what": {
              "display": "Persontjenesten, HPR, Kjernejournal, SFM and PACS test context"
            }
          },
          {
            "role": "derivation",
            "what": {
              "display": "DigiDOT source-aware cache / decision snapshot"
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Provenance/provenance-line-danser-external-context"
      },
      "fullUrl": "https://example.org/fhir/Provenance/provenance-line-danser-external-context"
    },
    {
      "resource": {
        "resourceType": "Encounter",
        "id": "enc-line-danser-previsit-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:encounter",
            "value": "enc-line-danser-previsit-2028"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "VR",
          "display": "virtual"
        },
        "type": [
          {
            "text": "Administrative contact"
          }
        ],
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-recall-2028"
          }
        ],
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF",
                    "display": "primary performer"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist",
              "display": "Tora Tannlege",
              "type": "PractitionerRole"
            }
          }
        ],
        "period": {
          "start": "2028-05-14T12:00:00+00:00",
          "end": "2028-05-14T12:10:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/loc-digidot-room-2"
            }
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-digidot-test-clinic"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/enc-line-danser-previsit-2028"
      },
      "fullUrl": "https://example.org/fhir/Encounter/enc-line-danser-previsit-2028"
    },
    {
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "sr-line-danser-followup-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:servicerequest",
            "value": "sr-line-danser-followup-2028"
          }
        ],
        "status": "completed",
        "intent": "plan",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-follow-up",
                "display": "Dental follow-up"
              }
            ],
            "text": "Dental follow-up request"
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "129125009:{408730004=397943006,408731000=410512000,408732007=410604004,363589002=(185349003:{363704007=(36492000+83473006+90933009)})}"
            }
          ]
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-treatment-2028"
        },
        "occurrenceDateTime": "2028-06-12T07:00:00+00:00",
        "authoredOn": "2028-05-22",
        "requester": {
          "reference": "PractitionerRole/practitionerrole-tora-dentist"
        },
        "performer": [
          {
            "reference": "PractitionerRole/practitionerrole-tora-dentist"
          }
        ],
        "locationReference": [
          {
            "reference": "Location/loc-digidot-room-2"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/condition-line-danser-caries-15"
          },
          {
            "reference": "Observation/obs-line-danser-pain-15"
          }
        ],
        "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"
                        }
                      ],
                      "text": "Tooth 15, occlusal and distal surfaces"
                    }
                  },
                  {
                    "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)"
                        }
                      ]
                    }
                  }
                ]
              }
            ]
          }
        ],
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          },
          {
            "reference": "MedicationStatement/sfm-medstmt-line-danser-apixaban"
          },
          {
            "reference": "AllergyIntolerance/allergy-line-danser-latex"
          }
        ],
        "note": [
          {
            "text": "Created after the restoration procedure to book clinical follow-up/control of tooth 15."
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/sr-line-danser-followup-2028"
      },
      "fullUrl": "https://example.org/fhir/ServiceRequest/sr-line-danser-followup-2028"
    },
    {
      "resource": {
        "resourceType": "Appointment",
        "id": "appointment-line-danser-treatment-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no"
          ]
        },
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-restoration-15"
          }
        ],
        "start": "2028-05-22T08:00:00+00:00",
        "end": "2028-05-22T08:40:00+00:00",
        "created": "2028-05-15",
        "participant": [
          {
            "actor": {
              "reference": "Patient/patient-line-danser",
              "display": "Line Danser",
              "type": "Patient"
            },
            "required": "required",
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist",
              "display": "Tora Tannlege",
              "type": "PractitionerRole"
            },
            "required": "required",
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "Location/loc-digidot-room-2",
              "display": "DigiDOT treatment room 2",
              "type": "Location"
            },
            "required": "required",
            "status": "accepted"
          }
        ],
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          }
        ],
        "description": "Dental treatment",
        "identifier": [
          {
            "system": "urn:novari:example:appointment",
            "value": "appointment-line-danser-treatment-2028"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/appointment-line-danser-treatment-2028"
      },
      "fullUrl": "https://example.org/fhir/Appointment/appointment-line-danser-treatment-2028"
    },
    {
      "resource": {
        "resourceType": "Encounter",
        "id": "enc-line-danser-treatment-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:encounter",
            "value": "enc-line-danser-treatment-2028"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB",
          "display": "ambulatory"
        },
        "type": [
          {
            "text": "Planned dental treatment contact"
          }
        ],
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-restoration-15"
          }
        ],
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF",
                    "display": "primary performer"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist",
              "display": "Tora Tannlege",
              "type": "PractitionerRole"
            }
          }
        ],
        "period": {
          "start": "2028-05-22T08:00:00+00:00",
          "end": "2028-05-22T08:40:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/loc-digidot-room-2"
            }
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-digidot-test-clinic"
        },
        "appointment": [
          {
            "reference": "Appointment/appointment-line-danser-treatment-2028"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/condition-line-danser-caries-15"
          },
          {
            "reference": "Observation/obs-line-danser-radiographic-caries-15"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/enc-line-danser-treatment-2028"
      },
      "fullUrl": "https://example.org/fhir/Encounter/enc-line-danser-treatment-2028"
    },
    {
      "resource": {
        "resourceType": "Appointment",
        "id": "appointment-line-danser-followup-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no"
          ]
        },
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-followup-2028"
          }
        ],
        "start": "2028-06-12T07:00:00+00:00",
        "end": "2028-06-12T07:20:00+00:00",
        "created": "2028-05-22",
        "participant": [
          {
            "actor": {
              "reference": "Patient/patient-line-danser",
              "display": "Line Danser",
              "type": "Patient"
            },
            "required": "required",
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist",
              "display": "Tora Tannlege",
              "type": "PractitionerRole"
            },
            "required": "required",
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "Location/loc-digidot-room-2",
              "display": "DigiDOT treatment room 2",
              "type": "Location"
            },
            "required": "required",
            "status": "accepted"
          }
        ],
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          }
        ],
        "description": "Dental follow-up",
        "identifier": [
          {
            "system": "urn:novari:example:appointment",
            "value": "appointment-line-danser-followup-2028"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/appointment-line-danser-followup-2028"
      },
      "fullUrl": "https://example.org/fhir/Appointment/appointment-line-danser-followup-2028"
    },
    {
      "resource": {
        "resourceType": "Encounter",
        "id": "enc-line-danser-followup-2028",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no"
          ]
        },
        "identifier": [
          {
            "system": "urn:novari:test:encounter",
            "value": "enc-line-danser-followup-2028"
          }
        ],
        "status": "finished",
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB",
          "display": "ambulatory"
        },
        "type": [
          {
            "text": "Dental follow-up contact"
          }
        ],
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/eoc-line-danser-2028"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/sr-line-danser-followup-2028"
          }
        ],
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF",
                    "display": "primary performer"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "PractitionerRole/practitionerrole-tora-dentist",
              "display": "Tora Tannlege",
              "type": "PractitionerRole"
            }
          }
        ],
        "period": {
          "start": "2028-06-12T07:00:00+00:00",
          "end": "2028-06-12T07:20:00+00:00"
        },
        "location": [
          {
            "location": {
              "reference": "Location/loc-digidot-room-2"
            }
          }
        ],
        "serviceProvider": {
          "reference": "Organization/org-digidot-test-clinic"
        },
        "appointment": [
          {
            "reference": "Appointment/appointment-line-danser-followup-2028"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/condition-line-danser-caries-15"
          },
          {
            "reference": "Observation/obs-line-danser-followup-pain-15"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/enc-line-danser-followup-2028"
      },
      "fullUrl": "https://example.org/fhir/Encounter/enc-line-danser-followup-2028"
    },
    {
      "resource": {
        "resourceType": "Observation",
        "id": "obs-line-danser-followup-pain-15",
        "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."
            }
          ]
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "survey",
                "display": "Survey"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-pain-score",
              "display": "Dental pain score",
              "id": "primary"
            },
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-observation-codes",
              "code": "dental-pain-score",
              "display": "Dental pain score",
              "id": "SCTpost"
            }
          ],
          "text": "Patient reported dental pain score at follow-up"
        },
        "subject": {
          "reference": "Patient/patient-line-danser"
        },
        "encounter": {
          "reference": "Encounter/enc-line-danser-followup-2028"
        },
        "effectiveDateTime": "2028-06-12T07:10:00+00:00",
        "performer": [
          {
            "reference": "Patient/patient-line-danser"
          }
        ],
        "valueInteger": 0,
        "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"
                      }
                    ],
                    "text": "Tooth 15, occlusal and distal surfaces"
                  }
                },
                {
                  "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": "patient-reported",
              "display": "Patient reported"
            }
          ]
        },
        "note": [
          {
            "text": "Follow-up observation documented during the control encounter after the restoration procedure."
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Observation/obs-line-danser-followup-pain-15"
      },
      "fullUrl": "https://example.org/fhir/Observation/obs-line-danser-followup-pain-15"
    },
    {
      "fullUrl": "urn:uuid:abb9cc25-7488-5f85-a54f-85376c9743b6",
      "resource": {
        "resourceType": "Practitioner",
        "id": "demo-practitioner-9e6ccd1cc9fa",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.4.4",
            "value": "123456789"
          }
        ],
        "active": true
      },
      "request": {
        "method": "PUT",
        "url": "Practitioner/demo-practitioner-9e6ccd1cc9fa"
      }
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "https://novari.no/fhir/digidot/CodeSystem/example-status",
        "code": "historical",
        "display": "Historical illustration: includes supportingInfo targets excluded from ServiceRequest 0.6.8; not a current validation or import example. Also contains historical local Observation coding whose 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."
      }
    ]
  }
}