@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/uv/cpg/Goal/chf-scenario1-weight> a fhir:Goal ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "chf-scenario1-weight"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-goal"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-goal>
     ] )
  ] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Goal chf-scenario1-weight</b></p><a name=\"chf-scenario1-weight\"> </a><a name=\"hcchf-scenario1-weight\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cpg-goal.html\">CPG Goal</a></p></div><p><b>CPG Goal For Extension</b>: <a href=\"PlanDefinition-chf-bodyweight-pd.html\">CHFBodyWeight</a></p><p><b>lifecycleStatus</b>: Active</p><p><b>achievementStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/goal-achievement improving}\">Improving</span></p><p><b>description</b>: <span title=\"Codes:\">Body weight 92kg</span></p><p><b>subject</b>: <a href=\"Patient-chf-scenario1-patient.html\">Patterson, Jeremy Male, DoB: 1949-03-17</a></p><h3>Targets</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Measure</b></td><td><b>Detail[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org 29463-7}\">Body weight</span></td><td>92 kg<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codekg = 'kg')</span></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-goalFor"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/cpg/StructureDefinition/cpg-goalFor>
     ] ;
     fhir:value [
       a fhir:Canonical ;
       fhir:v "http://hl7.org/fhir/uv/cpg/PlanDefinition/chf-bodyweight-pd"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/uv/cpg/PlanDefinition/chf-bodyweight-pd>
     ]
  ] ) ; # 
  fhir:lifecycleStatus [ fhir:v "active"] ; # 
  fhir:achievementStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/goal-achievement"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/goal-achievement>
       ] ;
       fhir:code [ fhir:v "improving" ]
     ] )
  ] ; # 
  fhir:description [
     fhir:text [ fhir:v "Body weight 92kg" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/uv/cpg/Patient/chf-scenario1-patient> ;
     fhir:reference [ fhir:v "Patient/chf-scenario1-patient" ]
  ] ; # 
  fhir:target ( [
     fhir:measure [
       fhir:coding ( [
         a loinc:29463-7 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "29463-7" ]
       ] )
     ] ;
     fhir:detail [
       a fhir:Quantity ;
       fhir:value [ fhir:v "92"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "kg" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "kg" ]
     ]
  ] ) . # 

<http://hl7.org/fhir/uv/cpg/Patient/chf-scenario1-patient> a fhir:Uv .

# -------------------------------------------------------------------------------------

