gov.va.medora.mdo.api.PatientApi.getPatientAssociates C# (CSharp) 메소드

getPatientAssociates() 공개 메소드

public getPatientAssociates ( ConnectionSet cxns ) : IndexedHashtable
cxns gov.va.medora.mdo.dao.ConnectionSet
리턴 IndexedHashtable
        public IndexedHashtable getPatientAssociates(ConnectionSet cxns)
        {
            return cxns.query(DAO_NAME, "getPatientAssociates", new Object[] { });
        }

Same methods

PatientApi::getPatientAssociates ( gov.va.medora.mdo.dao.AbstractConnection cxn, string pid ) : PatientAssociate[]

Usage Example

예제 #1
0
파일: PatientLib.cs 프로젝트: OSEHRA/mdws
        internal TaggedPatientAssociateArray getPatientAssociates(AbstractConnection cxn, string dfn)
        {
            TaggedPatientAssociateArray result = new TaggedPatientAssociateArray();
            if (dfn == "")
            {
                result.fault = new FaultTO("Missing dfn");
            }
            if (result.fault != null)
            {
                return result;
            }

            try
            {
                PatientApi patientApi = new PatientApi();
                PatientAssociate[] pas = patientApi.getPatientAssociates(cxn, dfn);
                result = new TaggedPatientAssociateArray(cxn.DataSource.SiteId.Id, pas);
            }
            catch (Exception e)
            {
                result.fault = new FaultTO(e.Message);
            }
            return result;
        }
All Usage Examples Of gov.va.medora.mdo.api.PatientApi::getPatientAssociates