Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.api |
The primary OpenMRS API interfaces.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl | |
org.openmrs.comparator | |
org.openmrs.validator | |
org.openmrs.web.controller.patient |
Modifier and Type | Method and Description |
---|---|
PatientIdentifierType |
PatientIdentifier.getIdentifierType() |
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
Patient.getPatientIdentifier(PatientIdentifierType pit)
Returns the first (preferred) patient identifier matching a
PatientIdentifierType Otherwise, returns the first non-voided identifier
Otherwise, null |
java.util.List<PatientIdentifier> |
Patient.getPatientIdentifiers(PatientIdentifierType pit)
Returns only the non-voided identifiers for this patient.
|
void |
PatientIdentifier.setIdentifierType(PatientIdentifierType identifierType) |
Constructor and Description |
---|
PatientIdentifier(java.lang.String identifier,
PatientIdentifierType type,
Location location)
Convenience constructor for creating a basic identifier
|
Modifier and Type | Method and Description |
---|---|
PatientIdentifierType |
PatientService.getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId)
Get patientIdentifierType by internal identifier
|
PatientIdentifierType |
PatientService.getPatientIdentifierType(java.lang.String name)
Deprecated.
|
PatientIdentifierType |
PatientService.getPatientIdentifierTypeByName(java.lang.String name)
Get patientIdentifierType by exact name
|
PatientIdentifierType |
PatientService.getPatientIdentifierTypeByUuid(java.lang.String uuid)
Get patient identifierType by universally unique identifier
|
PatientIdentifierType |
PatientService.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
java.lang.String reason)
Retire a type of patient identifier
|
PatientIdentifierType |
PatientService.savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Create or update a PatientIdentifierType
|
PatientIdentifierType |
PatientService.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Unretire a type of patient identifier
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifierType> |
PatientService.getAllPatientIdentifierTypes()
Get all patientIdentifier types
|
java.util.List<PatientIdentifierType> |
PatientService.getAllPatientIdentifierTypes(boolean includeRetired)
Get all patientIdentifier types
|
java.util.List<PatientIdentifierType> |
PatientService.getPatientIdentifierTypes()
Deprecated.
replaced by
PatientService.getAllPatientIdentifierTypes() |
java.util.List<PatientIdentifierType> |
PatientService.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
|
Modifier and Type | Method and Description |
---|---|
void |
AdministrationService.createPatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
AdministrationService.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientService.getPatientIdentifiers(PatientIdentifierType patientIdentifierType)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientService.getPatientIdentifiers(java.lang.String identifier,
PatientIdentifierType pit)
Deprecated.
|
java.util.Map<java.lang.Integer,PatientIdentifier> |
PatientSetService.getPatientIdentifiersByType(Cohort patients,
PatientIdentifierType type)
Deprecated.
use method by same name that returns just the string instead of the whole object
|
java.util.Map<java.lang.Integer,java.lang.String> |
PatientSetService.getPatientIdentifierStringsByType(Cohort patients,
PatientIdentifierType type)
Gets a map of patient identifiers values by identifier type, indexed by patient primary key.
|
Patient |
PatientService.identifierInUse(java.lang.String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use #getPatientByIdentifier(String) instead
|
void |
PatientService.purgePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Purge PatientIdentifierType (cannot be undone)
|
PatientIdentifierType |
PatientService.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
java.lang.String reason)
Retire a type of patient identifier
|
PatientIdentifierType |
PatientService.savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Create or update a PatientIdentifierType
|
PatientIdentifierType |
PatientService.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Unretire a type of patient identifier
|
void |
AdministrationService.updatePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifier> |
PatientService.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<Patient> |
PatientService.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes)
Deprecated.
replaced by a call to
PatientService.getPatients(String, String, List, boolean) with
"false" as the last parameter |
java.util.List<Patient> |
PatientService.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly)
Get patients based on given criteria The identifier is matched with the regex
OpenmrsConstants.PATIENT_IDENTIFIER_REGEX All parameters are optional and
nullable. |
java.util.List<Patient> |
PatientService.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
java.lang.Integer start,
java.lang.Integer length)
Get a limited size of patients from a given start index based on given criteria The
identifier is matched with the regex
OpenmrsConstants.PATIENT_IDENTIFIER_REGEX
All parameters are optional and nullable. |
Modifier and Type | Method and Description |
---|---|
PatientIdentifierType |
PatientDAO.getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId) |
PatientIdentifierType |
PatientDAO.getPatientIdentifierTypeByUuid(java.lang.String uuid)
Auto generated method comment
|
PatientIdentifierType |
PatientDAO.savePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifierType> |
PatientDAO.getAllPatientIdentifierTypes(boolean includeRetired) |
java.util.List<PatientIdentifierType> |
PatientDAO.getPatientIdentifierTypes(java.lang.String name,
java.lang.String format,
java.lang.Boolean required,
java.lang.Boolean hasCheckDigit) |
Modifier and Type | Method and Description |
---|---|
void |
PatientDAO.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
PatientIdentifierType |
PatientDAO.savePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
PatientDAO.getCountOfPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
boolean searchOnNamesOrIdentifiers) |
java.util.Map<java.lang.Integer,java.lang.String> |
PatientSetDAO.getPatientIdentifierByType(Cohort patients,
java.util.List<PatientIdentifierType> types) |
java.util.List<PatientIdentifier> |
PatientDAO.getPatientIdentifiers(java.lang.String identifier,
java.util.List<PatientIdentifierType> patientIdentifierTypes,
java.util.List<Location> locations,
java.util.List<Patient> patients,
java.lang.Boolean isPreferred) |
java.util.List<Patient> |
PatientDAO.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
java.lang.Integer start,
java.lang.Integer length,
boolean searchOnNamesOrIdentifiers) |
Modifier and Type | Method and Description |
---|---|
PatientIdentifierType |
HibernatePatientDAO.getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId) |
PatientIdentifierType |
HibernatePatientDAO.getPatientIdentifierTypeByUuid(java.lang.String uuid) |
PatientIdentifierType |
HibernatePatientDAO.savePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifierType> |
HibernatePatientDAO.getAllPatientIdentifierTypes(boolean includeRetired) |
java.util.List<PatientIdentifierType> |
HibernatePatientDAO.getPatientIdentifierTypes(java.lang.String name,
java.lang.String format,
java.lang.Boolean required,
java.lang.Boolean hasCheckDigit) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePatientDAO.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
PatientIdentifierType |
HibernatePatientDAO.savePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
HibernatePatientDAO.getCountOfPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
boolean searchOnNamesOrIdentifiers) |
java.util.Map<java.lang.Integer,java.lang.String> |
HibernatePatientSetDAO.getPatientIdentifierByType(Cohort patients,
java.util.List<PatientIdentifierType> types) |
java.util.List<PatientIdentifier> |
HibernatePatientDAO.getPatientIdentifiers(java.lang.String identifier,
java.util.List<PatientIdentifierType> patientIdentifierTypes,
java.util.List<Location> locations,
java.util.List<Patient> patients,
java.lang.Boolean isPreferred) |
java.util.List<Patient> |
HibernatePatientDAO.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
java.lang.Integer start,
java.lang.Integer length,
boolean searchOnNamesOrIdentifiers) |
org.hibernate.Criteria |
PatientSearchCriteria.prepareCriteria(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
boolean orderByNames,
boolean searchOnNamesOrIdentifiers)
Prepare a hibernate criteria using the patient identifier.
|
Modifier and Type | Method and Description |
---|---|
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierType(java.lang.Integer patientIdentifierTypeId) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierType(java.lang.String name)
Deprecated.
|
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByName(java.lang.String name) |
PatientIdentifierType |
PatientServiceImpl.getPatientIdentifierTypeByUuid(java.lang.String uuid) |
PatientIdentifierType |
PatientServiceImpl.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
java.lang.String reason) |
PatientIdentifierType |
PatientServiceImpl.savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
TODO: Add changedBy and DateChanged columns to table patient_identifier_type
|
PatientIdentifierType |
PatientServiceImpl.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getAllPatientIdentifierTypes() |
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getAllPatientIdentifierTypes(boolean includeRetired) |
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getPatientIdentifierTypes()
Deprecated.
|
java.util.List<PatientIdentifierType> |
PatientServiceImpl.getPatientIdentifierTypes(java.lang.String name,
java.lang.String format,
java.lang.Boolean required,
java.lang.Boolean hasCheckDigit) |
Modifier and Type | Method and Description |
---|---|
void |
AdministrationServiceImpl.createPatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
void |
AdministrationServiceImpl.deletePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(PatientIdentifierType pit)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(java.lang.String identifier,
PatientIdentifierType pit)
Deprecated.
|
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(java.lang.String identifier,
PatientIdentifierType patientIdentifierType,
boolean includeVoided)
Deprecated.
|
java.util.Map<java.lang.Integer,PatientIdentifier> |
PatientSetServiceImpl.getPatientIdentifiersByType(Cohort patients,
PatientIdentifierType type) |
java.util.Map<java.lang.Integer,java.lang.String> |
PatientSetServiceImpl.getPatientIdentifierStringsByType(Cohort patients,
PatientIdentifierType type) |
Patient |
PatientServiceImpl.identifierInUse(java.lang.String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use getPatientByIdentifier(String) instead
|
void |
PatientServiceImpl.purgePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
PatientIdentifierType |
PatientServiceImpl.retirePatientIdentifierType(PatientIdentifierType patientIdentifierType,
java.lang.String reason) |
PatientIdentifierType |
PatientServiceImpl.savePatientIdentifierType(PatientIdentifierType patientIdentifierType)
TODO: Add changedBy and DateChanged columns to table patient_identifier_type
|
PatientIdentifierType |
PatientServiceImpl.unretirePatientIdentifierType(PatientIdentifierType patientIdentifierType) |
void |
AdministrationServiceImpl.updatePatientIdentifierType(PatientIdentifierType patientIdentifierType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(java.lang.String identifier,
java.util.List<PatientIdentifierType> patientIdentifierTypes,
java.util.List<Location> locations,
java.util.List<Patient> patients,
java.lang.Boolean isPreferred) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String name,
java.lang.String identifier,
java.util.List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
java.lang.Integer start,
java.lang.Integer length) |
Modifier and Type | Method and Description |
---|---|
int |
PatientIdentifierTypeDefaultComparator.compare(PatientIdentifierType pit1,
PatientIdentifierType pit2)
Orders by retired (true last), required (true first), name and id.
|
Modifier and Type | Method and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifierType> |
ShortPatientFormController.getIdentifierTypes() |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.