getDRGRecords() public method

public getDRGRecords ( AbstractConnection cxn ) : Drg[]
cxn AbstractConnection
return Drg[]
コード例 #1
0
ファイル: EncounterLib.cs プロジェクト: OSEHRA/mdws
        public TaggedDrgArrays getDRGRecords()
        {
            TaggedDrgArrays result = new TaggedDrgArrays();

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

            try
            {
                EncounterApi api = new EncounterApi();
                IndexedHashtable t = api.getDRGRecords(mySession.ConnectionSet);
                result = new TaggedDrgArrays(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e);
            }
            return result;
        }