public static MedicalEvent_ViewList RetriveMedicalEvent(int patientId) { RetrivePatientEventReq req = new RetrivePatientEventReq(); req.BusinessData.PatientId = patientId; RetrivePatientEventRes res = req.ExecuteService <RetrivePatientEventReq, RetrivePatientEventRes>(req); if (res.Error != null) { throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); } return(res.BusinessData); }
public static MedicalEvent_ViewList RetriveMedicalEvent(int patientId) { RetrivePatientEventReq req = new RetrivePatientEventReq(); req.BusinessData.PatientId = patientId; RetrivePatientEventRes res = req.ExecuteService<RetrivePatientEventReq, RetrivePatientEventRes>(req); if (res.Error != null) throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error); return res.BusinessData; }