Skip to main content

AllergyIntolerance

Profile​

The AllergyIntolerance must conform to the Graphnet specific Allergy Intolerance profile.

Extensions​

No extensions are used for the AllergyIntolerance profile within the Graphnet solution.

Implemented Data Items​

The Graphnet FHIR AllergyIntolerance API currently supports a limited number of elements from the FHIR AllergyIntolerance resource.

The table below details where constraints are added. The FHIR API will not allow records to be stored containing restricted elements.

PathLevel of Support
AllergyIntolerance.identifierSystem & Value only
AllergyIntolerance.clinicalStatus"Active" only
AllergyIntolerance.categoryProhibited – not supported
AllergyIntolerance.codeRestricted values (see below)
AllergyIntolerance.onsetLimited to dateTime only
AllergyIntolerance.lastOccurenceProhibited – not supported
AllergyIntolerance.noteLimited to text only
AllergyIntolerance.reactionLimited to one only
AllergyIntolerance.reaction.substanceLimited to one only (no text)
AllergyIntolerance.reaction.manifestationLimited to one only (no text)
AllergyIntolerance.reaction.onsetProhibited – not supported
AllergyIntolerance.reaction.severityProhibited – not supported
AllergyIntolerance.reaction.exposureRouteProhibited – not supported
AllergyIntolerance.reaction.noteProhibited – not supported

AllergyIntolerance.identifier​

Multiple identifiers are accepted, though only the system and value components should be present.

"identifier": [
{
"system": "http://www.acme.com/health/Id",
"value": "dc6a8b58-1ca4-421c-8695-e2f592db30cb"
},
{
"system": "http://www.med.com/id",
"value": "32443-123/YH"
}
]

AllergyIntolerance.code​

A maximum of two codes can be attached to each record.

When using SNOMED CT codes, a SNOMED CT Concept Code is recorded as

{
"system": "http://snomed.info/sct",
"code": "762952008",
"display": "Peanut"
}

If the SNOMED description Id is also known, this can be recorded making use of the standard FHIR extension available for this

{
"extension": [
{
"extension": [
{
"url": "descriptionId",
"valueString": "3635998019"
},
{
"url": "descriptionDisplay",
"valueString": "Peanuts"
}
],
"url": "https://fhir.hl7.org.uk/STU3/StructureDefinition/Extension-coding-sctdescid"
}
],
"system": "http://snomed.info/sct",
"code": "762952008",
"display": "Peanut"
}