org.openmrs.api
Interface PatientService

All Superinterfaces:
OpenmrsService
All Known Implementing Classes:
PatientServiceImpl

@Transactional
public interface PatientService
extends OpenmrsService

Contains methods pertaining to Patients in the system Use:

   List patients = Context.getPatientService().getAllPatients();
 

See Also:
Context, Patient

Method Summary
 void checkPatientIdentifier(PatientIdentifier patientIdentifier)
          Convenience method to validate a patient identifier.
 void checkPatientIdentifiers(Patient patient)
          Convenience method to validate all identifiers for a given patient
 Patient createPatient(Patient patient)
          Deprecated. replaced by #savePatient(Patient)
 void deletePatient(Patient patient)
          Deprecated. replaced by purgePatient(Patient)
 void exitFromCare(Patient patient, java.util.Date dateExited, Concept reasonForExit)
          Convenience method to establish that a patient has left the care center.
 java.util.List<Patient> findDuplicatePatients(java.util.Set<java.lang.String> attributes)
          Deprecated. use getDuplicatePatientsByAttributes(List)
 Patient findPatient(Patient patientToMatch)
          Deprecated. use #getPatientByExample(Patient)
 java.util.List<Patient> findPatients(java.lang.String query, boolean includeVoided)
          Deprecated. use #getPatients(String)
 java.util.List<Tribe> findTribes(java.lang.String search)
          Deprecated. tribe will be moved to patient attributes
 java.util.Collection<IdentifierValidator> getAllIdentifierValidators()
           
 java.util.List<PatientIdentifierType> getAllPatientIdentifierTypes()
          Get all patientIdentifier types
 java.util.List<PatientIdentifierType> getAllPatientIdentifierTypes(boolean includeRetired)
          Get all patientIdentifier types
 java.util.List<Patient> getAllPatients()
          Returns all non voided patients in the system
 java.util.List<Patient> getAllPatients(boolean includeVoided)
          Returns patients in the system
 IdentifierValidator getDefaultIdentifierValidator()
           
 java.util.List<Patient> getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes)
          Search the database for patients that both share the given attributes.
 IdentifierValidator getIdentifierValidator(java.lang.Class<IdentifierValidator> clazz)
           
 IdentifierValidator getIdentifierValidator(java.lang.String pivClassName)
           
 Patient getPatient(java.lang.Integer patientId)
          Get patient by internal identifier
 Patient getPatientByExample(Patient patientToMatch)
          This method tries to find a patient in the database given the attributes on the given patientToMatch object.
 java.util.List<PatientIdentifier> getPatientIdentifiers(PatientIdentifierType patientIdentifierType)
          Deprecated. replaced by #getPatientIdentifiers(String, List, List, List, Boolean, Boolean, boolean)
 java.util.List<PatientIdentifier> getPatientIdentifiers(java.lang.String identifier, java.util.List<PatientIdentifierType> patientIdentifierTypes, java.util.List<Location> locations, java.util.List<Patient> patients, java.lang.Boolean isPreferred)
          Get all patientIdentifiers that match all of the given criteria Voided identifiers are not returned
 java.util.List<PatientIdentifier> getPatientIdentifiers(java.lang.String identifier, PatientIdentifierType pit)
          Deprecated. replaced by #getPatientIdentifiers(String, List, List, List, Boolean, Boolean, boolean)
 PatientIdentifierType getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
          Get patientIdentifierType by internal identifier
 PatientIdentifierType getPatientIdentifierType(java.lang.String name)
          Deprecated. use getPatientIdentifierTypeByName(String)
 PatientIdentifierType getPatientIdentifierTypeByName(java.lang.String name)
          Get patientIdentifierType by exact name
 java.util.List<PatientIdentifierType> getPatientIdentifierTypes()
          Deprecated. replaced by getAllPatientIdentifierTypes()
 java.util.List<PatientIdentifierType> getPatientIdentifierTypes(java.lang.String name, java.lang.String format, java.lang.Boolean required, java.lang.Boolean hasCheckDigit)
          Get all patientIdentifier types that match the given criteria
 java.util.List<Patient> getPatients(java.lang.String query)
          Generic search on patients based on the given string.
 java.util.List<Patient> getPatients(java.lang.String name, java.lang.String identifier, java.util.List<PatientIdentifierType> identifierTypes)
          Get patients based on given criteria The identifier is matched with the regex OpenmrsConstants.PATIENT_IDENTIFIER_REGEX Will not return voided patients
 java.util.List<Patient> getPatientsByIdentifier(java.lang.String identifier, boolean includeVoided)
          Deprecated. replaced by {@link #getPatients(String, String, List)
 java.util.List<Patient> getPatientsByIdentifierPattern(java.lang.String identifier, boolean includeVoided)
          Deprecated. replaced by getPatients( ... )
 java.util.List<Patient> getPatientsByName(java.lang.String name)
          Deprecated. replaced by getPatients(String, String, List)
 java.util.List<Patient> getPatientsByName(java.lang.String name, boolean includeVoided)
          Deprecated. replaced by getPatients( ... )
 Tribe getTribe(java.lang.Integer tribeId)
          Deprecated. tribe will be moved to patient attribute
 java.util.List<Tribe> getTribes()
          Deprecated. tribe will be moved to patient attributes
 Patient identifierInUse(java.lang.String identifier, PatientIdentifierType type, Patient ignorePatient)
          Deprecated. use #getPatientByIdentifier(String) instead
 void mergePatients(Patient preferred, Patient notPreferred)
          Convenience method to join two patients' information into one record.
 void processDeath(Patient patient, java.util.Date dateDied, Concept causeOfDeath, java.lang.String otherReason)
          Convenience method to establish that a patient has died.
 void purgePatient(Patient patient)
          Delete patient from database.
 void purgePatientIdentifierType(PatientIdentifierType patientIdentifierType)
          Purge PatientIdentifierType (cannot be undone)
 PatientIdentifierType retirePatientIdentifierType(PatientIdentifierType patientIdentifierType, java.lang.String reason)
          Retire a type of patient identifier
 void saveCauseOfDeathObs(Patient patient, java.util.Date dateDied, Concept causeOfDeath, java.lang.String otherReason)
          Convenience method that saves the Obs that indicates when and why the patient died (including any "other" reason there might be)
 Patient savePatient(Patient patient)
          Saved the given patient to the database
 PatientIdentifierType savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
          Create or update a PatientIdentifierType
 void setPatientDAO(PatientDAO dao)
          Sets the DAO for this service.
 PatientIdentifierType unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType)
          Unretire a type of patient identifier
 Patient unvoidPatient(Patient patient)
          Unvoid patient record
 Patient updatePatient(Patient patient)
          Deprecated. replaced by #savePatient(Patient)
 void updatePatientIdentifier(PatientIdentifier patientIdentifier)
          Deprecated. patient identifiers should not be updated directly; rather, after changing patient identifiers, use savePatient(Patient) to save changes to the database
 Patient voidPatient(Patient patient, java.lang.String reason)
          Void patient record (functionally delete patient from system)
 
Methods inherited from interface org.openmrs.api.OpenmrsService
onShutdown, onStartup
 

Method Detail

setPatientDAO

void setPatientDAO(PatientDAO dao)
Sets the DAO for this service. This is done by DI and Spring. See the applicationContext-service.xml definition file.

Parameters:
dao - DAO for this service

createPatient

@Authorized(value="Add Patients")
Patient createPatient(Patient patient)
                      throws APIException
Deprecated. replaced by #savePatient(Patient)

Throws:
APIException
See Also:
savePatient(Patient)

savePatient

@Authorized(value={"Add Patients","Edit Patients"})
Patient savePatient(Patient patient)
                    throws APIException
Saved the given patient to the database

Parameters:
patient - patient to be created or updated
Returns:
patient who was created or updated
Throws:
APIException

getPatient

@Authorized(value="View Patients")
@Transactional(readOnly=true)
Patient getPatient(java.lang.Integer patientId)
                   throws APIException
Get patient by internal identifier

Parameters:
patientId - internal patient identifier
Returns:
patient with given internal identifier
Throws:
APIException

updatePatient

Patient updatePatient(Patient patient)
                      throws APIException
Deprecated. replaced by #savePatient(Patient)

Throws:
APIException
See Also:
savePatient(Patient)

getAllPatients

@Authorized(value="View Patients")
@Transactional(readOnly=true)
java.util.List<Patient> getAllPatients()
                                       throws APIException
Returns all non voided patients in the system

Returns:
non voided patients in the system
Throws:
APIException
See Also:
getAllPatients(boolean)

getAllPatients

@Authorized(value="View Patients")
@Transactional(readOnly=true)
java.util.List<Patient> getAllPatients(boolean includeVoided)
                                       throws APIException
Returns patients in the system

Parameters:
includeVoided - if false, will limit the search to non-voided patients
Returns:
patients in the system
Throws:
APIException

identifierInUse

@Transactional(readOnly=true)
Patient identifierInUse(java.lang.String identifier,
                                      PatientIdentifierType type,
                                      Patient ignorePatient)
Deprecated. use #getPatientByIdentifier(String) instead


getPatientsByIdentifier

@Transactional(readOnly=true)
java.util.List<Patient> getPatientsByIdentifier(java.lang.String identifier,
                                                              boolean includeVoided)
                                                throws APIException
Deprecated. replaced by {@link #getPatients(String, String, List)

Throws:
APIException

getPatients

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> getPatients(java.lang.String name,
                                                                  java.lang.String identifier,
                                                                  java.util.List<PatientIdentifierType> identifierTypes)
                                    throws APIException
Get patients based on given criteria The identifier is matched with the regex OpenmrsConstants.PATIENT_IDENTIFIER_REGEX Will not return voided patients

Parameters:
name - this is a slight break from the norm, patients with a partial match on this name will be returned
identifier - only patients with a matching identifier are returned
identifierTypes - the PatientIdentifierTypes to restrict to
Returns:
patients that matched the given criteria (and are not voided)
Throws:
APIException

getPatientsByIdentifierPattern

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> getPatientsByIdentifierPattern(java.lang.String identifier,
                                                                                     boolean includeVoided)
                                                       throws APIException
Deprecated. replaced by getPatients( ... )

Throws:
APIException

getPatientsByName

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> getPatientsByName(java.lang.String name)
                                          throws APIException
Deprecated. replaced by getPatients(String, String, List)

Throws:
APIException

getPatientsByName

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> getPatientsByName(java.lang.String name,
                                                                        boolean includeVoided)
                                          throws APIException
Deprecated. replaced by getPatients( ... )

Throws:
APIException

voidPatient

@Authorized(value="Delete Patients")
Patient voidPatient(Patient patient,
                                    java.lang.String reason)
                    throws APIException
Void patient record (functionally delete patient from system)

Parameters:
patient - patient to be voided
reason - reason for voiding patient
Returns:
the voided patient
Throws:
APIException

unvoidPatient

@Authorized(value="Delete Patients")
Patient unvoidPatient(Patient patient)
                      throws APIException
Unvoid patient record

Parameters:
patient - patient to be revived
Returns:
the revided Patient
Throws:
APIException

deletePatient

@Authorized(value="Purge Patients")
void deletePatient(Patient patient)
                   throws APIException
Deprecated. replaced by purgePatient(Patient)

Throws:
APIException
See Also:
purgePatient(Patient)

purgePatient

@Authorized(value="Purge Patients")
void purgePatient(Patient patient)
                  throws APIException
Delete patient from database. This should not be called except for testing and administration purposes. Use the void method instead.

Parameters:
patient - patient to be deleted
Throws:
APIException
See Also:
voidPatient(org.openmrs.Patient,java.lang.String)

getPatientIdentifiers

@Transactional(readOnly=true)
@Authorized(value="View Patient Identifiers")
java.util.List<PatientIdentifier> getPatientIdentifiers(PatientIdentifierType patientIdentifierType)
                                                        throws APIException
Deprecated. replaced by #getPatientIdentifiers(String, List, List, List, Boolean, Boolean, boolean)

Throws:
APIException

getPatientIdentifiers

@Transactional(readOnly=true)
@Authorized(value="View Patient Identifiers")
java.util.List<PatientIdentifier> getPatientIdentifiers(java.lang.String identifier,
                                                                                      java.util.List<PatientIdentifierType> patientIdentifierTypes,
                                                                                      java.util.List<Location> locations,
                                                                                      java.util.List<Patient> patients,
                                                                                      java.lang.Boolean isPreferred)
                                                        throws APIException
Get all patientIdentifiers that match all of the given criteria Voided identifiers are not returned

Parameters:
identifier - the full identifier to match on
patientIdentifierTypes - the type of identifiers to get
locations - the locations of the identifiers to match
patients - the patients containing these identifiers
isPreferred - if true, limits to only preferred identifiers if false, only non preferred. if null, ignores preferred status
Returns:
PatientIdentifiers matching these criteria
Throws:
APIException

getPatientIdentifiers

@Transactional(readOnly=true)
@Authorized(value="View Patient Identifiers")
java.util.List<PatientIdentifier> getPatientIdentifiers(java.lang.String identifier,
                                                                                      PatientIdentifierType pit)
                                                        throws APIException
Deprecated. replaced by #getPatientIdentifiers(String, List, List, List, Boolean, Boolean, boolean)

Throws:
APIException

updatePatientIdentifier

@Authorized(value="Edit Patient Identifiers")
void updatePatientIdentifier(PatientIdentifier patientIdentifier)
                             throws APIException
Deprecated. patient identifiers should not be updated directly; rather, after changing patient identifiers, use savePatient(Patient) to save changes to the database

Update patient identifier

Parameters:
patientIdentifier - identifier to be updated
Throws:
APIException

savePatientIdentifierType

@Authorized(value="Manage Identifier Types")
PatientIdentifierType savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
                                                throws APIException
Create or update a PatientIdentifierType

Parameters:
PatientIdentifierType - identifier type to create or update
Returns:
the saved type
Throws:
APIException

getPatientIdentifierTypes

@Transactional(readOnly=true)
@Authorized(value="View Identifier Types")
java.util.List<PatientIdentifierType> getPatientIdentifierTypes()
                                                                throws APIException
Deprecated. replaced by getAllPatientIdentifierTypes()

Throws:
APIException
See Also:
getAllPatientIdentifierTypes()

getAllPatientIdentifierTypes

@Transactional(readOnly=true)
@Authorized(value="View Identifier Types")
java.util.List<PatientIdentifierType> getAllPatientIdentifierTypes()
                                                                   throws APIException
Get all patientIdentifier types

Returns:
patientIdentifier types list
Throws:
APIException

getAllPatientIdentifierTypes

@Transactional(readOnly=true)
@Authorized(value="View Identifier Types")
java.util.List<PatientIdentifierType> getAllPatientIdentifierTypes(boolean includeRetired)
                                                                   throws APIException
Get all patientIdentifier types

Parameters:
includeRetired - true/false whether retired types should be included
Returns:
patientIdentifier types list
Throws:
APIException

getPatientIdentifierTypes

@Transactional(readOnly=true)
@Authorized(value="View Identifier Types")
java.util.List<PatientIdentifierType> getPatientIdentifierTypes(java.lang.String name,
                                                                                              java.lang.String format,
                                                                                              java.lang.Boolean required,
                                                                                              java.lang.Boolean hasCheckDigit)
                                                                throws APIException
Get all patientIdentifier types that match the given criteria

Parameters:
name - name of the type to match on
format - the string format to match on
required - if true, limits to only identifiers marked as required if false, only non required. if null, ignores required bit
hasCheckDigit - if true, limits to only check digit'd identifiers if false, only non checkdigit'd. if null, ignores checkDigit
Returns:
patientIdentifier types list
Throws:
APIException

getPatientIdentifierType

@Transactional(readOnly=true)
@Authorized(value="View Identifier Types")
PatientIdentifierType getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
                                               throws APIException
Get patientIdentifierType by internal identifier

Parameters:
patientIdentifierType - id
Returns:
patientIdentifierType with given internal identifier
Throws:
APIException

getPatientIdentifierType

@Transactional(readOnly=true)
@Authorized(value="View Identifier Types")
PatientIdentifierType getPatientIdentifierType(java.lang.String name)
                                               throws APIException
Deprecated. use getPatientIdentifierTypeByName(String)

Throws:
APIException

getPatientIdentifierTypeByName

@Transactional(readOnly=true)
@Authorized(value="View Identifier Types")
PatientIdentifierType getPatientIdentifierTypeByName(java.lang.String name)
                                                     throws APIException
Get patientIdentifierType by exact name

Parameters:
name -
Returns:
patientIdentifierType with given name
Throws:
APIException

retirePatientIdentifierType

@Authorized(value="Manage Identifier Types")
PatientIdentifierType retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
                                                                  java.lang.String reason)
                                                  throws APIException
Retire a type of patient identifier

Parameters:
patientIdentifierType - type of patient identifier to be retired
reason - the reason to retire this identifier type
Returns:
the retired type
Throws:
APIException

unretirePatientIdentifierType

@Authorized(value="Manage Identifier Types")
PatientIdentifierType unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType)
                                                    throws APIException
Unretire a type of patient identifier

Parameters:
patientIdentifierType - type of patient identifier to be unretired
Returns:
the unretired type
Throws:
APIException

purgePatientIdentifierType

@Authorized(value="Purge Identifier Types")
void purgePatientIdentifierType(PatientIdentifierType patientIdentifierType)
                                throws APIException
Purge PatientIdentifierType (cannot be undone)

Parameters:
PatientIdentifierType - to purge from the database
Throws:
APIException

checkPatientIdentifier

@Authorized(value="View Patient Identifiers")
void checkPatientIdentifier(PatientIdentifier patientIdentifier)
                            throws PatientIdentifierException
Convenience method to validate a patient identifier. Checks for things like blank identifiers, invalid check digits, etc

Parameters:
patientIdentifier - identifier to be validated
Throws:
PatientIdentifierException - if the identifier is invalid
See Also:
checkPatientIdentifiers(Patient)

checkPatientIdentifiers

@Authorized(value="View Patient Identifiers")
void checkPatientIdentifiers(Patient patient)
                             throws PatientIdentifierException
Convenience method to validate all identifiers for a given patient

Parameters:
patient - patient for which to validate identifiers
Throws:
PatientIdentifierException - if one or more of the identifiers are invalid
See Also:
checkPatientIdentifiers(Patient)

getTribe

@Transactional(readOnly=true)
@Authorized(value="View Tribes")
Tribe getTribe(java.lang.Integer tribeId)
               throws APIException
Deprecated. tribe will be moved to patient attribute

Get tribe by internal tribe identifier

Parameters:
tribeId -
Returns:
Tribe
Throws:
APIException

getTribes

@Transactional(readOnly=true)
@Authorized(value="View Tribes")
java.util.List<Tribe> getTribes()
                                throws APIException
Deprecated. tribe will be moved to patient attributes

Get list of tribes that are not retired

Returns:
non-retired Tribe list
Throws:
APIException

findTribes

@Transactional(readOnly=true)
@Authorized(value="View Tribes")
java.util.List<Tribe> findTribes(java.lang.String search)
                                 throws APIException
Deprecated. tribe will be moved to patient attributes

Find tribes by partial name lookup

Returns:
non-retired Tribe list
Throws:
APIException

findPatients

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> findPatients(java.lang.String query,
                                                                   boolean includeVoided)
                                     throws APIException
Deprecated. use #getPatients(String)

Throws:
APIException
See Also:
getPatients(String)

getPatients

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> getPatients(java.lang.String query)
                                    throws APIException
Generic search on patients based on the given string. Implementations can use this string to search on name, identifier, etc Voided patients are not returned in search results

Parameters:
query - the string to search on
Returns:
a list of matching Patients
Throws:
APIException

findPatient

@Transactional(readOnly=true)
@Authorized(value="View Patients")
Patient findPatient(Patient patientToMatch)
                    throws APIException
Deprecated. use #getPatientByExample(Patient)

Throws:
APIException
See Also:
getPatientByExample(Patient)

getPatientByExample

@Transactional(readOnly=true)
@Authorized(value="View Patients")
Patient getPatientByExample(Patient patientToMatch)
                            throws APIException
This method tries to find a patient in the database given the attributes on the given patientToMatch object. Assumes there could be a PersonAttribute on this Patient with PersonAttributeType.name = "Other Matching Information". This PersonAttribute has a "value" that is just key value pairs in the form of key:value;nextkey:nextvalue;

Parameters:
patientToMatch -
Returns:
null if no match found, a fresh patient object from the db if is found
Throws:
APIException

findDuplicatePatients

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> findDuplicatePatients(java.util.Set<java.lang.String> attributes)
                                              throws APIException
Deprecated. use getDuplicatePatientsByAttributes(List)

Throws:
APIException
See Also:
getDuplicatePatientsByAttributes(List)

getDuplicatePatientsByAttributes

@Transactional(readOnly=true)
@Authorized(value="View Patients")
java.util.List<Patient> getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes)
                                                         throws APIException
Search the database for patients that both share the given attributes. Each attribute that is passed in must be identical to what is stored for at least one other patient for both patients to be returned.

Parameters:
attributes - attributes on a Person or Patient object. similar to: [gender, tribe, givenName, middleName, familyName]
Returns:
list of patients that match other patients
Throws:
APIException

mergePatients

@Authorized(value="Edit Patients")
void mergePatients(Patient preferred,
                                   Patient notPreferred)
                   throws APIException
Convenience method to join two patients' information into one record.
  1. Moves object (encounters/obs) pointing to nonPreferred to point at preferred
  2. Copies data (gender/birthdate/names/ids/etc) from nonPreferred to preferred IFF the data is missing or null in preferred
  3. notPreferred is marked as voided

Parameters:
preferred - The Patient to merge to
notPreferred - The Patient to merge from (and then void)
Throws:
APIException

exitFromCare

@Authorized(value="Edit Patients")
void exitFromCare(Patient patient,
                                  java.util.Date dateExited,
                                  Concept reasonForExit)
                  throws APIException
Convenience method to establish that a patient has left the care center. This API call is responsible for: 1) Closing workflow statuses 2) Terminating programs 3) Discontinuing orders 4) Flagging patient table (if applicable) 5) Creating any relevant observations about the patient

Parameters:
patient - - the patient who has exited care
dateExited - - the declared date/time of the patient's exit
reasonForExit - - the concept that corresponds with why the patient has been declared as exited
Throws:
APIException

processDeath

@Authorized(value="Edit Patients")
void processDeath(Patient patient,
                                  java.util.Date dateDied,
                                  Concept causeOfDeath,
                                  java.lang.String otherReason)
                  throws APIException
Convenience method to establish that a patient has died. In addition to exiting the patient from care (see above), this method will also set the appropriate patient characteristics to indicate that they have died, when they died, etc.

Parameters:
patient - - the patient who has died
dateDied - - the declared date/time of the patient's death
causeOfDeath - - the concept that corresponds with the reason the patient died
otherReason - - if the concept representing the reason is OTHER NON-CODED, and a string-based "other" reason is supplied
Throws:
APIException

saveCauseOfDeathObs

@Authorized(value={"View Patients","Edit Observations"},
            requireAll=true)
void saveCauseOfDeathObs(Patient patient,
                                                   java.util.Date dateDied,
                                                   Concept causeOfDeath,
                                                   java.lang.String otherReason)
                         throws APIException
Convenience method that saves the Obs that indicates when and why the patient died (including any "other" reason there might be)

Parameters:
patient - - the patient who has died
dateDied - - the declared date/time of the patient's death
causeOfDeath - - the concept that corresponds with the reason the patient died
otherReason - - if the concept representing the reason is OTHER NON-CODED, and a string-based "other" reason is supplied
Throws:
APIException

getIdentifierValidator

IdentifierValidator getIdentifierValidator(java.lang.Class<IdentifierValidator> clazz)
Parameters:
identifierValidator - which validator to get.

getIdentifierValidator

IdentifierValidator getIdentifierValidator(java.lang.String pivClassName)

getDefaultIdentifierValidator

IdentifierValidator getDefaultIdentifierValidator()
Returns:
the default IdentifierValidator

getAllIdentifierValidators

java.util.Collection<IdentifierValidator> getAllIdentifierValidators()
Returns:
All registered PatientIdentifierValidators

OpenMRS-trunk

Generated May 29 2008 02:01 AM. NOTE - these libraries are in active development and subject to change