예제 #1
0
        public PatientAllergy InitializePatientAllergy(PostInitializePatientAllergyRequest request)
        {
            PatientAllergy patientAllergy = null;

            try
            {
                PatientAllergyData data = EndpointUtil.InitializePatientAllergy(request);
                if (data != null)
                {
                    patientAllergy = Mapper.Map <PatientAllergy>(data);
                }
                return(patientAllergy);
            }
            catch (Exception ex) { throw ex; }
        }