Spell Update¶
-
class
adt.nh_clinical_adt_spell_update(pool, cr)[source]¶ Represents the admission update operation in the patient management system. (A08 Message)
-
complete(*args, **kwargs)[source]¶ Overwrites the target
spellinformation and then callscomplete.If location information needs to be updated a new instance of
movementis created and completed.If the new location is located in a different Ward than the current spell location, a
policy triggerwill be kicked off. As that is technically a transfer movement.Returns: TrueReturn type: bool
-
submit(*args, **kwargs)[source]¶ Checks the submitted data and then calls
submit.If a
locationof ward usage with the provided code does not exist, it will create a new one.Due to this behaviour the user submitting the data must be related to a
point of servicelinked to a validlocationinstance of pos type, as new Wards will need to be assigned to a point of service.Returns: TrueReturn type: bool
-