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.reporting.export | |
org.openmrs.validator | |
org.openmrs.web.controller.patient |
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
Patient.getPatientIdentifier()
Convenience method to get the first "preferred" identifier for a patient.
|
PatientIdentifier |
Patient.getPatientIdentifier(Integer identifierTypeId)
Return's the first (preferred) patient identifier matching
identifierTypeId |
PatientIdentifier |
Patient.getPatientIdentifier(PatientIdentifierType pit)
Returns the first (preferred) patient identifier matching a
PatientIdentifierType Otherwise, returns the first non-voided identifier
Otherwise, null |
PatientIdentifier |
Patient.getPatientIdentifier(String identifierTypeName)
Return's the (preferred) patient identifier matching
identifierTypeName
Otherwise returns that last PatientIdenitifer |
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
Patient.getActiveIdentifiers()
Returns only the non-voided identifiers for this patient.
|
Set<PatientIdentifier> |
Patient.getIdentifiers()
Get all of this patients identifiers -- both voided and non-voided ones.
|
List<PatientIdentifier> |
Patient.getPatientIdentifiers(PatientIdentifierType pit)
Returns only the non-voided identifiers for this patient.
|
Modifier and Type | Method and Description |
---|---|
void |
Patient.addIdentifier(PatientIdentifier patientIdentifier)
Will add this PatientIdentifier if the patient doesn't contain it already
|
int |
PatientIdentifier.compareTo(PatientIdentifier other) |
boolean |
PatientIdentifier.equalsContent(PatientIdentifier otherIdentifier)
Compares this PatientIdentifier object to the given otherIdentifier.
|
void |
Patient.removeIdentifier(PatientIdentifier patientIdentifier)
Convenience method to remove the given identifier from this patient's list of identifiers.
|
Modifier and Type | Method and Description |
---|---|
void |
Patient.addIdentifiers(Collection<PatientIdentifier> patientIdentifiers)
Will only add PatientIdentifiers in this list that this patient does not have already
|
void |
Patient.setIdentifiers(Set<PatientIdentifier> identifiers)
Update all identifiers for patient
|
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
PatientIdentifierException.getPatientIdentifier() |
PatientIdentifier |
PatientService.getPatientIdentifier(Integer patientIdentifierId)
Returns a patient identifier that matches the given patientIndentifier id
|
PatientIdentifier |
PatientService.getPatientIdentifierByUuid(String uuid)
Get patient identifier by universally unique identifier.
|
PatientIdentifier |
PatientService.savePatientIdentifier(PatientIdentifier patientIdentifier)
Saved the given
patientIndentifier to the database |
PatientIdentifier |
PatientService.voidPatientIdentifier(PatientIdentifier patientIdentifier,
String reason)
Void patient identifier (functionally delete patient identifier from system)
|
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
PatientService.getPatientIdentifiers(PatientIdentifierType patientIdentifierType)
Deprecated.
|
List<PatientIdentifier> |
PatientService.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred)
Get all patientIdentifiers that match all of the given criteria Voided identifiers are not
returned
|
List<PatientIdentifier> |
PatientService.getPatientIdentifiers(String identifier,
PatientIdentifierType pit)
Deprecated.
|
Map<Integer,PatientIdentifier> |
PatientSetService.getPatientIdentifiersByType(Cohort patients,
PatientIdentifierType type)
Deprecated.
use method by same name that returns just the string instead of the whole object
|
Modifier and Type | Method and Description |
---|---|
void |
PatientService.checkPatientIdentifier(PatientIdentifier patientIdentifier)
Deprecated.
|
boolean |
PatientService.isIdentifierInUseByAnotherPatient(PatientIdentifier patientIdentifier)
Checks whether the given patient identifier is already assigned to a patient other than
patientIdentifier.patient
|
void |
PatientService.purgePatientIdentifier(PatientIdentifier patientIdentifier)
Purge PatientIdentifier (cannot be undone)
|
PatientIdentifier |
PatientService.savePatientIdentifier(PatientIdentifier patientIdentifier)
Saved the given
patientIndentifier to the database |
void |
PatientIdentifierException.setPatientIdentifier(PatientIdentifier patientIdentifier) |
void |
PatientService.updatePatientIdentifier(PatientIdentifier patientIdentifier)
Deprecated.
patient identifiers should not be updated directly; rather, after changing
patient identifiers, use
PatientService.savePatient(Patient) to save changes to the
database |
PatientIdentifier |
PatientService.voidPatientIdentifier(PatientIdentifier patientIdentifier,
String reason)
Void patient identifier (functionally delete patient identifier from system)
|
Constructor and Description |
---|
BlankIdentifierException(String message,
PatientIdentifier identifier)
This is the preferred constructor.
|
DuplicateIdentifierException(String message,
PatientIdentifier identifier) |
IdentifierNotUniqueException(String message,
PatientIdentifier identifier) |
InvalidCheckDigitException(String message,
PatientIdentifier identifier) |
InvalidIdentifierFormatException(String message,
PatientIdentifier identifier) |
MissingRequiredIdentifierException(String message,
PatientIdentifier identifier) |
PatientIdentifierException(String message,
PatientIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
PatientDAO.getPatientIdentifier(Integer patientIdentifierId) |
PatientIdentifier |
PatientDAO.getPatientIdentifierByUuid(String uuid) |
PatientIdentifier |
PatientDAO.savePatientIdentifier(PatientIdentifier patientIdentifier) |
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
PatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
Modifier and Type | Method and Description |
---|---|
void |
PatientDAO.deletePatientIdentifier(PatientIdentifier patientIdentifier) |
boolean |
PatientDAO.isIdentifierInUseByAnotherPatient(PatientIdentifier patientIdentifier) |
PatientIdentifier |
PatientDAO.savePatientIdentifier(PatientIdentifier patientIdentifier) |
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
HibernatePatientDAO.getPatientIdentifier(Integer patientIdentifierId) |
PatientIdentifier |
HibernatePatientDAO.getPatientIdentifierByUuid(String uuid) |
PatientIdentifier |
HibernatePatientDAO.savePatientIdentifier(PatientIdentifier patientIdentifier) |
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
HibernatePatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePatientDAO.deletePatientIdentifier(PatientIdentifier patientIdentifier) |
boolean |
HibernatePatientDAO.isIdentifierInUseByAnotherPatient(PatientIdentifier patientIdentifier)
This method uses a SQL query and does not load anything into the hibernate session.
|
PatientIdentifier |
HibernatePatientDAO.savePatientIdentifier(PatientIdentifier patientIdentifier) |
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
PatientServiceImpl.getPatientIdentifier(Integer patientIdentifierId) |
PatientIdentifier |
PatientServiceImpl.getPatientIdentifierByUuid(String uuid) |
PatientIdentifier |
PatientServiceImpl.savePatientIdentifier(PatientIdentifier patientIdentifier) |
PatientIdentifier |
PatientServiceImpl.voidPatientIdentifier(PatientIdentifier patientIdentifier,
String reason) |
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(PatientIdentifierType pit)
Deprecated.
|
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
PatientIdentifierType pit)
Deprecated.
|
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
PatientIdentifierType patientIdentifierType,
boolean includeVoided)
Deprecated.
|
Map<Integer,PatientIdentifier> |
PatientSetServiceImpl.getPatientIdentifiersByType(Cohort patients,
PatientIdentifierType type) |
Modifier and Type | Method and Description |
---|---|
void |
PatientServiceImpl.checkPatientIdentifier(PatientIdentifier pi)
Deprecated.
|
boolean |
PatientServiceImpl.isIdentifierInUseByAnotherPatient(PatientIdentifier patientIdentifier) |
void |
PatientServiceImpl.purgePatientIdentifier(PatientIdentifier patientIdentifier) |
PatientIdentifier |
PatientServiceImpl.savePatientIdentifier(PatientIdentifier patientIdentifier) |
void |
PatientServiceImpl.updatePatientIdentifier(PatientIdentifier pi)
Deprecated.
patient identifiers should not be updated directly; rather, after changing
patient identifiers, use
PatientServiceImpl.savePatient(Patient) to save changes to the
database |
PatientIdentifier |
PatientServiceImpl.voidPatientIdentifier(PatientIdentifier patientIdentifier,
String reason) |
Modifier and Type | Field and Description |
---|---|
protected Map<String,Map<Integer,PatientIdentifier>> |
DataExportFunctions.patientIdentifierMap
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
PatientIdentifierValidator.validateIdentifier(PatientIdentifier pi)
Checks that the given
PatientIdentifier is valid |
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
ShortPatientModel.getIdentifiers() |
Modifier and Type | Method and Description |
---|---|
void |
ShortPatientModel.setIdentifiers(List<PatientIdentifier> identifiers) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.