Discharge¶
-
class
operations.nh_clinical_patient_discharge(pool, cr)[source]¶ Represents the action of a patient leaving the Hospital after completing his or her visit for any reason.
-
cancel(*args, **kwargs)[source]¶ Calls
canceland then opens (changes state to started) the last completed patientspell.It will also create and complete a
movementto the bed location the patient was previously located if it is still available. If not, the patient will be moved to the corresponding ward location parent of that bed.This operation will kick off a
policy triggeras this is technically equivalent to an admission back to the Hospital.Returns: TrueReturn type: bool
-
complete(*args, **kwargs)[source]¶ Calls
completeand then creates and completes a newmovementto the discharge location, which is a virtual location representing the patient is no longer in the Hospital.It will also complete the current
spell.Returns: TrueReturn type: bool
-