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.web.controller.visit | |
org.openmrs.web.dwr | |
org.openmrs.web.taglib |
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,
java.util.Date stopDate)
Sets the stopDate of a given visit.
|
Visit |
VisitService.getVisit(java.lang.Integer visitId)
Gets a visit by its visit id.
|
Visit |
VisitService.getVisitByUuid(java.lang.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,
java.lang.String reason)
Voids the given visit.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Visit> |
VisitService.getActiveVisitsByPatient(Patient patient)
Convenience method that delegates to getVisitsByPatient(patient, false, false)
|
java.util.List<Visit> |
VisitService.getAllVisits()
Gets all unvoided visits in the database.
|
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
|
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
|
Modifier and Type | Method and Description |
---|---|
Visit |
VisitService.endVisit(Visit visit,
java.util.Date stopDate)
Sets the stopDate of a given visit.
|
java.util.List<Encounter> |
EncounterService.getEncountersByVisit(Visit visit,
boolean includeVoided)
Gets all encounters grouped within a given visit.
|
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,
java.lang.String reason)
Voids the given visit.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
Visit |
VisitDAO.getNextVisit(Visit previousVisit,
java.util.Collection<VisitType> visitTypes,
java.util.Date maximumStartDate)
Gets the next active visit which matches the specified visit types
|
Visit |
VisitDAO.getVisit(java.lang.Integer visitId) |
Visit |
VisitDAO.getVisitByUuid(java.lang.String uuid) |
Visit |
VisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
void |
VisitDAO.deleteVisit(Visit visit) |
java.util.List<Encounter> |
EncounterDAO.getEncountersByVisit(Visit visit,
boolean includeVoided) |
Visit |
VisitDAO.getNextVisit(Visit previousVisit,
java.util.Collection<VisitType> visitTypes,
java.util.Date maximumStartDate)
Gets the next active visit which matches the specified visit types
|
Visit |
VisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Visit |
HibernateVisitDAO.getNextVisit(Visit previousVisit,
java.util.Collection<VisitType> visitTypes,
java.util.Date maximumStartDate) |
Visit |
HibernateVisitDAO.getVisit(java.lang.Integer visitId) |
Visit |
HibernateVisitDAO.getVisitByUuid(java.lang.String uuid) |
Visit |
HibernateVisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
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 |
HibernateVisitDAO.deleteVisit(Visit visit) |
java.util.List<Encounter> |
HibernateEncounterDAO.getEncountersByVisit(Visit visit,
boolean includeVoided) |
Visit |
HibernateVisitDAO.getNextVisit(Visit previousVisit,
java.util.Collection<VisitType> visitTypes,
java.util.Date maximumStartDate) |
Visit |
HibernateVisitDAO.saveVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
void |
VisitUnvoidHandler.handle(Visit visit,
User voidingUser,
java.util.Date origParentVoidedDate,
java.lang.String unused) |
void |
VisitVoidHandler.handle(Visit voidableObject,
User voidingUser,
java.util.Date voidedDate,
java.lang.String voidReason) |
Modifier and Type | Method and Description |
---|---|
Visit |
VisitServiceImpl.endVisit(Visit visit,
java.util.Date stopDate) |
Visit |
VisitServiceImpl.getVisit(java.lang.Integer visitId) |
Visit |
VisitServiceImpl.getVisitByUuid(java.lang.String uuid) |
Visit |
VisitServiceImpl.saveVisit(Visit visit) |
Visit |
VisitServiceImpl.unvoidVisit(Visit visit) |
Visit |
VisitServiceImpl.voidVisit(Visit visit,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Visit> |
VisitServiceImpl.getActiveVisitsByPatient(Patient patient) |
java.util.List<Visit> |
VisitServiceImpl.getAllVisits() |
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) |
java.util.List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient) |
java.util.List<Visit> |
VisitServiceImpl.getVisitsByPatient(Patient patient,
boolean includeInactive,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
Visit |
VisitServiceImpl.endVisit(Visit visit,
java.util.Date stopDate) |
java.util.List<Encounter> |
EncounterServiceImpl.getEncountersByVisit(Visit visit,
boolean includeVoided) |
void |
VisitServiceImpl.purgeVisit(Visit visit) |
Visit |
VisitServiceImpl.saveVisit(Visit visit) |
Visit |
VisitServiceImpl.unvoidVisit(Visit visit) |
Visit |
VisitServiceImpl.voidVisit(Visit visit,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
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) |
Modifier and Type | Method and Description |
---|---|
Visit |
VisitFormController.getVisit(java.lang.Integer visitId,
java.lang.Integer patientId,
org.springframework.ui.ModelMap model) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
VisitFormController.endVisit(Visit visit,
java.lang.String stopDate,
javax.servlet.http.HttpServletRequest request)
Processes requests to end a visit
|
java.lang.String |
VisitFormController.endVisitNow(Visit visit,
javax.servlet.http.HttpSession session) |
java.lang.String |
VisitFormController.purgeVisit(org.springframework.web.context.request.WebRequest request,
Visit visit,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.ModelMap model)
Processes requests to purge a visit
|
java.lang.String |
VisitFormController.saveVisit(javax.servlet.http.HttpServletRequest request,
Visit visit,
org.springframework.validation.BindingResult result,
org.springframework.ui.ModelMap model)
Processes requests to save/update a visit
|
java.util.List<Encounter> |
VisitFormController.setEncounterDetails(Visit visit) |
java.lang.String |
VisitFormController.showForm(Visit visit,
java.lang.Boolean startNow,
org.springframework.ui.ModelMap model)
Processes requests to display the form
|
java.lang.String |
VisitFormController.unvoidVisit(org.springframework.web.context.request.WebRequest request,
Visit visit,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.ModelMap model)
Processes requests to unvoid a visit
|
java.lang.String |
VisitFormController.voidVisit(org.springframework.web.context.request.WebRequest request,
Visit visit,
java.lang.String voidReason,
org.springframework.web.bind.support.SessionStatus status,
org.springframework.ui.ModelMap model)
Processes requests to void a visit
|
Constructor and Description |
---|
VisitListItem(Visit visit) |
Modifier and Type | Method and Description |
---|---|
Visit |
FormatTag.getVisit() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Visit> |
ForEachVisitTag.getVisits() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setVisit(Visit visit) |
Modifier and Type | Method and Description |
---|---|
void |
ForEachVisitTag.setVisits(java.util.Collection<Visit> visits) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.