public Patient[] nptMatch(string ssn) { NptPatientDao dao = new NptPatientDao(new NptConnection(new DataSource())); return dao.getPatient(ssn); }
/// <summary> /// Match on Patient.Name, Patient.DOB, and Patient.SSN /// </summary> /// <param name="patient">The patient to match</param> /// <param name="connectionString">The SQL connection string</param> /// <returns>An array of matching patients</returns> public Patient[] nptLookup(Patient patient) { NptPatientDao dao = new NptPatientDao(new NptConnection(new DataSource())); return dao.getPatient(patient); }