This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Example AllergyIntolerance/medication (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
A typical Medication allergy from a clinical system
@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:id [ fhir:v "medication"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: AllergyIntolerance</b><a name=\"medication\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource AllergyIntolerance "medication" </p></div><p><b>clinicalStatus</b>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-allergyintolerance-clinical.html\">AllergyIntolerance Clinical Status Codes</a>#active)</span></p><p><b>verificationStatus</b>: Unconfirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-allergyintolerance-verification.html\">AllergyIntolerance Verification Status</a>#unconfirmed)</span></p><p><b>category</b>: medication</p><p><b>criticality</b>: high</p><p><b>code</b>: <span title=\" subtance, coded from RxNorm \">Penicillin G <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#7980)</span></span></p><p><b>patient</b>: <span title=\" the patient that actually has the risk of adverse reaction \"><a href=\"patient-example.html\">Patient/example</a> "Peter CHALMERS"</span></p><p><b>recordedDate</b>: <span title=\" the date that this entry was recorded \">2010-03-01</span></p><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Function</b></td><td><b>Actor</b></td></tr><tr><td>*</td><td>Author <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-provenance-participant-type.html\">Provenance participant type</a>#author)</span></td><td><a href=\"practitioner-example.html\">Practitioner/example</a> "Adam CAREFUL"</td></tr></table><blockquote><p><b>reaction</b></p><h3>Manifestations</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Hives <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#247472004)</span></td></tr></table></blockquote></div>"
] ; #
fhir:clinicalStatus [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ] ;
fhir:display [ fhir:v "Active" ]
] )
] ; #
fhir:verificationStatus [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification"^^xsd:anyURI ] ;
fhir:code [ fhir:v "unconfirmed" ] ;
fhir:display [ fhir:v "Unconfirmed" ]
] )
] ; #
fhir:category ( [ fhir:v "medication"] ) ; #
fhir:criticality [ fhir:v "high"] ; #
fhir:code [
fhir:coding ( [
fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "7980" ] ;
fhir:display [ fhir:v "Penicillin G" ]
] )
] ; # subtance, coded from RxNorm
fhir:patient [
fhir:reference [ fhir:v "Patient/example" ]
] ; # the patient that actually has the risk of adverse reaction
fhir:recordedDate [ fhir:v "2010-03-01"^^xsd:date] ; # the date that this entry was recorded
fhir:participant ( [
fhir:function [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/provenance-participant-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "author" ] ;
fhir:display [ fhir:v "Author" ]
] )
] ;
fhir:actor [
fhir:reference [ fhir:v "Practitioner/example" ]
]
] ) ; # who made the record / last updated it
fhir:reaction ( [
fhir:manifestation ( [
fhir:concept [
fhir:coding ( [
a sct:247472004 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "247472004" ] ;
fhir:display [ fhir:v "Hives" ]
] )
]
] )
] )] . #
# -------------------------------------------------------------------------------------
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.