Please note:
- This version of the UK Core is a development copy.
- This contains BREAKING CHANGES as a result of the C&TA Sprint 7 Review, and STU2 Sequence ballot reconciliation.
- This version is not yet reviewed for implementation. Other versions are available on the UK Core Version History Guide
- Please follow the guidance on the Contact Us page if you need any assistance.
- A summary of changes is available on the STU3 Sequence Change Log
An example to illustrate the extension which is used to indicate the outcome of an outpatient attendance
Table View
Encounter.id[0] | UKCore-Extension-OutcomeOfAttendance-Example |
Encounter.text[0].status[0] | additional |
Encounter.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the extension which is used to indicate the outcome of an outpatient attendance</div> |
Encounter.extension[0].url[0] | https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeOfAttendance |
Encounter.extension[0].value[0].coding[0].system[0] | https://fhir.hl7.org.uk/CodeSystem/UKCore-OutcomeOfAttendanceEngland |
Encounter.extension[0].value[0].coding[0].code[0] | 1 |
Encounter.extension[0].value[0].coding[0].display[0] | Discharged from consultant's care (last attendance) |
Encounter.status[0] | finished |
Encounter.class[0].system[0] | http://terminology.hl7.org/CodeSystem/v3-ActCode |
Encounter.class[0].code[0] | IMP |
Encounter.class[0].display[0] | inpatient encounter |
Tree View
Encounter |
id : UKCore-Extension-OutcomeOfAttendance-Example |
text |
status : additional |
extension |
url : https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeOfAttendance |
value |
coding |
system : https://fhir.hl7.org.uk/CodeSystem/UKCore-OutcomeOfAttendanceEngland |
code : 1 |
display : Discharged from consultant's care (last attendance) |
status : finished |
class |
system : http://terminology.hl7.org/CodeSystem/v3-ActCode |
code : IMP |
display : inpatient encounter |
XML View
<Encounter xmlns="http://hl7.org/fhir"> <id value="UKCore-Extension-OutcomeOfAttendance-Example" /> <text> <status value="additional" /> --- We have skipped the narrative for better readability of the resource --- </text> <!-- **************extension start************** --> <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-OutcomeOfAttendance"> <valueCodeableConcept> <coding> <system value="https://fhir.hl7.org.uk/CodeSystem/UKCore-OutcomeOfAttendanceEngland" /> <code value="1" /> <display value="Discharged from consultant's care (last attendance)" /> </coding> </valueCodeableConcept> </extension> <!-- **************extension end************** --> <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-OutcomeOfAttendance-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-OutcomeOfAttendance", "valueCodeableConcept": { "coding": [ { "system": "https://fhir.hl7.org.uk/CodeSystem/UKCore-OutcomeOfAttendanceEngland", "code": "1", "display": "Discharged from consultant's care (last attendance)" } ] } } ], "status": "finished", "class": { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "IMP", "display": "inpatient encounter" } }