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.context |
This package describes the context framework through which
authentication is performed and services provided for the OpenMRS system.
|
org.openmrs.api.db |
OpenMRS database layer interfaces.
|
org.openmrs.api.db.hibernate |
Resources for Hibernate ORM.
|
org.openmrs.api.impl | |
org.openmrs.reporting |
Deprecated
|
org.openmrs.reporting.export | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.web.controller.patient | |
org.openmrs.web.dwr | |
org.openmrs.web.taglib |
Modifier and Type | Field and Description |
---|---|
protected Location |
Obs.location |
Modifier and Type | Method and Description |
---|---|
Location |
Encounter.getLocation() |
Location |
PatientProgram.getLocation() |
Location |
Obs.getLocation() |
Location |
PatientIdentifier.getLocation() |
Location |
Location.getParentLocation() |
Location |
Location.hydrate(String locationId) |
Modifier and Type | Method and Description |
---|---|
List<Location> |
Location.findPossibleValues(String searchText) |
Set<Location> |
Location.getChildLocations() |
Set<Location> |
Location.getChildLocations(boolean includeRetired)
Returns all childLocations where child.locationId = this.locationId.
|
List<Location> |
Location.getPossibleValues() |
Modifier and Type | Method and Description |
---|---|
void |
Location.addChildLocation(Location child) |
static Boolean |
Location.isInHierarchy(Location location,
Location root)
Checks whether 'location' is a member of the tree starting at 'root'.
|
void |
Location.removeChildLocation(Location child) |
void |
Encounter.setLocation(Location location) |
void |
PatientProgram.setLocation(Location location) |
void |
Obs.setLocation(Location location) |
void |
PatientIdentifier.setLocation(Location location) |
void |
Location.setParentLocation(Location parentLocationId) |
Modifier and Type | Method and Description |
---|---|
void |
Location.setChildLocations(Set<Location> childLocations) |
Constructor and Description |
---|
Obs(Person person,
Concept question,
Date obsDatetime,
Location location)
Required parameters constructor A value is also required, but that can be one of: valueCoded,
valueDrug, valueNumeric, or valueText
|
PatientIdentifier(String identifier,
PatientIdentifierType type,
Location location)
Convenience constructor for creating a basic identifier
|
Modifier and Type | Method and Description |
---|---|
Location |
LocationService.getDefaultLocation()
Returns the default location for this implementation.
|
Location |
LocationService.getLocation(Integer locationId)
Returns a location given that locations primary key
locationId A null value is
returned if no location exists with this location. |
Location |
EncounterService.getLocation(Integer locationId)
Deprecated.
replaced by
LocationService.getLocation(Integer) |
Location |
LocationService.getLocation(String name)
Returns a location given the location's exact
name A null value is returned if
there is no location with this name |
Location |
EncounterService.getLocationByName(String name)
Deprecated.
replaced by
LocationService.getLocation(String) |
Location |
LocationService.getLocationByUuid(String uuid)
Returns a location by uuid
|
Location |
LocationService.retireLocation(Location location,
String reason)
Retires the given location.
|
Location |
LocationService.saveLocation(Location location)
Save location to database (create if new or update if changed)
|
Location |
LocationService.unretireLocation(Location location)
Unretire the given location.
|
Modifier and Type | Method and Description |
---|---|
List<Location> |
EncounterService.findLocations(String name)
Deprecated.
replaced by
LocationService.getLocations(String) |
List<Location> |
LocationService.getAllLocations()
Returns all locations, includes retired locations.
|
List<Location> |
LocationService.getAllLocations(boolean includeRetired)
Returns all locations.
|
List<Location> |
EncounterService.getLocations()
Deprecated.
replaced by
LocationService.getAllLocations() |
List<Location> |
LocationService.getLocations(String nameFragment)
Returns locations that match the beginning of the given string.
|
List<Location> |
LocationService.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length)
Returns a specific number locations from the specified starting position that match the
beginning of the given string.
|
List<Location> |
LocationService.getLocationsByTag(LocationTag tag)
Returns locations that contain the given tag.
|
List<Location> |
LocationService.getLocationsHavingAllTags(List<LocationTag> tags)
Returns locations that are mapped to all given tags.
|
List<Location> |
LocationService.getLocationsHavingAnyTag(List<LocationTag> tags)
Returns locations that are mapped to any of the given tags.
|
Modifier and Type | Method and Description |
---|---|
void |
AdministrationService.createLocation(Location location)
Deprecated.
|
void |
AdministrationService.deleteLocation(Location location)
Deprecated.
|
Collection<Encounter> |
EncounterService.getEncounters(Location loc,
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<Obs> |
ObsService.getObservations(Concept c,
Location loc,
String sort,
Integer personType,
boolean includeVoided)
|
Cohort |
PatientSetService.getPatientsHavingEncounters(EncounterType encounterType,
Location location,
Form form,
Date fromDate,
Date toDate,
Integer minCount,
Integer maxCount)
Searches for patients who have encounters as described by the arguments to this method
|
Cohort |
PatientSetService.getPatientsHavingEncounters(List<EncounterType> encounterTypeList,
Location location,
Form form,
Date fromDate,
Date toDate,
Integer minCount,
Integer maxCount)
Gets patients who have encounters as described by the parameters specified (all optional)
|
Cohort |
PatientSetService.getPatientsHavingLocation(Location loc) |
Cohort |
PatientSetService.getPatientsHavingLocation(Location loc,
PatientSetService.PatientLocationMethod method) |
void |
LocationService.purgeLocation(Location location)
Completely remove a location from the database (not reversible) This method delegates to
#purgeLocation(location, boolean) method
|
Location |
LocationService.retireLocation(Location location,
String reason)
Retires the given location.
|
Location |
LocationService.saveLocation(Location location)
Save location to database (create if new or update if changed)
|
Location |
LocationService.unretireLocation(Location location)
Unretire the given location.
|
void |
AdministrationService.updateLocation(Location location)
Deprecated.
|
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.
|
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 |
---|---|
Location |
UserContext.getLocation() |
Modifier and Type | Method and Description |
---|---|
void |
UserContext.setLocation(Location location) |
Modifier and Type | Method and Description |
---|---|
Location |
LocationDAO.getLocation(Integer locationId)
Get a location by locationId
|
Location |
LocationDAO.getLocation(String name)
Get a location by name
|
Location |
LocationDAO.getLocationByUuid(String uuid) |
Location |
EncounterDAO.getSavedEncounterLocation(Encounter encounter)
Gets the location of the encounter
|
Location |
LocationDAO.saveLocation(Location location)
Create or update a location.
|
Modifier and Type | Method and Description |
---|---|
List<Location> |
LocationDAO.getAllLocations(boolean includeRetired)
Get all locations
|
List<Location> |
LocationDAO.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length)
Returns a specified number of locations starting with a given string from the specified index
|
Modifier and Type | Method and Description |
---|---|
void |
LocationDAO.deleteLocation(Location location)
Completely remove the location from the database.
|
List<Encounter> |
EncounterDAO.getEncounters(Patient patient,
Location location,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided) |
Cohort |
PatientSetDAO.getPatientsHavingEncounters(List<EncounterType> encounterTypeList,
Location location,
Form form,
Date fromDate,
Date toDate,
Integer minCount,
Integer maxCount) |
Location |
LocationDAO.saveLocation(Location location)
Create or update a location.
|
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) |
List<PatientIdentifier> |
PatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
Modifier and Type | Method and Description |
---|---|
Location |
HibernateLocationDAO.getLocation(Integer locationId) |
Location |
HibernateLocationDAO.getLocation(String name) |
Location |
HibernateLocationDAO.getLocationByUuid(String uuid) |
Location |
HibernateEncounterDAO.getSavedEncounterLocation(Encounter encounter) |
Location |
HibernateLocationDAO.saveLocation(Location location) |
Modifier and Type | Method and Description |
---|---|
List<Location> |
HibernateLocationDAO.getAllLocations(boolean includeRetired) |
List<Location> |
HibernateLocationDAO.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateLocationDAO.deleteLocation(Location location) |
List<Encounter> |
HibernateEncounterDAO.getEncounters(Patient patient,
Location location,
Date fromDate,
Date toDate,
Collection<Form> enteredViaForms,
Collection<EncounterType> encounterTypes,
Collection<User> providers,
boolean includeVoided) |
Cohort |
HibernatePatientSetDAO.getPatientsHavingEncounters(List<EncounterType> encounterTypeList,
Location location,
Form form,
Date fromDate,
Date toDate,
Integer minCount,
Integer maxCount)
Returns the set of patients that have encounters, with several optional parameters:
of type encounterType
at a given location
from filling out a specific form
on or after fromDate
on or before toDate
patients with at least minCount of the given encounters
patients with up to maxCount of the given encounters
|
Location |
HibernateLocationDAO.saveLocation(Location location) |
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) |
List<PatientIdentifier> |
HibernatePatientDAO.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
Modifier and Type | Method and Description |
---|---|
Location |
LocationServiceImpl.getDefaultLocation() |
Location |
LocationServiceImpl.getLocation(Integer locationId) |
Location |
EncounterServiceImpl.getLocation(Integer locationId)
Deprecated.
use LocationService.getLocation(locationId)
|
Location |
LocationServiceImpl.getLocation(String name) |
Location |
EncounterServiceImpl.getLocationByName(String name)
Deprecated.
use LocationService.getLocation(name)
|
Location |
LocationServiceImpl.getLocationByUuid(String uuid) |
Location |
LocationServiceImpl.retireLocation(Location location,
String reason) |
Location |
LocationServiceImpl.saveLocation(Location location) |
Location |
LocationServiceImpl.unretireLocation(Location location) |
Modifier and Type | Method and Description |
---|---|
List<Location> |
EncounterServiceImpl.findLocations(String name)
Deprecated.
use LocationService.getLocations(name)
|
List<Location> |
LocationServiceImpl.getAllLocations() |
List<Location> |
LocationServiceImpl.getAllLocations(boolean includeRetired) |
List<Location> |
EncounterServiceImpl.getLocations()
Deprecated.
use LocationService.getAllLocations()
|
List<Location> |
LocationServiceImpl.getLocations(String nameFragment) |
List<Location> |
LocationServiceImpl.getLocations(String nameFragment,
boolean includeRetired,
Integer start,
Integer length) |
List<Location> |
LocationServiceImpl.getLocationsByTag(LocationTag tag) |
List<Location> |
LocationServiceImpl.getLocationsHavingAllTags(List<LocationTag> tags) |
List<Location> |
LocationServiceImpl.getLocationsHavingAnyTag(List<LocationTag> tags) |
Modifier and Type | Method and Description |
---|---|
void |
AdministrationServiceImpl.createLocation(Location location)
Deprecated.
|
void |
AdministrationServiceImpl.deleteLocation(Location location)
Deprecated.
|
List<Encounter> |
EncounterServiceImpl.getEncounters(Location loc,
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<Obs> |
ObsServiceImpl.getObservations(Concept c,
Location loc,
String sort,
Integer personType,
boolean includeVoided)
Deprecated.
|
Cohort |
PatientSetServiceImpl.getPatientsHavingEncounters(EncounterType encounterType,
Location location,
Form form,
Date fromDate,
Date toDate,
Integer minCount,
Integer maxCount) |
Cohort |
PatientSetServiceImpl.getPatientsHavingEncounters(List<EncounterType> encounterTypeList,
Location location,
Form form,
Date fromDate,
Date toDate,
Integer minCount,
Integer maxCount) |
Cohort |
PatientSetServiceImpl.getPatientsHavingLocation(Location loc) |
Cohort |
PatientSetServiceImpl.getPatientsHavingLocation(Location loc,
PatientSetService.PatientLocationMethod method) |
void |
LocationServiceImpl.purgeLocation(Location location) |
Location |
LocationServiceImpl.retireLocation(Location location,
String reason) |
Location |
LocationServiceImpl.saveLocation(Location location) |
Location |
LocationServiceImpl.unretireLocation(Location location) |
void |
AdministrationServiceImpl.updateLocation(Location location)
Deprecated.
|
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) |
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiers(String identifier,
List<PatientIdentifierType> patientIdentifierTypes,
List<Location> locations,
List<Patient> patients,
Boolean isPreferred) |
Modifier and Type | Method and Description |
---|---|
Location |
EncounterPatientFilter.getLocation()
Deprecated.
|
Location |
LocationPatientFilter.getLocation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
EncounterPatientFilter.setLocation(Location location)
Deprecated.
|
void |
LocationPatientFilter.setLocation(Location location)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Location |
RowPerObsDataExportReportObject.getLocation()
Deprecated.
|
Location |
DataExportReportObject.getLocation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RowPerObsDataExportReportObject.setLocation(Location location)
Deprecated.
|
void |
DataExportReportObject.setLocation(Location location)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Location |
LocationUtility.getDefaultLocation()
Gets the system default location specified as a global property.
|
static Location |
LocationUtility.getUserDefaultLocation()
Convenience method that returns the default location of the authenticated user.
|
Modifier and Type | Method and Description |
---|---|
Location |
ShortPatientFormController.getDefaultLocation() |
Modifier and Type | Method and Description |
---|---|
List<Location> |
ShortPatientFormController.getLocations() |
Constructor and Description |
---|
LocationListItem(Location location) |
Modifier and Type | Method and Description |
---|---|
Location |
FormatTag.getLocation() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setLocation(Location location) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.