Encounter-Emergency

{
    "resourceType": "Encounter",
    "id": "NCR-EncounterExample-Emergency",
    "meta": {
        "profile":  [
            "https://fhir.yhcr.nhs.uk/StructureDefinition/Interweave-Encounter",
            "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Encounter-1"
        ]
    },
    "contained":  [
        {
            "resourceType": "Location",
            "id": "NCRLocationHouseAdmissionExample",
            "meta": {
                "profile":  [
                    "https://fhir.yhcr.nhs.uk/StructureDefinition/Interweave-Location"
                ]
            },
            "status": "active",
            "name": "3 Bowesfield Crescent, Stockton-On-Tees, TS18 3BL",
            "mode": "instance",
            "type": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/v3/RoleCode",
                        "code": "PTRES",
                        "display": "Patient's Residence"
                    }
                ]
            },
            "address": {
                "line":  [
                    "3 Bowesfield Crescent"
                ],
                "city": "Stockton-On-Tees",
                "postalCode": "TS18 3BL",
                "country": "GBR"
            },
            "physicalType": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/location-physical-type",
                        "code": "ho",
                        "display": "House"
                    }
                ]
            }
        },
        {
            "resourceType": "Condition",
            "id": "NCR-ConditionExample",
            "meta": {
                "profile":  [
                    "https://fhir.hl7.org.uk/STU3/StructureDefinition/CareConnect-Condition-1"
                ]
            },
            "clinicalStatus": "active",
            "code": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "263225007",
                        "display": "Fracture of proximal end of femur"
                    }
                ]
            },
            "bodySite":  [
                {
                    "coding":  [
                        {
                            "system": "http://snomed.info/sct",
                            "code": "774117004",
                            "display": "Bone structure of proximal left femu"
                        }
                    ]
                }
            ],
            "subject": {
                "reference": "Patient/9690937286",
                "display": "Mr Horace SKELLY"
            },
            "assertedDate": "2022-09-25",
            "asserter": {
                "reference": "NCR-PractitionerExample-Acute01",
                "display": "Dr Pat CLIFTON"
            }
        }
    ],
    "extension":  [
        {
            "url": "https://fhir.yhcr.nhs.uk/StructureDefinition/Extension-Interweave-R4EncounterServiceType",
            "valueCodeableConcept": {
                "coding":  [
                    {
                        "system": "http://snomed.info/sct",
                        "code": "310000008",
                        "display": "Accident and Emergency service"
                    }
                ]
            }
        }
    ],
    "identifier":  [
        {
            "system": "http://fhir.nuh.nhs.uk/encounter/identifier",
            "value": "I2200722171S"
        }
    ],
    "status": "finished",
    "statusHistory":  [
        {
            "status": "in-progress",
            "period": {
                "start": "2022-09-25T11:33:43.853Z",
                "end": "2022-09-25T19:23:34.283Z"
            }
        },
        {
            "status": "finished",
            "period": {
                "start": "2022-09-25T19:23:34.283Z"
            }
        }
    ],
    "class": {
        "system": "http://hl7.org/fhir/v3/ActCode",
        "code": "EMER",
        "display": "emergency"
    },
    "type":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "185210004",
                    "display": "Seen in hospital casualty"
                }
            ]
        }
    ],
    "priority": {
        "coding":  [
            {
                "system": "http://hl7.org/fhir/v3/ActPriority",
                "code": "EM",
                "display": "emergency"
            }
        ]
    },
    "subject": {
        "reference": "Patient/9690937286",
        "display": "Mr Horace SKELLY"
    },
    "participant":  [
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/v3/ParticipationType",
                            "code": "PPRF",
                            "display": "primary performer"
                        }
                    ]
                }
            ],
            "individual": {
                "reference": "Practitioner/NCR-PractitionerExample-Acute01",
                "display": "Dr Pat CLIFTON"
            }
        },
        {
            "type":  [
                {
                    "coding":  [
                        {
                            "system": "http://hl7.org/fhir/v3/ParticipationType",
                            "code": "ADM",
                            "display": "admitter"
                        }
                    ]
                }
            ],
            "individual": {
                "reference": "Practitioner/NCR-PractitionerExample-Acute01",
                "display": "Dr Pat CLIFTON"
            }
        }
    ],
    "period": {
        "start": "2022-09-25T11:33:43.853Z",
        "end": "2022-09-25T19:23:34.283Z"
    },
    "reason":  [
        {
            "coding":  [
                {
                    "system": "http://snomed.info/sct",
                    "code": "1912002",
                    "display": "Fall"
                }
            ]
        }
    ],
    "diagnosis":  [
        {
            "condition": {
                "reference": "#NCR-ConditionExample",
                "display": "Fracture of proximal end of femur"
            },
            "role": {
                "coding":  [
                    {
                        "system": "http://hl7.org/fhir/diagnosis-role",
                        "code": "CC",
                        "display": "Chief complaint"
                    }
                ]
            },
            "rank": 1
        }
    ],
    "hospitalization": {
        "extension":  [
            {
                "url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AdmissionMethod-1",
                "valueCodeableConcept": {
                    "coding":  [
                        {
                            "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-AdmissionMethod-1",
                            "code": "21",
                            "display": "Accident and emergency or dental casualty department of the Health Care Provider"
                        }
                    ]
                }
            }
        ],
        "origin": {
            "reference": "#NCRLocationHouseAdmissionExample",
            "display": "3 Bowesfield Crescent, Stockton-On-Tees, TS18 3BL"
        },
        "admitSource": {
            "coding":  [
                {
                    "system": "https://fhir.hl7.org.uk/STU3/CodeSystem/CareConnect-SourceOfAdmission-1",
                    "code": "19",
                    "display": "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."
                }
            ]
        }
    },
    "location":  [
        {
            "location": {
                "reference": "Location/NCR-LocationExampleAandE",
                "display": "Queens Medical Centre: West Block: A Floor: Emergency Department"
            },
            "status": "completed",
            "period": {
                "start": "2022-09-25T11:33:43.853Z",
                "end": "2022-09-25T19:23:34.283Z"
            }
        }
    ]
}