description: An observation representing a summary of continuous glucose monitoring (CGM) data. package_name: hl7.fhir.uv.cgm derivation: constraint name: CGMSummaryObservation type: Observation elements: code: pattern: type: CodeableConcept value: coding: - {code: cgm-summary, system: 'http://hl7.org/fhir/uv/cgm/CodeSystem/cgm-summary-codes-temporary'} index: 0 subject: {short: Patient for the report, mustSupport: true, index: 1} effective: choices: [] index: 3 slicing: rules: open ordered: false discriminator: - {path: $this, type: type} min: 1 slices: effectivePeriod: match: {} schema: short: Reporting period for the CGM summary mustSupport: true choices: [effectivePeriod] _required: true index: 5 min: 1 max: 1 effectivePeriod: short: Reporting period for the CGM summary type: Period mustSupport: true choiceOf: effective index: 6 slicing: slices: effectivePeriod: match: {} schema: {short: Reporting period for the CGM summary, type: Period, mustSupport: true, _required: true, choiceOf: effective, index: 6} min: 1 max: 1 effective[x]: elements: start: {short: Start date of the reporting period (YYYY-MM-DD), mustSupport: true, index: 7} end: {short: End date of the reporting period (YYYY-MM-DD), mustSupport: true, index: 8} required: [start, end] hasMember: short: CGM summary observations array: true min: 6 index: 9 slicing: rules: open discriminator: - {path: resolve().code, type: value} min: 6 slices: meanGlucoseMassPerVolume: match: resolve(): {code: null} schema: short: Mean Glucose (Mass) observation refers: ['http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary-mean-glucose-mass-per-volume'] type: Reference mustSupport: true index: 10 min: 0 max: 1 meanGlucoseMolesPerVolume: match: resolve(): {code: null} schema: short: Mean Glucose (Molar) observation refers: ['http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary-mean-glucose-moles-per-volume'] type: Reference mustSupport: true index: 11 min: 0 max: 1 timesInRanges: match: resolve(): {code: null} schema: short: Times in Ranges observation refers: ['http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary-times-in-ranges'] type: Reference mustSupport: true _required: true index: 12 min: 1 max: 1 gmi: match: resolve(): {code: null} schema: short: Glucose Management Indicator (GMI) observation refers: ['http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary-gmi'] type: Reference mustSupport: true _required: true index: 13 min: 1 max: 1 cv: match: resolve(): {code: null} schema: short: Coefficient of Variation (CV) observation refers: ['http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary-coefficient-of-variation'] type: Reference mustSupport: true _required: true index: 14 min: 1 max: 1 daysOfWear: match: resolve(): {code: null} schema: short: Days of Wear observation refers: ['http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary-days-of-wear'] type: Reference mustSupport: true _required: true index: 15 min: 1 max: 1 sensorActivePercentage: match: resolve(): {code: null} schema: short: Sensor Active Percentage observation refers: ['http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary-sensor-active-percentage'] type: Reference mustSupport: true _required: true index: 16 min: 1 max: 1 package_version: 1.0.0-ballot class: profile kind: resource url: http://hl7.org/fhir/uv/cgm/StructureDefinition/cgm-summary base: http://hl7.org/fhir/StructureDefinition/Observation version: 1.0.0-ballot required: [effectivePeriod, subject, effective]