{
  "resourceType": "ServiceRequest",
  "id": "specialist-referral",
  "meta": {
    "profile": [
      "https://novari.no/fhir/digidot/StructureDefinition/digidot-ServiceRequest-no|0.6.9"
    ]
  },
  "status": "active",
  "intent": "order",
  "subject": {
    "reference": "Patient/planning-patient",
    "type": "Patient",
    "display": "Jonas Moen"
  },
  "encounter": {
    "reference": "Encounter/recall-contact",
    "type": "Encounter",
    "display": "Examination visit"
  },
  "requester": {
    "reference": "Practitioner/planning-practitioner",
    "type": "Practitioner",
    "display": "Robin Taylor"
  },
  "performer": [
    {
      "reference": "Organization/receiving-county",
      "type": "Organization",
      "display": "Receiving Fylkeskommune"
    }
  ],
  "supportingInfo": [
    {
      "reference": "EpisodeOfCare/general-care",
      "type": "EpisodeOfCare",
      "display": "Ongoing dental care with the referring service"
    },
    {
      "reference": "DocumentReference/referral-letter",
      "type": "DocumentReference",
      "display": "Retained referral letter"
    },
    {
      "reference": "Composition/examination-note",
      "type": "Composition",
      "display": "Examination contact note"
    }
  ],
  "reasonReference": [
    {
      "reference": "Condition/caries-finding",
      "type": "Condition",
      "display": "Dental caries, tooth 46, occlusal surface"
    }
  ],
  "authoredOn": "2026-09-16T07:25:00+00:00",
  "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>Active order to Receiving Fylkeskommune for the planned composite restoration of the occlusal surface of tooth 46. The initiating contact and source care responsibility remain with the referring service. Sending the letter does not fulfil the requested treatment.</p></div>"
  },
  "identifier": [
    {
      "system": "urn:digidot:example:referral:request",
      "value": "specialist-referral-001"
    }
  ],
  "occurrencePeriod": {
    "start": "2026-09-16",
    "end": "2026-12-31"
  },
  "priority": "routine",
  "note": [
    {
      "authorReference": {
        "reference": "Practitioner/planning-practitioner",
        "type": "Practitioner",
        "display": "Robin Taylor"
      },
      "time": "2026-09-16T07:25:00+00:00",
      "text": "Restorative care cannot be provided at the referring clinic. Please arrange the specified restoration through the receiving public dental service. The requested scope is restoration, not assessment alone."
    }
  ]
}