Example AllergyIntolerance/fishallergy (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
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" ]
];
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
];
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" ]
];
fhir:AllergyIntolerance.patient [
fhir:Reference.reference [ fhir:value "Patient/example" ]
];
fhir:AllergyIntolerance.recordedDate [ fhir:value "2015-08-06T15:37:31-06:00"^^xsd:dateTime];
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" ]
]
]] .
# - 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.