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

XML View

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