@prefix fhir: <http://hl7.org/fhir/> .
@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.eu/fhir/hdr/Flag/example-flag-no-left-arm> a fhir:Flag ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-flag-no-left-arm"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core"^^xsd:anyURI ;
       fhir:l <http://hl7.eu/fhir/base/StructureDefinition/flag-patient-eu-core>
     ] )
  ] ; # 
  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: Flag example-flag-no-left-arm</b></p><a name=\"example-flag-no-left-arm\"> </a><a name=\"hcexample-flag-no-left-arm\"> </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=\"http://hl7.eu/fhir/base/xtehr/StructureDefinition-flag-patient-eu-core.html\">Flag:Patient  (EU core)</a></p></div><p><b>Flag details</b>: Patient has lymphedema following left-sided mastectomy. Avoid venipuncture and blood pressure measurement on the left arm.</p><p><b>Flag Priority</b>: <span title=\"Codes:{http://hl7.org/fhir/flag-priority-code PM}\">Medium priority</span></p><p><b>status</b>: Active</p><p><b>category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/flag-category safety}\">Safety</span></p><p><b>code</b>: <span title=\"Codes:\">Do not use left arm for blood draws or IV access</span></p><p><b>subject</b>: <a href=\"Patient-patient-swart.html\">Fiona XXX_Swart</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/flag-detail"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/flag-detail>
     ] ;
     fhir:value [
       a fhir:Reference ;
       fhir:display [ fhir:v "Patient has lymphedema following left-sided mastectomy. Avoid venipuncture and blood pressure measurement on the left arm." ]
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/flag-priority"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/flag-priority>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://hl7.org/fhir/flag-priority-code"^^xsd:anyURI ;
           fhir:l <http://hl7.org/fhir/flag-priority-code>
         ] ;
         fhir:code [ fhir:v "PM" ] ;
         fhir:display [ fhir:v "Medium priority" ]
       ] )
     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/flag-category"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/flag-category>
       ] ;
       fhir:code [ fhir:v "safety" ] ;
       fhir:display [ fhir:v "Safety" ]
     ] )
  ] ) ; # 
  fhir:code [
     fhir:text [ fhir:v "Do not use left arm for blood draws or IV access" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.eu/fhir/hdr/Patient/patient-swart> ;
     fhir:reference [ fhir:v "Patient/patient-swart" ] ;
     fhir:display [ fhir:v "Fiona XXX_Swart" ]
  ] . # 

# -------------------------------------------------------------------------------------

