Affects Version/s: None
Fix Version/s: 1.3-milestone-3
This will be in the patient-data-impl module, and prevents editing of the patient doc when the patient doc itself is locked.
Algorithm: checks if this document is a patient, and if yes, if it is locked by a user other than the current user.
user: the locking user
date: the locking date
reason: "This patient record is already being edited by " + user
Works just like BasicLockModule, but with a different reason message, and canOverride false.