CGM: Sharing with SHLinks

SHLink with CGM Summary

{
  "shlinkJsonPayload": {
    "url": "https://joshuamandel.com/cgm/shl/120day_agp_bundle_unguessable_shl_id0000000",
    "flag": "LU",
    "key": "agp_obs_unguessable_random_key0000000000000",
    "label": "Josh's CGM Data"
  },
  "shlinkBare": "shlink:/eyJ1cmwiOiJodHRwczovL2pvc2h1YW1hbmRlbC5jb20vY2dtL3NobC8xMjBkYXlfYWdwX2J1bmRsZV91bmd1ZXNzYWJsZV9zaGxfaWQwMDAwMDAwIiwiZmxhZyI6IkxVIiwia2V5IjoiYWdwX29ic191bmd1ZXNzYWJsZV9yYW5kb21fa2V5MDAwMDAwMDAwMDAwMCIsImxhYmVsIjoiSm9zaCdzIENHTSBEYXRhIn0",
  "shlink": "https://joshuamandel.com/cgm#shlink:/eyJ1cmwiOiJodHRwczovL2pvc2h1YW1hbmRlbC5jb20vY2dtL3NobC8xMjBkYXlfYWdwX2J1bmRsZV91bmd1ZXNzYWJsZV9zaGxfaWQwMDAwMDAwIiwiZmxhZyI6IkxVIiwia2V5IjoiYWdwX29ic191bmd1ZXNzYWJsZV9yYW5kb21fa2V5MDAwMDAwMDAwMDAwMCIsImxhYmVsIjoiSm9zaCdzIENHTSBEYXRhIn0"
}

Example CGM Summary Observations

CGM Summary Report

{
  "resourceType": "Observation",
  "id": "8929f74b-4842-42cc-8190-7917c9ea013d",
  "status": "final",
  "subject": {
    "display": "Example Patient"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
        "code": "cgm-summary",
        "display": "CGM Summary Report"
      }
    ]
  },
  "effectivePeriod": {
    "start": "2024-05-23",
    "end": "2024-08-21"
  },
  "hasMember": [
    {
      "reference": "urn:uuid:97e340ec-6a84-4528-a3aa-242119ec67ce"
    },
    {
      "reference": "urn:uuid:e38aa1d9-915f-4534-85bf-3cd7efc22fca"
    },
    {
      "reference": "urn:uuid:3e18603e-e0e5-42a6-8bee-40defa9cada3"
    },
    {
      "reference": "urn:uuid:e8e83abc-322e-444c-90c8-bf761ca5d376"
    },
    {
      "reference": "urn:uuid:48a77c57-2ef7-44ee-857f-92c9a99ad1d8"
    },
    {
      "reference": "urn:uuid:e1517403-d495-4c8f-9279-3ab0fb46e829"
    }
  ]
}

Mean Glucose (Mass Per Volume)

{
  "resourceType": "Observation",
  "id": "97e340ec-6a84-4528-a3aa-242119ec67ce",
  "status": "final",
  "subject": {
    "display": "Example Patient"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
        "code": "mean-glucose-mass-per-volume",
        "display": "Mean Glucose (Mass Per Volume)"
      },
      {
        "system": "http://loinc.org",
        "code": "97507-8",
        "display": "Average glucose [Mass/volume] in Interstitial fluid during Reporting Period"
      }
    ]
  },
  "effectivePeriod": {
    "start": "2024-05-23",
    "end": "2024-08-21"
  },
  "valueQuantity": {
    "value": 104.88828066683254,
    "unit": "mg/dl",
    "system": "http://unitsofmeasure.org",
    "code": "mg/dL"
  }
}

Times in Glucose Ranges

{
  "resourceType": "Observation",
  "id": "e38aa1d9-915f-4534-85bf-3cd7efc22fca",
  "status": "final",
  "subject": {
    "display": "Example Patient"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
        "code": "times-in-ranges",
        "display": "Times in Glucose Ranges"
      }
    ]
  },
  "effectivePeriod": {
    "start": "2024-05-23",
    "end": "2024-08-21"
  },
  "component": [
    {
      "code": {
        "coding": [
          {
            "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
            "code": "time-in-very-low",
            "display": "Time in Very Low Range (%)"
          }
        ]
      },
      "valueQuantity": {
        "value": 0,
        "unit": "%",
        "system": "http://unitsofmeasure.org",
        "code": "%"
      }
    },
    {
      "code": {
        "coding": [
          {
            "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
            "code": "time-in-low",
            "display": "Time in Low Range (%)"
          }
        ]
      },
      "valueQuantity": {
        "value": 0.9703906444389152,
        "unit": "%",
        "system": "http://unitsofmeasure.org",
        "code": "%"
      }
    },
    {
      "code": {
        "coding": [
          {
            "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
            "code": "time-in-target",
            "display": "Time in Target Range (%)"
          },
          {
            "system": "http://loinc.org",
            "code": "97510-2",
            "display": "Glucose measurements in range out of Total glucose measurements during reporting period"
          }
        ]
      },
      "valueQuantity": {
        "value": 99.17890022393631,
        "unit": "%",
        "system": "http://unitsofmeasure.org",
        "code": "%"
      }
    },
    {
      "code": {
        "coding": [
          {
            "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
            "code": "time-in-high",
            "display": "Time in High Range (%)"
          }
        ]
      },
      "valueQuantity": {
        "value": 0,
        "unit": "%",
        "system": "http://unitsofmeasure.org",
        "code": "%"
      }
    },
    {
      "code": {
        "coding": [
          {
            "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
            "code": "time-in-very-high",
            "display": "Time in Very High Range (%)"
          }
        ]
      },
      "valueQuantity": {
        "value": 0,
        "unit": "%",
        "system": "http://unitsofmeasure.org",
        "code": "%"
      }
    }
  ]
}

Glucose Management Indicator (GMI)

{
  "resourceType": "Observation",
  "id": "3e18603e-e0e5-42a6-8bee-40defa9cada3",
  "status": "final",
  "subject": {
    "display": "Example Patient"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
        "code": "gmi",
        "display": "Glucose Management Indicator (GMI)"
      },
      {
        "system": "http://loinc.org",
        "code": "97506-0",
        "display": "Glucose management indicator"
      }
    ]
  },
  "effectivePeriod": {
    "start": "2024-05-23",
    "end": "2024-08-21"
  },
  "valueQuantity": {
    "value": 5.818927673550634,
    "unit": "%",
    "system": "http://unitsofmeasure.org",
    "code": "%"
  }
}

Coefficient of Variation (CV)

{
  "resourceType": "Observation",
  "id": "e8e83abc-322e-444c-90c8-bf761ca5d376",
  "status": "final",
  "subject": {
    "display": "Example Patient"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
        "code": "cv",
        "display": "Coefficient of Variation (CV)"
      },
      {
        "system": "http://loinc.org",
        "code": "104638-2"
      }
    ]
  },
  "effectivePeriod": {
    "start": "2024-05-23",
    "end": "2024-08-21"
  },
  "valueQuantity": {
    "value": 13.770916239547502,
    "unit": "%",
    "system": "http://unitsofmeasure.org",
    "code": "%"
  }
}

Days of Wear

{
  "resourceType": "Observation",
  "id": "48a77c57-2ef7-44ee-857f-92c9a99ad1d8",
  "status": "final",
  "subject": {
    "display": "Example Patient"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
        "code": "days-of-wear",
        "display": "Days of Wear"
      }
    ]
  },
  "effectivePeriod": {
    "start": "2024-05-23",
    "end": "2024-08-21"
  },
  "valueQuantity": {
    "value": 15,
    "unit": "days",
    "system": "http://unitsofmeasure.org",
    "code": "d"
  }
}

Sensor Active Percentage

{
  "resourceType": "Observation",
  "id": "e1517403-d495-4c8f-9279-3ab0fb46e829",
  "status": "final",
  "subject": {
    "display": "Example Patient"
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/observation-category",
          "code": "laboratory",
          "display": "Laboratory"
        }
      ]
    }
  ],
  "code": {
    "coding": [
      {
        "system": "http://hl7.org/uv/cgm/CodeSystem/cgm-summary-codes-temporary",
        "code": "sensor-active-percentage",
        "display": "Sensor Active Percentage"
      }
    ]
  },
  "effectivePeriod": {
    "start": "2024-05-23",
    "end": "2024-08-21"
  },
  "valueQuantity": {
    "value": 15.384615384615385,
    "unit": "%",
    "system": "http://unitsofmeasure.org",
    "code": "%"
  }
}

SHLink with Raw Observations

{
  "shlinkJsonPayload": {
    "url": "https://joshuamandel.com/cgm/shl/120day_raw_obs_unguessable_shl_id0000000000",
    "flag": "LU",
    "key": "raw_obs_unguessable_random_key0000000000000",
    "label": "Josh's CGM Data"
  },
  "shlinkBare": "shlink:/eyJ1cmwiOiJodHRwczovL2pvc2h1YW1hbmRlbC5jb20vY2dtL3NobC8xMjBkYXlfcmF3X29ic191bmd1ZXNzYWJsZV9zaGxfaWQwMDAwMDAwMDAwIiwiZmxhZyI6IkxVIiwia2V5IjoicmF3X29ic191bmd1ZXNzYWJsZV9yYW5kb21fa2V5MDAwMDAwMDAwMDAwMCIsImxhYmVsIjoiSm9zaCdzIENHTSBEYXRhIn0",
  "shlink": "https://joshuamandel.com/cgm#shlink:/eyJ1cmwiOiJodHRwczovL2pvc2h1YW1hbmRlbC5jb20vY2dtL3NobC8xMjBkYXlfcmF3X29ic191bmd1ZXNzYWJsZV9zaGxfaWQwMDAwMDAwMDAwIiwiZmxhZyI6IkxVIiwia2V5IjoicmF3X29ic191bmd1ZXNzYWJsZV9yYW5kb21fa2V5MDAwMDAwMDAwMDAwMCIsImxhYmVsIjoiSm9zaCdzIENHTSBEYXRhIn0"
}

Raw Observations Bundle (FHIR)