Inheritance: AbstractArrayTO
Exemple #1
0
        public TaggedConsultArrays getConsultsForPatient()
        {
            TaggedConsultArrays result = new TaggedConsultArrays();

            if (!mySession.ConnectionSet.IsAuthorized)
            {
                result.fault = new FaultTO("Connections not ready for operation", "Need to login?");
            }
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                IndexedHashtable t = Consult.getConsultsForPatient(mySession.ConnectionSet);
                return new TaggedConsultArrays(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
                return result;
            }
        }