getInpatientMoves() 공개 메소드

public getInpatientMoves ( AbstractConnection cxn ) : Adt[]
cxn AbstractConnection
리턴 Adt[]
예제 #1
0
파일: EncounterLib.cs 프로젝트: OSEHRA/mdws
        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;
        }