Inheritance: AbstractArrayTO
コード例 #1
0
ファイル: OrdersLib.cs プロジェクト: OSEHRA/mdws
        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;
            }
        }