Output Example


AllergyIntolerance.text[0].status[0]generated
AllergyIntolerance.text[0].div[0]<div xmlns="http://www.w3.org/1999/xhtml"><p><b>Some text to transform</b></p></div>
AllergyIntolerance.extension[0].url[0]http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter
AllergyIntolerance.extension[0].value[0].reference[0]Encounter/Base-STU3--Encounter--00001
AllergyIntolerance.extension[1].extension[0].url[0]endDate
AllergyIntolerance.extension[1].extension[0].value[0]2022-01-15
AllergyIntolerance.extension[1].extension[1].url[0]reasonEnded
AllergyIntolerance.extension[1].extension[1].value[0]Allergy resolved by prescribed medication
AllergyIntolerance.extension[1].url[0]https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AllergyIntoleranceEnd-1
AllergyIntolerance.extension[2].url[0]https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Evidence-1
AllergyIntolerance.extension[2].value[0].reference[0]DiagnosticReport/Base-STU3--DiagnosticReport--00001
AllergyIntolerance.extension[3].extension[0].url[0]endDate
AllergyIntolerance.extension[3].extension[0].value[0]2022-01-15
AllergyIntolerance.extension[3].extension[1].url[0]reasonEnded
AllergyIntolerance.extension[3].extension[1].value[0]Allergy resolved by prescribed medication
AllergyIntolerance.extension[3].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd
AllergyIntolerance.extension[4].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence
AllergyIntolerance.extension[4].value[0].reference[0]DiagnosticReport/Base-STU3--DiagnosticReport--00001
AllergyIntolerance.identifier[0].system[0]http://acme.com/ids/patients/risks
AllergyIntolerance.identifier[0].value[0]49476534
AllergyIntolerance.identifier[0].assigner[0].reference[0]Organization/NHSD-STU3--CareConnect-Organisation-1--00001
AllergyIntolerance.clinicalStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical
AllergyIntolerance.clinicalStatus[0].coding[0].code[0]active
AllergyIntolerance.verificationStatus[0].coding[0].system[0]http://terminology.hl7.org/CodeSystem/allergyintolerance-verification
AllergyIntolerance.verificationStatus[0].coding[0].code[0]confirmed
AllergyIntolerance.type[0]allergy
AllergyIntolerance.category[0]medication
AllergyIntolerance.criticality[0]high
AllergyIntolerance.code[0].coding[0].extension[0].extension[0].url[0]descriptionId
AllergyIntolerance.code[0].coding[0].extension[0].extension[0].value[0].system[0]http://snomed.info/sct
AllergyIntolerance.code[0].coding[0].extension[0].extension[0].value[0].value[0]614975019
AllergyIntolerance.code[0].coding[0].extension[0].extension[1].url[0]descriptionDisplay
AllergyIntolerance.code[0].coding[0].extension[0].extension[1].value[0]Cashew nuts (substance)
AllergyIntolerance.code[0].coding[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId
AllergyIntolerance.code[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.code[0].coding[0].code[0]227493005
AllergyIntolerance.code[0].coding[0].display[0]Cashew nut
AllergyIntolerance.code[0].text[0]Cashew nuts
AllergyIntolerance.patient[0].reference[0]Patient/example
AllergyIntolerance.encounter[0].reference[0]Encounter/Base-STU3--Encounter--00001
AllergyIntolerance.onset[0]2004
AllergyIntolerance.recordedDate[0]2014-10-09T14:58:00+11:00
AllergyIntolerance.recorder[0].reference[0]Practitioner/example
AllergyIntolerance.asserter[0].reference[0]Patient/example
AllergyIntolerance.lastOccurrence[0]2012-06
AllergyIntolerance.note[0].text[0]The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract.
AllergyIntolerance.reaction[0].substance[0].coding[0].system[0]http://www.nlm.nih.gov/research/umls/rxnorm
AllergyIntolerance.reaction[0].substance[0].coding[0].code[0]1160593
AllergyIntolerance.reaction[0].substance[0].coding[0].display[0]cashew nut allergenic extract Injectable Product
AllergyIntolerance.reaction[0].substance[0].coding[1].extension[0].extension[0].url[0]descriptionId
AllergyIntolerance.reaction[0].substance[0].coding[1].extension[0].extension[0].value[0].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].substance[0].coding[1].extension[0].extension[0].value[0].value[0]1462228014
AllergyIntolerance.reaction[0].substance[0].coding[1].extension[0].extension[1].url[0]descriptionDisplay
AllergyIntolerance.reaction[0].substance[0].coding[1].extension[0].extension[1].value[0]Anacardium occidentale specific immunoglobulin E (substance)
AllergyIntolerance.reaction[0].substance[0].coding[1].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId
AllergyIntolerance.reaction[0].substance[0].coding[1].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].substance[0].coding[1].code[0]388050007
AllergyIntolerance.reaction[0].substance[0].coding[1].display[0]Cashew nut specific IgE
AllergyIntolerance.reaction[0].manifestation[0].coding[0].extension[0].extension[0].url[0]descriptionId
AllergyIntolerance.reaction[0].manifestation[0].coding[0].extension[0].extension[0].value[0].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].manifestation[0].coding[0].extension[0].extension[0].value[0].value[0]776058010
AllergyIntolerance.reaction[0].manifestation[0].coding[0].extension[0].extension[1].url[0]descriptionDisplay
AllergyIntolerance.reaction[0].manifestation[0].coding[0].extension[0].extension[1].value[0]Anaphylaxis (disorder)
AllergyIntolerance.reaction[0].manifestation[0].coding[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId
AllergyIntolerance.reaction[0].manifestation[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].manifestation[0].coding[0].code[0]39579001
AllergyIntolerance.reaction[0].manifestation[0].coding[0].display[0]Anaphylactic reaction
AllergyIntolerance.reaction[0].description[0]Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered
AllergyIntolerance.reaction[0].onset[0]2012-06-12
AllergyIntolerance.reaction[0].severity[0]severe
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].extension[0].extension[0].url[0]descriptionId
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].extension[0].extension[0].value[0].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].extension[0].extension[0].value[0].value[0]765702016
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].extension[0].extension[1].url[0]descriptionDisplay
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].extension[0].extension[1].value[0]Subcutaneous route (qualifier value)
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].extension[0].url[0]https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].system[0]http://snomed.info/sct
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].code[0]34206005
AllergyIntolerance.reaction[0].exposureRoute[0].coding[0].display[0]Subcutaneous route
AllergyIntolerance.reaction[0].note[0].author[0].reference[0]Practitioner/NHSD-STU3--CareConnect-Practitioner-1--00001
AllergyIntolerance.reaction[0].note[0].text[0]The patient reports that the onset of urticaria was within 15 minutes of eating cashews.

{
"resourceType": "AllergyIntolerance",
"text": {
"status": "generated",
--- We have skipped the narrative for better readability of the resource ---
},
{
"url": "http://hl7.org/fhir/StructureDefinition/encounter-associatedEncounter",
"reference": "Encounter/Base-STU3--Encounter--00001"
}
},
{
{
"url": "endDate",
"valueDateTime": "2022-01-15"
},
{
"url": "reasonEnded",
"valueString": "Allergy resolved by prescribed medication"
}
],
"url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-AllergyIntoleranceEnd-1"
},
{
"url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-CareConnect-Evidence-1",
"reference": "DiagnosticReport/Base-STU3--DiagnosticReport--00001"
}
},
{
{
"url": "endDate",
"valueDateTime": "2022-01-15"
},
{
"url": "reasonEnded",
"valueString": "Allergy resolved by prescribed medication"
}
],
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-AllergyIntoleranceEnd"
},
{
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-Evidence",
"reference": "DiagnosticReport/Base-STU3--DiagnosticReport--00001"
}
}
],
{
"system": "http://acme.com/ids/patients/risks",
"value": "49476534",
"reference": "Organization/NHSD-STU3--CareConnect-Organisation-1--00001"
}
}
],
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
"code": "active"
}
]
},
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
"code": "confirmed"
}
]
},
"type": "allergy",
"medication"
],
"criticality": "high",
"code": {
"coding": [
{
{
{
"url": "descriptionId",
"system": "http://snomed.info/sct",
"value": "614975019"
}
},
{
"url": "descriptionDisplay",
"valueString": "Cashew nuts (substance)"
}
],
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId"
}
],
"system": "http://snomed.info/sct",
"code": "227493005",
"display": "Cashew nut"
}
],
"text": "Cashew nuts"
},
"patient": {
"reference": "Patient/example"
},
"reference": "Encounter/Base-STU3--Encounter--00001"
},
"onsetDateTime": "2004",
"recordedDate": "2014-10-09T14:58:00+11:00",
"reference": "Practitioner/example"
},
"reference": "Patient/example"
},
"lastOccurrence": "2012-06",
"note": [
{
"text": "The criticality is high becasue of the observed anaphylactic reaction when challenged with cashew extract."
}
],
{
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "1160593",
"display": "cashew nut allergenic extract Injectable Product"
},
{
{
{
"url": "descriptionId",
"system": "http://snomed.info/sct",
"value": "1462228014"
}
},
{
"url": "descriptionDisplay",
"valueString": "Anacardium occidentale specific immunoglobulin E (substance)"
}
],
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId"
}
],
"system": "http://snomed.info/sct",
"code": "388050007",
"display": "Cashew nut specific IgE"
}
]
},
{
"coding": [
{
{
{
"url": "descriptionId",
"system": "http://snomed.info/sct",
"value": "776058010"
}
},
{
"url": "descriptionDisplay",
"valueString": "Anaphylaxis (disorder)"
}
],
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId"
}
],
"system": "http://snomed.info/sct",
"code": "39579001",
"display": "Anaphylactic reaction"
}
]
}
],
"description": "Challenge Protocol. Severe reaction to subcutaneous cashew extract. Epinephrine administered",
"onset": "2012-06-12",
"severity": "severe",
"coding": [
{
{
{
"url": "descriptionId",
"system": "http://snomed.info/sct",
"value": "765702016"
}
},
{
"url": "descriptionDisplay",
"valueString": "Subcutaneous route (qualifier value)"
}
],
"url": "https://fhir.hl7.org.uk/StructureDefinition/Extension-UKCore-CodingSCTDescId"
}
],
"system": "http://snomed.info/sct",
"code": "34206005",
"display": "Subcutaneous route"
}
]
},
"note": [
{
"reference": "Practitioner/NHSD-STU3--CareConnect-Practitioner-1--00001"
},
"text": "The patient reports that the onset of urticaria was within 15 minutes of eating cashews."
}
]
}
]
}