gov.va.medora.mdws.PatientLib.getPatientAssociatesMS C# (CSharp) Method

getPatientAssociatesMS() public method

public getPatientAssociatesMS ( ) : TaggedPatientAssociateArrays
return gov.va.medora.mdws.dto.TaggedPatientAssociateArrays
        public TaggedPatientAssociateArrays getPatientAssociatesMS()
        {
            TaggedPatientAssociateArrays result = new TaggedPatientAssociateArrays();
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                PatientApi api = new PatientApi();
                IndexedHashtable t = api.getPatientAssociates(mySession.ConnectionSet);
                return new TaggedPatientAssociateArrays(t);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e.Message);
            }
            return result;
        }