Downloads Documentation Community Contribute Demo






Show Sidebar
Login | Register
Show
Ignore:
Timestamp:
07/02/08 19:40:36 (5 months ago)
Author:
bmckown
Message:

Merging trunk to complex-obs [4379][4764]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • openmrs/branches/complex-obs/src/api/org/openmrs/Patient.java

    r4417 r4785  
    199199        } 
    200200 
     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         */ 
    201209        public void removeIdentifier(PatientIdentifier patientIdentifier) { 
    202                 if (getIdentifiers() != null
     210                if (getIdentifiers() != null && patientIdentifier != null
    203211                        identifiers.remove(patientIdentifier); 
    204212        } 
    205  
    206213         
    207214        /**