{
  "resourceType" : "Encounter",
  "id" : "CardiacCatheterisationSpell",
  "meta" : {
    "profile" : ["https://fhir.acmeexample.org.uk/PatientCareCoordination/StructureDefinition/HospitalSpell"]
  },
  "language" : "en",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter CardiacCatheterisationSpell</b></p><a name=\"CardiacCatheterisationSpell\"> </a><a name=\"hcCardiacCatheterisationSpell\"> </a><div style=\"display: inline-block; background-color: #fbffeb; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-HospitalSpell.html\">Hospital Spell</a></p></div><p><b>identifier</b>: Account number/1001166717</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-IMP\">ActCode: IMP</a> (inpatient encounter)</p><p><b>serviceType</b>: <span title=\"Codes:\">Cardiology</span></p><p><b>subject</b>: <a href=\"Patient-Patient-Tameside.html\">Hodor TAMESIDE  Male, DoB: 1960-07-27 ( National Health Plan Identifier: NHS Number#9737383397)</a></p><p><b>basedOn</b>: <a href=\"ServiceRequest-CardiologyReferral.html\">ServiceRequest Referral to cardiology service</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType ADM}\">admitter</span></td><td><a href=\"PractitionerRole-CardiologistBrownRole.html\">Brown (https://fhir.hl7.org.uk/Id/gmc-number#GMC Number#7654321) at Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></td></tr></table><p><b>period</b>: 2026-09-21 08:00:00+0100 --&gt; 2026-09-21 17:00:00+0100</p><p><b>serviceProvider</b>: <a href=\"Organization-R0A.html\">Manchester University NHS Foundation Trust (https://fhir.nhs.uk/Id/ods-organization-code#ODS Organisation Code#R0A)</a></p></div>"
  },
  "identifier" : [{
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
        "code" : "AN"
      }]
    },
    "value" : "1001166717",
    "assigner" : {
      "identifier" : {
        "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
        "value" : "R0A"
      }
    }
  }],
  "status" : "finished",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "IMP",
    "display" : "inpatient encounter"
  },
  "serviceType" : {
    "text" : "Cardiology"
  },
  "subject" : {
    "reference" : "Patient/Patient-Tameside"
  },
  "basedOn" : [{
    "reference" : "ServiceRequest/CardiologyReferral"
  }],
  "participant" : [{
    "type" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
        "code" : "ADM"
      }]
    }],
    "individual" : {
      "reference" : "PractitionerRole/CardiologistBrownRole"
    }
  }],
  "period" : {
    "start" : "2026-09-21T08:00:00+01:00",
    "end" : "2026-09-21T17:00:00+01:00"
  },
  "serviceProvider" : {
    "reference" : "Organization/R0A"
  }
}