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(java.lang.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(java.lang.String identifierTypeName)
Return's the (preferred) patient identifier matching
identifierTypeName
Otherwise returns that last PatientIdenitifer |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifier> |
Patient.getActiveIdentifiers()
Returns only the non-voided identifiers for this patient.
|
java.util.Set<PatientIdentifier> |
Patient.getIdentifiers()
Get all of this patients identifiers -- both voided and non-voided ones.
|
java.util.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(java.util.Collection<PatientIdentifier> patientIdentifiers)
Will only add PatientIdentifiers in this list that this patient does not have already
|
void |
Patient.setIdentifiers(java.util.Set<PatientIdentifier> identifiers)
Update all identifiers for patient
|
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
PatientIdentifierException.getPatientIdentifier() |
PatientIdentifier |
PatientService.getPatientIdentifier(java.lang.Integer patientIdentifierId)
Returns a patient identifier that matches the given patientIndentifier id
|
PatientIdentifier |
PatientService.getPatientIdentifierByUuid(java.lang.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,
java.lang.String reason)
Void patient identifier (functionally delete patient identifier from system)
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifier> |
PatientService.getPatientIdentifiers(PatientIdentifierType patientIdentifierType)
Deprecated.
|
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<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
|
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,
java.lang.String reason)
Void patient identifier (functionally delete patient identifier from system)
|
Constructor and Description |
---|
BlankIdentifierException(java.lang.String message,
PatientIdentifier identifier)
This is the preferred constructor.
|
DuplicateIdentifierException(java.lang.String message,
PatientIdentifier identifier) |
IdentifierNotUniqueException(java.lang.String message,
PatientIdentifier identifier) |
InvalidCheckDigitException(java.lang.String message,
PatientIdentifier identifier) |
InvalidIdentifierFormatException(java.lang.String message,
PatientIdentifier identifier) |
MissingRequiredIdentifierException(java.lang.String message,
PatientIdentifier identifier) |
PatientIdentifierException(java.lang.String message,
PatientIdentifier identifier) |
Modifier and Type | Method and Description |
---|---|
PatientIdentifier |
PatientDAO.getPatientIdentifier(java.lang.Integer patientIdentifierId) |
PatientIdentifier |
PatientDAO.getPatientIdentifierByUuid(java.lang.String uuid) |
PatientIdentifier |
PatientDAO.savePatientIdentifier(PatientIdentifier patientIdentifier) |
Modifier and Type | Method and Description |
---|---|
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) |
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(java.lang.Integer patientIdentifierId) |
PatientIdentifier |
HibernatePatientDAO.getPatientIdentifierByUuid(java.lang.String uuid) |
PatientIdentifier |
HibernatePatientDAO.savePatientIdentifier(PatientIdentifier patientIdentifier) |
Modifier and Type | Method and Description |
---|---|
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) |
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(java.lang.Integer patientIdentifierId) |
PatientIdentifier |
PatientServiceImpl.getPatientIdentifierByUuid(java.lang.String uuid) |
PatientIdentifier |
PatientServiceImpl.savePatientIdentifier(PatientIdentifier patientIdentifier) |
PatientIdentifier |
PatientServiceImpl.voidPatientIdentifier(PatientIdentifier patientIdentifier,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(PatientIdentifierType pit)
Deprecated.
|
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<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) |
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,
java.lang.String reason) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.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 |
---|---|
java.util.List<PatientIdentifier> |
ShortPatientModel.getIdentifiers() |
Modifier and Type | Method and Description |
---|---|
void |
ShortPatientModel.setIdentifiers(java.util.List<PatientIdentifier> identifiers) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.