{
  "resourceType": "Bundle",
  "id": "example-digidot-planning-responsibility",
  "type": "collection",
  "entry": [
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/Patient/planning-patient",
      "resource": {
        "resourceType": "Patient",
        "id": "planning-patient",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Patient"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:patient",
            "value": "planning-patient"
          }
        ],
        "name": [
          {
            "given": [
              "Alex"
            ],
            "family": "Morgan"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Alex Morgan</p></div>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/Practitioner/planning-practitioner",
      "resource": {
        "resourceType": "Practitioner",
        "id": "planning-practitioner",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Practitioner"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:practitioner",
            "value": "planning-practitioner"
          }
        ],
        "name": [
          {
            "given": [
              "Robin"
            ],
            "family": "Taylor"
          }
        ],
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Robin Taylor</p></div>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/Organization/planning-clinic",
      "resource": {
        "resourceType": "Organization",
        "id": "planning-clinic",
        "meta": {
          "profile": [
            "http://hl7.no/fhir/StructureDefinition/no-basis-Organization"
          ]
        },
        "identifier": [
          {
            "system": "urn:digidot:example:planning:organization",
            "value": "planning-clinic"
          }
        ],
        "name": "Riverside Dental Clinic",
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Riverside Dental Clinic</p></div>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/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": "Riverside Dental Clinic, Room 1",
        "managingOrganization": {
          "reference": "Organization/planning-clinic",
          "type": "Organization"
        },
        "text": {
          "status": "generated",
          "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p>Riverside Dental Clinic, Room 1</p></div>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/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-clinic",
          "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>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/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-clinic",
            "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>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/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": "Practitioner/planning-practitioner",
              "type": "Practitioner"
            },
            "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, Room 1.</p></div>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/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-clinic",
          "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": "Practitioner/planning-practitioner",
              "type": "Practitioner"
            }
          }
        ],
        "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>Routine dental examination completed on 16 September 2026, 09:03–09:28. Dental caries was identified.</p></div>"
        }
      }
    },
    {
      "fullUrl": "https://novari.no/fhir/digidot/example/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": "active"
            }
          ]
        },
        "code": {
          "coding": [
            {
              "id": "SCTextended",
              "system": "http://snomed.info/sct",
              "version": "http://snomed.info/sct/51000202101/version/20260715",
              "code": "80967001",
              "display": "Dental caries"
            }
          ]
        },
        "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 identified during the routine dental examination.</p></div>"
        }
      }
    }
  ]
}