Example
AllergyIntolerance/nkla
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
No
Known
Latext
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 -------------------------------------------------------------------
<http://hl7.org/fhir/AllergyIntolerance/nkla> a fhir:AllergyIntolerance;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "nkla"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>No Known Latex Allergy</p>\n <p>recordedDate:2015-08-06</p>\n </div>"
];
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" ]
[a fhir:AllergyIntolerance ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "nkla"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p>No Known Latex Allergy</p>\n <p>recordedDate:2015-08-06</p>\n </div>"
] ; #
fhir:code [
fhir:coding ( [
a sct:716184000 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "716184000" ] ;
fhir:display [ fhir:v "No Known Latex Allergy (situation)" ]
] ) ;
fhir:text [ fhir:v "No Known Latex Allergy" ]
] ; #
fhir:patient [
fhir:reference [ fhir:v "Patient/example" ]
] ; #
fhir:recordedDate [ fhir:v "2015-08-06T15:37:31-06:00"^^xsd:dateTime] ; # 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" ]
]
];
fhir:AllergyIntolerance.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:716184000;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "716184000" ];
fhir:Coding.display [ fhir:value "No Known Latex Allergy (situation)" ]
];
fhir:CodeableConcept.text [ fhir:value "No Known Latex Allergy" ]
];
fhir:AllergyIntolerance.patient [
fhir:link <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ]
];
fhir:AllergyIntolerance.recordedDate [ fhir:value "2015-08-06T15:37:31-06:00"^^xsd:dateTime];
fhir:AllergyIntolerance.recorder [
fhir:link <http://hl7.org/fhir/Practitioner/example>;
fhir:Reference.reference [ fhir:value "Practitioner/example" ]
] .
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/AllergyIntolerance/nkla.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/AllergyIntolerance/nkla.ttl> .
] )] . # who made the record / last updated it
# -------------------------------------------------------------------------------------
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.