[#ARCH-94 change Patient Model]

Add null checks for mergeHl7 movestudies, movepps and move modality
worklist
fix check
[#ARCH-103] Provide methods to link and unlink two patients
[#ARCH-102  Provide Tests for the Patient Service To Accomodate PatientModel Changes ]
Fix null pointer consideration for linked ids