{
  "resourceType" : "Encounter",
  "id" : "Encounter-Inpatient-V0001234",
  "meta" : {
    "profile" : ["https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMEncounter"]
  },
  "language" : "en",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Encounter Encounter-Inpatient-V0001234</b></p><a name=\"Encounter-Inpatient-V0001234\"> </a><a name=\"hcEncounter-Inpatient-V0001234\"> </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-PAMEncounter.html\">PAM Encounter</a></p></div><p><b>Decision To Admit Date Time</b>: 2026-11-20 09:45:00+0000</p><p><b>Intended Management</b>: <span title=\"Codes:{https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/intended-management 1}\">Patient to stay in hospital for at least one night</span></p><p><b>identifier</b>: Account number/5000001\u00a0(use:\u00a0official)</p><p><b>status</b>: In Progress</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:{https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function 300}\">GENERAL MEDICINE</span></p><p><b>subject</b>: <a href=\"Patient-Patient-OctaviaCHISLETT-9449305552.html\">Octavia CHISLETT (official) Female, DoB: 2008-09-20 ( National Health Plan Identifier: NHSNumber#9449305552)</a></p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType CON}\">consultant</span></p><p><b>individual</b>: <a href=\"Practitioner-Practitioner-C1234567.html\">Alan JONES (https://fhir.hl7.org.uk/Id/gmc-number#GMCNumber#C1234567)</a></p></blockquote><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType ADM}\">admitter</span></p><p><b>individual</b>: <a href=\"Practitioner-Practitioner-C1234567.html\">Alan JONES (https://fhir.hl7.org.uk/Id/gmc-number#GMCNumber#C1234567)</a></p></blockquote><p><b>period</b>: 2026-11-20 10:15:00+0000 --&gt; (ongoing)</p><h3>Hospitalizations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Extension</b></td><td><b>AdmitSource</b></td></tr><tr><td style=\"display: none\">*</td><td/><td><span title=\"Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland 19}\">Usual place of residence unless listed below, for example, a private dwelling whether owner occupied or owned by Local Authority, housing association or other landlord. This includes wardened accommodation but not residential accommodation where health care is provided. It also includes Patients with no fixed abode.</span></td></tr></table><h3>Locations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Location</b></td><td><b>Status</b></td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Location-Location-Ward-W12.html\">Ward 12 (W12)</a></td><td>Active</td><td>2026-11-20 10:15:00+0000 --&gt; (ongoing)</td></tr></table><p><b>serviceProvider</b>: <a href=\"Organization-Organization-R0A.html\">MANCHESTER UNIVERSITY NHS FOUNDATION TRUST (https://fhir.nhs.uk/Id/ods-organization-code#ODSOrganisationCode#R0A)</a></p></div>"
  },
  "extension" : [{
    "url" : "https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/Extension-DecisionToAdmitDateTime",
    "valueDateTime" : "2026-11-20T09:45:00Z"
  },
  {
    "url" : "https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/Extension-IntendedManagement",
    "valueCodeableConcept" : {
      "coding" : [{
        "system" : "https://fhir.ihe-uk.org/ITI/PAM/CodeSystem/intended-management",
        "code" : "1",
        "display" : "Patient to stay in hospital for at least one night"
      }]
    }
  }],
  "identifier" : [{
    "use" : "official",
    "type" : {
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
        "code" : "AN"
      }]
    },
    "value" : "5000001",
    "assigner" : {
      "identifier" : {
        "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
        "value" : "R0A"
      }
    }
  }],
  "status" : "in-progress",
  "class" : {
    "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
    "code" : "IMP",
    "display" : "inpatient encounter"
  },
  "serviceType" : {
    "coding" : [{
      "system" : "https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function",
      "code" : "300"
    }]
  },
  "subject" : {
    "reference" : "Patient/Patient-OctaviaCHISLETT-9449305552"
  },
  "participant" : [{
    "type" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
        "code" : "CON"
      }]
    }],
    "individual" : {
      "reference" : "Practitioner/Practitioner-C1234567"
    }
  },
  {
    "type" : [{
      "coding" : [{
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
        "code" : "ADM"
      }]
    }],
    "individual" : {
      "reference" : "Practitioner/Practitioner-C1234567"
    }
  }],
  "period" : {
    "start" : "2026-11-20T10:15:00Z"
  },
  "hospitalization" : {
    "extension" : [{
      "url" : "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AdmissionMethod",
      "valueCodeableConcept" : {
        "coding" : [{
          "system" : "https://fhir.hl7.org.uk/CodeSystem/UKCore-AdmissionMethodEngland",
          "code" : "21",
          "display" : "Emergency Admission: Emergency Care Department or dental casualty department of the Health Care Provider"
        }]
      }
    }],
    "admitSource" : {
      "coding" : [{
        "system" : "https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland",
        "code" : "19"
      }]
    }
  },
  "location" : [{
    "location" : {
      "reference" : "Location/Location-Ward-W12"
    },
    "status" : "active",
    "period" : {
      "start" : "2026-11-20T10:15:00Z"
    }
  }],
  "serviceProvider" : {
    "reference" : "Organization/Organization-R0A"
  }
}