@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.eu/fhir/ig/careplan-xshare/Goal/careplan-xshare-goal-example> a fhir:Goal ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "careplan-xshare-goal-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.eu/fhir/ig/careplan-xshare/StructureDefinition/goal-xshare"^^xsd:anyURI ;
       fhir:l <http://hl7.eu/fhir/ig/careplan-xshare/StructureDefinition/goal-xshare>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Goal careplan-xshare-goal-example</b></p><a name=\"careplan-xshare-goal-example\"> </a><a name=\"hccareplan-xshare-goal-example\"> </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-goal-xshare.html\">xShare Goal</a></p></div><p><b>lifecycleStatus</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 409073007}\">Education</span></p><p><b>description</b>: <span title=\"Codes:{http://snomed.info/sct 735985000}\">Diabetes self management plan</span></p><p><b>subject</b>: <a href=\"Patient-careplan-xshare-patient-example.html\">Maria Rossi  Female, DoB: 1975-04-12 ( http://example.org/patients#PAT-001)</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><td><b>Due[x]</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://loinc.org 4548-4}\">Hemoglobin A1c/Hemoglobin.total in Blood</span></td><td>7 %<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  code% = '%')</span></td><td>2026-08-31</td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:lifecycleStatus [ fhir:v "active"] ; # 
  fhir:category ( [
     fhir:coding ( [
       a sct:409073007 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "409073007" ] ;
       fhir:display [ fhir:v "Education" ]
     ] )
  ] ) ; # 
  fhir:description [
     fhir:coding ( [
       a sct:735985000 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "735985000" ] ;
       fhir:display [ fhir:v "Diabetes self management plan" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.eu/fhir/ig/careplan-xshare/Patient/careplan-xshare-patient-example> ;
     fhir:reference [ fhir:v "Patient/careplan-xshare-patient-example" ]
  ] ; # 
  fhir:target ( [
     fhir:measure [
       fhir:coding ( [
         a loinc:4548-4 ;
         fhir:system [
           fhir:v "http://loinc.org"^^xsd:anyURI ;
           fhir:l <http://loinc.org>
         ] ;
         fhir:code [ fhir:v "4548-4" ] ;
         fhir:display [ fhir:v "Hemoglobin A1c/Hemoglobin.total in Blood" ]
       ] )
     ] ;
     fhir:detail [
       a fhir:Quantity ;
       fhir:value [ fhir:v "7"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "%" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "%" ]
     ] ;
     fhir:due [
       a fhir:Date ;
       fhir:v "2026-08-31"^^xsd:date
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

