Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.activelist | |
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.handler | |
org.openmrs.api.impl | |
org.openmrs.arden | |
org.openmrs.arden.compiled | |
org.openmrs.hl7.handler | |
org.openmrs.logic |
The OpenMRS Logic Service provides access to granular and derived
data.
|
org.openmrs.notification | |
org.openmrs.reporting.export | |
org.openmrs.web.controller.patient | |
org.openmrs.web.controller.visit | |
org.openmrs.web.dwr |
Modifier and Type | Method and Description |
---|---|
Patient |
Visit.getPatient() |
Patient |
Encounter.getPatient() |
Patient |
PatientProgram.getPatient() |
Patient |
Order.getPatient() |
Patient |
Obs.getPatient()
Deprecated.
use getPerson()
|
Patient |
PatientIdentifier.getPatient() |
Modifier and Type | Method and Description |
---|---|
boolean |
Cohort.contains(Patient patient) |
void |
Visit.setPatient(Patient patient) |
void |
Encounter.setPatient(Patient patient) |
void |
PatientProgram.setPatient(Patient patient) |
void |
Order.setPatient(Patient patient) |
void |
Obs.setPatient(Patient patient)
Deprecated.
use setPerson(org.openmrs.Person)
|
void |
PatientIdentifier.setPatient(Patient patient) |
Constructor and Description |
---|
Cohort(java.lang.String name,
java.lang.String description,
Patient[] patients)
This constructor does not check whether the database contains patients with the given ids,
but
|
Visit(Patient patient,
VisitType visitType,
java.util.Date startDatetime)
|
Constructor and Description |
---|
Allergy(Patient person,
Concept concept,
java.util.Date startDate,
AllergyType allergyType,
Concept reaction,
AllergySeverity severity) |
Problem(Patient person,
Concept concept,
java.util.Date startDate,
ProblemModifier modifier,
java.lang.String comments,
java.lang.Double sortWeight) |
Modifier and Type | Method and Description |
---|---|
Patient |
PatientService.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
Patient |
PatientService.findPatient(Patient patientToMatch)
Deprecated.
use #getPatientByExample(Patient)
|
Patient |
PatientService.getPatient(java.lang.Integer patientId)
Get patient by internal identifier
|
Patient |
PatientService.getPatientByExample(Patient patientToMatch)
This method tries to find a patient in the database given the attributes on the given
patientToMatch object. |
Patient |
PatientService.getPatientByUuid(java.lang.String uuid)
Get patient by universally unique identifier.
|
Patient |
PatientService.getPatientOrPromotePerson(java.lang.Integer patientOrPersonId)
Get patient by internal identifier.
|
Patient |
PatientService.identifierInUse(java.lang.String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use #getPatientByIdentifier(String) instead
|
Patient |
PatientService.savePatient(Patient patient)
Saved the given
patient to the database |
Patient |
PatientService.unvoidPatient(Patient patient)
Unvoid patient record.
|
Patient |
PatientService.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
Patient |
PatientService.voidPatient(Patient patient,
java.lang.String reason)
Void patient record (functionally delete patient from system).
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Patient> |
PatientService.findDuplicatePatients(java.util.Set<java.lang.String> attributes)
Deprecated.
|
java.util.List<Patient> |
PatientService.findPatients(java.lang.String query,
boolean includeVoided)
Deprecated.
use #getPatients(String)
|
java.util.List<Patient> |
PatientService.getAllPatients()
Returns all non voided patients in the system
|
java.util.List<Patient> |
PatientService.getAllPatients(boolean includeVoided)
Returns patients in the system
|
java.util.List<Patient> |
PatientService.getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes)
Search the database for patients that both share the given attributes.
|
java.util.List<Patient> |
PatientSetService.getPatients(java.util.Collection<java.lang.Integer> patientIds)
TODO write something here
|
java.util.List<Patient> |
PatientService.getPatients(java.lang.String query)
Generic search on patients based on the given string.
|
java.util.List<Patient> |
PatientService.getPatients(java.lang.String query,
java.lang.Integer start,
java.lang.Integer length)
Generic search on patients based on the given string and returns a specific number of them
from the specified starting position.
|
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. |
java.util.List<Patient> |
PatientService.getPatientsByIdentifier(java.lang.String identifier,
boolean includeVoided)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
java.util.List<Patient> |
PatientService.getPatientsByIdentifierPattern(java.lang.String identifier,
boolean includeVoided)
Deprecated.
replaced by getPatients( ... )
|
java.util.List<Patient> |
PatientService.getPatientsByName(java.lang.String name)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
java.util.List<Patient> |
PatientService.getPatientsByName(java.lang.String name,
boolean includeVoided)
Deprecated.
replaced by getPatients( ... )
|
Modifier and Type | Method and Description |
---|---|
Cohort |
CohortService.addPatientToCohort(Cohort cohort,
Patient patient)
Adds a new patient to a Cohort.
|
void |
PatientService.checkPatientIdentifiers(Patient patient)
Convenience method to validate all identifiers for a given patient
|
Patient |
PatientService.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientService.deletePatient(Patient patient)
Deprecated.
replaced by
PatientService.purgePatient(Patient) |
void |
ProgramWorkflowService.enrollPatientInProgram(Patient patient,
Program program,
java.util.Date enrollmentDate,
java.util.Date completionDate,
User creator)
Deprecated.
use {new PatientProgram(...) followed by @link
#savePatientProgram(PatientProgram)}
|
void |
PatientService.exitFromCare(Patient patient,
java.util.Date dateExited,
Concept reasonForExit)
Deprecated.
as of 1.10 and moved to exit from care module. This method is no longer supported
because previously the patient's active orders would get discontinued in the
process which is no longer happening
|
Patient |
PatientService.findPatient(Patient patientToMatch)
Deprecated.
use #getPatientByExample(Patient)
|
java.util.List<Order> |
OrderService.getActiveOrders(Patient patient,
OrderType orderType,
CareSetting careSetting,
java.util.Date asOfDate)
Gets all active orders for the specified patient matching the specified CareSetting,
OrderType as of the specified date.
|
java.util.List<Visit> |
VisitService.getActiveVisitsByPatient(Patient patient)
Convenience method that delegates to getVisitsByPatient(patient, false, false)
|
java.util.List<Order> |
OrderService.getAllOrdersByPatient(Patient patient)
Gets all orders for the specified patient including discontinuation orders
|
java.util.List<Cohort> |
CohortService.getCohortsContainingPatient(Patient patient)
Find all Cohorts that contain the given patient.
|
java.util.Collection<PatientProgram> |
ProgramWorkflowService.getCurrentPrograms(Patient patient,
java.util.Date onDate)
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who)
Deprecated.
replaced by
EncounterService.getEncountersByPatient(Patient) |
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who,
boolean includeVoided)
Deprecated.
replaced by
EncounterService.getEncountersByPatient(Patient) |
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who,
java.util.Date fromDate,
java.util.Date toDate)
|
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who,
Location where)
|
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
boolean includeVoided)
|
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<Provider> providers,
java.util.Collection<VisitType> visitTypes,
java.util.Collection<Visit> visits,
boolean includeVoided)
Get all encounters that match a variety of (nullable) criteria.
|
java.util.List<Encounter> |
EncounterService.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<User> providers,
boolean includeVoided)
|
java.util.List<Encounter> |
EncounterService.getEncountersByPatient(Patient patient)
Get all encounters (not voided) for a patient, sorted by encounterDatetime ascending.
|
java.util.List<Encounter> |
EncounterService.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
java.lang.String query,
java.lang.Integer start,
java.lang.Integer length)
Gets encounters for the given patient.
|
java.lang.Integer |
EncounterService.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
java.lang.String query)
Returns result count for
EncounterService.getEncountersByVisitsAndPatient(Patient, boolean, String, Integer, Integer) . |
java.util.List<Encounter> |
EncounterService.getEncountersNotAssignedToAnyVisit(Patient patient)
Gets the unvoided encounters for the specified patient that are not assigned to any visit.
|
java.util.List<Order> |
OrderService.getOrderHistoryByConcept(Patient patient,
Concept concept)
Gets all Order objects that use this Concept for a given patient.
|
java.util.List<Order> |
OrderService.getOrders(Patient patient,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided)
Gets all Orders that match the specified parameters excluding discontinuation orders
|
Patient |
PatientService.getPatientByExample(Patient patientToMatch)
This method tries to find a patient in the database given the attributes on the given
patientToMatch object. |
java.util.Collection<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient)
|
java.util.List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient,
Program program,
java.util.Date minEnrollmentDate,
java.util.Date maxEnrollmentDate,
java.util.Date minCompletionDate,
java.util.Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
Person |
PersonService.getPerson(Patient pat)
Deprecated.
|
java.util.List<Visit> |
VisitService.getVisitsByPatient(Patient patient)
Gets all unvoided visits for the specified patient
|
java.util.List<Visit> |
VisitService.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided)
Gets all visits for the specified patient
|
Patient |
PatientService.identifierInUse(java.lang.String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use #getPatientByIdentifier(String) instead
|
boolean |
ProgramWorkflowService.isInProgram(Patient patient,
Program program,
java.util.Date fromDate,
java.util.Date toDate)
|
void |
PatientService.mergePatients(Patient preferred,
java.util.List<Patient> notPreferred)
Convenience method to join multiple patients' information into one record.
|
void |
PatientService.mergePatients(Patient preferred,
Patient notPreferred)
Convenience method to join two patients' information into one record.
|
void |
PatientService.processDeath(Patient patient,
java.util.Date dateDied,
Concept causeOfDeath,
java.lang.String otherReason)
Convenience method to establish that a patient has died.
|
void |
PatientService.purgePatient(Patient patient)
Delete patient from database.
|
Cohort |
CohortService.removePatientFromCohort(Cohort cohort,
Patient patient)
Removes a patient from a Cohort.
|
void |
PatientService.saveCauseOfDeathObs(Patient patient,
java.util.Date dateDied,
Concept causeOfDeath,
java.lang.String otherReason)
Convenience method that saves the Obs that indicates when and why the patient died (including
any "other" reason there might be) TODO keep this in the PatientService?
|
Patient |
PatientService.savePatient(Patient patient)
Saved the given
patient to the database |
void |
ProgramWorkflowService.triggerStateConversion(Patient patient,
Concept reasonForExit,
java.util.Date dateConverted)
Deprecated.
as of 1.10, because the only place in core where it was called was
PatientService#exitFromCare(Patient patient, Date dateExited, Concept
reasonForExit) which was moved to exit from care module
|
Patient |
PatientService.unvoidPatient(Patient patient)
Unvoid patient record.
|
Patient |
PatientService.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
Patient |
PatientService.voidPatient(Patient patient,
java.lang.String reason)
Void patient record (functionally delete patient from system).
|
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<Visit> |
VisitService.getVisits(java.util.Collection<VisitType> visitTypes,
java.util.Collection<Patient> patients,
java.util.Collection<Location> locations,
java.util.Collection<Concept> indications,
java.util.Date minStartDatetime,
java.util.Date maxStartDatetime,
java.util.Date minEndDatetime,
java.util.Date maxEndDatetime,
java.util.Map<VisitAttributeType,java.lang.Object> attributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
void |
PatientService.mergePatients(Patient preferred,
java.util.List<Patient> notPreferred)
Convenience method to join multiple patients' information into one record.
|
Modifier and Type | Method and Description |
---|---|
Patient |
PatientDAO.getPatient(java.lang.Integer patientId) |
Patient |
PatientDAO.getPatientByUuid(java.lang.String uuid)
Auto generated method comment
|
Patient |
PatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Patient> |
PatientDAO.getAllPatients(boolean includeVoided) |
java.util.List<Patient> |
PatientDAO.getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes) |
java.util.List<Patient> |
PatientSetDAO.getPatients(java.util.Collection<java.lang.Integer> patientIds) |
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 |
---|---|
void |
PatientDAO.deletePatient(Patient patient)
Delete patient from database.
|
java.util.List<Order> |
OrderDAO.getActiveOrders(Patient patient,
java.util.List<OrderType> orderTypes,
CareSetting careSetting,
java.util.Date asOfDate) |
java.util.List<Encounter> |
EncounterDAO.getEncounters(Patient patient,
Location location,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<Provider> providers,
java.util.Collection<VisitType> visitTypes,
java.util.Collection<Visit> visits,
boolean includeVoided) |
java.util.List<Encounter> |
EncounterDAO.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
java.lang.String query,
java.lang.Integer start,
java.lang.Integer length) |
java.lang.Integer |
EncounterDAO.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
java.lang.String query) |
java.util.List<Encounter> |
EncounterDAO.getEncountersNotAssignedToAnyVisit(Patient patient) |
java.util.List<Order> |
OrderDAO.getOrders(Patient patient,
CareSetting careSetting,
java.util.List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
java.util.List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
java.util.Date minEnrollmentDate,
java.util.Date maxEnrollmentDate,
java.util.Date minCompletionDate,
java.util.Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
Patient |
PatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Order> |
OrderDAO.getOrders(OrderType orderType,
java.util.List<Patient> patients,
java.util.List<Concept> concepts,
java.util.List<User> orderers,
java.util.List<Encounter> encounters)
This searches for orders given the parameters.
|
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<Visit> |
VisitDAO.getVisits(java.util.Collection<VisitType> visitTypes,
java.util.Collection<Patient> patients,
java.util.Collection<Location> locations,
java.util.Collection<Concept> indications,
java.util.Date minStartDatetime,
java.util.Date maxStartDatetime,
java.util.Date minEndDatetime,
java.util.Date maxEndDatetime,
java.util.Map<VisitAttributeType,java.lang.String> serializedAttributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
Modifier and Type | Method and Description |
---|---|
Patient |
HibernatePatientDAO.getPatient(java.lang.Integer patientId) |
Patient |
HibernatePatientDAO.getPatientByUuid(java.lang.String uuid) |
Patient |
HibernatePatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Patient> |
HibernatePatientDAO.getAllPatients(boolean includeVoided) |
java.util.List<Patient> |
HibernatePatientDAO.getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes) |
java.util.List<Patient> |
HibernatePatientSetDAO.getPatients(java.util.Collection<java.lang.Integer> patientIds) |
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) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePatientDAO.deletePatient(Patient patient) |
java.util.List<Order> |
HibernateOrderDAO.getActiveOrders(Patient patient,
java.util.List<OrderType> orderTypes,
CareSetting careSetting,
java.util.Date asOfDate) |
java.util.List<Encounter> |
HibernateEncounterDAO.getEncounters(Patient patient,
Location location,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<Provider> providers,
java.util.Collection<VisitType> visitTypes,
java.util.Collection<Visit> visits,
boolean includeVoided) |
java.util.List<Encounter> |
HibernateEncounterDAO.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
java.lang.String query,
java.lang.Integer start,
java.lang.Integer length) |
java.lang.Integer |
HibernateEncounterDAO.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
java.lang.String query) |
java.util.List<Encounter> |
HibernateEncounterDAO.getEncountersNotAssignedToAnyVisit(Patient patient) |
java.util.List<Order> |
HibernateOrderDAO.getOrders(Patient patient,
CareSetting careSetting,
java.util.List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
java.util.List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
java.util.Date minEnrollmentDate,
java.util.Date maxEnrollmentDate,
java.util.Date minCompletionDate,
java.util.Date maxCompletionDate,
boolean includeVoided) |
Patient |
HibernatePatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Order> |
HibernateOrderDAO.getOrders(OrderType orderType,
java.util.List<Patient> patients,
java.util.List<Concept> concepts,
java.util.List<User> orderers,
java.util.List<Encounter> encounters) |
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<Visit> |
HibernateVisitDAO.getVisits(java.util.Collection<VisitType> visitTypes,
java.util.Collection<Patient> patients,
java.util.Collection<Location> locations,
java.util.Collection<Concept> indications,
java.util.Date minStartDatetime,
java.util.Date maxStartDatetime,
java.util.Date minEndDatetime,
java.util.Date maxEndDatetime,
java.util.Map<VisitAttributeType,java.lang.String> serializedAttributeValues,
boolean includeInactive,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
void |
PatientDataUnvoidHandler.handle(Patient patient,
User originalVoidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused) |
void |
PatientSaveHandler.handle(Patient patient,
User creator,
java.util.Date dateCreated,
java.lang.String other) |
void |
PatientDataVoidHandler.handle(Patient patient,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason) |
Modifier and Type | Method and Description |
---|---|
Patient |
PatientServiceImpl.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
Patient |
PatientServiceImpl.findPatient(Patient patientToMatch)
Deprecated.
|
Patient |
PatientServiceImpl.getPatient(java.lang.Integer patientId) |
Patient |
PatientServiceImpl.getPatientByExample(Patient patientToMatch)
This default implementation simply looks at the OpenMRS internal id (patient_id).
|
Patient |
PatientServiceImpl.getPatientByUuid(java.lang.String uuid) |
Patient |
PatientServiceImpl.getPatientOrPromotePerson(java.lang.Integer patientOrPersonId) |
Patient |
PatientServiceImpl.identifierInUse(java.lang.String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use getPatientByIdentifier(String) instead
|
Patient |
PatientServiceImpl.savePatient(Patient patient) |
Patient |
PatientServiceImpl.unvoidPatient(Patient patient) |
Patient |
PatientServiceImpl.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
Patient |
PatientServiceImpl.voidPatient(Patient patient,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Patient> |
PatientServiceImpl.findDuplicatePatients(java.util.Set<java.lang.String> attributes)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.findPatients(java.lang.String query,
boolean includeVoided)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.getAllPatients() |
java.util.List<Patient> |
PatientServiceImpl.getAllPatients(boolean includeVoided) |
java.util.List<Patient> |
PatientServiceImpl.getDuplicatePatientsByAttributes(java.util.List<java.lang.String> attributes) |
java.util.List<Patient> |
PatientSetServiceImpl.getPatients(java.util.Collection<java.lang.Integer> patientIds) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String query) |
java.util.List<Patient> |
PatientServiceImpl.getPatients(java.lang.String query,
java.lang.Integer start,
java.lang.Integer length) |
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) |
java.util.List<Patient> |
PatientServiceImpl.getPatientsByIdentifier(java.lang.String identifier,
boolean includeVoided)
Deprecated.
replaced by @deprecated replaced by
PatientServiceImpl.getPatients(String, String, List) |
java.util.List<Patient> |
PatientServiceImpl.getPatientsByIdentifierPattern(java.lang.String identifier,
boolean includeVoided)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.getPatientsByName(java.lang.String name)
Deprecated.
|
java.util.List<Patient> |
PatientServiceImpl.getPatientsByName(java.lang.String name,
boolean includeVoided)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
CohortServiceImpl.addPatientToCohort(Cohort cohort,
Patient patient) |
void |
PatientServiceImpl.checkPatientIdentifiers(Patient patient) |
Patient |
PatientServiceImpl.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientServiceImpl.deletePatient(Patient patient)
Deprecated.
replaced by
PatientServiceImpl.purgePatient(Patient) |
void |
ProgramWorkflowServiceImpl.enrollPatientInProgram(Patient patient,
Program program,
java.util.Date enrollmentDate,
java.util.Date completionDate,
User creator)
Deprecated.
|
void |
PatientServiceImpl.exitFromCare(Patient patient,
java.util.Date dateExited,
Concept reasonForExit)
This is the way to establish that a patient has left the care center.
|
Patient |
PatientServiceImpl.findPatient(Patient patientToMatch)
Deprecated.
|
java.util.List<Order> |
OrderServiceImpl.getActiveOrders(Patient patient,
OrderType orderType,
CareSetting careSetting,
java.util.Date asOfDate) |
java.util.List<Visit> |
VisitServiceImpl.getActiveVisitsByPatient(Patient patient) |
java.util.List<Order> |
OrderServiceImpl.getAllOrdersByPatient(Patient patient) |
java.util.List<Cohort> |
CohortServiceImpl.getCohortsContainingPatient(Patient patient) |
java.util.Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getCurrentPrograms(Patient patient,
java.util.Date onDate)
Deprecated.
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who)
Deprecated.
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
boolean includeVoided)
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
java.util.Date fromDate,
java.util.Date toDate)
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location where)
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
boolean includeVoided)
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<Provider> providers,
java.util.Collection<VisitType> visitTypes,
java.util.Collection<Visit> visits,
boolean includeVoided) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location loc,
java.util.Date fromDate,
java.util.Date toDate,
java.util.Collection<Form> enteredViaForms,
java.util.Collection<EncounterType> encounterTypes,
java.util.Collection<User> providers,
boolean includeVoided)
|
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(Patient patient) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByVisitsAndPatient(Patient patient,
boolean includeVoided,
java.lang.String query,
java.lang.Integer start,
java.lang.Integer length) |
java.lang.Integer |
EncounterServiceImpl.getEncountersByVisitsAndPatientCount(Patient patient,
boolean includeVoided,
java.lang.String query) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersNotAssignedToAnyVisit(Patient patient) |
java.util.List<Order> |
OrderServiceImpl.getOrderHistoryByConcept(Patient patient,
Concept concept) |
java.util.List<Order> |
OrderServiceImpl.getOrders(Patient patient,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided) |
Patient |
PatientServiceImpl.getPatientByExample(Patient patientToMatch)
This default implementation simply looks at the OpenMRS internal id (patient_id).
|
java.util.Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient)
Deprecated.
|
java.util.List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
java.util.Date minEnrollmentDate,
java.util.Date maxEnrollmentDate,
java.util.Date minCompletionDate,
java.util.Date maxCompletionDate,
boolean includeVoided) |
Person |
PersonServiceImpl.getPerson(Patient pat)
Deprecated.
|
java.util.List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient) |
java.util.List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided) |
Patient |
PatientServiceImpl.identifierInUse(java.lang.String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use getPatientByIdentifier(String) instead
|
boolean |
ProgramWorkflowServiceImpl.isInProgram(Patient patient,
Program program,
java.util.Date fromDate,
java.util.Date toDate)
Deprecated.
|
void |
PatientServiceImpl.mergePatients(Patient preferred,
java.util.List<Patient> notPreferred) |
void |
PatientServiceImpl.mergePatients(Patient preferred,
Patient notPreferred)
1) Moves object (encounters/obs) pointing to
nonPreferred to
preferred 2) Copies data (gender/birthdate/names/ids/etc) from
nonPreferred to preferred iff the data is missing or null in
preferred 3) notPreferred is marked as voided |
void |
PatientServiceImpl.processDeath(Patient patient,
java.util.Date dateDied,
Concept causeOfDeath,
java.lang.String otherReason)
This is the way to establish that a patient has died.
|
void |
PatientServiceImpl.purgePatient(Patient patient) |
Cohort |
CohortServiceImpl.removePatientFromCohort(Cohort cohort,
Patient patient) |
void |
PatientServiceImpl.saveCauseOfDeathObs(Patient patient,
java.util.Date deathDate,
Concept cause,
java.lang.String otherReason) |
Patient |
PatientServiceImpl.savePatient(Patient patient) |
void |
ProgramWorkflowServiceImpl.triggerStateConversion(Patient patient,
Concept trigger,
java.util.Date dateConverted) |
Patient |
PatientServiceImpl.unvoidPatient(Patient patient) |
Patient |
PatientServiceImpl.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
Patient |
PatientServiceImpl.voidPatient(Patient patient,
java.lang.String reason) |
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<Visit> |
VisitServiceImpl.getVisits(java.util.Collection<VisitType> visitTypes,
java.util.Collection<Patient> patients,
java.util.Collection<Location> locations,
java.util.Collection<Concept> indications,
java.util.Date minStartDatetime,
java.util.Date maxStartDatetime,
java.util.Date minEndDatetime,
java.util.Date maxEndDatetime,
java.util.Map<VisitAttributeType,java.lang.Object> attributeValues,
boolean includeInactive,
boolean includeVoided) |
void |
PatientServiceImpl.mergePatients(Patient preferred,
java.util.List<Patient> notPreferred) |
Modifier and Type | Method and Description |
---|---|
Patient |
ArdenValue.getPatient() |
Modifier and Type | Method and Description |
---|---|
ArdenValue |
ArdenDataSource.eval(Patient p,
ArdenClause c) |
ArdenValue |
DefaultArdenDataSource.eval(Patient p,
ArdenClause c) |
Constructor and Description |
---|
ArdenValue(Patient p,
java.util.Locale l) |
MLMObject(java.util.Locale l,
Patient p) |
Constructor and Description |
---|
HiRiskLeadScreen(Patient p,
ArdenDataSource d) |
Modifier and Type | Method and Description |
---|---|
protected void |
ORUR01Handler.processNK1(Patient patient,
ca.uhn.hl7v2.model.v25.segment.NK1 nk1)
process an NK1 segment and add relationships if needed
|
Modifier and Type | Method and Description |
---|---|
Patient |
LogicContext.getPatient(java.lang.Integer patientId)
Gets the patient object for the given patient id (this patient must be in the cohort of this context)
|
Modifier and Type | Method and Description |
---|---|
Result |
LogicService.eval(Patient who,
LogicCriteria criteria)
Deprecated.
|
Result |
LogicService.eval(Patient who,
LogicCriteria criteria,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Deprecated.
|
Result |
LogicService.eval(Patient who,
java.lang.String expression)
Deprecated.
|
Result |
LogicService.eval(Patient who,
java.lang.String expression,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Patient |
Note.getPatient() |
Modifier and Type | Method and Description |
---|---|
void |
Note.setPatient(Patient patient) |
Modifier and Type | Field and Description |
---|---|
protected Patient |
DataExportFunctions.patient
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Patient |
DataExportFunctions.getPatient()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
DataExportFunctions.setPatient(Patient patient)
Deprecated.
|
Constructor and Description |
---|
DataExportFunctions(Patient p)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Patient |
ShortPatientModel.getPatient() |
Modifier and Type | Method and Description |
---|---|
void |
ShortPatientModel.setPatient(Patient patient) |
Constructor and Description |
---|
ShortPatientModel(Patient patient)
Constructor that creates a shortPatientModel object from a given patient object
|
Modifier and Type | Method and Description |
---|---|
Patient |
VisitListController.getPatient(java.lang.Integer patientId) |
Modifier and Type | Method and Description |
---|---|
DatatableResponse |
VisitListController.getVisits(Patient patient,
javax.servlet.http.HttpServletRequest request)
It handles calls from DataTables.
|
Constructor and Description |
---|
PatientListItem(Patient patient) |
PatientListItem(Patient patient,
java.lang.String searchName) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.