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.handler | |
org.openmrs.api.impl | |
org.openmrs.hl7 |
OpenMRS HL7 module.
|
org.openmrs.hl7.impl | |
org.openmrs.reporting.export | |
org.openmrs.web.dwr | |
org.openmrs.web.taglib | |
org.openmrs.web.taglib.functions |
Modifier and Type | Field and Description |
---|---|
protected Encounter |
Obs.encounter |
Modifier and Type | Method and Description |
---|---|
Encounter |
ConceptProposal.getEncounter() |
Encounter |
Order.getEncounter() |
Encounter |
Obs.getEncounter() |
Modifier and Type | Method and Description |
---|---|
void |
ConceptProposal.setEncounter(Encounter encounter) |
void |
Order.setEncounter(Encounter encounter) |
void |
Obs.setEncounter(Encounter encounter) |
Modifier and Type | Method and Description |
---|---|
Encounter |
EncounterService.getEncounter(Integer encounterId)
Get encounter by internal identifier
|
Encounter |
EncounterService.getEncounterByUuid(String uuid)
Get Encounter by its UUID
|
Encounter |
EncounterService.saveEncounter(Encounter encounter)
Saves a new encounter or updates an existing encounter.
|
Encounter |
EncounterService.unvoidEncounter(Encounter encounter)
Unvoid encounter record
|
Encounter |
EncounterService.voidEncounter(Encounter encounter,
String reason)
Voiding a encounter essentially removes it from circulation
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,List<Encounter>> |
EncounterService.getAllEncounters(Cohort patients)
Get all encounters for a cohort of patients
|
Map<Integer,Encounter> |
PatientSetService.getEncounters(Cohort patients)
This method returns a map of patients matched against their most recent encounters given a
Cohort of patients, see
EncounterService.getAllEncounters(Cohort) which gets a map of
patient matched against lists of all their encounters. |
Collection<Encounter> |
EncounterService.getEncounters(Date fromDate,
Date toDate)
|
Collection<Encounter> |
EncounterService.getEncounters(Location loc,
Date fromDate,
Date toDate)
|
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.getEncounters(String query,
Integer start,
Integer length,
boolean includeVoided)
Search for encounters by patient name or patient identifier and returns a specific number of
them from the specified starting position.
|
List<Encounter> |
PatientSetService.getEncountersByForm(Cohort patients,
List<Form> form)
Gets a list of encounters associated with the given form, filtered by the given patient set.
|
List<Encounter> |
EncounterService.getEncountersByPatient(Patient patient)
Get all encounters (not voided) for a patient, sorted by encounterDatetime ascending.
|
List<Encounter> |
EncounterService.getEncountersByPatient(String query)
Search for encounters by patient name or patient identifier.
|
List<Encounter> |
EncounterService.getEncountersByPatient(String query,
boolean includeVoided)
Search for encounters by patient name or patient identifier.
|
List<Encounter> |
EncounterService.getEncountersByPatientId(Integer patientId)
Get encounters for a patientId
|
List<Encounter> |
EncounterService.getEncountersByPatientId(Integer patientId,
boolean includeVoided)
Deprecated.
|
List<Encounter> |
EncounterService.getEncountersByPatientIdentifier(String identifier)
Get encounters (not voided) for a patient identifier
|
List<Encounter> |
EncounterService.getEncountersByPatientIdentifier(String identifier,
boolean includeVoided)
Deprecated.
|
Map<Integer,Encounter> |
PatientSetService.getEncountersByType(Cohort patients,
EncounterType encType)
TODO write something here
|
Map<Integer,Encounter> |
PatientSetService.getEncountersByType(Cohort patients,
List<EncounterType> encType)
TODO write something here
|
Map<Integer,Encounter> |
PatientSetService.getFirstEncountersByType(Cohort patients,
EncounterType encType)
TODO write something here
|
Map<Integer,Encounter> |
PatientSetService.getFirstEncountersByType(Cohort patients,
List<EncounterType> types)
TODO write something here
|
Modifier and Type | Method and Description |
---|---|
void |
EncounterService.createEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.saveEncounter(Encounter) |
void |
EncounterService.deleteEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.purgeEncounter(Encounter) |
Set<Obs> |
ObsService.getObservations(Encounter whichEncounter)
Deprecated.
use
org.openmrs |
List<Order> |
OrderService.getOrdersByEncounter(Encounter encounter)
Gets all orders contained in an encounter
|
void |
EncounterService.purgeEncounter(Encounter encounter)
Completely remove an encounter from database.
|
void |
EncounterService.purgeEncounter(Encounter encounter,
boolean cascade)
Completely remove an encounter from database.
|
Encounter |
EncounterService.saveEncounter(Encounter encounter)
Saves a new encounter or updates an existing encounter.
|
Encounter |
EncounterService.unvoidEncounter(Encounter encounter)
Unvoid encounter record
|
void |
EncounterService.updateEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterService.saveEncounter(Encounter) |
Encounter |
EncounterService.voidEncounter(Encounter encounter,
String reason)
Voiding a encounter essentially removes it from circulation
|
Modifier and Type | Method and Description |
---|---|
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches the count of observations according to the criteria in the given
arguments.
|
List<Obs> |
ObsService.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs)
This method fetches observations according to the criteria in the given arguments.
|
<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.
|
Modifier and Type | Method and Description |
---|---|
Encounter |
EncounterDAO.getEncounter(Integer encounterId)
Get encounter by internal identifier
|
Encounter |
EncounterDAO.getEncounterByUuid(String uuid)
Find
Encounter matching a uuid |
Encounter |
EncounterDAO.saveEncounter(Encounter encounter)
Saves an encounter
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,List<Encounter>> |
EncounterDAO.getAllEncounters(Cohort patients) |
Map<Integer,Encounter> |
PatientSetDAO.getEncounters(Cohort patients) |
List<Encounter> |
EncounterDAO.getEncounters(Patient patient,
Location location,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided) |
List<Encounter> |
EncounterDAO.getEncounters(String query,
Integer start,
Integer length,
boolean includeVoided)
Get a list of
Encounter by Patient name or identifier based on batch settings |
List<Encounter> |
PatientSetDAO.getEncountersByForm(Cohort patients,
List<Form> forms) |
List<Encounter> |
EncounterDAO.getEncountersByPatientId(Integer patientId) |
Map<Integer,Encounter> |
PatientSetDAO.getEncountersByType(Cohort patients,
List<EncounterType> encType) |
Map<Integer,Encounter> |
PatientSetDAO.getFirstEncountersByType(Cohort patients,
List<EncounterType> encType) |
Modifier and Type | Method and Description |
---|---|
void |
EncounterDAO.deleteEncounter(Encounter encounter)
Purge an encounter from database.
|
Date |
EncounterDAO.getSavedEncounterDatetime(Encounter encounter)
Gets the value of encounterDatetime currently saved in the database for the given encounter,
bypassing any caches.
|
Location |
EncounterDAO.getSavedEncounterLocation(Encounter encounter)
Gets the location of the encounter
|
Encounter |
EncounterDAO.saveEncounter(Encounter encounter)
Saves an encounter
|
Modifier and Type | Method and Description |
---|---|
Integer |
ObsDAO.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
List<Obs> |
ObsDAO.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
<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) |
Modifier and Type | Method and Description |
---|---|
Encounter |
HibernateEncounterDAO.getEncounter(Integer encounterId) |
Encounter |
HibernateEncounterDAO.getEncounterByUuid(String uuid) |
Encounter |
HibernateEncounterDAO.saveEncounter(Encounter encounter) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,List<Encounter>> |
HibernateEncounterDAO.getAllEncounters(Cohort patients) |
Map<Integer,Encounter> |
HibernatePatientSetDAO.getEncounters(Cohort patients) |
List<Encounter> |
HibernateEncounterDAO.getEncounters(Patient patient,
Location location,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided) |
List<Encounter> |
HibernateEncounterDAO.getEncounters(String query,
Integer start,
Integer length,
boolean includeVoided) |
List<Encounter> |
HibernatePatientSetDAO.getEncountersByForm(Cohort patients,
List<Form> forms)
Gets a list of encounters associated with the given form, filtered by the given patient set.
|
List<Encounter> |
HibernateEncounterDAO.getEncountersByPatientId(Integer patientId) |
Map<Integer,Encounter> |
HibernatePatientSetDAO.getEncountersByType(Cohort patients,
List<EncounterType> encTypes) |
Map<Integer,Encounter> |
HibernatePatientSetDAO.getFirstEncountersByType(Cohort patients,
List<EncounterType> types) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateEncounterDAO.deleteEncounter(Encounter encounter) |
Date |
HibernateEncounterDAO.getSavedEncounterDatetime(Encounter encounter) |
Location |
HibernateEncounterDAO.getSavedEncounterLocation(Encounter encounter) |
Encounter |
HibernateEncounterDAO.saveEncounter(Encounter encounter) |
Modifier and Type | Method and Description |
---|---|
Integer |
HibernateObsDAO.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
List<ConceptName> valueCodedNameAnswers,
boolean includeVoidedObs) |
List<Obs> |
HibernateObsDAO.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sortList,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
<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) |
Modifier and Type | Method and Description |
---|---|
void |
EncounterSaveHandler.handle(Encounter object,
User creator,
Date dateCreated,
String other) |
Modifier and Type | Method and Description |
---|---|
Encounter |
EncounterServiceImpl.getEncounter(Integer encounterId) |
Encounter |
EncounterServiceImpl.getEncounterByUuid(String uuid) |
Encounter |
EncounterServiceImpl.saveEncounter(Encounter encounter) |
Encounter |
EncounterServiceImpl.unvoidEncounter(Encounter encounter) |
Encounter |
EncounterServiceImpl.voidEncounter(Encounter encounter,
String reason) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,List<Encounter>> |
EncounterServiceImpl.getAllEncounters(Cohort patients) |
Map<Integer,Encounter> |
PatientSetServiceImpl.getEncounters(Cohort patients) |
Collection<Encounter> |
EncounterServiceImpl.getEncounters(Date fromDate,
Date toDate)
|
List<Encounter> |
EncounterServiceImpl.getEncounters(Location loc,
Date fromDate,
Date toDate)
|
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.getEncounters(String query,
Integer start,
Integer length,
boolean includeVoided) |
List<Encounter> |
PatientSetServiceImpl.getEncountersByForm(Cohort patients,
List<Form> forms)
Gets a list of encounters associated with the given form, filtered by the given patient set.
|
List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(Patient patient) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(String query) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatient(String query,
boolean includeVoided) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientId(Integer patientId) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientId(Integer patientId,
boolean includeVoided)
Deprecated.
|
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientIdentifier(String identifier) |
List<Encounter> |
EncounterServiceImpl.getEncountersByPatientIdentifier(String identifier,
boolean includeVoided)
Deprecated.
|
Map<Integer,Encounter> |
PatientSetServiceImpl.getEncountersByType(Cohort patients,
EncounterType encType) |
Map<Integer,Encounter> |
PatientSetServiceImpl.getEncountersByType(Cohort patients,
List<EncounterType> types) |
Map<Integer,Encounter> |
PatientSetServiceImpl.getFirstEncountersByType(Cohort patients,
EncounterType encType) |
Map<Integer,Encounter> |
PatientSetServiceImpl.getFirstEncountersByType(Cohort patients,
List<EncounterType> types) |
Modifier and Type | Method and Description |
---|---|
void |
EncounterServiceImpl.createEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterServiceImpl.saveEncounter(Encounter) |
void |
EncounterServiceImpl.deleteEncounter(Encounter encounter)
Deprecated.
Replaced by
EncounterServiceImpl.purgeEncounter(Encounter) |
Set<Obs> |
ObsServiceImpl.getObservations(Encounter whichEncounter)
Deprecated.
use org.openmrs.Encounter#getObs()
|
List<Order> |
OrderServiceImpl.getOrdersByEncounter(Encounter encounter) |
void |
EncounterServiceImpl.purgeEncounter(Encounter encounter) |
void |
EncounterServiceImpl.purgeEncounter(Encounter encounter,
boolean cascade) |
Encounter |
EncounterServiceImpl.saveEncounter(Encounter encounter) |
Encounter |
EncounterServiceImpl.unvoidEncounter(Encounter encounter) |
void |
EncounterServiceImpl.updateEncounter(Encounter encounter)
Deprecated.
replaced by
EncounterServiceImpl.saveEncounter(Encounter) |
Encounter |
EncounterServiceImpl.voidEncounter(Encounter encounter,
String reason) |
Modifier and Type | Method and Description |
---|---|
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
List<Obs> |
ObsServiceImpl.getObservations(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<String> sort,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs) |
<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) |
Modifier and Type | Method and Description |
---|---|
void |
HL7Service.encounterCreated(Encounter encounter)
Deprecated.
This method is no longer needed. When an encounter is created in the ROUR01
handler, it is created with all obs. Any AOP hooking should be done on the
EncounterService.createEncounter(Encounter) method
|
Modifier and Type | Method and Description |
---|---|
void |
HL7ServiceImpl.encounterCreated(Encounter encounter)
Deprecated.
This method is no longer needed. When an encounter is created
in the ROUR01 handler, it is created with all obs. Any AOP
hooking should be done on the
EncounterService.createEncounter(Encounter) method
|
Modifier and Type | Method and Description |
---|---|
Encounter |
DataExportFunctions.getFirstEncounter(String encounterType)
Deprecated.
|
Encounter |
DataExportFunctions.getLastEncounter(String encounterType)
Deprecated.
|
Constructor and Description |
---|
EncounterListItem(Encounter encounter) |
Modifier and Type | Method and Description |
---|---|
Encounter |
FormatTag.getEncounter() |
Modifier and Type | Method and Description |
---|---|
Collection<Encounter> |
ForEachEncounterTag.getEncounters() |
Collection<Encounter> |
SummaryTest.getEncounters() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setEncounter(Encounter encounter) |
Modifier and Type | Method and Description |
---|---|
void |
ForEachEncounterTag.setEncounters(Collection<Encounter> encounters) |
void |
SummaryTest.setEncounters(Collection<Encounter> encounters) |
Modifier and Type | Method and Description |
---|---|
static Set<Encounter> |
Filter.filterEncountersByType(Collection<Encounter> encs,
Integer type)
Returns a subset of the passed set of encounters that match the passed encounter type id
|
Modifier and Type | Method and Description |
---|---|
static Set<Encounter> |
Filter.filterEncountersByType(Collection<Encounter> encs,
Integer type)
Returns a subset of the passed set of encounters that match the passed encounter type id
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.