Exemple #1
0
        public override GetPatientEventRes Execute(GetPatientEventReq pServiceRequest)
        {
            GetPatientEventRes wRes = new GetPatientEventRes();

            wRes.BusinessData = MedicalEventDAC.GetEvent(pServiceRequest.BusinessData.MedicalEventId);
            var details = MedicalEventDAC.Retrive_MedicalEventDetail_ViewList(pServiceRequest.BusinessData.MedicalEventId);

            wRes.BusinessData.DetailView_Quirurgicos            = details.Get_Quirurgicos();
            wRes.BusinessData.DetailView_Diagnosis              = details.Get_Diagnosis();
            wRes.BusinessData.DetailView_MetodosComplementarios = details.Get_Metodo_Complementarios();
            return(wRes);
        }