10 likes | 131 Views
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
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();