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); } }
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); }