Example Condition/stroke (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Stroke example (for prognosis)
@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:Condition;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "stroke"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Ischemic stroke, July 18, 2010</div>"
]; #
fhir:Condition.clinicalStatus [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-clinical" ];
fhir:Coding.code [ fhir:value "active" ]
]
]; #
fhir:Condition.verificationStatus [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-ver-status" ];
fhir:Coding.code [ fhir:value "confirmed" ]
]
]; #
fhir:Condition.category [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/condition-category" ];
fhir:Coding.code [ fhir:value "encounter-diagnosis" ];
fhir:Coding.display [ fhir:value "Encounter Diagnosis" ]
]
]; #
fhir:Condition.code [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:422504002;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "422504002" ];
fhir:Coding.display [ fhir:value "Ischemic stroke (disorder)" ]
];
fhir:CodeableConcept.text [ fhir:value "Stroke" ]
]; #
fhir:Condition.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ]
]; #
fhir:Condition.onsetDateTime [ fhir:value "2010-07-18"^^xsd:date]] . #
# - 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.