| AllergyIntolerance.id[0] | UKCore-Extension-AllergyIntolEnd-Example | 
| AllergyIntolerance.text[0].status[0] | additional | 
| AllergyIntolerance.text[0].div[0] | <div xmlns="http://www.w3.org/1999/xhtml">An example to illustrate the date when the allergy or intolerance was no longer valid, and/or, the reason why the allergy or intolerance is no longer valid</div> | 
| AllergyIntolerance.clinicalStatus[0].extension[0].extension[0].url[0] | endDate | 
| AllergyIntolerance.clinicalStatus[0].extension[0].extension[0].value[0] | 2021-07-20T17:10:00+00:00 | 
| AllergyIntolerance.clinicalStatus[0].extension[0].extension[1].url[0] | reasonEnded | 
| AllergyIntolerance.clinicalStatus[0].extension[0].extension[1].value[0] | Administrative error corrected on patient record - confirmed that allergy not experienced with the patient. | 
| AllergyIntolerance.clinicalStatus[0].extension[0].url[0] | https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd | 
| AllergyIntolerance.clinicalStatus[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical | 
| AllergyIntolerance.clinicalStatus[0].coding[0].code[0] | inactive | 
| AllergyIntolerance.clinicalStatus[0].coding[0].display[0] | Inactive | 
| AllergyIntolerance.verificationStatus[0].coding[0].system[0] | http://terminology.hl7.org/CodeSystem/allergyintolerance-verification | 
| AllergyIntolerance.verificationStatus[0].coding[0].code[0] | confirmed | 
| AllergyIntolerance.verificationStatus[0].coding[0].display[0] | Confirmed | 
| AllergyIntolerance.code[0].coding[0].system[0] | http://snomed.info/sct | 
| AllergyIntolerance.code[0].coding[0].code[0] | 372687004 | 
| AllergyIntolerance.code[0].coding[0].display[0] | Amoxicillin | 
| AllergyIntolerance.patient[0].reference[0] | Patient/UKCore-Patient-RichardSmith-Example | 
| AllergyIntolerance.encounter[0].reference[0] | Encounter/UKCore-Encounter-InpatientEncounter-Example | 
| AllergyIntolerance.recordedDate[0] | 2019-12-10T13:00:00+00:00 | 
| AllergyIntolerance.recorder[0].reference[0] | Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example | 
| AllergyIntolerance.asserter[0].reference[0] | Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example | 
| AllergyIntolerance | 
| id : UKCore-Extension-AllergyIntolEnd-Example | 
| text | 
| status : additional | 
| clinicalStatus | 
| extension | 
| url : https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd | 
| extension | 
| url : endDate | 
| value : 2021-07-20T17:10:00+00:00 | 
| extension | 
| url : reasonEnded | 
| value : Administrative error corrected on patient record - confirmed that allergy not experienced with the patient. | 
| coding | 
| system : http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical | 
| code : inactive | 
| display : Inactive | 
| verificationStatus | 
| coding | 
| system : http://terminology.hl7.org/CodeSystem/allergyintolerance-verification | 
| code : confirmed | 
| display : Confirmed | 
| code | 
| coding | 
| system : http://snomed.info/sct | 
| code : 372687004 | 
| display : Amoxicillin | 
| patient | 
| reference : Patient/UKCore-Patient-RichardSmith-Example | 
| encounter | 
| reference : Encounter/UKCore-Encounter-InpatientEncounter-Example | 
| recordedDate : 2019-12-10T13:00:00+00:00 | 
| recorder | 
| reference : Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example | 
| asserter | 
| reference : Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example | 
<AllergyIntolerance xmlns="http://hl7.org/fhir"> <id value="UKCore-Extension-AllergyIntolEnd-Example" /> <text> <status value="additional" /> --- We have skipped the narrative for better readability of the resource --- </text> <clinicalStatus> <!-- **************extension start************** --> <extension url="https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd"> <extension url="endDate"> <valueDateTime value="2021-07-20T17:10:00+00:00" /> </extension> <extension url="reasonEnded"> <valueString value="Administrative error corrected on patient record - confirmed that allergy not experienced with the patient." /> </extension> </extension> <!-- **************extension end************** --> <coding> <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" /> <code value="inactive" /> <display value="Inactive" /> </coding> </clinicalStatus> <verificationStatus> <coding> <system value="http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" /> <code value="confirmed" /> <display value="Confirmed" /> </coding> </verificationStatus> <code> <coding> <system value="http://snomed.info/sct" /> <code value="372687004" /> <display value="Amoxicillin" /> </coding> </code> <patient> <reference value="Patient/UKCore-Patient-RichardSmith-Example" /> </patient> <encounter> <reference value="Encounter/UKCore-Encounter-InpatientEncounter-Example" /> </encounter> <recordedDate value="2019-12-10T13:00:00+00:00" /> <recorder> <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" /> </recorder> <asserter> <reference value="Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" /> </asserter> </AllergyIntolerance>
{ "resourceType": "AllergyIntolerance", "id": "UKCore-Extension-AllergyIntolEnd-Example", "text": { "status": "additional", --- We have skipped the narrative for better readability of the resource --- }, "clinicalStatus": { "extension": [ { "extension": [ { "url": "endDate", "valueDateTime": "2021-07-20T17:10:00+00:00" }, { "url": "reasonEnded", "valueString": "Administrative error corrected on patient record - confirmed that allergy not experienced with the patient." } ], "url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd" } ], "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", "code": "inactive", "display": "Inactive" } ] }, "verificationStatus": { "coding": [ { "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", "code": "confirmed", "display": "Confirmed" } ] }, "code": { "coding": [ { "system": "http://snomed.info/sct", "code": "372687004", "display": "Amoxicillin" } ] }, "patient": { "reference": "Patient/UKCore-Patient-RichardSmith-Example" }, "encounter": { "reference": "Encounter/UKCore-Encounter-InpatientEncounter-Example" }, "recordedDate": "2019-12-10T13:00:00+00:00", "recorder": { "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" }, "asserter": { "reference": "Practitioner/UKCore-Practitioner-ConsultantSandraGose-Example" } }