XML View
<Encounter xmlns="http://hl7.org/fhir">
<id value="UKCore-Extension-DischargeMethod-Example" />
<text>
<status value="additional" />
--- We have skipped the narrative for better readability of the resource ---
</text>
<extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod">
<valueCodeableConcept>
<coding>
<system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland" />
<code value="1" />
<display value="Patient discharged on clinical advice or with clinical consent" />
</coding>
</valueCodeableConcept>
</extension>
<status value="finished" />
<class>
<system value="http://terminology.hl7.org/CodeSystem/v3-ActCode" />
<code value="IMP" />
<display value="inpatient encounter" />
</class>
</Encounter>
JSON View
{
"resourceType": "Encounter",
"id": "UKCore-Extension-DischargeMethod-Example",
"text": {
"status": "additional",
--- We have skipped the narrative for better readability of the resource ---
},
"extension": [
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-DischargeMethod",
"valueCodeableConcept": {
"coding": [
{
"system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-DischargeMethodEngland",
"code": "1",
"display": "Patient discharged on clinical advice or with clinical consent"
}
]
}
}
],
"status": "finished",
"class": {
"system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
"code": "IMP",
"display": "inpatient encounter"
}
}