Affects Version/s: None
Fix Version/s: 1.3-milestone-3
This will be in the family-studies module, and prevents editing of a patient when the patient's family doc is locked.
Algorithm: checks if this document is a patient and belongs to a family, and if yes, if said family is locked.
user: the family locking user
date: the family locking date
reason: "This patient's family is being edited by " + user