Esempio n. 1
0
        public static object RetriveMedicalEvent_PMO_Diad(int patientId, bool pPMOQuir, bool pRetrive_CEI10, bool pRetrive_PMOMetodoComplementario)
        {
            RetriveMedicalEventPMO_DiagReq req = new RetriveMedicalEventPMO_DiagReq();

            req.BusinessData.PatientId = patientId;

            req.BusinessData.Retrive_PMOQuir = pPMOQuir;
            req.BusinessData.Retrive_PMOMetodoComplementario = pRetrive_PMOMetodoComplementario;
            req.BusinessData.Retrive_CEI10 = pRetrive_CEI10;

            RetriveMedicalEventPMO_DiagRes res = req.ExecuteService <RetriveMedicalEventPMO_DiagReq, RetriveMedicalEventPMO_DiagRes>(req);

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

            return(res.BusinessData);
        }
Esempio n. 2
0
        public static object RetriveMedicalEvent_PMO_Diad(int patientId, bool pPMOQuir, bool pRetrive_CEI10, bool pRetrive_PMOMetodoComplementario)
        {
            RetriveMedicalEventPMO_DiagReq req = new RetriveMedicalEventPMO_DiagReq();
            req.BusinessData.PatientId = patientId;

            req.BusinessData.Retrive_PMOQuir = pPMOQuir;
            req.BusinessData.Retrive_PMOMetodoComplementario = pRetrive_PMOMetodoComplementario;
            req.BusinessData.Retrive_CEI10 = pRetrive_CEI10;

            RetriveMedicalEventPMO_DiagRes res = req.ExecuteService<RetriveMedicalEventPMO_DiagReq, RetriveMedicalEventPMO_DiagRes>(req);

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

            return res.BusinessData;
        }