Record Medication Compliance Event
This endpoint records a medication compliance event based on the provided request. Either a device ID, device identifier, or patient ID is required.
Headers
Impilo-API-Key
Request
This endpoint expects an object.
readingTimestamp
The UTC timestamp at which the reading was taken.
deviceId
The id of the device that took the reading.
deviceIdentifier
The device identifier of the device that took the reading.
deviceTimeZoneOffset
The offset of the device's timezone from UTC in seconds. Null if unavailable.
eventInfo
eventType
Allowed values:
manual
True if the reading value was entered manually, false or null otherwise.
patientId
The id of the patient that took the reading.
Response
OK
eventType
The event type generated.
Allowed values:
readingTimestamp
The UTC timestamp at which the reading was taken.
device
The device used to generate the event.
deviceTimeZoneOffset
The offset of the device's timezone from UTC in seconds. Null if unavailable.
eventInfo
Additional event information provided with the event.
id
Unique identifier for the reading.
item
The item used to generate the event.
manual
True if the reading value was entered manually, false or null otherwise.
patient
The patient who generated the event.
patientTimeZoneOffset
The offset of the patient's timezone from UTC in seconds. Null if unavailable.