Inheritance: AbstractArrayTO
Exemplo n.º 1
0
        // This needs to be changed to a single-site call.
        public TaggedAdtArrays getInpatientMovesByCheckinId(string checkinId)
        {
            TaggedAdtArrays result = new TaggedAdtArrays();

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

            try
            {
                EncounterApi api = new EncounterApi();
                IndexedHashtable t = api.getInpatientMovesByCheckinId(mySession.ConnectionSet, checkinId);
                result = new TaggedAdtArrays(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
            }
            return result;
        }