Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
08/06/08 17:17:55 (5 months ago)
Author:
mseaton
Message:

synchronization_bidirectional_branch: merge from [4734] to [5181].

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/data_synchronization_bidirectional/src/api/org/openmrs/api/PatientService.java

    r4969 r5183  
    146146         * @param name (optional) this is a slight break from the norm, patients with a  
    147147         *              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  
    150153         * @return patients that matched the given criteria (and are not voided) 
    151154         * @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)} 
    152163         */ 
    153164        @Transactional(readOnly = true)