- Timestamp:
- 07/02/08 19:40:36 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
openmrs/branches/complex-obs/src/api/org/openmrs/Patient.java
r4417 r4785 199 199 } 200 200 201 /** 202 * Convenience method to remove the given identifier from this patient's 203 * list of identifiers. 204 * 205 * If <code>patientIdentifier</code> is null, nothing is done. 206 * 207 * @param patientIdentifier the identifier to remove 208 */ 201 209 public void removeIdentifier(PatientIdentifier patientIdentifier) { 202 if (getIdentifiers() != null )210 if (getIdentifiers() != null && patientIdentifier != null) 203 211 identifiers.remove(patientIdentifier); 204 212 } 205 206 213 207 214 /**