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.parameter | |
org.openmrs.propertyeditor |
Modifier and Type | Method and Description |
---|---|
Visit |
VisitAttribute.getVisit() |
Visit |
Encounter.getVisit()
Gets the visit.
|
Modifier and Type | Method and Description |
---|---|
void |
VisitAttribute.setVisit(Visit visit) |
void |
Encounter.setVisit(Visit visit)
Sets the visit
|
Modifier and Type | Method and Description |
---|---|
Visit |
VisitService.endVisit(Visit visit,
Date stopDate)
Sets the stopDate of a given visit.
|
Visit |
VisitService.getVisit(Integer visitId)
Gets a visit by its visit id.
|
Visit |
VisitService.getVisitByUuid(String uuid)
Gets a visit by its UUID.
|
Visit |
VisitService.saveVisit(Visit visit)
Creates or updates the given visit in the database.
|
Visit |
VisitService.unvoidVisit(Visit visit)
Unvoids the given visit.
|
Visit |
VisitService.voidVisit(Visit visit,
String reason)
Voids the given visit.
|
Modifier and Type | Method and Description |
---|---|
List<Visit> |
VisitService.getActiveVisitsByPatient(Patient patient)
Convenience method that delegates to getVisitsByPatient(patient, false, false)
|
List<Visit> |
VisitService.getAllVisits()
Gets all unvoided visits in the database.
|
List<Visit> |
VisitService.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,Object> attributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
List<Visit> |
VisitService.getVisits(VisitSearchCriteria visitSearchCriteria)
Gets the visits matching the specified search criteria
|
List<Visit> |
VisitService.getVisitsByPatient(Patient patient)
Gets all unvoided visits for the specified patient
|
List<Visit> |
VisitService.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided)
Gets all visits for the specified patient
|
Modifier and Type | Method and Description |
---|---|
Visit |
VisitService.endVisit(Visit visit,
Date stopDate)
Sets the stopDate of a given visit.
|
List<Order> |
OrderService.getActiveOrders(Patient patient,
Visit visit,
OrderType orderType,
CareSetting careSetting,
Date asOfDate) |
List<Diagnosis> |
DiagnosisService.getDiagnosesByVisit(Visit visit,
boolean primaryOnly,
boolean confirmedOnly)
Gets diagnoses for a Visit.
|
List<Encounter> |
EncounterService.getEncountersByVisit(Visit visit,
boolean includeVoided)
Gets all encounters grouped within a given visit.
|
List<Order> |
OrderService.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided) |
void |
VisitService.purgeVisit(Visit visit)
Completely erases a visit from the database.
|
Visit |
VisitService.saveVisit(Visit visit)
Creates or updates the given visit in the database.
|
Visit |
VisitService.unvoidVisit(Visit visit)
Unvoids the given visit.
|
Visit |
VisitService.voidVisit(Visit visit,
String reason)
Voids the given visit.
|
Modifier and Type | Method and Description |
---|---|
List<Encounter> |
EncounterService.getEncounters(Patient who,
Location loc,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<Provider> providers,
Collection<VisitType> visitTypes,
Collection<Visit> visits,
boolean includeVoided)
Deprecated.
As of 2.0, replaced by
EncounterService.getEncounters(EncounterSearchCriteria) |
Integer |
ObsService.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
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,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Modifier and Type | Method and Description |
---|---|
Visit |
VisitDAO.getNextVisit(Visit previousVisit,
Collection<VisitType> visitTypes,
Date maximumStartDate)
Gets the next active visit which matches the specified visit types
|
Visit |
VisitDAO.getVisit(Integer visitId) |
Visit |
VisitDAO.getVisitByUuid(String uuid) |
Visit |
VisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
List<Visit> |
VisitDAO.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,String> serializedAttributeValues,
boolean includeInactive,
boolean includeVoided)
Gets the visits matching the specified arguments
|
List<Visit> |
VisitDAO.getVisits(VisitSearchCriteria criteria)
Gets the visits matching the specified search criteria
|
Modifier and Type | Method and Description |
---|---|
void |
VisitDAO.deleteVisit(Visit visit) |
List<Order> |
OrderDAO.getActiveOrders(Patient patient,
Visit visit,
List<OrderType> orderTypes,
CareSetting careSetting,
Date asOfDate) |
List<Diagnosis> |
DiagnosisDAO.getDiagnosesByVisit(Visit visit,
boolean primaryOnly,
boolean confirmedOnly) |
List<Encounter> |
EncounterDAO.getEncountersByVisit(Visit visit,
boolean includeVoided) |
Visit |
VisitDAO.getNextVisit(Visit previousVisit,
Collection<VisitType> visitTypes,
Date maximumStartDate)
Gets the next active visit which matches the specified visit types
|
List<Order> |
OrderDAO.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
Visit |
VisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
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> sortList,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Modifier and Type | Method and Description |
---|---|
Visit |
HibernateVisitDAO.getNextVisit(Visit previousVisit,
Collection<VisitType> visitTypes,
Date maximumStartDate) |
Visit |
HibernateVisitDAO.getVisit(Integer visitId) |
Visit |
HibernateVisitDAO.getVisitByUuid(String uuid) |
Visit |
HibernateVisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
List<Visit> |
HibernateVisitDAO.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,String> serializedAttributeValues,
boolean includeInactive,
boolean includeVoided) |
List<Visit> |
HibernateVisitDAO.getVisits(VisitSearchCriteria criteria) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateVisitDAO.deleteVisit(Visit visit) |
List<Order> |
HibernateOrderDAO.getActiveOrders(Patient patient,
Visit visit,
List<OrderType> orderTypes,
CareSetting careSetting,
Date asOfDate) |
List<Diagnosis> |
HibernateDiagnosisDAO.getDiagnosesByVisit(Visit visit,
boolean primaryOnly,
boolean confirmedOnly) |
List<Encounter> |
HibernateEncounterDAO.getEncountersByVisit(Visit visit,
boolean includeVoided) |
Visit |
HibernateVisitDAO.getNextVisit(Visit previousVisit,
Collection<VisitType> visitTypes,
Date maximumStartDate) |
List<Order> |
HibernateOrderDAO.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
List<OrderType> orderTypes,
boolean includeVoided,
boolean includeDiscontinuationOrders) |
Visit |
HibernateVisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
Long |
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,
List<Visit> visits,
boolean includeVoidedObs,
String accessionNumber) |
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,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Modifier and Type | Method and Description |
---|---|
void |
VisitVoidHandler.handle(Visit voidableObject,
User voidingUser,
Date voidedDate,
String voidReason) |
void |
VisitUnvoidHandler.handle(Visit visit,
User voidingUser,
Date origParentVoidedDate,
String unused) |
Modifier and Type | Method and Description |
---|---|
Visit |
VisitServiceImpl.endVisit(Visit visit,
Date stopDate) |
Visit |
VisitServiceImpl.getVisit(Integer visitId) |
Visit |
VisitServiceImpl.getVisitByUuid(String uuid) |
Visit |
VisitServiceImpl.saveVisit(Visit visit) |
Visit |
VisitServiceImpl.unvoidVisit(Visit visit) |
Visit |
VisitServiceImpl.voidVisit(Visit visit,
String reason) |
Modifier and Type | Method and Description |
---|---|
List<Visit> |
VisitServiceImpl.getActiveVisitsByPatient(Patient patient) |
List<Visit> |
VisitServiceImpl.getAllVisits() |
List<Visit> |
VisitServiceImpl.getVisits(Collection<VisitType> visitTypes,
Collection<Patient> patients,
Collection<Location> locations,
Collection<Concept> indications,
Date minStartDatetime,
Date maxStartDatetime,
Date minEndDatetime,
Date maxEndDatetime,
Map<VisitAttributeType,Object> attributeValues,
boolean includeInactive,
boolean includeVoided) |
List<Visit> |
VisitServiceImpl.getVisits(VisitSearchCriteria visitSearchCriteria) |
List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient) |
List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
Visit |
VisitServiceImpl.endVisit(Visit visit,
Date stopDate) |
List<Order> |
OrderServiceImpl.getActiveOrders(Patient patient,
Visit visit,
OrderType orderType,
CareSetting careSetting,
Date asOfDate) |
List<Diagnosis> |
DiagnosisServiceImpl.getDiagnosesByVisit(Visit visit,
boolean primaryOnly,
boolean confirmedOnly) |
List<Encounter> |
EncounterServiceImpl.getEncountersByVisit(Visit visit,
boolean includeVoided) |
List<Order> |
OrderServiceImpl.getOrders(Patient patient,
Visit visit,
CareSetting careSetting,
OrderType orderType,
boolean includeVoided) |
void |
VisitServiceImpl.purgeVisit(Visit visit) |
Visit |
VisitServiceImpl.saveVisit(Visit visit) |
Visit |
VisitServiceImpl.unvoidVisit(Visit visit) |
Visit |
VisitServiceImpl.voidVisit(Visit visit,
String reason) |
Modifier and Type | Method and Description |
---|---|
List<Encounter> |
EncounterServiceImpl.getEncounters(Patient who,
Location loc,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<Provider> providers,
Collection<VisitType> visitTypes,
Collection<Visit> visits,
boolean includeVoided)
Deprecated.
As of 2.0, replaced by
EncounterServiceImpl.getEncounters(EncounterSearchCriteria) |
Integer |
ObsServiceImpl.getObservationCount(List<Person> whom,
List<Encounter> encounters,
List<Concept> questions,
List<Concept> answers,
List<OpenmrsConstants.PERSON_TYPE> personTypes,
List<Location> locations,
List<Visit> visits,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
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,
List<Visit> visits,
Integer mostRecentN,
Integer obsGroupId,
Date fromDate,
Date toDate,
boolean includeVoidedObs,
String accessionNumber) |
Modifier and Type | Method and Description |
---|---|
Visit |
OrderSearchCriteria.getVisit() |
Modifier and Type | Method and Description |
---|---|
Collection<Visit> |
EncounterSearchCriteria.getVisits() |
Modifier and Type | Method and Description |
---|---|
OrderSearchCriteriaBuilder |
OrderSearchCriteriaBuilder.setVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
EncounterSearchCriteriaBuilder |
EncounterSearchCriteriaBuilder.setVisits(Collection<Visit> visits) |
Constructor and Description |
---|
OrderSearchCriteria(Patient patient,
CareSetting careSetting,
Collection<Concept> concepts,
Collection<OrderType> orderTypes,
String accessionNumber,
String orderNumber,
Date activatedOnOrBeforeDate,
Date activatedOnOrAfterDate,
boolean isStopped,
Date autoExpireOnOrBeforeDate,
Date canceledOrExpiredOnOrBeforeDate,
Order.Action action,
Order.FulfillerStatus fulfillerStatus,
Boolean includeNullFulfillerStatus,
boolean excludeCanceledAndExpired,
boolean excludeDiscontinueOrders,
boolean includeVoided,
Visit visit) |
Constructor and Description |
---|
EncounterSearchCriteria(Patient patient,
Location location,
Date fromDate,
Date toDate,
Date dateChanged,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<Provider> providers,
Collection<VisitType> visitTypes,
Collection<Visit> visits,
boolean includeVoided)
Instead of calling this constructor directly, it is recommended to use
EncounterSearchCriteriaBuilder . |
Modifier and Type | Method and Description |
---|---|
protected Visit |
VisitEditor.getObjectById(Integer id) |
protected Visit |
VisitEditor.getObjectByUuid(String uuid) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.