예제 #1
0
        public static void UpdateMedicalEvent(MedicalEventBE medicalEvent)
        {
            UpdatePatientEventReq req = new UpdatePatientEventReq();

            req.BusinessData = medicalEvent;

            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.ContextInformation.AppId  = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString();

            UpdatePatientEventRes res = req.ExecuteService <UpdatePatientEventReq, UpdatePatientEventRes>(req);

            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }
        }
예제 #2
0
        public static void UpdateMedicalEvent(MedicalEventBE medicalEvent)
        {
            UpdatePatientEventReq req = new UpdatePatientEventReq();

            req.BusinessData = medicalEvent;

            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.ContextInformation.AppId = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString();

            UpdatePatientEventRes res = req.ExecuteService<UpdatePatientEventReq, UpdatePatientEventRes>(req);

            if (res.Error != null)
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);


        }