Inpatient Spell

The FHIR Encounter for the Inpatient Spell will already be maintained, however, to support D2A, hospitals will also need to ensure they are maintaining the MedicallySafeForDischarge Extension within the Hospitalization element.

The key attributes on the extension are:

Attribute Description Comments
status ready | notready | unknown MANDATORY, use unknown if status not recorded
predictedDate Date when it is predicted the patient will be READY for discharge. MUST be provided if recorded in the Hospital system.
actualDate Actual date/time when the patient was READY for discharge. MUST be provided if status='ready'. If this date/time is not recorded separately, then the system time when updating the status to 'ready' should be used.

Example

Example of the MedicallySafeForDischarge Extension is should below:

"hospitalization": {
    "extension":  [
        {
            "extension":  [
                {
                    "url": "status",
                    "valueCode": "ready"
                },
                {
                    "url": "predictedDate",
                    "valueDateTime": "2024-09-30T09:00:00Z"
                },
                {
                    "url": "actualDate",
                    "valueDateTime": "2024-01-03T10:20:00Z"
                }
            ],
            "url": "https://fhir.yhcr.nhs.uk/StructureDefinition/Extension-Interweave-MedicallySafeForDischarge"
        }
    ]
},

         </div>

D2A Home