Details
-
Type:
Bug
-
Status: Closed
-
Priority:
TBD
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Platform 2.2.0, Core 2.2.0
-
Component/s: None
-
Labels:None
Description
If "name" is specified, identifier parameter is ignored. If "name" is null, identifier is used:
@Override @Transactional(readOnly = true) public List<Patient> getPatients(String name, String identifier, List<PatientIdentifierType> identifierTypes, boolean matchIdentifierExactly, Integer start, Integer length) throws APIException { return dao.getPatients(name != null ? name : identifier, start, length); }
Not sure if this needs to be fixed, but it should be documented.