medical_patient: fix boolean logic to respect provided internal_code at creation time
medical_patient: fix boolean logic to respect provided internal_code at creation time

ShaheenHossain/eagle-medical,laslabs/vertical-medical,ShaheenHossain/eagle-medical,laslabs/vertical-medical