Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). 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

Devicemetric-example.ttl

Example DeviceMetric/example (Turtle)

Health Care Devices Work Group Maturity Level : N/A Standards Status : Informative Compartments : Not linked to any defined compartments

Raw Turtle (+ also see Turtle/RDF Format Specification )

General DeviceMetric example

@prefix fhir: <http://hl7.org/fhir/> .
@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/DeviceMetric/example> a fhir:DeviceMetric;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource &quot;example&quot; </p></div><p><b>identifier</b>: id: 345675</p><p><b>type</b>: MDC_PULS_OXIM_SAT_O2 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-mdc.html\">ISO 11073-10101 Health informatics - Point-of-care</a>#150456)</span></p><p><b>unit</b>: MDC_DIM_PERCENT <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/3.1.0/CodeSystem-v3-mdc.html\">ISO 11073-10101 Health informatics - Point-of-care</a>#262688)</span></p><p><b>source</b>: <a href=\"todo.html\">Device/dev1</a></p><p><b>parent</b>: <a href=\"todo.html\">DeviceDefinition/dc102</a></p><p><b>operationalStatus</b>: on</p><p><b>color</b>: blue</p><p><b>category</b>: measurement</p><p><b>measurementPeriod</b>: Do Once per 1 seconds</p><h3>Calibrations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>State</b></td><td><b>Time</b></td></tr><tr><td>*</td><td>two-point</td><td>calibrated</td><td>29/12/2016 1:03:04 AM</td></tr></table></div>"
  ];
  fhir:DeviceMetric.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://goodcare.org/devicemetric/id" ];
     fhir:Identifier.value [ fhir:value "345675" ]
  ];
  fhir:DeviceMetric.type [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:11073:10101" ];
       fhir:Coding.code [ fhir:value "150456" ];
       fhir:Coding.display [ fhir:value "MDC_PULS_OXIM_SAT_O2" ]
     ]
  ];
  fhir:DeviceMetric.unit [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:11073:10101" ];
       fhir:Coding.code [ fhir:value "262688" ];
       fhir:Coding.display [ fhir:value "MDC_DIM_PERCENT" ]
     ]
  ];
  fhir:DeviceMetric.source [
     fhir:link <http://hl7.org/fhir/Device/dev1>;
     fhir:Reference.reference [ fhir:value "Device/dev1" ]
  ];
  fhir:DeviceMetric.parent [
     fhir:link <http://hl7.org/fhir/DeviceDefinition/dc102>;
     fhir:Reference.reference [ fhir:value "DeviceDefinition/dc102" ]
  ];
  fhir:DeviceMetric.operationalStatus [ fhir:value "on"];
  fhir:DeviceMetric.color [ fhir:value "blue"];
  fhir:DeviceMetric.category [ fhir:value "measurement"];
  fhir:DeviceMetric.measurementPeriod [
     fhir:Timing.repeat [
       fhir:Timing.repeat.frequency [ fhir:value "1"^^xsd:positiveInteger ];
       fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
       fhir:Timing.repeat.periodUnit [ fhir:value "s" ]
     ]
  ];
  fhir:DeviceMetric.calibration [
     fhir:index 0;
     fhir:DeviceMetric.calibration.type [ fhir:value "two-point" ];
     fhir:DeviceMetric.calibration.state [ fhir:value "calibrated" ];
     fhir:DeviceMetric.calibration.time [ fhir:value "2016-12-28T09:03:04-05:00"^^xsd:dateTime ]
  ] .

<http://hl7.org/fhir/Device/dev1> a fhir:Device .

<http://hl7.org/fhir/DeviceDefinition/dc102> a fhir:DeviceDefinition .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/DeviceMetric/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/DeviceMetric/example.ttl> .

[a fhir:DeviceMetric ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DeviceMetric</b><a name=\"example\"> </a></p><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\">Resource DeviceMetric &quot;example&quot; </p></div><p><b>identifier</b>: id: 345675</p><p><b>type</b>: MDC_PULS_OXIM_SAT_O2 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-mdc.html\">ISO 11073-10101 Health informatics - Point-of-care</a>#150456)</span></p><p><b>unit</b>: MDC_DIM_PERCENT <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-mdc.html\">ISO 11073-10101 Health informatics - Point-of-care</a>#262688)</span></p><p><b>device</b>: <a href=\"broken-link.html\">Device/dev1</a></p><p><b>operationalStatus</b>: on</p><p><b>color</b>: blue</p><p><b>category</b>: measurement</p><p><b>measurementFrequency</b>: 1 Hertz<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code Hz = 'Hz')</span></p><h3>Calibrations</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>State</b></td><td><b>Time</b></td></tr><tr><td>*</td><td>two-point</td><td>calibrated</td><td>29 Dec 2016, 1:03:04 am</td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://goodcare.org/devicemetric/id"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "345675" ]
  ] ) ; # 
  fhir:type [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:11073:10101"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "150456" ] ;
       fhir:display [ fhir:v "MDC_PULS_OXIM_SAT_O2" ]
     ] )
  ] ; # 
  fhir:unit [
     fhir:coding ( [
       fhir:system [ fhir:v "urn:iso:std:iso:11073:10101"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "262688" ] ;
       fhir:display [ fhir:v "MDC_DIM_PERCENT" ]
     ] )
  ] ; # 
  fhir:device [
     fhir:reference [ fhir:v "Device/dev1" ]
  ] ; # 
  fhir:operationalStatus [ fhir:v "on"] ; # 
  fhir:color [ fhir:v "blue"] ; # 
  fhir:category [ fhir:v "measurement"] ; # 
  fhir:measurementFrequency [
     fhir:value [ fhir:v "1"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "Hertz" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "Hz" ]
  ] ; # 
  fhir:calibration ( [
     fhir:type [ fhir:v "two-point" ] ;
     fhir:state [ fhir:v "calibrated" ] ;
     fhir:time [ fhir:v "2016-12-28T09:03:04-05:00"^^xsd:dateTime ]
  ] )] . # 


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


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.