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 illustration observation triggered by another observation
Table View
Observation.id[0] | UKCore-Extension-TriggeredBy-Example |
Observation.text[0].status[0] | additional |
Observation.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustration observation triggered by another observation</div> |
Observation.extension[0].extension[0].url[0] | observation |
Observation.extension[0].extension[0].value[0].reference[0] | Observation/UKCore-Observation-DrugUse-Example |
Observation.extension[0].extension[1].url[0] | type |
Observation.extension[0].extension[1].value[0] | reflex |
Observation.extension[0].extension[2].url[0] | reason |
Observation.extension[0].extension[2].value[0] | Patient admitted to recreational drug use. |
Observation.extension[0].url[0] | http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy |
Observation.identifier[0].system[0] | https://tools.ietf.org/html/rfc4122 |
Observation.identifier[0].value[0] | 293a6418-9dcf-4d42-b97a-b119afd200ba |
Observation.status[0] | final |
Observation.category[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/observation-category |
Observation.category[0].coding[0].code[0] | laboratory |
Observation.category[0].coding[0].display[0] | Laboratory |
Observation.code[0].coding[0].system[0] | http://snomed.info/sct |
Observation.code[0].coding[0].code[0] | 1014801000000101 |
Observation.code[0].coding[0].display[0] | Urine tricyclic drug screen |
Observation.subject[0].reference[0] | Patient/UKCore-Patient-RichardSmith-Example |
Observation.performer[0].reference[0] | Organization/UKCore-Organization-LeedsTeachingHospital-Example |
Observation.specimen[0].reference[0] | Specimen/UKCore-Specimen-UrineSpecimen-Example |
Tree View
Observation |
id : UKCore-Extension-TriggeredBy-Example |
text |
status : additional |
extension |
url : http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy |
extension |
url : observation |
value |
reference : Observation/UKCore-Observation-DrugUse-Example |
extension |
url : type |
value : reflex |
extension |
url : reason |
value : Patient admitted to recreational drug use. |
identifier |
system : https://tools.ietf.org/html/rfc4122 |
value : 293a6418-9dcf-4d42-b97a-b119afd200ba |
status : final |
category |
coding |
system : http://terminology.hl7.org/CodeSystem/observation-category |
code : laboratory |
display : Laboratory |
code |
coding |
system : http://snomed.info/sct |
code : 1014801000000101 |
display : Urine tricyclic drug screen |
subject |
reference : Patient/UKCore-Patient-RichardSmith-Example |
performer |
reference : Organization/UKCore-Organization-LeedsTeachingHospital-Example |
specimen |
reference : Specimen/UKCore-Specimen-UrineSpecimen-Example |
XML View
<Observation xmlns="http://hl7.org/fhir"> <id value="UKCore-Extension-TriggeredBy-Example" /> <text> <status value="additional" /> --- We have skipped the narrative for better readability of the resource --- </text> <!-- ***************extension start*************** --> <extension url="http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy"> <extension url="observation"> <valueReference> <reference value="Observation/UKCore-Observation-DrugUse-Example" /> </valueReference> </extension> <extension url="type"> <valueCode value="reflex" /> </extension> <extension url="reason"> <valueString value="Patient admitted to recreational drug use." /> </extension> </extension> <!-- ***************extension end*************** --> <identifier> <system value="https://tools.ietf.org/html/rfc4122" /> <value value="293a6418-9dcf-4d42-b97a-b119afd200ba" /> </identifier> <status value="final" /> <category> <coding> <system value="http://terminology.hl7.org/CodeSystem/observation-category" /> <code value="laboratory" /> <display value="Laboratory" /> </coding> </category> <code> <coding> <system value="http://snomed.info/sct" /> <code value="1014801000000101" /> <display value="Urine tricyclic drug screen" /> </coding> </code> <subject> <reference value="Patient/UKCore-Patient-RichardSmith-Example" /> </subject> <performer> <reference value="Organization/UKCore-Organization-LeedsTeachingHospital-Example" /> </performer> <specimen> <reference value="Specimen/UKCore-Specimen-UrineSpecimen-Example" /> </specimen> </Observation>
JSON View
{ "resourceType": "Observation", "id": "UKCore-Extension-TriggeredBy-Example", "text": { "status": "additional", --- We have skipped the narrative for better readability of the resource --- }, "extension": [ { "extension": [ { "url": "observation", "valueReference": { "reference": "Observation/UKCore-Observation-DrugUse-Example" } }, { "url": "type", "valueCode": "reflex" }, { "url": "reason", "valueString": "Patient admitted to recreational drug use." } ], "url": "http://hl7.org/fhir/5.0/StructureDefinition/extension-Observation.triggeredBy" } ], "identifier": [ { "system": "https://tools.ietf.org/html/rfc4122", "value": "293a6418-9dcf-4d42-b97a-b119afd200ba" } ], "status": "final", "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/observation-category", "code": "laboratory", "display": "Laboratory" } ] } ], "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "1014801000000101", "display": "Urine tricyclic drug screen" } ] }, "subject": { "reference": "Patient/UKCore-Patient-RichardSmith-Example" }, "performer": [ { "reference": "Organization/UKCore-Organization-LeedsTeachingHospital-Example" } ], "specimen": { "reference": "Specimen/UKCore-Specimen-UrineSpecimen-Example" } }