Inheritance: IPatientDao
Ejemplo n.º 1
0
 public Patient[] nptMatch(string ssn)
 {
     NptPatientDao dao = new NptPatientDao(new NptConnection(new DataSource()));
     return dao.getPatient(ssn);
 }
Ejemplo n.º 2
0
 /// <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);
 }