| Package | Description | 
|---|---|
| org.openmrs.api | 
The primary OpenMRS API interfaces. | 
| org.openmrs.api.impl | |
| org.openmrs.validator | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | BlankIdentifierExceptionException thrown when a  PatientorPatientIdentifieris being saved with an empty
 or nullPatientIdentifier.getIdentifier() | 
| class  | DuplicateIdentifierException | 
| class  | IdentifierNotUniqueException | 
| class  | InsufficientIdentifiersException | 
| class  | InvalidCheckDigitException | 
| class  | InvalidIdentifierFormatException | 
| class  | MissingRequiredIdentifierException | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PatientService. checkPatientIdentifiers(Patient patient)Convenience method to validate all identifiers for a given patient | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PatientServiceImpl. checkPatientIdentifiers(Patient patient) | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | PatientIdentifierValidator. checkIdentifierAgainstFormat(String identifier,
                            String format,
                            String formatDescription)Validates that a given identifier string is valid for a given regular expression format | 
| static void | PatientIdentifierValidator. checkIdentifierAgainstValidator(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  PatientIdentifieris valid | 
| static void | PatientIdentifierValidator. validateIdentifier(String identifier,
                  PatientIdentifierType pit)Validates that a given identifier string is valid for a given  PatientIdentifierTypeChecks for things like blank identifiers, invalid check digits, and invalid format. | 
Copyright © 2024 OpenMRS Inc.. All rights reserved.