Package | Description |
---|---|
org.openmrs |
These classes represent the core domain objects for the OpenMRS project.
|
org.openmrs.activelist | |
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.arden | |
org.openmrs.logic.result | |
org.openmrs.obs | |
org.openmrs.obs.handler | |
org.openmrs.report |
Deprecated
|
org.openmrs.web.controller.encounter | |
org.openmrs.web.controller.observation | |
org.openmrs.web.controller.observation.handler | |
org.openmrs.web.dwr | |
org.openmrs.web.taglib | |
org.openmrs.web.taglib.functions |
Modifier and Type | Field and Description |
---|---|
protected Obs |
Obs.obsGroup
The "parent" of this obs.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Set<Obs> |
Obs.groupMembers
The list of obs grouped under this obs.
|
Modifier and Type | Method and Description |
---|---|
Obs |
ConceptProposal.getObs() |
Obs |
Obs.getObsGroup()
An obs grouping occurs when the question (#getConcept()) is a set.
|
Obs |
Obs.getPreviousVersion() |
static Obs |
Obs.newInstance(Obs obsToCopy)
This is an equivalent to a copy constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Obs> |
Encounter.getAllObs()
Convenience method to call
Encounter.getAllObs(boolean) with a false parameter |
java.util.Set<Obs> |
Encounter.getAllObs(boolean includeVoided)
Returns all Obs where Obs.encounterId = Encounter.encounterId In practice, this method should
not be used very often...
|
java.util.Set<Obs> |
Obs.getGroupMembers()
Get the non-voided members of the obs group, if this obs is a group.
|
java.util.Set<Obs> |
Obs.getGroupMembers(boolean includeVoided)
Get the group members of this obs group, if this obs is a group.
|
java.util.Set<Obs> |
Encounter.getObs() |
java.util.Set<Obs> |
Encounter.getObsAtTopLevel(boolean includeVoided)
Returns a Set
|
java.util.Set<Obs> |
Obs.getRelatedObservations()
Convenience method that returns related Obs If the Obs argument is not an ObsGroup: a
Set
|
Modifier and Type | Method and Description |
---|---|
void |
Obs.addGroupMember(Obs member)
Convenience method to add the given
obs to this grouping. |
void |
Encounter.addObs(Obs observation)
Add the given Obs to the list of obs for this Encounter.
|
static Obs |
Obs.newInstance(Obs obsToCopy)
This is an equivalent to a copy constructor.
|
void |
Obs.removeGroupMember(Obs member)
Convenience method to remove an Obs from this grouping This also removes the link in the
given
obs object to this obs grouper |
void |
Encounter.removeObs(Obs observation)
Remove the given observation from the list of obs for this Encounter
|
void |
ConceptProposal.setObs(Obs obs) |
void |
Obs.setObsGroup(Obs obsGroup)
This method does NOT add this current obs to the list of obs in obsGroup.getGroupMembers().
|
void |
Obs.setPreviousVersion(Obs previousVersion) |
Modifier and Type | Method and Description |
---|---|
void |
Obs.setGroupMembers(java.util.Set<Obs> groupMembers)
Set the members of the obs group, if this obs is a group.
|
void |
Encounter.setObs(java.util.Set<Obs> obs) |
Modifier and Type | Field and Description |
---|---|
protected Obs |
ActiveListItem.startObs |
protected Obs |
ActiveListItem.stopObs |
Modifier and Type | Method and Description |
---|---|
Obs |
ActiveListItem.getStartObs() |
Obs |
ActiveListItem.getStopObs() |
Modifier and Type | Method and Description |
---|---|
void |
ActiveListItem.setStartObs(Obs startObs) |
void |
ActiveListItem.setStopObs(Obs stopObs) |
Modifier and Type | Method and Description |
---|---|
Obs |
ObsService.getComplexObs(java.lang.Integer obsId,
java.lang.String view)
Get a complex observation.
|
Obs |
ObsService.getObs(java.lang.Integer obsId)
Get an observation
|
Obs |
ObsService.getObsByUuid(java.lang.String uuid)
Get Obs by its UUID
|
Obs |
ObsService.saveObs(Obs obs,
java.lang.String changeMessage)
Save the given obs to the database.
|
Obs |
ObsService.unvoidObs(Obs obs)
Revive an observation (pull a Lazarus)
|
Obs |
ObsService.voidObs(Obs obs,
java.lang.String reason)
Equivalent to deleting an observation
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Obs> |
ObsService.findObsByGroupId(java.lang.Integer obsGroupId)
|
java.util.List<Obs> |
ObsService.findObservations(java.lang.String search,
boolean includeVoided,
java.lang.Integer personType)
Deprecated.
|
java.util.List<Obs> |
ObsService.getLastNObservations(java.lang.Integer n,
Person who,
Concept question,
boolean includeVoided)
|
java.util.Map<java.lang.Integer,java.util.List<Obs>> |
PatientSetService.getObservations(Cohort patients,
Concept concept) |
java.util.Map<java.lang.Integer,java.util.List<Obs>> |
PatientSetService.getObservations(Cohort patients,
Concept concept,
java.util.Date fromDate,
java.util.Date toDate)
Date range is inclusive of both endpoints
|
java.util.List<Obs> |
ObsService.getObservations(Cohort patients,
java.util.List<Concept> concepts,
java.util.Date fromDate,
java.util.Date toDate)
|
java.util.List<Obs> |
ObsService.getObservations(Concept c,
Location loc,
java.lang.String sort,
java.lang.Integer personType,
boolean includeVoided)
|
java.util.List<Obs> |
ObsService.getObservations(Concept question,
java.lang.String sort,
java.lang.Integer personType,
boolean includeVoided)
|
java.util.Set<Obs> |
ObsService.getObservations(Encounter whichEncounter)
Deprecated.
use
org.openmrs |
java.util.List<Obs> |
ObsService.getObservations(java.util.List<Concept> concepts,
java.util.Date fromDate,
java.util.Date toDate)
|
java.util.List<Obs> |
ObsService.getObservations(java.util.List<Concept> concepts,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoided)
|
java.util.List<Obs> |
ObsService.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs)
This method fetches observations according to the criteria in the given arguments.
|
java.util.Set<Obs> |
ObsService.getObservations(Person who,
boolean includeVoided)
Deprecated.
|
java.util.Set<Obs> |
ObsService.getObservations(Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
java.util.List<Obs> |
ObsService.getObservations(java.lang.String searchString)
This method searches the obs table based on the given
searchString . |
java.util.List<Obs> |
ObsService.getObservationsAnsweredByConcept(Concept answer,
java.lang.Integer personType,
boolean includeVoided)
|
java.util.List<Obs> |
ObsService.getObservationsByPerson(Person who)
Get all Observations for the given person, sorted by obsDatetime ascending.
|
java.util.List<Obs> |
ObsService.getObservationsByPersonAndConcept(Person who,
Concept question)
Get all nonvoided observations for the given patient with the given concept as the question
concept (conceptId)
|
java.util.List<Obs> |
ObsService.getVoidedObservations()
|
Modifier and Type | Method and Description |
---|---|
void |
ObsService.createObs(Obs obs)
Deprecated.
|
void |
ObsService.createObsGroup(Obs[] obs)
Deprecated.
This method should no longer need to be called on the api. This was meant as
temporary until we created a true ObsGroup pojo. Replaced by
ObsService.saveObs(Obs, String) |
void |
ObsService.deleteObs(Obs obs)
Deprecated.
use #purgeObs(Obs)
|
void |
ObsService.purgeObs(Obs obs)
Completely remove an observation from the database.
|
void |
ObsService.purgeObs(Obs obs,
boolean cascade)
Completely remove an observation from the database.
|
Obs |
ObsService.saveObs(Obs obs,
java.lang.String changeMessage)
Save the given obs to the database.
|
Obs |
ObsService.unvoidObs(Obs obs)
Revive an observation (pull a Lazarus)
|
void |
ObsService.updateObs(Obs obs)
Deprecated.
|
Obs |
ObsService.voidObs(Obs obs,
java.lang.String reason)
Equivalent to deleting an observation
|
Modifier and Type | Method and Description |
---|---|
Obs |
ObsDAO.getObs(java.lang.Integer obsId) |
Obs |
ObsDAO.getObsByUuid(java.lang.String uuid)
Auto generated method comment
|
Obs |
ObsDAO.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.util.List<Obs>> |
PatientSetDAO.getObservations(Cohort patients,
Concept concept,
java.util.Date fromDate,
java.util.Date toDate) |
java.util.List<Obs> |
ObsDAO.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
void |
ObsDAO.deleteObs(Obs obs) |
Obs |
ObsDAO.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
Obs |
HibernateObsDAO.getObs(java.lang.Integer obsId) |
Obs |
HibernateObsDAO.getObsByUuid(java.lang.String uuid) |
Obs |
HibernateObsDAO.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,java.util.List<Obs>> |
HibernatePatientSetDAO.getObservations(Cohort patients,
Concept concept,
java.util.Date fromDate,
java.util.Date toDate) |
java.util.List<Obs> |
HibernateObsDAO.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sortList,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateObsDAO.deleteObs(Obs obs) |
Obs |
HibernateObsDAO.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
Obs |
ObsServiceImpl.getComplexObs(java.lang.Integer obsId,
java.lang.String view) |
Obs |
ObsServiceImpl.getObs(java.lang.Integer obsId) |
Obs |
ObsServiceImpl.getObsByUuid(java.lang.String uuid) |
Obs |
ObsServiceImpl.saveObs(Obs obs,
java.lang.String changeMessage) |
Obs |
ObsServiceImpl.unvoidObs(Obs obs)
Unvoids an Obs
|
Obs |
ObsServiceImpl.voidObs(Obs obs,
java.lang.String reason)
Voids an Obs If the Obs argument is an obsGroup, all group members will be voided.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Obs> |
ObsServiceImpl.findObsByGroupId(java.lang.Integer obsGroupId)
Deprecated.
-- should use obs.getGroupMembers
|
java.util.List<Obs> |
ObsServiceImpl.findObservations(java.lang.String search,
boolean includeVoided,
java.lang.Integer personType)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getLastNObservations(java.lang.Integer n,
Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
java.util.Map<java.lang.Integer,java.util.List<Obs>> |
PatientSetServiceImpl.getObservations(Cohort patients,
Concept concept) |
java.util.Map<java.lang.Integer,java.util.List<Obs>> |
PatientSetServiceImpl.getObservations(Cohort patients,
Concept concept,
java.util.Date fromDate,
java.util.Date toDate)
Date range is inclusive of both endpoints
|
java.util.List<Obs> |
ObsServiceImpl.getObservations(Cohort patients,
java.util.List<Concept> concepts,
java.util.Date fromDate,
java.util.Date toDate)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getObservations(Concept c,
Location loc,
java.lang.String sort,
java.lang.Integer personType,
boolean includeVoided)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getObservations(Concept question,
java.lang.String sort,
java.lang.Integer personType,
boolean includeVoided)
Deprecated.
|
java.util.Set<Obs> |
ObsServiceImpl.getObservations(Encounter whichEncounter)
Deprecated.
use org.openmrs.Encounter#getObs()
|
java.util.List<Obs> |
ObsServiceImpl.getObservations(java.util.List<Concept> concepts,
java.util.Date fromDate,
java.util.Date toDate)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getObservations(java.util.List<Concept> concepts,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoided)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getObservations(java.util.List<Person> whom,
java.util.List<Encounter> encounters,
java.util.List<Concept> questions,
java.util.List<Concept> answers,
java.util.List<OpenmrsConstants.PERSON_TYPE> personTypes,
java.util.List<Location> locations,
java.util.List<java.lang.String> sort,
java.lang.Integer mostRecentN,
java.lang.Integer obsGroupId,
java.util.Date fromDate,
java.util.Date toDate,
boolean includeVoidedObs) |
java.util.Set<Obs> |
ObsServiceImpl.getObservations(Person who,
boolean includeVoided)
Deprecated.
|
java.util.Set<Obs> |
ObsServiceImpl.getObservations(Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getObservations(java.lang.String searchString)
This implementation queries the obs table comparing the given
searchString with
the patient's identifier, encounterId, and obsId |
java.util.List<Obs> |
ObsServiceImpl.getObservationsAnsweredByConcept(Concept answer,
java.lang.Integer personType,
boolean includeVoided)
Deprecated.
|
java.util.List<Obs> |
ObsServiceImpl.getObservationsByPerson(Person who) |
java.util.List<Obs> |
ObsServiceImpl.getObservationsByPersonAndConcept(Person who,
Concept question) |
java.util.List<Obs> |
ObsServiceImpl.getVoidedObservations()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ObsServiceImpl.createObs(Obs obs)
Deprecated.
|
void |
ObsServiceImpl.createObsGroup(Obs[] obs)
Deprecated.
This method should no longer need to be called on the api. This was meant as
temporary until we created a true ObsGroup pojo.
|
void |
ObsServiceImpl.deleteObs(Obs obs)
Deprecated.
use #purgeObs(Obs)
|
ComplexObsHandler |
ObsServiceImpl.getHandler(Obs obs)
Convenience method to get the ComplexObsHandler associated with a complex Obs.
|
protected boolean |
ObsServiceImpl.purgeComplexData(Obs obs)
Internal method to remove ComplexData when an Obs is purged.
|
void |
ObsServiceImpl.purgeObs(Obs obs) |
void |
ObsServiceImpl.purgeObs(Obs obs,
boolean cascade) |
Obs |
ObsServiceImpl.saveObs(Obs obs,
java.lang.String changeMessage) |
Obs |
ObsServiceImpl.unvoidObs(Obs obs)
Unvoids an Obs
|
void |
ObsServiceImpl.updateObs(Obs obs)
Deprecated.
|
Obs |
ObsServiceImpl.voidObs(Obs obs,
java.lang.String reason)
Voids an Obs If the Obs argument is an obsGroup, all group members will be voided.
|
Modifier and Type | Method and Description |
---|---|
void |
ArdenValue.addObs(java.util.List<Obs> o) |
Constructor and Description |
---|
Result(Obs obs)
Builds a coded result from an observation
|
Modifier and Type | Method and Description |
---|---|
Obs |
ComplexObsHandler.getObs(Obs obs,
java.lang.String view)
Fetches the ComplexData from the location indicated from Obs.value_complex, attaches
ComplexData onto the Obs and returns the Obs.
|
Obs |
ComplexObsHandler.saveObs(Obs obs)
Save a complex obs.
|
Modifier and Type | Method and Description |
---|---|
Obs |
ComplexObsHandler.getObs(Obs obs,
java.lang.String view)
Fetches the ComplexData from the location indicated from Obs.value_complex, attaches
ComplexData onto the Obs and returns the Obs.
|
boolean |
ComplexObsHandler.purgeComplexData(Obs obs)
Completely removes the ComplexData Object from its storage location.
|
Obs |
ComplexObsHandler.saveObs(Obs obs)
Save a complex obs.
|
Modifier and Type | Method and Description |
---|---|
Obs |
BinaryStreamHandler.getObs(Obs obs,
java.lang.String view)
Returns the same ComplexData for all views.
|
Obs |
ImageHandler.getObs(Obs obs,
java.lang.String view)
Currently supports all views and puts the Image file data into the ComplexData object
|
Obs |
AbstractHandler.getObs(Obs obs,
java.lang.String view) |
Obs |
BinaryDataHandler.getObs(Obs obs,
java.lang.String view)
Currently supports all views
|
Obs |
TextHandler.getObs(Obs obs,
java.lang.String view) |
Obs |
BinaryStreamHandler.saveObs(Obs obs) |
Obs |
ImageHandler.saveObs(Obs obs) |
Obs |
BinaryDataHandler.saveObs(Obs obs)
TODO should this support a StringReader too?
|
Obs |
TextHandler.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
static java.io.File |
AbstractHandler.getComplexDataFile(Obs obs)
Convenience method to create and return a file for the stored ComplexData.data Object
|
Obs |
BinaryStreamHandler.getObs(Obs obs,
java.lang.String view)
Returns the same ComplexData for all views.
|
Obs |
ImageHandler.getObs(Obs obs,
java.lang.String view)
Currently supports all views and puts the Image file data into the ComplexData object
|
Obs |
AbstractHandler.getObs(Obs obs,
java.lang.String view) |
Obs |
BinaryDataHandler.getObs(Obs obs,
java.lang.String view)
Currently supports all views
|
Obs |
TextHandler.getObs(Obs obs,
java.lang.String view) |
java.io.File |
AbstractHandler.getOutputFileToWrite(Obs obs)
Returns a
File for the given obs complex data to be written to. |
boolean |
AbstractHandler.purgeComplexData(Obs obs) |
Obs |
BinaryStreamHandler.saveObs(Obs obs) |
Obs |
ImageHandler.saveObs(Obs obs) |
Obs |
BinaryDataHandler.saveObs(Obs obs)
TODO should this support a StringReader too?
|
Obs |
TextHandler.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Obs> |
RowPerObsDataSet.getData()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RowPerObsDataSet.setData(java.util.List<Obs> data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Obs> |
EncounterDisplayController.FieldHolder.getObs()
public getter for the obs that are the different rows for this FieldHolder.
|
java.util.Map<Obs,java.util.List<java.util.List<Obs>>> |
EncounterDisplayController.FieldHolder.getObsGroupMatrix()
List of columns for each obs grouper in this fieldholder.
|
java.util.Map<Obs,java.util.List<java.util.List<Obs>>> |
EncounterDisplayController.FieldHolder.getObsGroupMatrix()
List of columns for each obs grouper in this fieldholder.
|
Modifier and Type | Method and Description |
---|---|
void |
EncounterDisplayController.FieldHolder.addObservation(Obs obsToAdd)
Add another obs grouper to this row This method shouldn't be called with obs that are
within another grouped obs.
|
Constructor and Description |
---|
FieldHolder(FormField formField,
Obs obsToAdd)
A row must be created with both a FormField to act as its label and an obs that is the
first of possibly several rows to display
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Obs> |
PersonObsFormController.CommandObject.getObservations() |
Modifier and Type | Method and Description |
---|---|
void |
PersonObsFormController.CommandObject.setObservations(java.util.List<Obs> observations) |
Constructor and Description |
---|
CommandObject(Person person,
Concept concept,
java.util.List<Obs> observations) |
Modifier and Type | Method and Description |
---|---|
Obs |
WebImageHandler.getObs(Obs obs,
java.lang.String view)
Returns the ComplexData for an Obs depending on the view.
|
Modifier and Type | Method and Description |
---|---|
Obs |
WebImageHandler.getObs(Obs obs,
java.lang.String view)
Returns the ComplexData for an Obs depending on the view.
|
Constructor and Description |
---|
ObsListItem(Obs obs,
java.util.Locale locale) |
Modifier and Type | Method and Description |
---|---|
Obs |
FormatTag.getObsValue() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Obs> |
ForEachObsTag.getObs() |
java.util.Collection<Obs> |
ObsTableWidget.getObservations() |
java.util.Collection<Obs> |
SummaryTest.getObservations() |
java.util.Collection<Obs> |
ActiveListWidget.getObservations() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setObsValue(Obs obsValue) |
Modifier and Type | Method and Description |
---|---|
void |
ForEachObsTag.setObs(java.util.Collection<Obs> obs) |
void |
ObsTableWidget.setObservations(java.util.Collection<Obs> observations) |
void |
SummaryTest.setObservations(java.util.Collection<Obs> observations) |
void |
ActiveListWidget.setObservations(java.util.Collection<Obs> observations) |
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Obs> |
Filter.filterObsByConcept(java.util.Collection<Obs> obs,
java.lang.Integer concept)
Returns a subset of the passed set of observations that match the passed concept type id
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Obs> |
Filter.filterObsByConcept(java.util.Collection<Obs> obs,
java.lang.Integer concept)
Returns a subset of the passed set of observations that match the passed concept type id
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.