Example Goal/example (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Goal of Weight Loss
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/rdf#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
[a fhir:Goal;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "additional" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n <p> A simple care goal for a patient to lose weight due to obesity.</p>\n </div>"
];
fhir:Goal.identifier [
fhir:index 0;
fhir:Identifier.value [ fhir:value "123" ]
];
fhir:Goal.lifecycleStatus [ fhir:value "on-hold"];
fhir:Goal.category [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/goal-category" ];
fhir:Coding.code [ fhir:value "dietary" ]
]
];
fhir:Goal.continuous [ fhir:value "true"^^xsd:boolean];
fhir:Goal.priority [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/goal-priority" ];
fhir:Coding.code [ fhir:value "high-priority" ];
fhir:Coding.display [ fhir:value "High Priority" ]
];
fhir:CodeableConcept.text [ fhir:value "high" ]
];
fhir:Goal.description [
fhir:CodeableConcept.text [ fhir:value "Target weight is 160 to 180 lbs." ]
];
fhir:Goal.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
];
fhir:Goal.startDate [ fhir:value "2015-04-05"^^xsd:date];
fhir:Goal.target [
fhir:index 0;
fhir:Goal.target.measure [
fhir:CodeableConcept.coding [
fhir:index 0;
a loinc:3141-9;
fhir:Coding.system [ fhir:value "http://loinc.org" ];
fhir:Coding.code [ fhir:value "3141-9" ];
fhir:Coding.display [ fhir:value "Weight Measured" ]
]
];
fhir:Goal.target.detailRange [
fhir:Range.low [
fhir:Quantity.value [ fhir:value "160"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "lbs" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "[lb_av]" ]
];
fhir:Range.high [
fhir:Quantity.value [ fhir:value "180"^^xsd:decimal ];
fhir:Quantity.unit [ fhir:value "lbs" ];
fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
fhir:Quantity.code [ fhir:value "[lb_av]" ]
]
];
fhir:Goal.target.dueDate [ fhir:value "2016-04-05"^^xsd:date ]
];
fhir:Goal.statusDate [ fhir:value "2016-02-14"^^xsd:date];
fhir:Goal.statusReason [ fhir:value "Patient wants to defer weight loss until after honeymoon."];
fhir:Goal.source [
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
];
fhir:Goal.addresses [
fhir:index 0;
fhir:Reference.display [ fhir:value "obesity condition" ]
];
fhir:Goal.outcome [
fhir:index 0;
fhir:CodeableReference.reference [
fhir:Reference.reference [ fhir:value "Observation/example" ];
fhir:Reference.display [ fhir:value "Body Weight Measured" ]
]
]] .
# - 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.