- Data group 3a
- Vital signs and lab related data points
- Tags [Deprecated]
- Tags [Revised approach]
- Activity related data points
- Meal related data points
- Insights related medical data
- User therapy settings
- Hardware connected
- Body Height
- Devices used and medication related settings
- Target ranges settings
- Diabetes type
- Medication related data bolus correction and food bolus
- Medication related data drug name and quantity
Tags [Deprecated]
Sample scenario:
The following scenario is when the tags are entered standalone (not associated with any other measurement). For the sake of simplicity we have considered a scenario where all the tags are selected.
NOTE: Subject to change depending on the spike for analysing tags - FHIRSTACK-1630
| Tag | code - display | detail |
|---|---|---|
| ALLERGIES | 419199007 - Allergy to substance (finding) | Health-event-observation |
| BINGING | 248122005 - Binging (finding) | Health-event-observation |
| CARB_GUESS | 225387002 - Nutrient intake assessment (procedure) | Health-event-observation |
| CATHETER_CHANGE | Replacement of catheter (procedure) | observation-EWM |
| CHILLING | 128975004 - Resting state (finding) | Health-event-observation |
| DRIVING | 129060000 - Driving (observable entity) | extension event-timing |
| DRUNK | 102897001 - Feeling drunk | Health-event-observation |
| EATING_OUT | 162544008 - Eats in restaurants (finding) | extension event-timing |
| EXCITED | 224969003 - Feeling excited (finding) | health-event-observation |
| FOOT_ON_THE_FLOOR | 398140007 - Somogyi phenomenon | Health-event-observation |
| HAPPY | 112080002 - Cheerful mood (finding) | health-event-observation |
| HEADACHE | 25064002 - Headache (finding) | Health-event-observation |
| HOUSEWORK | 129014002 - Doing housework (observable entity) | extension event-timing |
| HUNG_OVER | 32553006 - Hangover (finding) | Health-event-observation |
| MENSTRUATION | 307428004 - During menstruation (qualifier value) | Health-event-observation |
| NEEDLE_CHANGE | 384728007 - Replacement of device (procedure) | observation-EWM |
| NERVOUS | 424196004 - Feeling nervous (finding) | Health-event-observation |
| OFFICE_WORK | 160923008 - Sedentary job (finding) | extension event-timing |
| ON_THE_ROAD | 129018004 - Traveling (observable entity) | extension event-timing |
| PAIN | 22253000 - Pain (finding) | Health-event-observation |
| PARTY | 405075006 - Social involvement behavior (observable entity) | extension event-timing |
| PISSED_OFF | 75408008 - Feeling angry (finding) | Health-event-observation |
| REAL_WORK | 261041009 - Working, function (observable entity) | extension event-timing |
| SAD | 420038007 - Feeling unhappy (finding) | Health-event-observation |
| SHIFT_WORK | 266961004 - Shift worker (finding) | extension event-timing |
| SHOPPING | 129011005 - Shopping (observable entity) | extension event-timing |
| SLEEPING | 258158006 - Sleep, function (observable entity) | extension event-timing |
| SPECIAL_SITUATION | 74964007 - Other (qualifier value) | extension event-timing |
| SPORTS | 14468000 - Sports activity (observable entity) | extension event-timing |
| TIRED | 224960004 - Tired (finding) | Health-event-observation |
| TRAVELLING | 129018004 - Traveling (observable entity) | extension event-timing |
| VACATION | 160928004 - Amount of time off work (observable entity) | extension event-timing |
| WORK | 224409005 - Time spent working away from home (observable entity) | extension event-timing |
FHIR bundle:
Tags [Revised approach]
This approach to handle TAGS is focused on capturing the concept in a generic and de-coupled way. Also, not changing the approach entirely for BG tags since that will impact the current integration with RDCP.
The mySugr TAGs are basically catogorized as follows.
- event-timing (like after-meal, bedtime etc). They basically define the timing of the measurement wrt meals, sports etc.
- diet-intake (like breakfast, lunch etc). These are tags that indicate a meal intake
- health-event (stress, nervous etc..). These are tags that indicate a feeling/health status of the user
- activity (like sports, driving etc.). These are tags that indicate an activity a user performed
- event related to device (like catheter change, needle change). These are events related to a device.
Each TAG can fall under one or more than one category depending on the scenario. For instance, the tag "driving" could be an activity observation when standalone and when accompanied with any measurement it also means an event-timing.
TAGs Data Group 3:
| mySugr Tag | Category | FHIR Modelling when STANDALONE | FHIR Modelling when associated with BG | FHIR Modelling when associated with any other measurement |
|---|---|---|---|---|
| ALLERGIES | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| CARB_GUESS** | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| CHILLING | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| DRUNK | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| EXCITED | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| FOOT_ON_THE_FLOOR | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| HAPPY | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| HEADACHE | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| HUNG_OVER | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| MENSTRUATION | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| NERVOUS | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| PAIN | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| PISSED_OFF | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| SAD | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| TIRED | health-event | health-event (standalone) | health-event-observation (referenced in the BG Observation) | health-event-observation (standalone) |
| DRIVING | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| BINGING | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| EATING_OUT | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| HOUSEWORK | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| OFFICE_WORK | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| ON_THE_ROAD | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| PARTY | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| REAL_WORK | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| SHIFT_WORK | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| SHOPPING | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| SLEEPING | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| SPECIAL_SITUATION | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| SPORTS | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| TRAVELLING | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| VACATION | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| WORK | activity + event-timing (when accompanied with a measurement) | activity-observation (standalone) | extension event-timing on bg-observation + activity-observation (referenced in the BG Observation) | extension event-timing on the relevant resource* + activity-observation (standalone) |
| NEEDLE_CHANGE | event related to device | EWM-observation (standalone) | EWM-observation (referenced in the BG Observation) | EWM-observation (standalone) |
| CATHETER_CHANGE | event related to device | EWM-observation (standalone) | EWM-observation (referenced in the BG Observation) | EWM-observation (standalone) |
**CARB_GUESS does not fall in any of the above categories. The original proposed modelling was that of a health-event. So we continue with the same.
*Relevant resources with which TAGs can be associated in data group 0/1/2/3 are documented in the table below.
| mySugr data point | FHIR resource type | Detail |
|---|---|---|
| blood_glucose | Observation | bg-observation |
| meal-carbohydrates | Observation | carbs-observation |
| exercise_description_text | Observation | activity-observation |
| exercise_duration | Observation | activity-metric-observation |
| exercise_intensitiy | Observation | activity-metric-observation |
| steps_count | Observation | activity-metric-observation |
| meal_description_text; meal_image(s); logentry_nutritional_constituents | Observation | diet-intake-observation |
| blood_pressure_diastolic ; blood_pressure_systolic | Observation | vital-signs-observation |
| body_weight | Observation | vital-signs-observation |
| body_mass_index | Observation | vital-signs-observation |
| ketones | Observation | laboratory-observation |
| hba1c | Observation | laboratory-observation |
| pen_bolus_injection_units; bolus_correction_insulin_units; bolus_food_insulin_units | MedicationAdministration | |
| pen_basal_injection_units | MedicationAdministration | |
| logentry_medication_name; logentry_medication_amount | MedicationAdministration |
Editing and Deleting of tags
- If a tag is unmarked/unselected for a log entry then:
- tags with event-timing category - then the parent resource that holds the extension will be updated. The updated resource will no more have the event-timing extension for that tag. (see the chapter Edited values - Final approach)
- tags with health-event/diet-intake/activity category - since these are modelled as separate resources, in this case the tag resource needs to be cancelled. (see the chapter Deleted values - Final approach)
- If a measurement is added to the log entry which already has tags
- If BG measurement is added:
- tags with event-timing category - Send the BG Observation with the respective event-timing extension
- tags with health-event/diet-intake/activity category - Send the BG observation with references to the respective tag resources
- If any other measurement is added:
- tags with event-timing category - Send the relevant measurement resource with the respective event-timing extension
- tags with health-event/diet-intake/activity category - Send the relevant resource. (No need to reference the related tag observations. The effectiveDateTime will be the same across all the resources in the log entry)
- If BG measurement is added:
- If a measurement is removed from a log entry which already has tags
- Only the relevant measurement resource will be cancelled. (see the chapter Deleted values - Final approach)
NOTE: More details are available in the spike documentation on Confluence- https://confluence.rochedc.accentureanalytics.com/x/X4B-B
Sample Bundles:
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 |