{
  "resourceType" : "Bundle",
  "id" : "hscic-a12-inout",
  "meta" : {
    "profile" : ["https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMBundleMessage"]
  },
  "language" : "en",
  "identifier" : {
    "value" : "13403891320453338078"
  },
  "type" : "message",
  "timestamp" : "2010-11-29T13:34:00+00:00",
  "entry" : [{
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/MessageHeader/hscic-a12-inout-header",
    "resource" : {
      "resourceType" : "MessageHeader",
      "id" : "hscic-a12-inout-header",
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"MessageHeader_hscic-a12-inout-header\"> </a><p class=\"res-header-id\"><b>Generated Narrative: MessageHeader hscic-a12-inout-header</b></p><a name=\"hscic-a12-inout-header\"> </a><a name=\"hchscic-a12-inout-header\"> </a><p><b>event</b>: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v2-0003.html#v2-0003-A12\">event: A12</a> (ADT/ACK -  Cancel transfer)</p><h3>Destinations</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>ROUTE</td><td><a href=\"https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=http://example.org/hl7v2/ROUTE\">http://example.org/hl7v2/ROUTE</a></td></tr></table><p><b>sender</b>: YORK AND SCARBOROUGH TEACHING HOSPITALS NHS FOUNDATION TRUST (Identifier: <a href=\"NamingSystem-ods-organization-code.html\" title=\"NHS Organisation Data Service (ODS) organisation code. HL7 v2 MSH-4, MSH-6, CX-6, PD1-3.\">ODSOrganisationCode</a>/RCB)</p><h3>Sources</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Name</b></td><td><b>Endpoint</b></td></tr><tr><td style=\"display: none\">*</td><td>PAS</td><td><a href=\"https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=http://example.org/hl7v2/PAS\">http://example.org/hl7v2/PAS</a></td></tr></table><p><b>focus</b>: <a href=\"Bundle-hscic-a12-inout.html#Encounter_hscic-a12-inout-encounter\">Encounter: extension = 2010-11-29 11:00:00+0000,Patient to stay in hospital for at least one night; identifier = Account number: 5000107\u00a0(use:\u00a0official),Visit number: 1223\u00a0(use:\u00a0secondary); status = in-progress; class = inpatient encounter (ActCode#IMP); type = Surgery; serviceType = GENERAL MEDICINE; period = 2010-11-29 11:00:00+0000 --&gt; (ongoing)</a></p></div>"
      },
      "eventCoding" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
        "code" : "A12"
      },
      "destination" : [{
        "name" : "ROUTE",
        "endpoint" : "http://example.org/hl7v2/ROUTE"
      }],
      "sender" : {
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "RCB"
        },
        "display" : "YORK AND SCARBOROUGH TEACHING HOSPITALS NHS FOUNDATION TRUST"
      },
      "source" : {
        "name" : "PAS",
        "endpoint" : "http://example.org/hl7v2/PAS"
      },
      "focus" : [{
        "reference" : "Encounter/hscic-a12-inout-encounter"
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/Provenance/hscic-a12-inout-event",
    "resource" : {
      "resourceType" : "Provenance",
      "id" : "hscic-a12-inout-event",
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Provenance_hscic-a12-inout-event\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Provenance hscic-a12-inout-event</b></p><a name=\"hscic-a12-inout-event\"> </a><a name=\"hchscic-a12-inout-event\"> </a><p>Provenance for <a href=\"Bundle-hscic-a12-inout.html#Encounter_hscic-a12-inout-encounter\">Encounter: extension = 2010-11-29 11:00:00+0000,Patient to stay in hospital for at least one night; identifier = Account number: 5000107\u00a0(use:\u00a0official),Visit number: 1223\u00a0(use:\u00a0secondary); status = in-progress; class = inpatient encounter (ActCode#IMP); type = Surgery; serviceType = GENERAL MEDICINE; period = 2010-11-29 11:00:00+0000 --&gt; (ongoing)</a></p><p>Summary</p><table class=\"grid\"><tr><td>Occurrence</td><td>2010-11-29 13:28:00+0000</td></tr><tr><td>Recorded</td><td>2010-11-29 13:32:00+0000</td></tr><tr><td>Activity</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v2-0003 A12}\">ADT/ACK -  Cancel transfer</span></td></tr></table><p><b>Agents</b></p><table class=\"grid\"><tr><td><b>who</b></td></tr><tr><td>Samuel Darwin (Identifier: 445574765)</td></tr></table></div>"
      },
      "target" : [{
        "reference" : "Encounter/hscic-a12-inout-encounter"
      }],
      "occurredDateTime" : "2010-11-29T13:28:00+00:00",
      "recorded" : "2010-11-29T13:32:00+00:00",
      "activity" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/v2-0003",
          "code" : "A12"
        }]
      },
      "agent" : [{
        "who" : {
          "identifier" : {
            "value" : "445574765"
          },
          "display" : "Samuel Darwin"
        }
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/Patient/Patient-EDITESTPATIENT-TEN-9999999557",
    "resource" : {
      "resourceType" : "Patient",
      "id" : "Patient-EDITESTPATIENT-TEN-9999999557",
      "meta" : {
        "profile" : ["https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/PAMPatient"]
      },
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Patient_Patient-EDITESTPATIENT-TEN-9999999557\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Patient Patient-EDITESTPATIENT-TEN-9999999557</b></p><a name=\"Patient-EDITESTPATIENT-TEN-9999999557\"> </a><a name=\"hcPatient-EDITESTPATIENT-TEN-9999999557\"> </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-PAMPatient.html\">PAM Patient</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">TEN EDITESTPATIENT (official) Female, DoB: 1980-01-01 ( National Health Plan Identifier: NHSNumber#9999999557)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td><span title=\"Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland M}\">Married/Civil Partner</span></td><td style=\"background-color: #f3f5da\" title=\"Known multipleBirth status of Patient\">Multiple Birth:</td><td colspan=\"3\">false</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li><a href=\"tel:+441234567890\">+441234567890</a></li><li>1 TEST STREET BRACKNELL RG12 9AX GBR (home)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{urn:ietf:bcp:47 en}\">English</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>General Practitioner: MALTON GP PRACTICE (Identifier: <a href=\"NamingSystem-ods-organization-code.html\" title=\"NHS Organisation Data Service (ODS) organisation code. HL7 v2 MSH-4, MSH-6, CX-6, PD1-3.\">ODSOrganisationCode</a>/Y06601)</li><li>General Practitioner: Dr Gregory Townley (Identifier: <a href=\"NamingSystem-gmp-number.html\" title=\"National GP code (G + 6 digits + check digit). HL7 v2 PD1-4 XCN-1.\">GMPNumber</a>/G5612908)</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Information that describes the patient's ethnic category.\"><a href=\"https://simplifier.net/resolve?scope=fhir.r4.ukcore.stu3.currentbuild@0.29.0-pre-release&amp;canonical=https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory\">Extension UK Core Ethnic Category</a></td><td colspan=\"3\"><span title=\"Codes:{https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland A}\">White - British</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nationality of the patient.\">Patient Nationality:</td><td colspan=\"3\"><ul><li>code: <span title=\"Codes:{urn:iso:std:iso:3166 DEU}\">Germany</span></li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Mother's maiden (unmarried) name, commonly collected to help verify patient identity.\"><a href=\"http://hl7.org/fhir/extensions/5.4.0/StructureDefinition-patient-mothersMaidenName.html\">Patient Mother's Maiden Name</a></td><td colspan=\"3\">SCHMIDT</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The registered place of birth of the patient. A sytem may use the address.text if they don't store the birthPlace address in discrete elements.\"><a href=\"http://hl7.org/fhir/extensions/5.4.0/StructureDefinition-patient-birthPlace.html\">Patient Birth Place</a></td><td colspan=\"3\">Berlin </td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The patient's legal status as citizen of a country.\">Patient Citizenship:</td><td colspan=\"3\"><ul><li>code: <span title=\"Codes:{urn:iso:std:iso:3166 GBR}\">United Kingdom</span></li></ul></td></tr></table></div>"
      },
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/patient-mothersMaidenName",
        "valueString" : "SCHMIDT"
      },
      {
        "url" : "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-EthnicCategory",
        "valueCodeableConcept" : {
          "coding" : [{
            "system" : "https://fhir.hl7.org.uk/CodeSystem/UKCore-EthnicCategoryEngland",
            "code" : "A"
          }]
        }
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthPlace",
        "valueAddress" : {
          "city" : "Berlin"
        }
      },
      {
        "extension" : [{
          "url" : "code",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "urn:iso:std:iso:3166",
              "code" : "GBR"
            }]
          }
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/patient-citizenship"
      },
      {
        "extension" : [{
          "url" : "code",
          "valueCodeableConcept" : {
            "coding" : [{
              "system" : "urn:iso:std:iso:3166",
              "code" : "DEU"
            }]
          }
        }],
        "url" : "http://hl7.org/fhir/StructureDefinition/patient-nationality"
      }],
      "identifier" : [{
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "NH"
          }]
        },
        "system" : "https://fhir.nhs.uk/Id/nhs-number",
        "value" : "9999999557"
      }],
      "name" : [{
        "use" : "official",
        "family" : "EDITESTPATIENT",
        "given" : ["TEN"],
        "prefix" : ["MRS"]
      }],
      "telecom" : [{
        "system" : "phone",
        "value" : "+441234567890",
        "use" : "home"
      }],
      "gender" : "female",
      "birthDate" : "1980-01-01",
      "_birthDate" : {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/patient-birthTime",
          "valueDateTime" : "1980-01-01T15:15:00+00:00"
        }]
      },
      "address" : [{
        "use" : "home",
        "line" : ["1 TEST STREET"],
        "city" : "BRACKNELL",
        "district" : "BERKSHIRE",
        "postalCode" : "RG12 9AX",
        "country" : "GBR"
      }],
      "maritalStatus" : {
        "coding" : [{
          "system" : "https://fhir.hl7.org.uk/CodeSystem/UKCore-PersonMaritalStatusEngland",
          "code" : "M"
        }]
      },
      "multipleBirthBoolean" : false,
      "communication" : [{
        "language" : {
          "coding" : [{
            "system" : "urn:ietf:bcp:47",
            "code" : "en"
          }]
        }
      }],
      "generalPractitioner" : [{
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "Y06601"
        },
        "display" : "MALTON GP PRACTICE"
      },
      {
        "identifier" : {
          "system" : "https://fhir.hl7.org.uk/Id/gmp-number",
          "value" : "G5612908"
        },
        "display" : "Dr Gregory Townley"
      }]
    }
  },
  {
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/Encounter/hscic-a12-inout-encounter",
    "resource" : {
      "resourceType" : "Encounter",
      "id" : "hscic-a12-inout-encounter",
      "language" : "en",
      "text" : {
        "status" : "extensions",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Encounter_hscic-a12-inout-encounter\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Encounter hscic-a12-inout-encounter</b></p><a name=\"hscic-a12-inout-encounter\"> </a><a name=\"hchscic-a12-inout-encounter\"> </a><p><b>Decision To Admit Date Time</b>: 2010-11-29 11:00: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/5000107\u00a0(use:\u00a0official), Visit number/1223\u00a0(use:\u00a0secondary)</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>type</b>: <span title=\"Codes:\">Surgery</span></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-EDITESTPATIENT-TEN-9999999557.html\">TEN EDITESTPATIENT (official) Female, DoB: 1980-01-01 ( National Health Plan Identifier: NHSNumber#9999999557)</a></p><blockquote><p><b>participant</b></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType ATND}\">attender</span></p><p><b>individual</b>: Dr Samuel Darwin (Identifier: <a href=\"NamingSystem-gmc-number.html\" title=\"General Medical Council number (consultant code). HL7 v2 XCN-1 (PV1-7, PV1-8, PV1-9, PV1-17).\">GMCNumber</a>/C3456789)</p></blockquote><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>: Dr Samuel Darwin (Identifier: <a href=\"NamingSystem-gmc-number.html\" title=\"General Medical Council number (consultant code). HL7 v2 XCN-1 (PV1-7, PV1-8, PV1-9, PV1-17).\">GMCNumber</a>/C3456789)</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>: Dr Samuel Darwin (Identifier: <a href=\"NamingSystem-gmc-number.html\" title=\"General Medical Council number (consultant code). HL7 v2 XCN-1 (PV1-7, PV1-8, PV1-9, PV1-17).\">GMCNumber</a>/C3456789)</p></blockquote><p><b>period</b>: 2010-11-29 11:00: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 51}\">NHS other Hospital Provider - Ward for general Patients or the younger physically disabled or Emergency Care Department</span></td></tr></table><blockquote><p><b>location</b></p><p><b>location</b>: West Wing RCB55-SURGWARD Bed 2 (Identifier: RCB55-SURGWARD)</p><p><b>status</b>: Active</p></blockquote><blockquote><p><b>location</b></p><p><b>location</b>: West Wing RCB55-RECOVERYWARD Bed 8 (Identifier: RCB55-RECOVERYWARD)</p><p><b>status</b>: Completed</p></blockquote><p><b>serviceProvider</b>: Identifier: <a href=\"NamingSystem-ods-organization-code.html\" title=\"NHS Organisation Data Service (ODS) organisation code. HL7 v2 MSH-4, MSH-6, CX-6, PD1-3.\">ODSOrganisationCode</a>/RCB</p></div>"
      },
      "extension" : [{
        "url" : "https://fhir.ihe-uk.org/ITI/PAM/StructureDefinition/Extension-DecisionToAdmitDateTime",
        "valueDateTime" : "2010-11-29T11:00:00+00:00"
      },
      {
        "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"
          }]
        }
      }],
      "identifier" : [{
        "use" : "official",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "AN"
          }]
        },
        "value" : "5000107",
        "assigner" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "RCB"
          }
        }
      },
      {
        "use" : "secondary",
        "type" : {
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v2-0203",
            "code" : "VN"
          }]
        },
        "value" : "1223",
        "assigner" : {
          "identifier" : {
            "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
            "value" : "RCB"
          }
        }
      }],
      "status" : "in-progress",
      "class" : {
        "system" : "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code" : "IMP"
      },
      "type" : [{
        "text" : "Surgery"
      }],
      "serviceType" : {
        "coding" : [{
          "system" : "https://fhir.nhs.uk/CodeSystem/NHSDataModelAndDictionary-treatment-function",
          "code" : "300"
        }]
      },
      "subject" : {
        "reference" : "Patient/Patient-EDITESTPATIENT-TEN-9999999557"
      },
      "participant" : [{
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "ATND"
          }]
        }],
        "individual" : {
          "identifier" : {
            "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
            "value" : "C3456789"
          },
          "display" : "Dr Samuel Darwin"
        }
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "CON"
          }]
        }],
        "individual" : {
          "identifier" : {
            "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
            "value" : "C3456789"
          },
          "display" : "Dr Samuel Darwin"
        }
      },
      {
        "type" : [{
          "coding" : [{
            "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType",
            "code" : "ADM"
          }]
        }],
        "individual" : {
          "identifier" : {
            "system" : "https://fhir.hl7.org.uk/Id/gmc-number",
            "value" : "C3456789"
          },
          "display" : "Dr Samuel Darwin"
        }
      }],
      "period" : {
        "start" : "2010-11-29T11:00:00+00:00"
      },
      "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"
            }]
          }
        }],
        "admitSource" : {
          "coding" : [{
            "system" : "https://fhir.hl7.org.uk/CodeSystem/UKCore-SourceOfAdmissionEngland",
            "code" : "51"
          }]
        }
      },
      "location" : [{
        "location" : {
          "identifier" : {
            "value" : "RCB55-SURGWARD"
          },
          "display" : "West Wing RCB55-SURGWARD Bed 2"
        },
        "status" : "active"
      },
      {
        "location" : {
          "identifier" : {
            "value" : "RCB55-RECOVERYWARD"
          },
          "display" : "West Wing RCB55-RECOVERYWARD Bed 8"
        },
        "status" : "completed"
      }],
      "serviceProvider" : {
        "identifier" : {
          "system" : "https://fhir.nhs.uk/Id/ods-organization-code",
          "value" : "RCB"
        }
      }
    }
  },
  {
    "fullUrl" : "https://fhir.ihe-uk.org/ITI/PAM/Condition/hscic-a12-inout-condition-1",
    "resource" : {
      "resourceType" : "Condition",
      "id" : "hscic-a12-inout-condition-1",
      "language" : "en",
      "text" : {
        "status" : "generated",
        "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Condition_hscic-a12-inout-condition-1\"> </a><p class=\"res-header-id\"><b>Generated Narrative: Condition hscic-a12-inout-condition-1</b></p><a name=\"hscic-a12-inout-condition-1\"> </a><a name=\"hchscic-a12-inout-condition-1\"> </a><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-category encounter-diagnosis}\">Encounter Diagnosis</span></p><p><b>code</b>: <span title=\"Codes:\">ICD-10 K35.0 Acute appendicitis with generalized peritonitis</span></p><p><b>subject</b>: <a href=\"Patient-Patient-EDITESTPATIENT-TEN-9999999557.html\">TEN EDITESTPATIENT (official) Female, DoB: 1980-01-01 ( National Health Plan Identifier: NHSNumber#9999999557)</a></p><p><b>encounter</b>: <a href=\"Bundle-hscic-a12-inout.html#Encounter_hscic-a12-inout-encounter\">Encounter: extension = 2010-11-29 11:00:00+0000,Patient to stay in hospital for at least one night; identifier = Account number: 5000107\u00a0(use:\u00a0official),Visit number: 1223\u00a0(use:\u00a0secondary); status = in-progress; class = inpatient encounter (ActCode#IMP); type = Surgery; serviceType = GENERAL MEDICINE; period = 2010-11-29 11:00:00+0000 --&gt; (ongoing)</a></p></div>"
      },
      "clinicalStatus" : {
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical",
          "code" : "active"
        }]
      },
      "category" : [{
        "coding" : [{
          "system" : "http://terminology.hl7.org/CodeSystem/condition-category",
          "code" : "encounter-diagnosis"
        }]
      }],
      "code" : {
        "text" : "ICD-10 K35.0 Acute appendicitis with generalized peritonitis"
      },
      "subject" : {
        "reference" : "Patient/Patient-EDITESTPATIENT-TEN-9999999557"
      },
      "encounter" : {
        "reference" : "Encounter/hscic-a12-inout-encounter"
      }
    }
  }]
}