Esempio n. 1
0
        public TaggedConsultArray getConsultsForPatient()
        {
            TaggedConsultArray result = new TaggedConsultArray();

            try
            {
                OrdersLib           lib = new OrdersLib(mySession);
                TaggedConsultArrays ta  = lib.getConsultsForPatient();
                if (ta.fault != null)
                {
                    result.fault = ta.fault;
                    return(result);
                }
                result = ta.arrays[0];
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e.Message);
            }
            return(result);
        }
Esempio n. 2
0
        public TaggedConsultArray getConsultsForPatient()
        {
            TaggedConsultArray result = new TaggedConsultArray();

            try
            {
                OrdersLib lib = new OrdersLib(mySession);
                TaggedConsultArrays ta = lib.getConsultsForPatient();
                if (ta.fault != null)
                {
                    result.fault = ta.fault;
                    return result;
                }
                result = ta.arrays[0];
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e.Message);
            }
            return result;
        }