RPV-340
Reverted to previous logging of patient.getUnitcode()