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
UKCore-Flag-FoodAllergy-Example
An example to illustrate a flag regarding a food allergy
Table View
Flag.id[0] | UKCore-Flag-FoodAllergy-Example |
Flag.text[0].status[0] | additional |
Flag.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate a flag regarding a food allergy</div> |
Flag.identifier[0].system[0] | https://tools.ietf.org/html/rfc4122 |
Flag.identifier[0].value[0] | f4f703a9-ef92-4515-a7b0-99271428c84e |
Flag.status[0] | active |
Flag.category[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/flag-category |
Flag.category[0].coding[0].code[0] | diet |
Flag.category[0].coding[0].display[0] | Diet |
Flag.category[0].text[0] | Diet |
Flag.code[0].coding[0].system[0] | http://snomed.info/sct |
Flag.code[0].coding[0].code[0] | 226201008 |
Flag.code[0].coding[0].display[0] | Peanut-free diet |
Flag.code[0].text[0] | Patient has a severe peanut allergy. |
Flag.subject[0].reference[0] | Patient/UKCore-Patient-RichardSmith-Example |
Flag.subject[0].display[0] | Richard Smith |
Flag.period[0].start[0] | 2019-12-10T13:00:00+00:00 |
Flag.encounter[0].reference[0] | Encounter/UKCore-Encounter-InpatientEncounter-Example |
Flag.encounter[0].display[0] | Leeds Teaching Hospital Inpatient Encounter |
Flag.author[0].reference[0] | Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example |
Flag.author[0].display[0] | Dr Paul Rastall |
Tree View
Flag |
id : UKCore-Flag-FoodAllergy-Example |
text |
status : additional |
identifier |
system : https://tools.ietf.org/html/rfc4122 |
value : f4f703a9-ef92-4515-a7b0-99271428c84e |
status : active |
category |
coding |
system : http://terminology.hl7.org/CodeSystem/flag-category |
code : diet |
display : Diet |
text : Diet |
code |
coding |
system : http://snomed.info/sct |
code : 226201008 |
display : Peanut-free diet |
text : Patient has a severe peanut allergy. |
subject |
reference : Patient/UKCore-Patient-RichardSmith-Example |
display : Richard Smith |
period |
start : 2019-12-10T13:00:00+00:00 |
encounter |
reference : Encounter/UKCore-Encounter-InpatientEncounter-Example |
display : Leeds Teaching Hospital Inpatient Encounter |
author |
reference : Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example |
display : Dr Paul Rastall |
XML View
<Flag xmlns="http://hl7.org/fhir"> <id value="UKCore-Flag-FoodAllergy-Example" /> <text> <status value="additional" /> --- We have skipped the narrative for better readability of the resource --- </text> <identifier> <system value="https://tools.ietf.org/html/rfc4122" /> <value value="f4f703a9-ef92-4515-a7b0-99271428c84e" /> </identifier> <status value="active" /> <category> <coding> <system value="http://terminology.hl7.org/CodeSystem/flag-category" /> <code value="diet" /> <display value="Diet" /> </coding> <text value="Diet" /> </category> <code> <coding> <system value="http://snomed.info/sct" /> <code value="226201008" /> <display value="Peanut-free diet" /> </coding> <text value="Patient has a severe peanut allergy." /> </code> <subject> <reference value="Patient/UKCore-Patient-RichardSmith-Example" /> <display value="Richard Smith" /> </subject> <period> <start value="2019-12-10T13:00:00+00:00" /> </period> <encounter> <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" /> <display value="Leeds Teaching Hospital Inpatient Encounter" /> </encounter> <author> <reference value="Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example" /> <display value="Dr Paul Rastall" /> </author> </Flag>
JSON View
{ "resourceType": "Flag", "id": "UKCore-Flag-FoodAllergy-Example", "text": { "status": "additional", --- We have skipped the narrative for better readability of the resource --- }, "identifier": [ { "system": "https://tools.ietf.org/html/rfc4122", "value": "f4f703a9-ef92-4515-a7b0-99271428c84e" } ], "status": "active", "category": [ { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/flag-category", "code": "diet", "display": "Diet" } ], "text": "Diet" } ], "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "226201008", "display": "Peanut-free diet" } ], "text": "Patient has a severe peanut allergy." }, "subject": { "reference": "Patient/UKCore-Patient-RichardSmith-Example", "display": "Richard Smith" }, "period": { "start": "12/10/2019 13:00:00" }, "encounter": { "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example", "display": "Leeds Teaching Hospital Inpatient Encounter" }, "author": { "reference": "Practitioner/UKCore-Practitioner-DoctorPaulRastall-Example", "display": "Dr Paul Rastall" } }