User therapy settings

Note: If all the columns of the table are not visible, please reduce the zoom % of the browser

The following mySugr therapy settings are modelled on FHIR:

mySugr Data Point mySugr Unit mySugr Description FHIR Resource & Element Integrated with SPOL FHIR Sample
mysugr.therapy.bodyHeight.unit string possible values are cm, ft, m Observation.valueQuantity (category=Vital-signs; code=8302-2) unit - cm, ft, m No Body height
mysugr.therapy.bodyHeight.value string - Observation.valueQuantity (category=Vital-signs; code=8302-2) No Body height
hardware.connected string List of successfully paired meters in mySugrapp DeviceComponent.extension:pairedIp (map in valueString only when type.coding.code=smartPhone) No Hardware connected
mysugr.therapy.bodyweight.target.lower string - Goal.detailRange (category=patientTargetRange; code=29463-7) No Target ranges
mysugr.therapy.bodyweight.target.upper string - Goal.detailRange (category=patientTargetRange; code=29463-7) No Target ranges
mysugr.therapy.bp.diastolic.target.lower string - Goal.detailRange (category=patientTargetRange; code=271650006) No Target ranges
mysugr.therapy.bp.diastolic.target.upper string - Goal.detailRange (category=patientTargetRange; code=271650006) No Target ranges
mysugr.therapy.bp.systolic.target.lower string - Goal.detailRange (category=patientTargetRange; code=271649006) No Target ranges
mysugr.therapy.bp.systolic.target.upper string - Goal.detailRange (category=patientTargetRange; code=271649006) No Target ranges
mysugr.therapy.hba1c.target.lower string - Goal.detailRange (category=patientTargetRange; code=59261-8) No Target ranges
mysugr.therapy.hba1c.target.upper string - Goal.detailRange (category=patientTargetRange; code=59261-8) No Target ranges
mysugr.therapy.bg.hyper string Blood glucose - Hyperglycemia Goal.detailQuantity (category=80394007; code=32016-8) No Target ranges
mysugr.therapy.bg.hypo string Blood glucose - Hypoglycemia Goal.detailQuantity (category=302866003; code=32016-8) No Target ranges
mysugr.therapy.bg.target.lower string Blood glucose - target lower Goal.detailRange (category=patientTargetRange; code=32016-8) No Target ranges
mysugr.therapy.bg.target.upper string Blood glucose - target upper Goal.detailRange (category=patientTargetRange; code=32016-8) No Target ranges
mysugr.therapy.diabetestype string Blood glucose - diabetestype Condition.code(code=46635009) No Diabetes-type
therapy.type string How do patient take insulin? (Pen, Pump, Off) CarePlan.extension:therapyType (Patient Personal advance care plan) No Devices used and Medication related
therapy.bgmeter.type string Blood sugar meter name single selection CarePlan.extension:therapyBGmeterType (Patient Personal advance care plan) No Devices used and Medication related
mysugr.therapy.cgm boolean If the user has a CGM or not overall CarePlan.extension:therapyCgm (Patient Personal advance care plan) No Devices used and Medication related
mysugr.therapy.cgm.type string CGM used by the user CarePlan.extension:therapyCgmType (Patient Personal advance care plan) No Devices used and Medication related
mysugr.therapy.insulin.type string Insulin used by the user CarePlan.extension:careplan-therapy-insulin-type (Patient Personal advance care plan) No Devices used and Medication related
careplan-therapy-medication string Insulin used by the user CarePlan.extension:careplan-therapy-insulin-type (Patient Personal advance care plan) No Devices used and Medication related

The following data points in 3A related to the settings were not modelled in FHIR:

mySugr Data Point Reason
mysugr.care.hba1c.unit This is for Care platform to have an overview of all patients rendered in the same unit, this will not be relevant for modelling as we always receive data in the standardized unit
mysugr.care.weight.unit This is for Care platform to have an overview of all patients rendered in the same unit, this will not be relevant for modelling as we always receive data in the standardized unit.
mysugr.therapy.bodyweight.target Target is not a standalone data point. The .lower and .upper together form the target value
mysugr.therapy.bodyweight.unit This is not relevant for modelling as we always receive data in the standardized unit.
mysugr.therapy.bp.diastolic.target Target is not a standalone data point. The .lower and .upper together form the target value
mysugr.therapy.bp.systolic.target Target is not a standalone data point. The .lower and .upper together form the target value
mysugr.therapy.hba1c.unit This is not relevant for modelling as we always receive data in the standardized unit.
mysugr.therapy.bg.unit This is not relevant for modelling as we always receive data in the standardized unit.
mysugr.therapy.carbs.exchanges This is not relevant for modelling as we always receive data in the standardized unit.
mysugr.therapy.carbs.localunit This is not relevant for modelling as we always receive data in the standardized unit.
mysugr.therapy.health.conditions This is deprecated in the app
mysugr.therapy.health.conditions.custom This is deprecated in the app
mysugr.therapy.health.goals This is deprecated in the app
mysugr.therapy.insulin.pen.basal.shots This is deprecated in the app
mysugr.therapy.user.goals.custom This is deprecated in the app
mysugr.therapy.stepscount.target This is deprecated in the app

Hardware connected

Sample scenario:

List of successfully paired meters names by seperated with | character will be mapped under pairedIp extension (Object array (String))

FHIR bundle for sample scenario :

Command 'json' could not render: File not found for 'subject=example-mySugr-DG3-Other-settings-hardware-connected'

Body Height

Sample scenario:

  1. Body height - 119.3 cm is recorded by the user manually on the smart phone settings.
  2. Body height - 3.914042 feet is recorded by the user manually on the smart phone settings.
  3. Body height - 1.193 m is recorded by the user manually on the smart phone settings.

FHIR bundle for sample scenario [1]:

{
"resourceType": "Bundle",
"id": "1318898c-3553-4643-95cd-4f9884ce0b52",
"type": "message",
"entry": [
{
"resourceType": "MessageHeader",
"id": "id-messageHeader",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/message-header"
]
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/gdpr-controller",
"valueString": "<GDPR controller>"
}
],
"event": {
"system": "http://roche.com/fhir/rdc/message-type",
"code": "new-bundle",
"display": "New bundle generated"
},
"timestamp": "2020-06-24T13:00:16+00:00",
"source": {
"name": "mySugrApp",
"software": "mySugrBackend",
"version": "x.x",
"endpoint": "https://uudev-internal.rochedc.accentureanalytics.com/fhirmsg/rdc/v1.0.0/$process-message"
}
}
},
{
"resourceType": "Device",
"id": "id-device",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/phg-device"
]
},
"status": "active",
"type": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cdf",
"code": "cdf.dev.im",
"display": "Manual interface"
}
]
},
"manufacturer": "mySugr",
"model": "mySugrApp",
"version": "x.x"
}
},
{
"resourceType": "DeviceComponent",
"id": "id-deviceComponent-smartPhone",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/phd-devicecomponent"
]
},
"system": "http://roche.com/fhir/rdc/sid/device-identifier",
"value": "mySugrApp/712/450274815"
},
"type": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "smartPhone",
"display": "Smart Phone"
}
]
},
"lastSystemChange": "2020-06-24T13:05:16+00:00",
"source": {
"reference": "Device/id-device"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "serial-number",
"display": "Serial Number"
}
]
},
"productionSpec": "450274815"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "unspecified",
"display": "Unspecified Production Specification"
}
]
},
"productionSpec": "mySugrApp"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "part-number",
"display": "Part Number"
}
]
},
}
]
}
},
{
"resourceType": "DeviceMetric",
"id": "id-deviceMetric-Body-height",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
]
},
"system": "http://roche.com/fhir/rdc/sid/devicemetric-identifier",
"value": "8302-2"
},
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "Body height"
}
]
},
"unit": {
"coding": [
{
"system": "http://unitsofmeasure.org",
"code": "cm",
"display": "centimeter"
}
]
},
"source": {
"reference": "Device/id-device"
},
"parent": {
"reference": "DeviceComponent/id-deviceComponent-smartPhone"
},
"category": "measurement"
}
},
{
"resourceType": "Observation",
"id": "id-observation-body-height",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/vitalsigns-observation"
]
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/registered-timestamp",
"valueDateTime": "2020-06-24T13:00:00Z"
}
],
{
"system": "http://roche.com/fhir/rdc/sid/observation/mySugr",
"value": "<unique-obs-id>"
}
],
"status": "final",
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "Body height"
}
]
},
"subject": {
"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
},
"effectiveDateTime": "2020-06-24T13:00:16Z",
{
"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
}
],
"value": 119.3,
"unit": "cm",
"system": "http://unitsofmeasure.org",
"code": "cm"
},
"device": {
"reference": "DeviceMetric/id-deviceMetric-Body-height"
}
}
}
]
}

FHIR bundle for sample scenario [2]:

{
"resourceType": "Bundle",
"id": "1318898c-3553-4643-95cd-4f9884ce0b52",
"type": "message",
"entry": [
{
"resourceType": "MessageHeader",
"id": "id-messageHeader",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/message-header"
]
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/gdpr-controller",
"valueString": "<GDPR controller>"
}
],
"event": {
"system": "http://roche.com/fhir/rdc/message-type",
"code": "new-bundle",
"display": "New bundle generated"
},
"timestamp": "2020-06-24T13:00:16+00:00",
"source": {
"name": "mySugrApp",
"software": "mySugrBackend",
"version": "x.x",
"endpoint": "https://uudev-internal.rochedc.accentureanalytics.com/fhirmsg/rdc/v1.0.0/$process-message"
}
}
},
{
"resourceType": "Device",
"id": "id-device",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/phg-device"
]
},
"status": "active",
"type": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cdf",
"code": "cdf.dev.im",
"display": "Manual interface"
}
]
},
"manufacturer": "mySugr",
"model": "mySugrApp",
"version": "x.x"
}
},
{
"resourceType": "DeviceComponent",
"id": "id-deviceComponent-smartPhone",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/phd-devicecomponent"
]
},
"system": "http://roche.com/fhir/rdc/sid/device-identifier",
"value": "mySugrApp/712/450274815"
},
"type": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "smartPhone",
"display": "Smart Phone"
}
]
},
"lastSystemChange": "2020-06-24T13:05:16+00:00",
"source": {
"reference": "Device/id-device"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "serial-number",
"display": "Serial Number"
}
]
},
"productionSpec": "450274815"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "unspecified",
"display": "Unspecified Production Specification"
}
]
},
"productionSpec": "mySugrApp"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "part-number",
"display": "Part Number"
}
]
},
}
]
}
},
{
"resourceType": "DeviceMetric",
"id": "id-deviceMetric-Body-height",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
]
},
"system": "http://roche.com/fhir/rdc/sid/devicemetric-identifier",
"value": "8302-2"
},
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "Body height"
}
]
},
"unit": {
"coding": [
{
"system": "http://unitsofmeasure.org",
"code": "[ft_i]",
"display": "Feet"
}
]
},
"source": {
"reference": "Device/id-device"
},
"parent": {
"reference": "DeviceComponent/id-deviceComponent-smartPhone"
},
"category": "measurement"
}
},
{
"resourceType": "Observation",
"id": "id-observation-body-height",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/vitalsigns-observation"
]
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/registered-timestamp",
"valueDateTime": "2020-06-24T13:00:00Z"
}
],
{
"system": "http://roche.com/fhir/rdc/sid/observation/mySugr",
"value": "<unique-obs-id>"
}
],
"status": "final",
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "Body height"
}
]
},
"subject": {
"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
},
"effectiveDateTime": "2020-06-24T13:00:16Z",
{
"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
}
],
"value": 3.914042,
"unit": "[ft_i]",
"system": "http://unitsofmeasure.org",
"code": "[ft_i]"
},
"device": {
"reference": "DeviceMetric/id-deviceMetric-Body-height"
}
}
}
]
}

FHIR bundle for sample scenario [3]:

{
"resourceType": "Bundle",
"id": "1318898c-3553-4643-95cd-4f9884ce0b52",
"type": "message",
"entry": [
{
"resourceType": "MessageHeader",
"id": "id-messageHeader",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/message-header"
]
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/gdpr-controller",
"valueString": "<GDPR controller>"
}
],
"event": {
"system": "http://roche.com/fhir/rdc/message-type",
"code": "new-bundle",
"display": "New bundle generated"
},
"timestamp": "2020-06-24T13:00:16+00:00",
"source": {
"name": "mySugrApp",
"software": "mySugrBackend",
"version": "x.x",
"endpoint": "https://uudev-internal.rochedc.accentureanalytics.com/fhirmsg/rdc/v1.0.0/$process-message"
}
}
},
{
"resourceType": "Device",
"id": "id-device",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/phg-device"
]
},
"status": "active",
"type": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cdf",
"code": "cdf.dev.im",
"display": "Manual interface"
}
]
},
"manufacturer": "mySugr",
"model": "mySugrApp",
"version": "x.x"
}
},
{
"resourceType": "DeviceComponent",
"id": "id-deviceComponent-smartPhone",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/phd-devicecomponent"
]
},
"system": "http://roche.com/fhir/rdc/sid/device-identifier",
"value": "mySugrApp/712/450274815"
},
"type": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "smartPhone",
"display": "Smart Phone"
}
]
},
"lastSystemChange": "2020-06-24T13:05:16+00:00",
"source": {
"reference": "Device/id-device"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "serial-number",
"display": "Serial Number"
}
]
},
"productionSpec": "450274815"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "unspecified",
"display": "Unspecified Production Specification"
}
]
},
"productionSpec": "mySugrApp"
},
{
"coding": [
{
"system": "http://hl7.org/fhir/specification-type",
"code": "part-number",
"display": "Part Number"
}
]
},
}
]
}
},
{
"resourceType": "DeviceMetric",
"id": "id-deviceMetric-Body-height",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/dm-device-metric"
]
},
"system": "http://roche.com/fhir/rdc/sid/devicemetric-identifier",
"value": "8302-2"
},
"type": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "Body height"
}
]
},
"unit": {
"coding": [
{
"system": "http://unitsofmeasure.org",
"code": "m",
"display": "meter"
}
]
},
"source": {
"reference": "Device/id-device"
},
"parent": {
"reference": "DeviceComponent/id-deviceComponent-smartPhone"
},
"category": "measurement"
}
},
{
"resourceType": "Observation",
"id": "id-observation-body-height",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/vitalsigns-observation"
]
},
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/registered-timestamp",
"valueDateTime": "2020-06-24T13:00:00Z"
}
],
{
"system": "http://roche.com/fhir/rdc/sid/observation/mySugr",
"value": "<unique-obs-id>"
}
],
"status": "final",
{
"coding": [
{
"system": "http://hl7.org/fhir/observation-category",
"code": "vital-signs",
"display": "Vital Signs"
}
]
}
],
"code": {
"coding": [
{
"system": "http://loinc.org",
"code": "8302-2",
"display": "Body height"
}
]
},
"subject": {
"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
},
"effectiveDateTime": "2020-06-24T13:00:16Z",
{
"reference": "Patient/abcdefghijklmnopqrstuvxyz0123456789ABCDEFGHIJKLMNOPQRSTUVXYZ"
}
],
"value": 1.193,
"unit": "m",
"system": "http://unitsofmeasure.org",
"code": "m"
},
"device": {
"reference": "DeviceMetric/id-deviceMetric-Body-height"
}
}
}
]
}

Sample scenario:

  1. cgm-type: Glucose sensor - "Eversense Sensor" has selected in Blood sugar testing under profile & settings tab in mySugr app. (FHIR -> valueString)
  2. cgm: If sensor is selected then therapy cgm value should be true else false. (FHIR -> valueBoolean)
  3. bgmeter-type: Blood sugar meter was selected as "Accu-Check Aviva Expert" in Blood sugar testing under profile & settings tab in mySugr app. (FHIR -> valueString)
  4. therapy-type: User selected therapy type as "Pump" in Insulin Therapy under profile & settings tab in mySugr app. (FHIR -> valueCodeableConcept)
    Below are possible use cases:
    1. Pump (code:69805005 | display:"Insulin pump")
    2. Pen (code:CL936094 | display:"Pen Device")
    3. No Insulin (code:420680007 | display:"Off (qualifier value)")
  5. insulin-type: selecetd insulin types: "NovoLog", "Abasaglar"
  6. medication: selected medcations "Januvia", "Metformin"

NOTE: Each mySugr user will have a "Patient Personal advance care plan" which consolidates the devices used and the medication details of the user that is entered in the mySugr therapy settings. This careplan itself is a child of the master careplan (diabetes-management-careplan) for the user. There will be one master carePlan for a user which will be referenced by both "Patient Personal advance care plan" and the "target ranges care plan".

FHIR bundle for sample scenario :

Command 'json' could not render: File not found for 'subject=example-mysugr-DG3-user-settings-device-medication-related'

Target ranges settings

Sample scenario:

  1. Systolic blood pressure with lower range - 100 mm[Hg] and higher range - 120 mm[Hg] is recorded by the user manually on the smart phone settings.
  2. Diastolic blood pressure with lower range - 60 mm[Hg] and higher range - 80 mm[Hg] is recorded by the user manually on the smart phone settings.
  3. Body weight with lower range - 50 kg and higher range - 80 kg is recorded by the user manually on the smart phone settings.
  4. hba1c with lower range - 47 mmol/mol and higher range - 54 mmol/mol is recorded by the user manually on the smart phone settings.
  5. Bg Hyper - 180 mg/dL is recorded by the user manually for BG related therapy settings.
  6. Bg Hypo - 70 mg/dL is recorded by the user manually for BG related therapy settings.
  7. Bg Target with lower range - 90 mg/dL and higher range - 160 mg/dL is recorded by the user manually for BG related therapy settings.

NOTE: Each mySugr user will have a "target ranges care plan" which consolidates the target ranges settings by referencing the respective goal resources. This careplan itself is a child of the master careplan (diabetes-management-careplan) for the user. There will be one master carePlan for a user which will be referenced by both "Patient Personal advance care plan" and the "target ranges care plan".

FHIR bundle for sample scenario :

Command 'json' could not render: File not found for 'subject=example-mysugr-DG3-user-settings-target-ranges'

Diabetes type

Sample scenario:

Diabetes mellitus type 1 is recorded by the user manually for BG related therapy settings. For possible values with codes refer valueSet condition-code

FHIR bundle for sample scenario :

Command 'json' could not render: File not found for 'subject=example-mySugr-DG3-diabetes-type-condition'