Changeset 5183 for openmrs/branches/data_synchronization_bidirectional/src/api/org/openmrs/api/PatientService.java
- Timestamp:
- 08/06/08 17:17:55 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/data_synchronization_bidirectional/src/api/org/openmrs/api/PatientService.java
r4969 r5183 146 146 * @param name (optional) this is a slight break from the norm, patients with a 147 147 * partial match on this name will be returned 148 * @param (optional)identifier only patients with a matching identifier are returned 149 * @param (optional)identifierTypes the PatientIdentifierTypes to restrict to 148 * @param identifier (optional) only patients with a matching identifier are returned 149 * @param identifierTypes (optional) the PatientIdentifierTypes to restrict to 150 * @param matchIdentifierExactly (required) if true, then the given <code>identifier</code> 151 * must equal the id in the database. if false, then the identifier is 'searched' for 152 * by using a regular expression 150 153 * @return patients that matched the given criteria (and are not voided) 151 154 * @throws APIException 155 */ 156 @Transactional(readOnly = true) 157 @Authorized( { OpenmrsConstants.PRIV_VIEW_PATIENTS }) 158 public List<Patient> getPatients(String name, String identifier, List<PatientIdentifierType> identifierTypes, boolean matchIdentifierExactly) 159 throws APIException; 160 161 /** 162 * @deprecated replaced by {@link #getPatients(String, String, List, boolean)} 152 163 */ 153 164 @Transactional(readOnly = true)