/
Device dispense auto-expiration
Published Oct 11, 2023
ЕСОЗ - публічна документація
Device dispense auto-expiration
Purpose
Device dispense auto-expiration process starts periodically based on the value of configuration parameter DEVICE_DISPENSES_AUTOEXPIRATION_SCHEDULE
. It cancels all device dispenses in status IN_PROGRESS that have passed expiration period
Service logic
Find device dispenses in status IN_PROGRESS where inserted_at +
device_dispense_ttl
(config param) in the pastUpdate device dispense status to UNKNOWN
Send
StatusChangeEvent
to Event Manager
, multiple selections available,
Related content
Device dispense configurable parameters
Device dispense configurable parameters
Read with this
Device dispense status model
Device dispense status model
Read with this
Create Device dispense
Create Device dispense
Read with this
Device Data Model
Device Data Model
Read with this
RC_Облік призначень медичних виробів
RC_Облік призначень медичних виробів
Read with this
Device request configurable parameters
Device request configurable parameters
Read with this
ЕСОЗ - публічна документація