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.order | |
org.openmrs.reporting.export | |
org.openmrs.web.controller.patient | |
org.openmrs.web.dwr |
Modifier and Type | Method and Description |
---|---|
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 |
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(String name,
String description,
Patient[] patients)
This constructor does not check whether the database contains patients with the given ids,
but
|
Constructor and Description |
---|
Allergy(Patient person,
Concept concept,
Date startDate,
AllergyType allergyType,
Concept reaction,
AllergySeverity severity) |
Problem(Patient person,
Concept concept,
Date startDate,
ProblemModifier modifier,
String comments,
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(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(String uuid)
Get patient by universally unique identifier.
|
Patient |
PatientService.getPatientOrPromotePerson(Integer patientOrPersonId)
Get patient by internal identifier.
|
Patient |
PatientService.identifierInUse(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,
String reason)
Void patient record (functionally delete patient from system)
|
Modifier and Type | Method and Description |
---|---|
List<Patient> |
PatientService.findDuplicatePatients(Set<String> attributes)
Deprecated.
|
List<Patient> |
PatientService.findPatients(String query,
boolean includeVoided)
Deprecated.
use #getPatients(String)
|
List<Patient> |
PatientService.getAllPatients()
Returns all non voided patients in the system
|
List<Patient> |
PatientService.getAllPatients(boolean includeVoided)
Returns patients in the system
|
List<Patient> |
PatientService.getDuplicatePatientsByAttributes(List<String> attributes)
Search the database for patients that both share the given attributes.
|
List<Patient> |
PatientSetService.getPatients(Collection<Integer> patientIds)
TODO write something here
|
List<Patient> |
PatientService.getPatients(String query)
Generic search on patients based on the given string.
|
List<Patient> |
PatientService.getPatients(String query,
Integer start,
Integer length)
Generic search on patients based on the given string and returns a specific number of them
from the specified starting position.
|
List<Patient> |
PatientService.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes)
Deprecated.
replaced by a call to
PatientService.getPatients(String, String, List, boolean) with
"false" as the last parameter |
List<Patient> |
PatientService.getPatients(String name,
String identifier,
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. |
List<Patient> |
PatientService.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
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. |
List<Patient> |
PatientService.getPatientsByIdentifier(String identifier,
boolean includeVoided)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
List<Patient> |
PatientService.getPatientsByIdentifierPattern(String identifier,
boolean includeVoided)
Deprecated.
replaced by getPatients( ... )
|
List<Patient> |
PatientService.getPatientsByName(String name)
Deprecated.
replaced by
PatientService.getPatients(String, String, List) |
List<Patient> |
PatientService.getPatientsByName(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
|
void |
OrderService.createOrdersAndEncounter(Patient p,
Collection<Order> orders)
Creates a collection of orders and an encounter to hold them.
|
Patient |
PatientService.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientService.deletePatient(Patient patient)
Deprecated.
replaced by
PatientService.purgePatient(Patient) |
void |
OrderService.discontinueAllOrders(Patient patient,
Concept discontinueReason,
Date discontinueDate)
Deprecated.
|
void |
OrderService.discontinueDrugSet(Patient patient,
String drugSetId,
Concept discontinueReason,
Date discontinueDate)
Deprecated.
|
void |
ProgramWorkflowService.enrollPatientInProgram(Patient patient,
Program program,
Date enrollmentDate,
Date completionDate,
User creator)
Deprecated.
use {new PatientProgram(...) followed by @link
#savePatientProgram(PatientProgram)}
|
void |
PatientService.exitFromCare(Patient patient,
Date dateExited,
Concept reasonForExit)
Convenience method to establish that a patient has left the care center.
|
Patient |
PatientService.findPatient(Patient patientToMatch)
Deprecated.
use #getPatientByExample(Patient)
|
List<Cohort> |
CohortService.getCohortsContainingPatient(Patient patient)
Find all Cohorts that contain the given patient.
|
Collection<PatientProgram> |
ProgramWorkflowService.getCurrentPrograms(Patient patient,
Date onDate)
|
Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
List<DrugOrder> |
OrderService.getDrugOrdersByPatient(Patient patient)
Get all orders for the given
patient |
List<DrugOrder> |
OrderService.getDrugOrdersByPatient(Patient patient,
int whatToShow)
|
List<DrugOrder> |
OrderService.getDrugOrdersByPatient(Patient patient,
int whatToShow,
boolean includeVoided)
|
List<DrugOrder> |
OrderService.getDrugOrdersByPatient(Patient patient,
OrderService.ORDER_STATUS orderStatus)
Get drug orders for a given patient, not including voided orders
|
List<DrugOrder> |
OrderService.getDrugOrdersByPatient(Patient patient,
OrderService.ORDER_STATUS orderStatus,
boolean includeVoided)
Get drug orders for a given patient
|
List<Encounter> |
EncounterService.getEncounters(Patient who)
Deprecated.
replaced by
EncounterService.getEncountersByPatient(Patient) |
List<Encounter> |
EncounterService.getEncounters(Patient who,
boolean includeVoided)
Deprecated.
replaced by
EncounterService.getEncountersByPatient(Patient) |
List<Encounter> |
EncounterService.getEncounters(Patient who,
Date fromDate,
Date toDate)
|
List<Encounter> |
EncounterService.getEncounters(Patient who,
Location where)
|
List<Encounter> |
EncounterService.getEncounters(Patient who,
Location loc,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
boolean includeVoided)
|
List<Encounter> |
EncounterService.getEncounters(Patient who,
Location loc,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided)
Get all encounters that match a variety of (nullable) criteria.
|
List<Encounter> |
EncounterService.getEncountersByPatient(Patient patient)
Get all encounters (not voided) for a patient, sorted by encounterDatetime ascending.
|
List<Order> |
OrderService.getOrdersByPatient(Patient patient)
Get all orders by Patient
|
Patient |
PatientService.getPatientByExample(Patient patientToMatch)
This method tries to find a patient in the database given the attributes on the given
patientToMatch object. |
Collection<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient)
|
List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
Person |
PersonService.getPerson(Patient pat)
Deprecated.
|
Patient |
PatientService.identifierInUse(String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use #getPatientByIdentifier(String) instead
|
boolean |
ProgramWorkflowService.isInProgram(Patient patient,
Program program,
Date fromDate,
Date toDate)
|
void |
PatientService.mergePatients(Patient preferred,
Patient notPreferred)
Convenience method to join two patients' information into one record.
|
void |
PatientService.processDeath(Patient patient,
Date dateDied,
Concept causeOfDeath,
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,
Date dateDied,
Concept causeOfDeath,
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,
Date dateConverted)
Triggers any ConceptStateConversion that exists for the passed
reasonForExit
concept and any ProgramWorkflow in the PatientPrograms for the patient |
Patient |
PatientService.unvoidPatient(Patient patient)
Unvoid patient record
|
Patient |
PatientService.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
OrderService.voidDrugSet(Patient patient,
String drugSetId,
String voidReason,
int whatToVoid)
|
Patient |
PatientService.voidPatient(Patient patient,
String reason)
Void patient record (functionally delete patient from system)
|
Modifier and Type | Method and Description |
---|---|
<Ord extends Order> |
OrderService.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes)
This searches for orders given the parameters.
|
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
|
Modifier and Type | Method and Description |
---|---|
Patient |
PatientDAO.getPatient(Integer patientId) |
Patient |
PatientDAO.getPatientByUuid(String uuid)
Auto generated method comment
|
Patient |
PatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
List<Patient> |
PatientDAO.getAllPatients(boolean includeVoided) |
List<Patient> |
PatientDAO.getDuplicatePatientsByAttributes(List<String> attributes) |
List<Patient> |
PatientSetDAO.getPatients(Collection<Integer> patientIds) |
List<Patient> |
PatientDAO.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
Integer length,
boolean searchOnNamesOrIdentifiers) |
Modifier and Type | Method and Description |
---|---|
void |
PatientDAO.deletePatient(Patient patient)
Delete patient from database.
|
List<Encounter> |
EncounterDAO.getEncounters(Patient patient,
Location location,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided) |
List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
Patient |
PatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
<Ord extends Order> |
OrderDAO.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes) |
List<PatientIdentifier> |
PatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
Modifier and Type | Method and Description |
---|---|
Patient |
HibernatePatientDAO.getPatient(Integer patientId) |
Patient |
HibernatePatientDAO.getPatientByUuid(String uuid) |
Patient |
HibernatePatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
List<Patient> |
HibernatePatientDAO.getAllPatients(boolean includeVoided) |
List<Patient> |
HibernatePatientDAO.getDuplicatePatientsByAttributes(List<String> attributes) |
List<Patient> |
HibernatePatientSetDAO.getPatients(Collection<Integer> patientIds) |
List<Patient> |
HibernatePatientDAO.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
Integer length,
boolean searchOnNamesOrIdentifiers) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePatientDAO.deletePatient(Patient patient) |
List<Encounter> |
HibernateEncounterDAO.getEncounters(Patient patient,
Location location,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided) |
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
Patient |
HibernatePatientDAO.savePatient(Patient patient) |
Modifier and Type | Method and Description |
---|---|
<Ord extends Order> |
HibernateOrderDAO.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes) |
List<PatientIdentifier> |
HibernatePatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
Modifier and Type | Method and Description |
---|---|
void |
PatientSaveHandler.handle(Patient patient,
User creator,
Date dateCreated,
String other) |
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(Integer patientId) |
Patient |
PatientServiceImpl.getPatientByExample(Patient patientToMatch)
This default implementation simply looks at the OpenMRS internal id (patient_id).
|
Patient |
PatientServiceImpl.getPatientByUuid(String uuid) |
Patient |
PatientServiceImpl.getPatientOrPromotePerson(Integer patientOrPersonId) |
Patient |
PatientServiceImpl.identifierInUse(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,
String reason) |
Modifier and Type | Method and Description |
---|---|
List<Patient> |
PatientServiceImpl.findDuplicatePatients(Set<String> attributes)
Deprecated.
|
List<Patient> |
PatientServiceImpl.findPatients(String query,
boolean includeVoided)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getAllPatients() |
List<Patient> |
PatientServiceImpl.getAllPatients(boolean includeVoided) |
List<Patient> |
PatientServiceImpl.getDuplicatePatientsByAttributes(List<String> attributes) |
List<Patient> |
PatientSetServiceImpl.getPatients(Collection<Integer> patientIds) |
List<Patient> |
PatientServiceImpl.getPatients(String query) |
List<Patient> |
PatientServiceImpl.getPatients(String query,
Integer start,
Integer length) |
List<Patient> |
PatientServiceImpl.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly) |
List<Patient> |
PatientServiceImpl.getPatients(String name,
String identifier,
List<PatientIdentifierType> identifierTypes,
boolean matchIdentifierExactly,
Integer start,
Integer length) |
List<Patient> |
PatientServiceImpl.getPatientsByIdentifier(String identifier,
boolean includeVoided)
Deprecated.
replaced by @deprecated replaced by
PatientServiceImpl.getPatients(String, String, List) |
List<Patient> |
PatientServiceImpl.getPatientsByIdentifierPattern(String identifier,
boolean includeVoided)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getPatientsByName(String name)
Deprecated.
|
List<Patient> |
PatientServiceImpl.getPatientsByName(String name,
boolean includeVoided)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
CohortServiceImpl.addPatientToCohort(Cohort cohort,
Patient patient) |
void |
PatientServiceImpl.checkPatientIdentifiers(Patient patient) |
void |
OrderServiceImpl.createOrdersAndEncounter(Patient p,
Collection<Order> orders)
TODO: Refactor, generalize, or remove this method
|
Patient |
PatientServiceImpl.createPatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
PatientServiceImpl.deletePatient(Patient patient)
Deprecated.
replaced by
PatientServiceImpl.purgePatient(Patient) |
void |
OrderServiceImpl.discontinueAllOrders(Patient patient,
Concept discontinueReason,
Date discontinueDate)
Deprecated.
|
void |
OrderServiceImpl.discontinueDrugSet(Patient patient,
String drugSetId,
Concept discontinueReason,
Date discontinueDate)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.enrollPatientInProgram(Patient patient,
Program program,
Date enrollmentDate,
Date completionDate,
User creator)
Deprecated.
|
void |
PatientServiceImpl.exitFromCare(Patient patient,
Date dateExited,
Concept reasonForExit)
This is the way to establish that a patient has left the care center.
|
Patient |
PatientServiceImpl.findPatient(Patient patientToMatch)
Deprecated.
|
List<Cohort> |
CohortServiceImpl.getCohortsContainingPatient(Patient patient) |
Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getCurrentPrograms(Patient patient,
Date onDate)
Deprecated.
|
Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
|
List<DrugOrder> |
OrderServiceImpl.getDrugOrdersByPatient(Patient patient) |
List<DrugOrder> |
OrderServiceImpl.getDrugOrdersByPatient(Patient patient,
int whatToShow)
Deprecated.
|
List<DrugOrder> |
OrderServiceImpl.getDrugOrdersByPatient(Patient patient,
int whatToShow,
boolean includeVoided)
Deprecated.
|
List<DrugOrder> |
OrderServiceImpl.getDrugOrdersByPatient(Patient patient,
OrderService.ORDER_STATUS orderStatus) |
List<DrugOrder> |
OrderServiceImpl.getDrugOrdersByPatient(Patient patient,
OrderService.ORDER_STATUS orderStatus,
boolean includeVoided) |
List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who)
Deprecated.
|
List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
boolean includeVoided)
|
List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Date fromDate,
Date toDate)
|
List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location where)
|
List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location loc,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
boolean includeVoided)
|
List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location loc,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(Patient patient) |
List<Order> |
OrderServiceImpl.getOrdersByPatient(Patient patient) |
Patient |
PatientServiceImpl.getPatientByExample(Patient patientToMatch)
This default implementation simply looks at the OpenMRS internal id (patient_id).
|
Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient)
Deprecated.
|
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
Person |
PersonServiceImpl.getPerson(Patient pat)
Deprecated.
|
Patient |
PatientServiceImpl.identifierInUse(String identifier,
PatientIdentifierType type,
Patient ignorePatient)
Deprecated.
use getPatientByIdentifier(String) instead
|
boolean |
ProgramWorkflowServiceImpl.isInProgram(Patient patient,
Program program,
Date fromDate,
Date toDate)
Deprecated.
|
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,
Date dateDied,
Concept causeOfDeath,
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,
Date deathDate,
Concept cause,
String otherReason) |
Patient |
PatientServiceImpl.savePatient(Patient patient) |
void |
ProgramWorkflowServiceImpl.triggerStateConversion(Patient patient,
Concept trigger,
Date dateConverted) |
Patient |
PatientServiceImpl.unvoidPatient(Patient patient) |
Patient |
PatientServiceImpl.updatePatient(Patient patient)
Deprecated.
replaced by #savePatient(Patient)
|
void |
OrderServiceImpl.voidDrugSet(Patient patient,
String drugSetId,
String voidReason,
int whatToVoid)
|
Patient |
PatientServiceImpl.voidPatient(Patient patient,
String reason) |
Modifier and Type | Method and Description |
---|---|
<Ord extends Order> |
OrderServiceImpl.getOrders(Class<Ord> orderClassType,
List<Patient> patients,
List<Concept> concepts,
OrderService.ORDER_STATUS status,
List<User> orderers,
List<Encounter> encounters,
List<OrderType> orderTypes) |
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
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,
Locale l) |
MLMObject(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(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,
Map<String,Object> parameters)
Deprecated.
|
Result |
LogicService.eval(Patient who,
String expression)
Deprecated.
|
Result |
LogicService.eval(Patient who,
String expression,
Map<String,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 | Method and Description |
---|---|
static void |
OrderUtil.discontinueAllOrders(Patient patient,
Concept discontinueReason,
Date discontinueDate)
Discontinues all current orders for the given
patient |
static void |
OrderUtil.discontinueDrugSet(Patient patient,
String drugSetId,
Concept discontinueReason,
Date discontinueDate)
Discontinue orders for the given patient with the given drug sets ...
|
static void |
OrderUtil.voidDrugSet(Patient patient,
String drugSetId,
String voidReason,
OrderService.ORDER_STATUS status)
Void all DrugOrders for drugs whose concepts are in the given set, and that have the given
status.
|
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
|
Constructor and Description |
---|
PatientListItem(Patient patient) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.