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 spell information and then calls complete.

If location information needs to be updated a new instance of movement is created and completed.

If the new location is located in a different Ward than the current spell location, a policy trigger will be kicked off. As that is technically a transfer movement.

Returns:True
Return type:bool
submit(*args, **kwargs)[source]

Checks the submitted data and then calls submit.

If a location of 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 service linked to a valid location instance of pos type, as new Wards will need to be assigned to a point of service.

Returns:True
Return type:bool