Example AllergyIntolerance/nkda (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
No Known Drug Allergy
@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 "nkda"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>No Known Drug Allergy</p>\n <p>recordedDate:2015-08-06</p>\n </div>"
]; #
fhir:AllergyIntolerance.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:409137002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "409137002" ];
fhir:Coding.display [ fhir:value "No Known Drug Allergy (situation)" ]
];
fhir:CodeableConcept.text [ fhir:value "NKDA" ]
]; #
fhir:AllergyIntolerance.patient [
fhir:Reference.reference [ fhir:value "Patient/mom" ]
]; #
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.