10 likes | 142 Vues
The MWTM APIs provide essential functions for managing schedule events, including changing event times, updating statuses, and handling prescriptions. Key features include the ability to move schedule events, validate execution statuses, and retrieve a list of patients ready for medication. Additionally, the API allows for the cleaning of dirty flags from schedule events, ensuring up-to-date and accurate scheduling. This makes it a powerful tool for healthcare providers aiming to maintain an efficient medication regimen for patients.
E N D
MWTM APIs • // Clean timer table for schedule events • VOID MWTMShutdown(); • // Change schedule event time • BOOL MWTMMoveScheduleEvent( IN LPWSTR EventId, IN TIME NewExecutionTime); • OUT BOOL *Permission, OUT LPWSTR Reason • // Change status from ScheduleEventStatusValid to ScheduleEventStatusRecord • BOOL MWTMEventIsExecuted(IN WCHAR EventId); • // Delete and create schedule events for old and new prescription • BOOL MWTMPrescriptionChange(IN LPWSTR OldPrescriptionId, IN LPWSTR NewPrescription); • // Return a list of patient ids that have medications to be taken this time • BOOL MWTMGetReadyPatientList(IN WCHAR NurseId); • OUT LPWSTR *PatientIds • // Clean all dirty flag of schedule events • VOID MWTMCleanDirty();