Please note:
- This is an Implementation Guide for UK Core FHIR Assets in Development.
- There will be disruption as the content will be updated on an ad-hoc basis and with links not working.
- Therefore this Implementation Guide must not be implemented.
- Please follow the guidance on the "Contact Us" page if you need any assistance.
An example to illustrate a flag regarding a food allergy
Table View
Flag.id[0] | UKCore-Flag-FoodAllergy-Example |
Flag.text[0].status[0] | generated |
Flag.text[0].div[0] | Food Allergy Warning |
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 |
XML View
<Flag xmlns="http://hl7.org/fhir"> <id value="UKCore-Flag-FoodAllergy-Example" /> <text> <status value="generated" /> --- 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": "generated", --- 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": "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" } }