@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/Bundle/example-observation-device-flowratemetric> a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example-observation-device-flowratemetric"] ; # 
  fhir:type [ fhir:v "collection"] ; # 
  fhir:entry ( [
     fhir:fullUrl [
       fhir:v "http://hl7.org/fhir/Observation/example-observation-device-flowratemetric"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/Observation/example-observation-device-flowratemetric>
     ] ;
     fhir:resource ( <http://hl7.org/fhir/Observation/example-observation-device-flowratemetric> )
  ] [
     fhir:fullUrl [
       fhir:v "http://hl7.org/fhir/DeviceAssociation/example-device-patient-association"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/DeviceAssociation/example-device-patient-association>
     ] ;
     fhir:resource ( <http://hl7.org/fhir/DeviceAssociation/example-device-patient-association> )
  ] [
     fhir:fullUrl [
       fhir:v "http://hl7.org/fhir/DeviceMetric/example-iv-pump-flowratemetric"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/DeviceMetric/example-iv-pump-flowratemetric>
     ] ;
     fhir:resource ( <http://hl7.org/fhir/DeviceMetric/example-iv-pump-flowratemetric> )
  ] ) . # 

<http://hl7.org/fhir/Observation/example-observation-device-flowratemetric> a fhir:Observation ;
  fhir:id [ fhir:v "example-observation-device-flowratemetric"] ; # 
  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: Observation example-observation-device-flowratemetric</b></p><a name=\"example-observation-device-flowratemetric\"> </a><a name=\"hcexample-observation-device-flowratemetric\"> </a><p><b>identifier</b>: <code>http://goodcare.org/observation/id</code>/1191144-10</p><p><b>status</b>: Final</p><p><b>code</b>: <span title=\"Codes:{http://loinc.org 8977-1}\">Fluid intake intravascular 8 hour</span></p><p><b>subject</b>: <a href=\"broken-link.html\">Device/example-IV-pump</a></p><p><b>focus</b>: <a href=\"broken-link.html\">DeviceMetric/example-iv-pump-flowratemetric</a></p><p><b>effective</b>: 2024-12-05T09:30:10+01:00</p><p><b>value</b>: 150 milliliter per 8 hour<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM  codemL/(8.h) = 'mL/(8.h)')</span></p><p><b>device</b>: <a href=\"broken-link.html\">Device/example-IV-pump</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://goodcare.org/observation/id"^^xsd:anyURI ;
       fhir:l <http://goodcare.org/observation/id>
     ] ;
     fhir:value [ fhir:v "1191144-10" ]
  ] ) ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:code [
     fhir:coding ( [
       a loinc:8977-1 ;
       fhir:system [
         fhir:v "http://loinc.org"^^xsd:anyURI ;
         fhir:l <http://loinc.org>
       ] ;
       fhir:code [ fhir:v "8977-1" ] ;
       fhir:display [ fhir:v "Fluid intake intravascular 8 hour" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Device/example-IV-pump> ;
     fhir:reference [ fhir:v "Device/example-IV-pump" ]
  ] ; # 
  fhir:focus ( [
     fhir:l <http://hl7.org/fhir/DeviceMetric/example-iv-pump-flowratemetric> ;
     fhir:reference [ fhir:v "DeviceMetric/example-iv-pump-flowratemetric" ]
  ] ) ; # 
  fhir:effective [
     a fhir:DateTime ;
     fhir:v "2024-12-05T09:30:10+01:00"^^xsd:dateTime
  ] ; # 
  fhir:value [
     a fhir:Quantity ;
     fhir:value [ fhir:v "150"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "milliliter per 8 hour" ] ;
     fhir:system [
       fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
       fhir:l <http://unitsofmeasure.org>
     ] ;
     fhir:code [ fhir:v "mL/(8.h)" ]
  ] ; # 
  fhir:device [
     fhir:l <http://hl7.org/fhir/Device/example-IV-pump> ;
     fhir:reference [ fhir:v "Device/example-IV-pump" ]
  ] . # 

<http://hl7.org/fhir/Device/example-IV-pump> a fhir:Device .

<http://hl7.org/fhir/DeviceMetric/example-iv-pump-flowratemetric> a fhir:DeviceMetric, fhir:DeviceMetric ;
  fhir:id [ fhir:v "example-iv-pump-flowratemetric"] ; # 
  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: DeviceMetric example-iv-pump-flowratemetric</b></p><a name=\"example-iv-pump-flowratemetric\"> </a><a name=\"hcexample-iv-pump-flowratemetric\"> </a><p><b>status</b>: Active</p><p><b>operationalStatus</b>: On</p><p><b>type</b>: <span title=\"Codes:{urn:iso:std:iso:11073:10101 157784}\">MDC_FLOW_FLUID_PUMP</span></p><p><b>unit</b>: <span title=\"Codes:{http://unitsofmeasure.org mL/(8.h)}\">mL/(8.h)</span></p><p><b>device</b>: <a href=\"broken-link.html\">Device/example-IV-pump</a></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/metric-category measurement}\">Measurement</span></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:operationalStatus [ fhir:v "on"] ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [
         fhir:v "urn:iso:std:iso:11073:10101"^^xsd:anyURI ;
         fhir:l <urn:iso:std:iso:11073:10101>
       ] ;
       fhir:code [ fhir:v "157784" ] ;
       fhir:display [ fhir:v "MDC_FLOW_FLUID_PUMP" ]
     ] )
  ] ; # 
  fhir:unit [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "mL/(8.h)" ] ;
       fhir:display [ fhir:v "mL/(8.h)" ]
     ] )
  ] ; # 
  fhir:device [
     fhir:l <http://hl7.org/fhir/Device/example-IV-pump> ;
     fhir:reference [ fhir:v "Device/example-IV-pump" ]
  ] ; # 
  fhir:category [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/metric-category"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/metric-category>
       ] ;
       fhir:code [ fhir:v "measurement" ] ;
       fhir:display [ fhir:v "Measurement" ]
     ] )
  ] . # 

<http://hl7.org/fhir/DeviceAssociation/example-device-patient-association> a fhir:DeviceAssociation ;
  fhir:id [ fhir:v "example-device-patient-association"] ; # 
  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: DeviceAssociation example-device-patient-association</b></p><a name=\"example-device-patient-association\"> </a><a name=\"hcexample-device-patient-association\"> </a><p><b>device</b>: <a href=\"broken-link.html\">Device/example-IV-pump</a></p><p><b>status</b>: Active</p><p><b>associationStatus</b>: <span title=\"Codes:{http://hl7.org/fhir/CodeSystem/deviceassociation-association-status attached}\">Attached</span></p><p><b>subject</b>: <a href=\"patient-example-a.html\">Donald Duck</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:device [
     fhir:l <http://hl7.org/fhir/Device/example-IV-pump> ;
     fhir:reference [ fhir:v "Device/example-IV-pump" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:associationStatus [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://hl7.org/fhir/CodeSystem/deviceassociation-association-status"^^xsd:anyURI ;
         fhir:l <http://hl7.org/fhir/CodeSystem/deviceassociation-association-status>
       ] ;
       fhir:code [ fhir:v "attached" ] ;
       fhir:display [ fhir:v "Attached" ]
     ] )
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/pat1> ;
     fhir:reference [ fhir:v "Patient/pat1" ] ;
     fhir:display [ fhir:v "Donald Duck" ]
  ] . # 

<http://hl7.org/fhir/Patient/pat1> a fhir:Patient .

# -------------------------------------------------------------------------------------

