/**
   * gets patients without a given person attribute type
   *
   * @param patientAttributeId
   * @return
   */
  public List<Patient> getPatientWithNoGivenAttribute(int patientAttributeId) {
    PatientService patientService = Context.getPatientService();
    ArrayList<Patient> patientList = new ArrayList<Patient>();
    DataQualityService dqs = ((DataQualityService) Context.getService(DataQualityService.class));
    List<Integer> patientIds = dqs.getPatientsWithoutAttribute(patientAttributeId);
    for (Integer patientId : patientIds) {
      patientList.add(patientService.getPatient(patientId));
    }

    return patientList;
  }