| Package | Description | 
|---|---|
| org.openmrs.api | 
 
The primary OpenMRS API interfaces. 
 | 
| org.openmrs.api.impl | |
| org.openmrs.validator | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
BlankIdentifierException
Exception thrown when a  
Patient or PatientIdentifier is being saved with an empty
 or null PatientIdentifier.getIdentifier() | 
class  | 
DuplicateIdentifierException  | 
class  | 
IdentifierNotUniqueException  | 
class  | 
InsufficientIdentifiersException  | 
class  | 
InvalidCheckDigitException  | 
class  | 
InvalidIdentifierFormatException  | 
class  | 
MissingRequiredIdentifierException  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PatientService.checkPatientIdentifier(PatientIdentifier patientIdentifier)
Deprecated. 
 
 | 
void | 
PatientService.checkPatientIdentifiers(Patient patient)
Convenience method to validate all identifiers for a given patient 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PatientServiceImpl.checkPatientIdentifier(PatientIdentifier pi)
Deprecated. 
 
 | 
void | 
PatientServiceImpl.checkPatientIdentifiers(Patient patient)  | 
| Modifier and Type | Method and Description | 
|---|---|
static void | 
PatientIdentifierValidator.checkIdentifierAgainstFormat(java.lang.String identifier,
                            java.lang.String format)
Validates that a given identifier string is valid for a given regular expression format 
 | 
static void | 
PatientIdentifierValidator.checkIdentifierAgainstValidator(java.lang.String identifier,
                               IdentifierValidator validator)
Validates that a given identifier string is valid for a given IdentifierValidator 
 | 
static void | 
PatientIdentifierValidator.validateIdentifier(PatientIdentifier pi)
Checks that the given  
PatientIdentifier is valid | 
static void | 
PatientIdentifierValidator.validateIdentifier(java.lang.String identifier,
                  PatientIdentifierType pit)
Validates that a given identifier string is valid for a given  
PatientIdentifierType
 Checks for things like blank identifiers, invalid check digits, and invalid format. | 
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.