{
  "resourceType": "Bundle",
  "id": "example-digidot-document-attachments",
  "type": "transaction",
  "entry": [
    {
      "fullUrl": "https://example.org/fhir/Patient/planning-patient",
      "resource": {
        "resourceType": "Patient",
        "id": "planning-patient",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Patient"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.4.1",
            "value": "09661078143"
          },
          {
            "system": "urn:digidot:example:planning:patient",
            "value": "planning-patient"
          }
        ],
        "name": [
          {
            "given": [
              "Jonas"
            ],
            "family": "Moen"
          }
        ],
        "active": true,
        "birthDate": "2010-01-09",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Jonas Moen, born 9 January 2010. Synthetic test patient from NHN SyntPop, supplied for this example.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Patient/planning-patient"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Practitioner/planning-practitioner",
      "resource": {
        "resourceType": "Practitioner",
        "id": "planning-practitioner",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
          ]
        },
        "identifier": [
          {
            "type": {
              "text": "HPR number (synthetic example)",
              "coding": [
                {
                  "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                  "code": "PRN",
                  "display": "Provider number"
                }
              ]
            },
            "system": "urn:oid:2.16.578.1.12.4.1.4.4",
            "value": "1234567"
          },
          {
            "system": "urn:digidot:example:planning:practitioner",
            "value": "planning-practitioner"
          }
        ],
        "name": [
          {
            "given": [
              "Robin"
            ],
            "family": "Taylor"
          }
        ],
        "active": true,
        "qualification": [
          {
            "code": {
              "text": "Dentist"
            }
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Robin Taylor, dentist at Central Dental Clinic in the public dental service of Fylkeskommune.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Practitioner/planning-practitioner"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/PractitionerRole/planning-practitioner-role",
      "resource": {
        "resourceType": "PractitionerRole",
        "id": "planning-practitioner-role",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-PractitionerRole"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:practitioner-role",
            "value": "planning-practitioner-role"
          }
        ],
        "active": true,
        "period": {
          "start": "2026-01-01"
        },
        "practitioner": {
          "reference": "Practitioner/planning-practitioner",
          "type": "Practitioner"
        },
        "organization": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "code": [
          {
            "text": "Dentist in the county public dental service"
          }
        ],
        "location": [
          {
            "reference": "Location/planning-location",
            "type": "Location"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Robin Taylor provides dental care for Fylkeskommune at Central Dental Clinic from 1 January 2026. This optional assignment is reused by both bookings and visits. Clinical findings, procedures and journal notes still identify Robin directly through Practitioner.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "PractitionerRole/planning-practitioner-role"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Organization/planning-county",
      "resource": {
        "resourceType": "Organization",
        "id": "planning-county",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Organization"
          ]
        },
        "identifier": [
          {
            "system": "urn:oid:2.16.578.1.12.4.1.4.101",
            "value": "999999999"
          },
          {
            "system": "urn:digidot:example:planning:organization",
            "value": "planning-county"
          }
        ],
        "name": "Fylkeskommune",
        "active": true,
        "type": [
          {
            "text": "County municipality"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>County municipality responsible for the public dental service.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Organization/planning-county"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Location/planning-location",
      "resource": {
        "resourceType": "Location",
        "id": "planning-location",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Location"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:location",
            "value": "planning-location"
          }
        ],
        "name": "Central Dental Clinic",
        "managingOrganization": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "status": "active",
        "mode": "instance",
        "description": "Physical dental clinic site used for both visits. The street address is fictional.",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Central Dental Clinic, the physical site for both visits. The street address is fictional.</p></div>"
        },
        "address": {
          "use": "work",
          "type": "physical",
          "text": "Eksempelveien 12, 7010 TRONDHEIM, Norway",
          "line": [
            "Eksempelveien 12"
          ],
          "city": "TRONDHEIM",
          "postalCode": "7010",
          "country": "NO"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Location/planning-location"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/EpisodeOfCare/general-care",
      "resource": {
        "resourceType": "EpisodeOfCare",
        "id": "general-care",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-EpisodeOfCare-no|0.6.5"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:episodeofcare",
            "value": "general-care"
          }
        ],
        "status": "active",
        "patient": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "managingOrganization": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "period": {
          "start": "2026-09-01"
        },
        "careManager": {
          "reference": "Practitioner/planning-practitioner",
          "type": "Practitioner"
        },
        "type": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-episode-of-care-type",
                "code": "general-dental-care"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>General dental care. Responsibility started 1 September 2026 and remains active.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "EpisodeOfCare/general-care"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/ServiceRequest/annual-recall",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "annual-recall",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no|0.6.8"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:servicerequest",
            "value": "annual-recall"
          }
        ],
        "status": "active",
        "intent": "plan",
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-recall"
              }
            ]
          }
        ],
        "requester": {
          "reference": "Practitioner/planning-practitioner",
          "type": "Practitioner"
        },
        "performer": [
          {
            "reference": "Organization/planning-county",
            "type": "Organization"
          }
        ],
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/general-care",
            "type": "EpisodeOfCare"
          }
        ],
        "authoredOn": "2026-09-01",
        "occurrenceTiming": {
          "repeat": {
            "boundsPeriod": {
              "start": "2026-09-16"
            },
            "period": 12,
            "periodUnit": "mo"
          }
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Annual dental recall. First due 16 September 2026; interval 12 calendar months. The ongoing plan remains active after this examination.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/annual-recall"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Appointment/recall-booking",
      "resource": {
        "resourceType": "Appointment",
        "id": "recall-booking",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no|0.7.0"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:appointment",
            "value": "recall-booking"
          }
        ],
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "start": "2026-09-16T07:00:00+00:00",
        "end": "2026-09-16T07:30:00+00:00",
        "minutesDuration": 30,
        "description": "Annual dental examination",
        "appointmentType": {
          "text": "Routine booking"
        },
        "comment": "Allow time to confirm the next appointment at reception.",
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/general-care",
            "type": "EpisodeOfCare"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/annual-recall",
            "type": "ServiceRequest"
          }
        ],
        "participant": [
          {
            "actor": {
              "reference": "Patient/planning-patient",
              "type": "Patient"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "PractitionerRole/planning-practitioner-role",
              "type": "PractitionerRole"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "Location/planning-location",
              "type": "Location"
            },
            "status": "accepted"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Annual dental examination, 16 September 2026, 09:00–09:30. Robin Taylor, Central Dental Clinic.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/recall-booking"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Encounter/recall-contact",
      "resource": {
        "resourceType": "Encounter",
        "id": "recall-contact",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no|0.6.10"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:encounter",
            "value": "recall-contact"
          }
        ],
        "status": "finished",
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB"
        },
        "serviceProvider": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "period": {
          "start": "2026-09-16T07:03:00+00:00",
          "end": "2026-09-16T07:28:00+00:00"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "PractitionerRole/planning-practitioner-role",
              "type": "PractitionerRole"
            }
          }
        ],
        "location": [
          {
            "location": {
              "reference": "Location/planning-location",
              "type": "Location"
            }
          }
        ],
        "appointment": [
          {
            "reference": "Appointment/recall-booking",
            "type": "Appointment"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/annual-recall",
            "type": "ServiceRequest"
          }
        ],
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/general-care",
            "type": "EpisodeOfCare"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Recall examination. Caries identified on the occlusal surface of tooth 46. Periodontal pocket depth at tooth 25 was 4 mm at the distal surface. Probing at tooth 15 was deferred because of local discomfort.</p></div>"
        },
        "extension": [
          {
            "url": "https://novari.no/fhir/digidot/StructureDefinition/digidot-Helsegruppe-no",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-helsegruppe",
                  "version": "0.3.2",
                  "code": "A2",
                  "display": "Barn og unge 3–18 år"
                }
              ]
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/recall-contact"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Composition/examination-note",
      "resource": {
        "resourceType": "Composition",
        "id": "examination-note",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no|0.4.11"
          ]
        },
        "identifier": {
          "system": "urn:digidot:example:planning:dental-contact-note",
          "value": "examination-note"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2",
              "display": "Journalnotat"
            }
          ]
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/recall-contact",
          "type": "Encounter"
        },
        "date": "2026-09-16T07:35:00+00:00",
        "author": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner",
            "display": "Robin Taylor"
          }
        ],
        "title": "Journal note - recall examination",
        "custodian": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "section": [
          {
            "title": "Journal note",
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Routine recall examination completed on 16 September 2026. Caries was identified on the occlusal surface of tooth 46. Periodontal probing at tooth 25, distal surface, gave a pocket depth of 4 mm. Probing at tooth 15 was deferred because of local discomfort; no result was recorded.</p><p>A composite restoration of tooth 46 was requested, and the treatment visit was booked for 23 September 2026. Deferred probing at tooth 15 is planned for that visit. The annual recall plan remains active.</p></div>"
            },
            "entry": [
              {
                "reference": "Condition/caries-finding",
                "type": "Condition"
              },
              {
                "reference": "Observation/example-digidot-observation-periodontal-pocket-depth",
                "type": "Observation"
              },
              {
                "reference": "Observation/example-digidot-observation-result-unavailable",
                "type": "Observation"
              },
              {
                "reference": "ServiceRequest/restoration-request",
                "type": "ServiceRequest"
              },
              {
                "reference": "DocumentReference/examination-source",
                "type": "DocumentReference"
              },
              {
                "reference": "DocumentReference/periodontal-source",
                "type": "DocumentReference"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Journal note - recall examination for Jonas Moen, 16 September 2026. Author: Robin Taylor. Note status: final.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Composition/examination-note"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Condition/caries-finding",
      "resource": {
        "resourceType": "Condition",
        "id": "caries-finding",
        "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"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "id": "SCTpre",
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "80967001",
              "display": "Dental caries"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "80967001:{363698007=866005003}{363698007=83473006}",
              "display": "Dental caries on the occlusal surface of tooth 46",
              "id": "SCTextended"
            }
          ],
          "text": "Dental caries, tooth 46, occlusal surface"
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/recall-contact",
          "type": "Encounter"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Dental caries on the occlusal surface of tooth 46, identified at the recall examination and treated with a composite restoration at the second visit. The lesion is now recorded as resolved.</p></div>"
        },
        "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": "866005003",
                          "display": "Structure of permanent mandibular right first molar tooth"
                        }
                      ],
                      "text": "Tooth 46 (ISO 3950)"
                    }
                  },
                  {
                    "url": "locationQualifier",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "710098004",
                          "display": "Occlusal (qualifier value)"
                        }
                      ],
                      "text": "Occlusal surface"
                    }
                  }
                ]
              }
            ]
          }
        ],
        "category": [
          {
            "coding": [
              {
                "system": "http://hl7.org/fhir/us/dental-data-exchange/CodeSystem/dental-category",
                "code": "dental",
                "display": "Dental"
              }
            ]
          }
        ],
        "verificationStatus": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
              "code": "confirmed"
            }
          ]
        },
        "onsetDateTime": "2026-09-16",
        "abatementDateTime": "2026-09-23",
        "recorder": {
          "reference": "Practitioner/planning-practitioner",
          "type": "Practitioner"
        },
        "evidence": [
          {
            "detail": [
              {
                "reference": "DocumentReference/examination-source",
                "type": "DocumentReference"
              }
            ]
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Condition/caries-finding"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/ServiceRequest/restoration-request",
      "resource": {
        "resourceType": "ServiceRequest",
        "id": "restoration-request",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no|0.6.8"
          ]
        },
        "status": "completed",
        "intent": "order",
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/recall-contact",
          "type": "Encounter"
        },
        "requester": {
          "reference": "Practitioner/planning-practitioner",
          "type": "Practitioner"
        },
        "performer": [
          {
            "reference": "Organization/planning-county",
            "type": "Organization"
          }
        ],
        "supportingInfo": [
          {
            "reference": "EpisodeOfCare/general-care",
            "type": "EpisodeOfCare"
          },
          {
            "reference": "DocumentReference/examination-source",
            "type": "DocumentReference"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/caries-finding",
            "type": "Condition"
          }
        ],
        "authoredOn": "2026-09-16",
        "occurrenceDateTime": "2026-09-23",
        "category": [
          {
            "coding": [
              {
                "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-service-request-category",
                "code": "dental-treatment"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "129125009:{408730004=397943006,408731000=410512000,408732007=410604004,363589002=(234789004:{363704007=866005003}{363704007=83473006})}",
              "id": "SCTextended",
              "display": "Planned composite restoration of tooth 46, occlusal surface"
            }
          ],
          "text": "Planned composite restoration, tooth 46, occlusal surface"
        },
        "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": "866005003",
                          "display": "Structure of permanent mandibular right first molar tooth"
                        }
                      ],
                      "text": "Tooth 46 (ISO 3950)"
                    }
                  },
                  {
                    "url": "locationQualifier",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "710098004",
                          "display": "Occlusal (qualifier value)"
                        }
                      ],
                      "text": "Occlusal surface"
                    }
                  }
                ]
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Composite restoration requested after caries was found at the recall examination. Tooth 46, occlusal surface. The request was fulfilled at the second visit.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "ServiceRequest/restoration-request"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Appointment/restoration-booking",
      "resource": {
        "resourceType": "Appointment",
        "id": "restoration-booking",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Appointment-no|0.7.0"
          ]
        },
        "status": "fulfilled",
        "serviceCategory": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/service-category",
                "code": "10",
                "display": "Dental"
              }
            ]
          }
        ],
        "start": "2026-09-23T07:00:00+00:00",
        "end": "2026-09-23T07:40:00+00:00",
        "minutesDuration": 40,
        "description": "Composite restoration, tooth 46, and completion of periodontal probing",
        "basedOn": [
          {
            "reference": "ServiceRequest/restoration-request",
            "type": "ServiceRequest"
          }
        ],
        "supportingInformation": [
          {
            "reference": "EpisodeOfCare/general-care",
            "type": "EpisodeOfCare"
          }
        ],
        "participant": [
          {
            "actor": {
              "reference": "Patient/planning-patient",
              "type": "Patient"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "PractitionerRole/planning-practitioner-role",
              "type": "PractitionerRole"
            },
            "status": "accepted"
          },
          {
            "actor": {
              "reference": "Location/planning-location",
              "type": "Location"
            },
            "status": "accepted"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Booked visit for composite restoration of tooth 46 and completion of periodontal probing. 23 September, 09:00–09:40, Central Dental Clinic.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Appointment/restoration-booking"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Encounter/restoration-contact",
      "resource": {
        "resourceType": "Encounter",
        "id": "restoration-contact",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Encounter-no|0.6.10"
          ]
        },
        "status": "finished",
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "class": {
          "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
          "code": "AMB"
        },
        "serviceProvider": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "period": {
          "start": "2026-09-23T07:02:00+00:00",
          "end": "2026-09-23T07:36:00+00:00"
        },
        "participant": [
          {
            "type": [
              {
                "coding": [
                  {
                    "system": "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
                    "code": "PPRF"
                  }
                ]
              }
            ],
            "individual": {
              "reference": "PractitionerRole/planning-practitioner-role",
              "type": "PractitionerRole"
            }
          }
        ],
        "location": [
          {
            "location": {
              "reference": "Location/planning-location",
              "type": "Location"
            }
          }
        ],
        "appointment": [
          {
            "reference": "Appointment/restoration-booking",
            "type": "Appointment"
          }
        ],
        "basedOn": [
          {
            "reference": "ServiceRequest/restoration-request",
            "type": "ServiceRequest"
          }
        ],
        "episodeOfCare": [
          {
            "reference": "EpisodeOfCare/general-care",
            "type": "EpisodeOfCare"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Composite restoration of tooth 46 completed. Deferred probing at tooth 15 completed with a pocket depth of 3 mm. Both visits belong to the same ongoing care responsibility.</p></div>"
        },
        "reasonReference": [
          {
            "reference": "Condition/caries-finding",
            "type": "Condition"
          }
        ],
        "extension": [
          {
            "url": "https://novari.no/fhir/digidot/StructureDefinition/digidot-Helsegruppe-no",
            "valueCodeableConcept": {
              "coding": [
                {
                  "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-helsegruppe",
                  "version": "0.3.2",
                  "code": "A2",
                  "display": "Barn og unge 3–18 år"
                }
              ]
            }
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Encounter/restoration-contact"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Composition/treatment-note",
      "resource": {
        "resourceType": "Composition",
        "id": "treatment-note",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-DentalContactNote-no|0.4.11"
          ]
        },
        "identifier": {
          "system": "urn:digidot:example:planning:dental-contact-note",
          "value": "treatment-note"
        },
        "status": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2",
              "display": "Journalnotat"
            }
          ]
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/restoration-contact",
          "type": "Encounter"
        },
        "date": "2026-09-23T07:45:00+00:00",
        "author": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner",
            "display": "Robin Taylor"
          }
        ],
        "title": "Journal note - restoration and follow-up",
        "custodian": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "section": [
          {
            "title": "Journal note",
            "text": {
              "status": "additional",
              "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Composite restoration of the occlusal surface of tooth 46 was completed on 23 September 2026. The caries finding is now recorded as resolved, and the treatment request is completed.</p><p>The deferred periodontal probing at tooth 15 was completed, with a pocket depth of 3 mm. The annual recall plan remains active after this treatment visit.</p></div>"
            },
            "entry": [
              {
                "reference": "Procedure/composite-restoration",
                "type": "Procedure"
              },
              {
                "reference": "Condition/caries-finding",
                "type": "Condition"
              },
              {
                "reference": "Observation/pocket-depth-15-follow-up",
                "type": "Observation"
              },
              {
                "reference": "ServiceRequest/restoration-request",
                "type": "ServiceRequest"
              },
              {
                "reference": "DocumentReference/treatment-report",
                "type": "DocumentReference"
              }
            ]
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Journal note - restoration and follow-up for Jonas Moen, 23 September 2026. Author: Robin Taylor. Note status: final.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Composition/treatment-note"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Procedure/composite-restoration",
      "resource": {
        "resourceType": "Procedure",
        "id": "composite-restoration",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Procedure-no|0.6.13"
          ]
        },
        "status": "completed",
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/restoration-contact",
          "type": "Encounter"
        },
        "basedOn": [
          {
            "reference": "ServiceRequest/restoration-request",
            "type": "ServiceRequest"
          }
        ],
        "reasonReference": [
          {
            "reference": "Condition/caries-finding",
            "type": "Condition"
          }
        ],
        "performedDateTime": "2026-09-23T07:20:00+00:00",
        "recorder": {
          "reference": "Practitioner/planning-practitioner",
          "type": "Practitioner"
        },
        "performer": [
          {
            "actor": {
              "reference": "Practitioner/planning-practitioner",
              "type": "Practitioner"
            }
          }
        ],
        "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": "866005003",
                          "display": "Structure of permanent mandibular right first molar tooth"
                        }
                      ],
                      "text": "Tooth 46 (ISO 3950)"
                    }
                  },
                  {
                    "url": "locationQualifier",
                    "valueCodeableConcept": {
                      "coding": [
                        {
                          "system": "http://snomed.info/sct",
                          "version": "http://snomed.info/sct/51000202101/version/20260715",
                          "code": "710098004",
                          "display": "Occlusal (qualifier value)"
                        }
                      ],
                      "text": "Occlusal surface"
                    }
                  }
                ]
              }
            ]
          }
        ],
        "category": {
          "coding": [
            {
              "system": "https://novari.no/fhir/digidot/CodeSystem/digidot-procedure-category",
              "code": "dental-procedure"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "id": "SCTpre",
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "234789004",
              "display": "Insertion of composite restoration into tooth"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "234789004:{363704007=866005003}{363704007=83473006}",
              "id": "SCTextended",
              "display": "Composite restoration of tooth 46, occlusal surface"
            }
          ],
          "text": "Composite restoration, tooth 46, occlusal surface"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Composite restoration completed on the occlusal surface of tooth 46. Recorded against the treatment request and the second clinical contact.</p></div>"
        },
        "report": [
          {
            "reference": "DocumentReference/treatment-report",
            "type": "DocumentReference"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Procedure/composite-restoration"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Observation/example-digidot-observation-periodontal-pocket-depth",
      "resource": {
        "resourceType": "Observation",
        "id": "example-digidot-observation-periodontal-pocket-depth",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no|0.7.0"
          ]
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "exam",
                "display": "Exam"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "286546002",
              "display": "Depth of periodontal pocket",
              "id": "SCTpre"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "286546002:{704327008=(23226009+90933009)}",
              "id": "SCTextended"
            }
          ],
          "text": "Periodontal pocket depth, tooth 25, distal surface"
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/recall-contact",
          "type": "Encounter"
        },
        "effectiveDateTime": "2026-09-16T07:15:00+00:00",
        "valueQuantity": {
          "value": 4,
          "unit": "mm",
          "system": "http://unitsofmeasure.org",
          "code": "mm"
        },
        "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": "23226009",
                        "display": "Structure of permanent maxillary left second premolar tooth"
                      }
                    ],
                    "text": "Tooth 25 (ISO 3950)"
                  }
                },
                {
                  "url": "locationQualifier",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://snomed.info/sct",
                        "version": "http://snomed.info/sct/51000202101/version/20260715",
                        "code": "46053002",
                        "display": "Distal (qualifier value)"
                      }
                    ]
                  }
                },
                {
                  "url": "description",
                  "valueString": "Distal surface of tooth 25"
                }
              ]
            }
          ]
        },
        "method": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "771315000",
              "display": "Measurement of periodontal pocket depth"
            }
          ]
        },
        "performer": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Periodontal pocket depth at tooth 25, distal surface: 4 mm, measured by periodontal probing during the recall examination.</p></div>"
        },
        "derivedFrom": [
          {
            "reference": "DocumentReference/periodontal-source",
            "type": "DocumentReference"
          }
        ]
      },
      "request": {
        "method": "PUT",
        "url": "Observation/example-digidot-observation-periodontal-pocket-depth"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Observation/example-digidot-observation-result-unavailable",
      "resource": {
        "resourceType": "Observation",
        "id": "example-digidot-observation-result-unavailable",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no|0.7.0"
          ]
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "exam",
                "display": "Exam"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "286546002",
              "display": "Depth of periodontal pocket",
              "id": "SCTpre"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "286546002:{704327008=36492000}",
              "id": "SCTextended"
            }
          ],
          "text": "Periodontal pocket depth, tooth 15"
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/recall-contact",
          "type": "Encounter"
        },
        "effectiveDateTime": "2026-09-16T07:18:00+00:00",
        "performer": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner"
          }
        ],
        "dataAbsentReason": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason",
              "code": "not-performed",
              "display": "Not Performed"
            }
          ]
        },
        "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",
                        "display": "Structure of permanent maxillary right second premolar tooth"
                      }
                    ],
                    "text": "ISO 15"
                  }
                }
              ]
            }
          ]
        },
        "method": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "771315000",
              "display": "Measurement of periodontal pocket depth"
            }
          ]
        },
        "note": [
          {
            "text": "Probing at tooth 15 was deferred because of local discomfort. Complete the assessment at the next visit."
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>No periodontal pocket depth result for tooth 15 at the recall examination. Probing was deferred because of local discomfort; no numeric result is recorded.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Observation/example-digidot-observation-result-unavailable"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Observation/pocket-depth-15-follow-up",
      "resource": {
        "resourceType": "Observation",
        "id": "pocket-depth-15-follow-up",
        "meta": {
          "profile": [
            "https://novari.no/fhir/digidot/StructureDefinition/digidot-Observation-no|0.7.0"
          ]
        },
        "status": "final",
        "category": [
          {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/observation-category",
                "code": "exam",
                "display": "Exam"
              }
            ]
          }
        ],
        "code": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "286546002",
              "display": "Depth of periodontal pocket",
              "id": "SCTpre"
            },
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "286546002:{704327008=36492000}",
              "id": "SCTextended"
            }
          ],
          "text": "Periodontal pocket depth, tooth 15"
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "encounter": {
          "reference": "Encounter/restoration-contact",
          "type": "Encounter"
        },
        "effectiveDateTime": "2026-09-23T07:30:00+00:00",
        "performer": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner"
          }
        ],
        "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",
                        "display": "Structure of permanent maxillary right second premolar tooth"
                      }
                    ],
                    "text": "ISO 15"
                  }
                }
              ]
            }
          ]
        },
        "method": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "771315000",
              "display": "Measurement of periodontal pocket depth"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Deferred periodontal probing at tooth 15 completed during the second visit. Pocket depth: 3 mm. This is a new result; the earlier unavailable result is retained.</p></div>"
        },
        "valueQuantity": {
          "value": 3,
          "unit": "mm",
          "system": "http://unitsofmeasure.org",
          "code": "mm"
        }
      },
      "request": {
        "method": "PUT",
        "url": "Observation/pocket-depth-15-follow-up"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/DocumentReference/examination-source",
      "resource": {
        "resourceType": "DocumentReference",
        "id": "examination-source",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-DocumentReference"
          ]
        },
        "masterIdentifier": {
          "system": "urn:ietf:rfc:3986",
          "value": "urn:uuid:c2617af7-1dad-48c0-9b00-4170636c953e"
        },
        "status": "current",
        "docStatus": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2",
              "display": "Journalnotat"
            }
          ]
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "date": "2026-09-16T08:00:00+00:00",
        "author": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner"
          }
        ],
        "custodian": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "description": "SYNTHETIC TEST DATA: Original examination record",
        "content": [
          {
            "attachment": {
              "contentType": "application/pdf",
              "language": "en",
              "url": "Binary/examination-source-pdf",
              "size": 2038,
              "hash": "kCvJmAcUaLFwivH2R1nnpuoTong=",
              "title": "Original examination record.pdf",
              "creation": "2026-09-16T07:45:00+00:00"
            }
          }
        ],
        "context": {
          "encounter": [
            {
              "reference": "Encounter/recall-contact",
              "type": "Encounter"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic test document: Original examination record.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "DocumentReference/examination-source"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Binary/examination-source-pdf",
      "resource": {
        "resourceType": "Binary",
        "id": "examination-source-pdf",
        "contentType": "application/pdf",
        "securityContext": {
          "reference": "DocumentReference/examination-source",
          "type": "DocumentReference"
        },
        "data": "JVBERi0xLjMKJZOMi54gUmVwb3J0TGFiIEdlbmVyYXRlZCBQREYgZG9jdW1lbnQgKG9wZW5zb3VyY2UpCjEgMCBvYmoKPDwKL0YxIDIgMCBSIC9GMiAzIDAgUgo+PgplbmRvYmoKMiAwIG9iago8PAovQmFzZUZvbnQgL0hlbHZldGljYSAvRW5jb2RpbmcgL1dpbkFuc2lFbmNvZGluZyAvTmFtZSAvRjEgL1N1YnR5cGUgL1R5cGUxIC9UeXBlIC9Gb250Cj4+CmVuZG9iagozIDAgb2JqCjw8Ci9CYXNlRm9udCAvSGVsdmV0aWNhLUJvbGQgL0VuY29kaW5nIC9XaW5BbnNpRW5jb2RpbmcgL05hbWUgL0YyIC9TdWJ0eXBlIC9UeXBlMSAvVHlwZSAvRm9udAo+PgplbmRvYmoKNCAwIG9iago8PAovQ29udGVudHMgOCAwIFIgL01lZGlhQm94IFsgMCAwIDU5NS4yNzU2IDg0MS44ODk4IF0gL1BhcmVudCA3IDAgUiAvUmVzb3VyY2VzIDw8Ci9Gb250IDEgMCBSIC9Qcm9jU2V0IFsgL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUMgL0ltYWdlSSBdCj4+IC9Sb3RhdGUgMCAvVHJhbnMgPDwKCj4+IAogIC9UeXBlIC9QYWdlCj4+CmVuZG9iago1IDAgb2JqCjw8Ci9QYWdlTW9kZSAvVXNlTm9uZSAvUGFnZXMgNyAwIFIgL1R5cGUgL0NhdGFsb2cKPj4KZW5kb2JqCjYgMCBvYmoKPDwKL0F1dGh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BXj8kLGRSIlpfTV5mR2JhUFtPQDNtWGpqVidQRUxQVG0jYiZsKjRkNWIsSz4lOmJJXCNBJT86YWo7LUFpLyNpPWcsU0VfPF03ZiMtU2EobVUiW2BZMVdTYiQxUkFTQUVKQ0VuXjs7cV5Ca1FQUicuI21ucVIkZzAyRGsvaGttX2dqYkRDLksobzRXRmZiSi4mOyRnSkhWb0BZLFxLUFE2Tk5AMilNbjhDMiI3OCl1aUBlJTM9RDpyOWFZKDdxK2U2JytmL1QzJUVMSiQ8OUZPXildb3M8MiFWOU0nI1F+PmVuZHN0cmVhbQplbmRvYmoKeHJlZgowIDkKMDAwMDAwMDAwMCA2NTUzNSBmIAowMDAwMDAwMDYxIDAwMDAwIG4gCjAwMDAwMDAxMDIgMDAwMDAgbiAKMDAwMDAwMDIwOSAwMDAwMCBuIAowMDAwMDAwMzIxIDAwMDAwIG4gCjAwMDAwMDA1MjQgMDAwMDAgbiAKMDAwMDAwMDU5MiAwMDAwMCBuIAowMDAwMDAwODk0IDAwMDAwIG4gCjAwMDAwMDA5NTMgMDAwMDAgbiAKdHJhaWxlcgo8PAovSUQgCls8MjU2ZWQ2ZGNkYzI0ZmJhZmFiNjFlNmI2YjAwZTMzMjg+PDI1NmVkNmRjZGMyNGZiYWZhYjYxZTZiNmIwMGUzMzI4Pl0KJSBSZXBvcnRMYWIgZ2VuZXJhdGVkIFBERiBkb2N1bWVudCAtLSBkaWdlc3QgKG9wZW5zb3VyY2UpCgovSW5mbyA2IDAgUgovUm9vdCA1IDAgUgovU2l6ZSA5Cj4+CnN0YXJ0eHJlZgoxNjQ3CiUlRU9GCg=="
      },
      "request": {
        "method": "PUT",
        "url": "Binary/examination-source-pdf"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/DocumentReference/periodontal-source",
      "resource": {
        "resourceType": "DocumentReference",
        "id": "periodontal-source",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-DocumentReference"
          ]
        },
        "masterIdentifier": {
          "system": "urn:ietf:rfc:3986",
          "value": "urn:uuid:06ff34d3-b7c2-47b4-84ac-240465c78a42"
        },
        "status": "current",
        "docStatus": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2",
              "display": "Journalnotat"
            }
          ]
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "date": "2026-09-16T08:00:00+00:00",
        "author": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner"
          }
        ],
        "custodian": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "description": "SYNTHETIC TEST DATA: Original periodontal chart",
        "content": [
          {
            "attachment": {
              "contentType": "application/pdf",
              "language": "en",
              "url": "Binary/periodontal-source-pdf",
              "size": 2059,
              "hash": "jflaSa2jLm9fKvVFJ3veolGVEEY=",
              "title": "Original periodontal chart.pdf",
              "creation": "2026-09-16T07:45:00+00:00"
            }
          }
        ],
        "context": {
          "encounter": [
            {
              "reference": "Encounter/recall-contact",
              "type": "Encounter"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic test document: Original periodontal chart.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "DocumentReference/periodontal-source"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Binary/periodontal-source-pdf",
      "resource": {
        "resourceType": "Binary",
        "id": "periodontal-source-pdf",
        "contentType": "application/pdf",
        "securityContext": {
          "reference": "DocumentReference/periodontal-source",
          "type": "DocumentReference"
        },
        "data": "JVBERi0xLjMKJZOMi54gUmVwb3J0TGFiIEdlbmVyYXRlZCBQREYgZG9jdW1lbnQgKG9wZW5zb3VyY2UpCjEgMCBvYmoKPDwKL0YxIDIgMCBSIC9GMiAzIDAgUgo+PgplbmRvYmoKMiAwIG9iago8PAovQmFzZUZvbnQgL0hlbHZldGljYSAvRW5jb2RpbmcgL1dpbkFuc2lFbmNvZGluZyAvTmFtZSAvR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IAowMDAwMDAwMzIxIDAwMDAwIG4gCjAwMDAwMDA1MjQgMDAwMDAgbiAKMDAwMDAwMDU5MiAwMDAwMCBuIAowMDAwMDAwODkzIDAwMDAwIG4gCjAwMDAwMDA5NTIgMDAwMDAgbiAKdHJhaWxlcgo8PAovSUQgCls8MzY1NTJkYTdhYTUwMmNkNmVmMDE2ZmVkMjUwOGViOTc+PDM2NTUyZGE3YWE1MDJjZDZlZjAxNmZlZDI1MDhlYjk3Pl0KJSBSZXBvcnRMYWIgZ2VuZXJhdGVkIFBERiBkb2N1bWVudCAtLSBkaWdlc3QgKG9wZW5zb3VyY2UpCgovSW5mbyA2IDAgUgovUm9vdCA1IDAgUgovU2l6ZSA5Cj4+CnN0YXJ0eHJlZgoxNjY4CiUlRU9GCg=="
      },
      "request": {
        "method": "PUT",
        "url": "Binary/periodontal-source-pdf"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/DocumentReference/treatment-report",
      "resource": {
        "resourceType": "DocumentReference",
        "id": "treatment-report",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-DocumentReference"
          ]
        },
        "masterIdentifier": {
          "system": "urn:ietf:rfc:3986",
          "value": "urn:uuid:20c7a14f-3f61-41a1-9bfe-b3cfe0c65a5f"
        },
        "status": "current",
        "docStatus": "final",
        "type": {
          "coding": [
            {
              "system": "urn:oid:2.16.578.1.12.4.1.1.9602",
              "code": "B02-2",
              "display": "Journalnotat"
            }
          ]
        },
        "subject": {
          "reference": "Patient/planning-patient",
          "type": "Patient"
        },
        "date": "2026-09-23T08:00:00+00:00",
        "author": [
          {
            "reference": "Practitioner/planning-practitioner",
            "type": "Practitioner"
          }
        ],
        "custodian": {
          "reference": "Organization/planning-county",
          "type": "Organization"
        },
        "description": "SYNTHETIC TEST DATA: Treatment report",
        "content": [
          {
            "attachment": {
              "contentType": "application/pdf",
              "language": "en",
              "url": "Binary/treatment-report-pdf",
              "size": 2015,
              "hash": "nUX8nF2QuVpuDiUCxaX93LzxbE4=",
              "title": "Treatment report.pdf",
              "creation": "2026-09-23T07:45:00+00:00"
            }
          }
        ],
        "context": {
          "encounter": [
            {
              "reference": "Encounter/restoration-contact",
              "type": "Encounter"
            }
          ]
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Synthetic test document: Treatment report.</p></div>"
        }
      },
      "request": {
        "method": "PUT",
        "url": "DocumentReference/treatment-report"
      }
    },
    {
      "fullUrl": "https://example.org/fhir/Binary/treatment-report-pdf",
      "resource": {
        "resourceType": "Binary",
        "id": "treatment-report-pdf",
        "contentType": "application/pdf",
        "securityContext": {
          "reference": "DocumentReference/treatment-report",
          "type": "DocumentReference"
        },
        "data": "JVBERi0xLjMKJZOMi54gUmVwb3J0TGFiIEdlbmVyYXRlZCBQREYgZG9jdW1lbnQgKG9wZW5zb3VyY2UpCjEgMCBvYmoKPDwKL0YxIDIgMCBSIC9GMiAzIDAgUgo+PgplbmRvYmoKMiAwIG9iago8PAovQmFzZUZvbnQgL0hlbHZldGljYSAvRW5jb2RpbmcgL1dpbkFuc2lFbmNvZGluZyAvTmFtZSAvRjEgL1N1YnR5cGUgL1R5cGUxIC9UeXBlIC9Gb250Cj4+CmVuZG9iagozIDAgb2JqCjw8Ci9CYXNlRm9udCAvSGVsdmV0aWNhLUJvbGQgL0VuY29kaW5nIC9XaW5BbnNpRW5jb2RpbmcgL05hbWUgL0YyIC9TdWJ0eXBlIC9UeXBlMSAvVHlwZSAvRm9udAo+PgplbmRvYmoKNCAwIG9iago8PAovQ29udGVudHMgOCAwIFIgL01lZGlhQm94IFsgMCAwIDU5NS4yNzU2IDg0MS44ODk4IF0gL1BhcmVudCA3IDAgUiAvUmVzb3VyY2VzIDw8Ci9Gb250IDEgMCBSIC9Qcm9jU2V0IFsgL1BERiAvVGV4dCAvSW1hZ2VCIC9JbWFnZUMgL0ltYWdlSSBdCj4+IC9Sb3RhdGUgMCAvVHJhbnMgPDwKCj4+IAogIC9UeXBl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hUcys3OmxOVFIxPEh1NlgkWCRLMGcoLnQ1J29QNF5IZ2NbYl5hTUJmVkNSPEVDb0ZkQURUUWooQD01dEExTXEwVFokZXA8XCNQJUEwODI8Vk8/KixzNE9bbEQpZUZqRDAkMkJ1b0Y9bztIVSxNZ1NSazdFRSYxNChGdSNnM0FAYkZmO1o3IVtPLGhLclddPyVQXVRVS1ZEO0FBQ0VNLDhSOklcdV1bdFpMa2EydUNXaGIkXSY2PDFjPkZwcXEkYl1WS1tVSW81akw4c1NbZl0+KTQxJj41SUVLJXJjWDlyayJuaktGbW5wWmswZitZRlQsQm5XJVQzN3JRTyI8RHAyPUdjYFZkLD9XLmtgXzglT1lTSWAvJ0ZHIUgmTUEuUF5dJ2RaRlw2fj5lbmRzdHJlYW0KZW5kb2JqCnhyZWYKMCA5CjAwMDAwMDAwMDAgNjU1MzUgZiAKMDAwMDAwMDA2MSAwMDAwMCBuIAowMDAwMDAwMTAyIDAwMDAwIG4gCjAwMDAwMDAyMDkgMDAwMDAgbiAKMDAwMDAwMDMyMSAwMDAwMCBuIAowMDAwMDAwNTI0IDAwMDAwIG4gCjAwMDAwMDA1OTIgMDAwMDAgbiAKMDAwMDAwMDg4MyAwMDAwMCBuIAowMDAwMDAwOTQyIDAwMDAwIG4gCnRyYWlsZXIKPDwKL0lEIApbPDUzNTVhMzE2NDkyODA4YmQ2MDZiNWJlOTg4ZjJiNDc4Pjw1MzU1YTMxNjQ5MjgwOGJkNjA2YjViZTk4OGYyYjQ3OD5dCiUgUmVwb3J0TGFiIGdlbmVyYXRlZCBQREYgZG9jdW1lbnQgLS0gZGlnZXN0IChvcGVuc291cmNlKQoKL0luZm8gNiAwIFIKL1Jvb3QgNSAwIFIKL1NpemUgOQo+PgpzdGFydHhyZWYKMTYyNAolJUVPRgo="
      },
      "request": {
        "method": "PUT",
        "url": "Binary/treatment-report-pdf"
      }
    }
  ],
  "meta": {
    "tag": [
      {
        "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."
      }
    ]
  }
}