Exemple #1
0
        public static MutualPorPacienteList GetPatient_Mutuals(int patientId)
        {
            GetObraSocialPorPatientReq req = new GetObraSocialPorPatientReq();

            //req.BusinessData.Apellido = ;

            req.BusinessData.PatientId    = patientId;
            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.ContextInformation.AppId  = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString();

            GetObraSocialPorPatientRes res = req.ExecuteService <GetObraSocialPorPatientReq, GetObraSocialPorPatientRes>(req);


            if (res.Error != null)
            {
                throw Fwk.Exceptions.ExceptionHelper.ProcessException(res.Error);
            }
            return(res.BusinessData);
        }
Exemple #2
0
        public static MutualPorPacienteList GetPatient_Mutuals(int patientId)
        {
            GetObraSocialPorPatientReq req = new GetObraSocialPorPatientReq();

            //req.BusinessData.Apellido = ;

            req.BusinessData.PatientId = patientId;
            req.ContextInformation.UserId = frmBase_TabForm.IndentityUserInfo.ProviderId.ToString();
            req.ContextInformation.AppId = Controller.CurrentHealthInstitution.HealthInstitutionId.ToString();

            GetObraSocialPorPatientRes res = req.ExecuteService<GetObraSocialPorPatientReq, GetObraSocialPorPatientRes>(req);


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