Deactivate Location

class auditing.nh_clinical_location_deactivate(pool, cr)[source]

This Activity is meant to audit the deactivation of a Location. location_id is the location that is going to be deactivated by the activity complete method.

A Location cannot be deactivated if there is a patient using it.

complete(*args, **kwargs)[source]

Calls complete and then sets the activity active parameter as False.