private PATIENTIDENTIFICATION(PATIENTNAME patientName, string dateOfBirth, string dateOfBirthPrecision, string sex, PATIENTADDRESS patientAddress, string phoneNumber, string maritalStatus, INTERNALPATIENTID internalpatientid)
 {
     PATIENT_NAME = patientName;
     DATE_OF_BIRTH = dateOfBirth;
     DATE_OF_BIRTH_PRECISION = dateOfBirthPrecision;
     SEX = sex;
     PATIENT_ADDRESS = patientAddress;
     PHONE_NUMBER = phoneNumber;
     MARITAL_STATUS = maritalStatus;
     AddId(internalpatientid);
 }
        public static PATIENTIDENTIFICATION Create()
        {
            var p=new PATIENTIDENTIFICATION();

            p.PATIENT_NAME=PATIENTNAME.Create();
            p.PATIENT_ADDRESS=PATIENTADDRESS.Create();
            //p.INTERNAL_PATIENT_ID = INTERNALPATIENTID.Create();
            p.MOTHER_DETAILS=MOTHERDETAILS.Create();
            p.EXTERNAL_PATIENT_ID = EXTERNALPATIENTID.Create();

            return p;
        }
 public static PATIENTIDENTIFICATION Create(PATIENTNAME patientName, string dateOfBirth, string dateOfBirthPrecision, string sex, PATIENTADDRESS patientAddress, string phoneNumber, string maritalStatus, INTERNALPATIENTID internalpatientid)
 {
     return new PATIENTIDENTIFICATION(patientName,dateOfBirth,dateOfBirthPrecision,sex,patientAddress,phoneNumber,maritalStatus,internalpatientid);
 }