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.impl | |
org.openmrs.parameter | |
org.openmrs.propertyeditor |
Modifier and Type | Method and Description |
---|---|
VisitType |
Visit.getVisitType() |
Modifier and Type | Method and Description |
---|---|
void |
Visit.setVisitType(VisitType visitType) |
Constructor and Description |
---|
Visit(Patient patient,
VisitType visitType,
Date startDatetime)
|
Modifier and Type | Method and Description |
---|---|
VisitType |
VisitService.getVisitType(Integer visitTypeId)
Gets a visit type by its visit type id.
|
VisitType |
VisitService.getVisitTypeByUuid(String uuid)
Gets a visit type by its UUID.
|
VisitType |
VisitService.retireVisitType(VisitType visitType,
String reason)
Retires a given visit type.
|
VisitType |
VisitService.saveVisitType(VisitType visitType)
Creates or updates the given visit type in the database.
|
VisitType |
VisitService.unretireVisitType(VisitType visitType)
Unretires a visit type.
|
Modifier and Type | Method and Description |
---|---|
List<VisitType> |
VisitService.getAllVisitTypes()
Gets all visit types.
|
List<VisitType> |
VisitService.getAllVisitTypes(boolean includeRetired)
Get all visit types based on includeRetired flag
|
List<VisitType> |
VisitService.getVisitTypes(String fuzzySearchPhrase)
Gets all visit types whose names are similar to or contain the given search phrase.
|
Modifier and Type | Method and Description |
---|---|
void |
VisitService.purgeVisitType(VisitType visitType)
Completely removes a visit type from the database.
|
VisitType |
VisitService.retireVisitType(VisitType visitType,
String reason)
Retires a given visit type.
|
VisitType |
VisitService.saveVisitType(VisitType visitType)
Creates or updates the given visit type in the database.
|
VisitType |
VisitService.unretireVisitType(VisitType visitType)
Unretires a visit type.
|
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) |
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
|
Modifier and Type | Method and Description |
---|---|
VisitType |
VisitDAO.getVisitType(Integer visitTypeId) |
VisitType |
VisitDAO.getVisitTypeByUuid(String uuid) |
VisitType |
VisitDAO.saveVisitType(VisitType visitType) |
Modifier and Type | Method and Description |
---|---|
List<VisitType> |
VisitDAO.getAllVisitTypes() |
List<VisitType> |
VisitDAO.getAllVisitTypes(boolean includeRetired) |
List<VisitType> |
VisitDAO.getVisitTypes(String fuzzySearchPhrase) |
Modifier and Type | Method and Description |
---|---|
void |
VisitDAO.purgeVisitType(VisitType visitType) |
VisitType |
VisitDAO.saveVisitType(VisitType visitType) |
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
|
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
|
Modifier and Type | Method and Description |
---|---|
VisitType |
HibernateVisitDAO.getVisitType(Integer visitTypeId) |
VisitType |
HibernateVisitDAO.getVisitTypeByUuid(String uuid) |
VisitType |
HibernateVisitDAO.saveVisitType(VisitType visitType) |
Modifier and Type | Method and Description |
---|---|
List<VisitType> |
HibernateVisitDAO.getAllVisitTypes() |
List<VisitType> |
HibernateVisitDAO.getAllVisitTypes(boolean includeRetired) |
List<VisitType> |
HibernateVisitDAO.getVisitTypes(String fuzzySearchPhrase) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateVisitDAO.purgeVisitType(VisitType visitType) |
VisitType |
HibernateVisitDAO.saveVisitType(VisitType visitType) |
Modifier and Type | Method and Description |
---|---|
Visit |
HibernateVisitDAO.getNextVisit(Visit previousVisit,
Collection<VisitType> visitTypes,
Date maximumStartDate) |
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) |
Modifier and Type | Method and Description |
---|---|
VisitType |
VisitServiceImpl.getVisitType(Integer visitTypeId) |
VisitType |
VisitServiceImpl.getVisitTypeByUuid(String uuid) |
VisitType |
VisitServiceImpl.retireVisitType(VisitType visitType,
String reason) |
VisitType |
VisitServiceImpl.saveVisitType(VisitType visitType) |
VisitType |
VisitServiceImpl.unretireVisitType(VisitType visitType) |
Modifier and Type | Method and Description |
---|---|
List<VisitType> |
VisitServiceImpl.getAllVisitTypes() |
List<VisitType> |
VisitServiceImpl.getAllVisitTypes(boolean includeRetired) |
List<VisitType> |
VisitServiceImpl.getVisitTypes(String fuzzySearchPhrase) |
Modifier and Type | Method and Description |
---|---|
void |
VisitServiceImpl.purgeVisitType(VisitType visitType) |
VisitType |
VisitServiceImpl.retireVisitType(VisitType visitType,
String reason) |
VisitType |
VisitServiceImpl.saveVisitType(VisitType visitType) |
VisitType |
VisitServiceImpl.unretireVisitType(VisitType visitType) |
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) |
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) |
Modifier and Type | Method and Description |
---|---|
Collection<VisitType> |
VisitSearchCriteria.getVisitTypes() |
Collection<VisitType> |
EncounterSearchCriteria.getVisitTypes() |
Modifier and Type | Method and Description |
---|---|
void |
VisitSearchCriteria.setVisitTypes(Collection<VisitType> visitTypes)
Sets the collection of visit types to be included in the search criteria.
|
EncounterSearchCriteriaBuilder |
EncounterSearchCriteriaBuilder.setVisitTypes(Collection<VisitType> visitTypes) |
VisitSearchCriteriaBuilder |
VisitSearchCriteriaBuilder.visitTypes(Collection<VisitType> visitTypes)
Sets the visit types to include in the search criteria.
|
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 . |
VisitSearchCriteria(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)
Constructs a VisitSearchCriteria with the specified parameters.
|
Modifier and Type | Method and Description |
---|---|
protected VisitType |
VisitTypeEditor.getObjectById(Integer id) |
protected VisitType |
VisitTypeEditor.getObjectByUuid(String uuid) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.