This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions
. Page versions: R5 R4B R4 R3
General Person Example
@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <http://loinc.org/owl#> .
@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 -------------------------------------------------------------------
<http://hl7.org/fhir/Goal/example> 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:extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/goal-target" ];
fhir:extension [
fhir:index 0;
fhir:Extension.url [ fhir:value "measure" ];
fhir:Extension.valueCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:concept 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:index 1;
fhir:Extension.url [ fhir:value "detail" ];
fhir:Extension.valueRange [
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.status [ fhir:value "in-progress"];
fhir:Goal.description [
fhir:CodeableConcept.text [ fhir:value "Target weight is 160 to 180 lbs." ]
];
fhir:Goal.subject [
fhir:link <http://hl7.org/fhir/Patient/example>;
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
];
fhir:Goal.addresses [
fhir:index 0;
fhir:link <http://hl7.org/fhir/Condition/12345>;
fhir:Reference.reference [ fhir:value "Condition/12345" ];
fhir:Reference.display [ fhir:value "obesity" ]
] .
<http://hl7.org/fhir/Patient/example> a fhir:Patient .
<http://hl7.org/fhir/Condition/12345> a fhir:Condition .
# -------------------------------------------------------------------------------------
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.