public static MedicalEventDetail_ViewList RetriveMedicalEventDetails(int patientID, int?medicalEventId) { RetriveMedicalEventDetailsReq req = new RetriveMedicalEventDetailsReq(); req.BusinessData.PatientId = patientID; req.BusinessData.MedicalEventId = medicalEventId; req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); RetriveMedicalEventDetailsRes res = req.ExecuteService <RetriveMedicalEventDetailsReq, RetriveMedicalEventDetailsRes>(req); if (res.Error != null) { throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); } return(res.BusinessData); }
public static MedicalEventDetail_ViewList RetriveMedicalEventDetails(int patientID, int? medicalEventId) { RetriveMedicalEventDetailsReq req = new RetriveMedicalEventDetailsReq(); req.BusinessData.PatientId = patientID; req.BusinessData.MedicalEventId = medicalEventId; req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString(); RetriveMedicalEventDetailsRes res = req.ExecuteService<RetriveMedicalEventDetailsReq, RetriveMedicalEventDetailsRes>(req); if (res.Error != null) throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); return res.BusinessData; }