Continuous Glucose Monitoring
0.1.0 - ci-build International flag

Continuous Glucose Monitoring, published by HL7 International / Orders and Observations. This guide is not an authorized publication; it is the continuous build for version 0.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/cgm/ and changes regularly. See the Directory of published versions

: CGM Data Submission Bundle Example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cgmDataSubmissionBundle"] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:timestamp [ fhir:v "2024-05-02T14:30:00Z"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "https://example.org/DiagnosticReport/cgmSummaryPDFExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/DiagnosticReport/cgmSummaryPDFExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "DiagnosticReport"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSummaryExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSummaryExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSummaryMeanGlucoseMassPerVolumeExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSummaryMeanGlucoseMassPerVolumeExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSummaryTimesInRangesExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSummaryTimesInRangesExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSummaryGMIExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSummaryGMIExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSummaryCoefficientOfVariationExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSummaryCoefficientOfVariationExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSummaryDaysOfWearExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSummaryDaysOfWearExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSummarySensorActivePercentageExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSummarySensorActivePercentageExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/Observation/cgmSensorReadingMassPerVolumeExample"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/Observation/cgmSensorReadingMassPerVolumeExample> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Observation"^^xsd:anyURI ]     ]
  ] ) . # 

<https://example.org/DiagnosticReport/cgmSummaryPDFExample> a fhir:DiagnosticReport ;
  fhir:id [ fhir:v "cgmSummaryPDFExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0074"^^xsd:anyURI ] ;
fhir:code [ fhir:v "LAB" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "cgm-summary" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-14"^^xsd:date ]
  ] ; # 
  fhir:issued [ fhir:v "2024-05-15T14:30:00Z"^^xsd:dateTime] ; # 
  fhir:result ( [
fhir:reference [ fhir:v "Observation/cgmSummaryExample" ]
  ] ) ; # 
  fhir:presentedForm ( [
fhir:contentType [ fhir:v "application/pdf" ] ;
fhir:data [ fhir:v "JVBERi0xLjAKJcK1wrYKCjEgMCBvYmoKPDwvVHlwZS9DYXRhbG9nL1BhZ2VzIDIgMCBSPj4KZW5kb2JqCgoyIDAgb2JqCjw8L0tpZHNbMyAwIFJdL0NvdW50IDEvVHlwZS9QYWdlcy9NZWRpYUJveFswIDAgNTk1IDc5Ml0+PgplbmRvYmoKCjMgMCBvYmoKPDwvVHlwZS9QYWdlL1BhcmVudCAyIDAgUi9Db250ZW50cyA0IDAgUi9SZXNvdXJjZXM8PD4+Pj4KZW5kb2JqCgo0IDAgb2JqCjw8L0xlbmd0aCA1OD4+CnN0cmVhbQpxCkJUCi8gOTYgVGYKMSAwIDAgMSAzNiA2ODQgVG0KKEZISVIgQ0dNISkgVGoKRVQKUQoKZW5kc3RyZWFtCmVuZG9iagoKeHJlZgowIDUKMDAwMDAwMDAwMCA2NTUzNiBmIAowMDAwMDAwMDE2IDAwMDAwIG4gCjAwMDAwMDAwNjIgMDAwMDAgbiAKMDAwMDAwMDEzNiAwMDAwMCBuIAowMDAwMDAwMjA5IDAwMDAwIG4gCgp0cmFpbGVyCjw8L1NpemUgNS9Sb290IDEgMCBSPj4Kc3RhcnR4cmVmCjMxNgolJUVPRgoK"^^xsd:base64Binary ]
  ] ) . # 

<https://example.org/Observation/cgmSummaryExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSummaryExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "cgm-summary" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-31"^^xsd:date ]
  ] ; # 
  fhir:hasMember ( [
fhir:reference [ fhir:v "Observation/cgmSummaryMeanGlucoseMassPerVolumeExample" ]
  ] [
fhir:reference [ fhir:v "Observation/cgmSummaryTimesInRangesExample" ]
  ] [
fhir:reference [ fhir:v "Observation/cgmSummaryGMIExample" ]
  ] [
fhir:reference [ fhir:v "Observation/cgmSummaryCoefficientOfVariationExample" ]
  ] [
fhir:reference [ fhir:v "Observation/cgmSummaryDaysOfWearExample" ]
  ] [
fhir:reference [ fhir:v "Observation/cgmSummarySensorActivePercentageExample" ]
  ] ) . # 

<https://example.org/Observation/cgmSummaryMeanGlucoseMassPerVolumeExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSummaryMeanGlucoseMassPerVolumeExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mean-glucose-mass-per-volume" ]     ] [
a loinc:97507-8 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "97507-8" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-31"^^xsd:date ]
  ] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "145"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mg/dl" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mg/dL" ]
  ] . # 

<https://example.org/Observation/cgmSummaryTimesInRangesExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSummaryTimesInRangesExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "times-in-ranges" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-31"^^xsd:date ]
  ] ; # 
  fhir:component ( [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "time-in-very-low" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "3"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "time-in-low" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "8"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "time-in-target" ]       ] [
a loinc:97510-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "97510-2" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "65"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "time-in-high" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "20"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]     ]
  ] [
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "time-in-very-high" ]       ] )     ] ;
fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "4"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]     ]
  ] ) . # 

<https://example.org/Observation/cgmSummaryGMIExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSummaryGMIExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "gmi" ]     ] [
a loinc:97506-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "97506-0" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-31"^^xsd:date ]
  ] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "6.8"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]
  ] . # 

<https://example.org/Observation/cgmSummaryCoefficientOfVariationExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSummaryCoefficientOfVariationExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "cv" ]     ] [
a loinc:104638-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "104638-2" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-31"^^xsd:date ]
  ] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "34"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]
  ] . # 

<https://example.org/Observation/cgmSummaryDaysOfWearExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSummaryDaysOfWearExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "days-of-wear" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-31"^^xsd:date ]
  ] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "28"^^xsd:decimal ] ;
fhir:unit [ fhir:v "days" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "d" ]
  ] . # 

<https://example.org/Observation/cgmSummarySensorActivePercentageExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSummarySensorActivePercentageExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary"^^xsd:anyURI ] ;
fhir:code [ fhir:v "sensor-active-percentage" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [
a fhir:Period ;
fhir:start [ fhir:v "2024-05-01"^^xsd:date ] ;
fhir:end [ fhir:v "2024-05-31"^^xsd:date ]
  ] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "95"^^xsd:decimal ] ;
fhir:unit [ fhir:v "%" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "%" ]
  ] . # 

<https://example.org/Observation/cgmSensorReadingMassPerVolumeExample> a fhir:Observation ;
  fhir:id [ fhir:v "cgmSensorReadingMassPerVolumeExample"] ; # 
  fhir:status [ fhir:v "final"] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/observation-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "laboratory" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a loinc:99504-3 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "99504-3" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/patientExample" ]
  ] ; # 
  fhir:effective [ fhir:v "2024-05-02T10:15:00Z"^^xsd:dateTime] ; # 
  fhir:value [
a fhir:Quantity ;
fhir:value [ fhir:v "120"^^xsd:decimal ] ;
fhir:unit [ fhir:v "mg/dl" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "mg/dL" ]
  ] . #