getInpatientMoves() public method

public getInpatientMoves ( AbstractConnection cxn ) : Adt[]
cxn AbstractConnection
return Adt[]
Esempio n. 1
0
        public TaggedAdtArrays getInpatientMoves(string fromDate, string toDate, string iterLength)
        {
            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.getInpatientMoves(mySession.ConnectionSet, fromDate, toDate, iterLength);
                result = new TaggedAdtArrays(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
            }
            return result;
        }