Data Events - EMWR
Sample Scenario
| Data Point | Value | unit |
|---|---|---|
| data → timestamp | 2020-08-03T05:00:00Z | UTC |
| data → event | W-126 - Cgm session not started | |
| data → reaction | acknowledged | Possible values : "acknowledged", "missed", "snoozed", "suppressed", "other" |
Note : Reference to the observation EWM resource is made from the source resource having the event trigerred.
Observation resource for event - EWM
{
"resourceType": "Observation",
"id": "id-observation-EMWR-W-126",
"meta": {
"profile": [
"http://roche.com/fhir/rdc/StructureDefinition/observation-EWM"
]
},
"identifier": [
{
"system": "http://roche.com/fhir/rdc/sid/observation/sinovo",
"value": "cdf.dev.im/SINOVO/SINOVOConnectionCenter/1.0.20/smartPhone/SCC-TkcxHsM0NTY4SB/SamsungGalaxy/WARNING/W-126/2P0tI8p-SF9-6850/2020-04-26T10:55:00+09:00"
}
],
"status": "final",
"category": [
{
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "EWM",
"display": "Error, Warning, Maintenance, Status"
}
]
}
],
"code": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "WARNING",
"display": "Warning"
}
]
},
"subject": {
"reference": "Patient/2P0tI8p-SF9-6850"
},
"effectiveDateTime": "2020-04-26T10:55:00+09:00",
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/patient-timezone",
"valueString": "+09:00"
}
],
"performer": [
{
"reference": "Patient/2P0tI8p-SF9-6850"
}
],
"valueCodeableConcept": {
"coding": [
{
"system": "http://roche.com/fhir/rdc/cs",
"code": "W-126",
"display": "Cgm session not started"
}
]
},
"device": {
"reference": "Device/id-device"
},
"extension": [
{
"url": "http://roche.com/fhir/rdc/StructureDefinition/event-reaction",
"valueString": "acknowledged"
}
]
}
EMWR Event Type
This section describes handling different EMWR types like Error, Warning, Maintenance, Information. The following coding section needs to be added to the Observation.valueCodeableConcept, based on the type of the Event.
For example:
"code": { "coding": [ { "system": "http://roche.com/fhir/rdc/cs", "code": "WARNING", "display": "Warning" } ] }
FHIR coding for all possible sample types - Event types
| Sample type | System | Code | Display |
|---|---|---|---|
| Error | http://roche.com/fhir/rdc/cs | ERROR | Error |
| Maintenance | http://roche.com/fhir/rdc/cs | MAINTENANCE | Maintenance |
| Warning | http://roche.com/fhir/rdc/cs | WARNING | Warning |
| Reminder | http://roche.com/fhir/rdc/cs | REMINDER | Reminder |
| Message | http://roche.com/fhir/rdc/cs | INFO | Info |
EMWR Event Name
This section describes handling different EMWR names mentioned in the table below. The event name from the table is added to valueCodeableConcept section "Observation.valueCodeableConcept", based on the type of the Event.
For example:
"valueCodeableConcept": { "coding": [ { "system": "http://roche.com/fhir/rdc/cs", "code": "W-126", "display": "Cgm session not started" } ] }
FHIR coding for all possible sample types - Event Names
| Event type | System | Code | Display |
|---|---|---|---|
| Error | http://roche.com/fhir/rdc/cs | E-101 | Transmitter not found |
| Error | http://roche.com/fhir/rdc/cs | E-102 | CGM app was terminated due to an internal error |
| Error | http://roche.com/fhir/rdc/cs | E-104 | Memory full |
| Error | http://roche.com/fhir/rdc/cs | E-105 | Time outside of limits |
| Error | http://roche.com/fhir/rdc/cs | E-106 | Data integrity corrupted |
| Error | http://roche.com/fhir/rdc/cs | E-107 | Error in flow monitor |
| Error | http://roche.com/fhir/rdc/cs | E-108 | Error in flow control |
| Error | http://roche.com/fhir/rdc/cs | E-111 | CGM was terminated due to an EMWR error |
| Error | http://roche.com/fhir/rdc/cs | E-112 | Session ended because wrong dialog was shown |
| Error | http://roche.com/fhir/rdc/cs | E-125 | Incorrect CGM system |
| Information | http://roche.com/fhir/rdc/cs | I-101 | Calibration not possible |
| Information | http://roche.com/fhir/rdc/cs | I-102 | End session rcommended (repeating sensor failures) |
| Information | http://roche.com/fhir/rdc/cs | I-103 | Calibration failed |
| Maintenance | http://roche.com/fhir/rdc/cs | M-102 | Incorrect sensor type |
| Maintenance | http://roche.com/fhir/rdc/cs | M-115 | Sensor must be calibrated |
| Maintenance | http://roche.com/fhir/rdc/cs | M-116 | Transmitter battery empty |
| Maintenance | http://roche.com/fhir/rdc/cs | M-117 | Sensor malfunctioning |
| Maintenance | http://roche.com/fhir/rdc/cs | M-118 | Connection lost to transmitter |
| Maintenance | http://roche.com/fhir/rdc/cs | M-119 | No transmitter in range |
| Maintenance | http://roche.com/fhir/rdc/cs | M-120 | Session ended because sensor operation time expired |
| Maintenance | http://roche.com/fhir/rdc/cs | M-122 | Sensor temperature too low |
| Maintenance | http://roche.com/fhir/rdc/cs | M-123 | Sensor temperature too high |
| Maintenance | http://roche.com/fhir/rdc/cs | M-124 | Smartphone battery almost empty |
| Maintenance | http://roche.com/fhir/rdc/cs | M-125 | Connection failure to transmitter |
| Remainder | http://roche.com/fhir/rdc/cs | R-100 | Calibration required reminder |
| Remainder | http://roche.com/fhir/rdc/cs | R-101 | Calibration recommended |
| Remainder | http://roche.com/fhir/rdc/cs | R-102 | CGM session will end soon |
| Warning | http://roche.com/fhir/rdc/cs | W-101 | Incorrect pin |
| Warning | http://roche.com/fhir/rdc/cs | W-103 | Invalid bg/insulin/carb entry |
| Warning | http://roche.com/fhir/rdc/cs | W-107 | Transmitter malfunctioning |
| Warning | http://roche.com/fhir/rdc/cs | W-108 | Sensor malfunctioning |
| Warning | http://roche.com/fhir/rdc/cs | W-109 | Cannot undo action |
| Warning | http://roche.com/fhir/rdc/cs | W-111 | End cgm session confirmation |
| Warning | http://roche.com/fhir/rdc/cs | W-112 | Smartphone rooted |
| Warning | http://roche.com/fhir/rdc/cs | W-126 | Cgm session not started |
| Warning | http://roche.com/fhir/rdc/cs | W-130 | Smartphone not supported |
| Warning | http://roche.com/fhir/rdc/cs | W-132 | High CGM warning |