Esempio n. 1
0
 protected PATIENT_IDENTIFICATION(ClientStage clientStage)
 {
     INTERNAL_PATIENT_ID     = Clients.INTERNAL_PATIENT_ID.Create(clientStage.ClientId, clientStage.Serial);
     PATIENT_NAME            = PATIENT_NAME.Create(clientStage.FirstName, clientStage.MiddleName, clientStage.LastName);
     DATE_OF_BIRTH           = clientStage.DateOfBirth.ToIqDateOnly();
     DATE_OF_BIRTH_PRECISION = clientStage.DateOfBirthPrecision;
     SEX     = clientStage.Sex;
     KEY_POP = new List <int> {
         clientStage.KeyPop
     };
     PATIENT_ADDRESS   = PATIENT_ADDRESS.Create(clientStage.Landmark);
     PHONE_NUMBER      = clientStage.Phone;
     MARITAL_STATUS    = clientStage.MaritalStatus;
     REGISTRATION_DATE = clientStage.RegistrationDate.ToIqDateOnly();
 }
Esempio n. 2
0
        protected PATIENT_IDENTIFICATION(ClientStage clientStage)
        {
            INTERNAL_PATIENT_ID     = Clients.INTERNAL_PATIENT_ID.Create(clientStage.ClientId, clientStage.Serial);
            PATIENT_NAME            = PATIENT_NAME.Create(clientStage.FirstName, clientStage.MiddleName, clientStage.LastName, clientStage.NickName);
            DATE_OF_BIRTH           = clientStage.DateOfBirth.ToIqDateOnly();
            DATE_OF_BIRTH_PRECISION = clientStage.DateOfBirthPrecision;
            SEX     = clientStage.Sex;
            KEY_POP = new List <int> {
                clientStage.KeyPop
            };
            PATIENT_ADDRESS = PATIENT_ADDRESS.Create(clientStage.Landmark, clientStage.County, clientStage.SubCounty, clientStage.Ward);
            PHONE_NUMBER    = clientStage.Phone;
            MARITAL_STATUS  = clientStage.MaritalStatus;

            EDUCATIONLEVEL   = clientStage.Education.ToIqLookup();
            EDUCATIONOUTCOME = clientStage.Completion.ToIqLookup();
            OCCUPATION       = clientStage.Occupation.ToIqLookup();

            REGISTRATION_DATE = clientStage.RegistrationDate.ToIqDateOnly();
        }