An allergy to a substance with additional details in notes
@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:AllergyIntolerance;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "fishallergy"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "additional" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>allergy is to fresh fish. Tolerates canned fish</p>\n <p>recordedDate:2015-08-06T00:00:00-06:00</p>\n <p>substance:Fish - dietary (substance)</p>\n </div>"
]; #
fhir:AllergyIntolerance.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://acme.com/ids/patients/risks" ];
fhir:Identifier.value [ fhir:value "49476535" ]
]; # an identifier used for this Adverse Reaction Risk
fhir:AllergyIntolerance.clinicalStatus [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical" ];
fhir:Coding.code [ fhir:value "active" ];
fhir:Coding.display [ fhir:value "Active" ]
]
]; #
fhir:AllergyIntolerance.verificationStatus [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification" ];
fhir:Coding.code [ fhir:value "confirmed" ];
fhir:Coding.display [ fhir:value "Confirmed" ]
]
]; #
fhir:AllergyIntolerance.category [
fhir:value "food";
fhir:index 0
]; # this categorization is implied by "cashew nut" and therefore basically
redundant, but many systems collect this field anyway, since it's either
useful when the substance is not coded, or it's quicker to sort/filter on
than using terminology based reasoning
fhir:AllergyIntolerance.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:227037002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "227037002" ];
fhir:Coding.display [ fhir:value "Fish - dietary (substance)" ]
];
fhir:CodeableConcept.text [ fhir:value "Allergic to fresh fish. Tolerates canned fish" ]
]; # subtance - either coded, or text. A few times,
there's a full description of a complex substance - in these caes, use the
extension [url] to refer to a Substance resource
fhir:AllergyIntolerance.patient [
fhir:Reference.reference [ fhir:value "Patient/example" ]
]; # the patient that actually has the risk of adverse reaction
fhir:AllergyIntolerance.recordedDate [ fhir:value "2015-08-06T15:37:31-06:00"^^xsd:dateTime]; # the date that this entry was recorded
fhir:AllergyIntolerance.participant [
fhir:index 0;
fhir:AllergyIntolerance.participant.function [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/provenance-participant-type" ];
fhir:Coding.code [ fhir:value "author" ];
fhir:Coding.display [ fhir:value "Author" ]
]
];
fhir:AllergyIntolerance.participant.actor [
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
]
]] . # who made the record / last updated it
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the
examples are correct and useful, but they are not a normative part
of the specification.