Added medical record Id to createMedicalRecord