Example #1
0
        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);
        }
Example #2
0
        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;
        }