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 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.
|
static Obs |
Obs.newInstance(Obs obsToCopy)
This is an equivalent to a copy constructor.
|
Modifier and Type | Method and Description |
---|---|
Set<Obs> |
Encounter.getAllObs()
Convenience method to call
Encounter.getAllObs(boolean) with a false parameter |
Set<Obs> |
Encounter.getAllObs(boolean includeVoided)
Returns all Obs where Obs.encounterId = Encounter.encounterId In practice, this method should
not be used very often...
|
Set<Obs> |
Obs.getGroupMembers()
Get the members of the obs group, if this obs is a group.
|
Set<Obs> |
Encounter.getObs() |
Set<Obs> |
Encounter.getObsAtTopLevel(boolean includeVoided)
Returns a Set
|
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().
|
Modifier and Type | Method and Description |
---|---|
void |
Obs.setGroupMembers(Set<Obs> groupMembers)
Set the members of the obs group, if this obs is a group.
|
void |
Encounter.setObs(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(Integer obsId,
String view)
Get a complex observation.
|
Obs |
ObsService.getObs(Integer obsId)
Get an observation
|
Obs |
ObsService.getObsByUuid(String uuid)
Get Obs by its UUID
|
Obs |
ObsService.saveObs(Obs obs,
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,
String reason)
Equivalent to deleting an observation
|
Modifier and Type | Method and Description |
---|---|
List<Obs> |
ObsService.findObsByGroupId(Integer obsGroupId)
|
List<Obs> |
ObsService.findObservations(String search,
boolean includeVoided,
Integer personType)
Deprecated.
|
List<Obs> |
ObsService.getLastNObservations(Integer n,
Person who,
Concept question,
boolean includeVoided)
|
Map<Integer,List<Obs>> |
PatientSetService.getObservations(Cohort patients,
Concept concept) |
Map<Integer,List<Obs>> |
PatientSetService.getObservations(Cohort patients,
Concept concept,
Date fromDate,
Date toDate)
Date range is inclusive of both endpoints
|
List<Obs> |
ObsService.getObservations(Cohort patients,
List<Concept> concepts,
Date fromDate,
Date toDate)
|
List<Obs> |
ObsService.getObservations(Concept c,
Location loc,
String sort,
Integer personType,
boolean includeVoided)
|
List<Obs> |
ObsService.getObservations(Concept question,
String sort,
Integer personType,
boolean includeVoided)
|
Set<Obs> |
ObsService.getObservations(Encounter whichEncounter)
Deprecated.
use
org.openmrs |
List<Obs> |
ObsService.getObservations(List<Concept> concepts,
Date fromDate,
Date toDate)
|
List<Obs> |
ObsService.getObservations(List<Concept> concepts,
Date fromDate,
Date toDate,
boolean includeVoided)
|
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.
|
Set<Obs> |
ObsService.getObservations(Person who,
boolean includeVoided)
Deprecated.
|
Set<Obs> |
ObsService.getObservations(Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
List<Obs> |
ObsService.getObservations(String searchString)
This method searches the obs table based on the given
searchString . |
List<Obs> |
ObsService.getObservationsAnsweredByConcept(Concept answer,
Integer personType,
boolean includeVoided)
|
List<Obs> |
ObsService.getObservationsByPerson(Person who)
Get all Observations for the given person, sorted by obsDatetime ascending.
|
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)
|
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,
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,
String reason)
Equivalent to deleting an observation
|
Modifier and Type | Method and Description |
---|---|
Obs |
ObsDAO.getObs(Integer obsId) |
Obs |
ObsDAO.getObsByUuid(String uuid)
Auto generated method comment
|
Obs |
ObsDAO.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,List<Obs>> |
PatientSetDAO.getObservations(Cohort patients,
Concept concept,
Date fromDate,
Date toDate) |
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) |
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(Integer obsId) |
Obs |
HibernateObsDAO.getObsByUuid(String uuid) |
Obs |
HibernateObsDAO.saveObs(Obs obs) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,List<Obs>> |
HibernatePatientSetDAO.getObservations(Cohort patients,
Concept concept,
Date fromDate,
Date toDate) |
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) |
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(Integer obsId,
String view) |
Obs |
ObsServiceImpl.getObs(Integer obsId) |
Obs |
ObsServiceImpl.getObsByUuid(String uuid) |
Obs |
ObsServiceImpl.saveObs(Obs obs,
String changeMessage) |
Obs |
ObsServiceImpl.unvoidObs(Obs obs)
Unvoids an Obs
|
Obs |
ObsServiceImpl.voidObs(Obs obs,
String reason)
Voids an Obs If the Obs argument is an obsGroup, all group members will be voided.
|
Modifier and Type | Method and Description |
---|---|
List<Obs> |
ObsServiceImpl.findObsByGroupId(Integer obsGroupId)
Deprecated.
-- should use obs.getGroupMembers
|
List<Obs> |
ObsServiceImpl.findObservations(String search,
boolean includeVoided,
Integer personType)
Deprecated.
|
List<Obs> |
ObsServiceImpl.getLastNObservations(Integer n,
Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
Map<Integer,List<Obs>> |
PatientSetServiceImpl.getObservations(Cohort patients,
Concept concept) |
Map<Integer,List<Obs>> |
PatientSetServiceImpl.getObservations(Cohort patients,
Concept concept,
Date fromDate,
Date toDate)
Date range is inclusive of both endpoints
|
List<Obs> |
ObsServiceImpl.getObservations(Cohort patients,
List<Concept> concepts,
Date fromDate,
Date toDate)
Deprecated.
|
List<Obs> |
ObsServiceImpl.getObservations(Concept c,
Location loc,
String sort,
Integer personType,
boolean includeVoided)
Deprecated.
|
List<Obs> |
ObsServiceImpl.getObservations(Concept question,
String sort,
Integer personType,
boolean includeVoided)
Deprecated.
|
Set<Obs> |
ObsServiceImpl.getObservations(Encounter whichEncounter)
Deprecated.
use org.openmrs.Encounter#getObs()
|
List<Obs> |
ObsServiceImpl.getObservations(List<Concept> concepts,
Date fromDate,
Date toDate)
Deprecated.
|
List<Obs> |
ObsServiceImpl.getObservations(List<Concept> concepts,
Date fromDate,
Date toDate,
boolean includeVoided)
Deprecated.
|
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) |
Set<Obs> |
ObsServiceImpl.getObservations(Person who,
boolean includeVoided)
Deprecated.
|
Set<Obs> |
ObsServiceImpl.getObservations(Person who,
Concept question,
boolean includeVoided)
Deprecated.
|
List<Obs> |
ObsServiceImpl.getObservations(String searchString)
This implementation queries the obs table comparing the given
searchString with
the patient's identifier, encounterId, and obsId |
List<Obs> |
ObsServiceImpl.getObservationsAnsweredByConcept(Concept answer,
Integer personType,
boolean includeVoided)
Deprecated.
|
List<Obs> |
ObsServiceImpl.getObservationsByPerson(Person who) |
List<Obs> |
ObsServiceImpl.getObservationsByPersonAndConcept(Person who,
Concept question) |
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,
String changeMessage) |
Obs |
ObsServiceImpl.unvoidObs(Obs obs)
Unvoids an Obs
|
void |
ObsServiceImpl.updateObs(Obs obs)
Deprecated.
|
Obs |
ObsServiceImpl.voidObs(Obs obs,
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(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,
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,
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,
String view)
Returns the same ComplexData for all views.
|
Obs |
ImageHandler.getObs(Obs obs,
String view)
Currently supports all views and puts the Image file data into the ComplexData object
|
Obs |
AbstractHandler.getObs(Obs obs,
String view) |
Obs |
BinaryDataHandler.getObs(Obs obs,
String view)
Currently supports all views
|
Obs |
BinaryStreamHandler.saveObs(Obs obs) |
Obs |
ImageHandler.saveObs(Obs obs) |
Obs |
BinaryDataHandler.saveObs(Obs obs)
TODO should this support a StringReader too?
|
Modifier and Type | Method and Description |
---|---|
static File |
AbstractHandler.getComplexDataFile(Obs obs)
Convenience method to create and return a file for the stored ComplexData.data Object
|
Obs |
BinaryStreamHandler.getObs(Obs obs,
String view)
Returns the same ComplexData for all views.
|
Obs |
ImageHandler.getObs(Obs obs,
String view)
Currently supports all views and puts the Image file data into the ComplexData object
|
Obs |
AbstractHandler.getObs(Obs obs,
String view) |
Obs |
BinaryDataHandler.getObs(Obs obs,
String view)
Currently supports all views
|
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?
|
Modifier and Type | Method and Description |
---|---|
List<Obs> |
RowPerObsDataSet.getData()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RowPerObsDataSet.setData(List<Obs> data)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
List<Obs> |
EncounterDisplayController.FieldHolder.getObs()
public getter for the obs that are the different rows for this FieldHolder.
|
Map<Obs,List<List<Obs>>> |
EncounterDisplayController.FieldHolder.getObsGroupMatrix()
List of columns for each obs grouper in this fieldholder.
|
Map<Obs,List<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 |
---|---|
List<Obs> |
PersonObsFormController.CommandObject.getObservations() |
Modifier and Type | Method and Description |
---|---|
void |
PersonObsFormController.CommandObject.setObservations(List<Obs> observations) |
Constructor and Description |
---|
CommandObject(Person person,
Concept concept,
List<Obs> observations) |
Modifier and Type | Method and Description |
---|---|
Obs |
WebImageHandler.getObs(Obs obs,
String view)
Returns the ComplexData for an Obs depending on the view.
|
Modifier and Type | Method and Description |
---|---|
Obs |
WebImageHandler.getObs(Obs obs,
String view)
Returns the ComplexData for an Obs depending on the view.
|
Constructor and Description |
---|
ObsListItem(Obs obs,
Locale locale) |
Modifier and Type | Method and Description |
---|---|
Obs |
FormatTag.getObsValue() |
Modifier and Type | Method and Description |
---|---|
Collection<Obs> |
ForEachObsTag.getObs() |
Collection<Obs> |
ObsTableWidget.getObservations() |
Collection<Obs> |
SummaryTest.getObservations() |
Collection<Obs> |
ActiveListWidget.getObservations() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setObsValue(Obs obsValue) |
Modifier and Type | Method and Description |
---|---|
void |
ForEachObsTag.setObs(Collection<Obs> obs) |
void |
ObsTableWidget.setObservations(Collection<Obs> observations) |
void |
SummaryTest.setObservations(Collection<Obs> observations) |
void |
ActiveListWidget.setObservations(Collection<Obs> observations) |
Modifier and Type | Method and Description |
---|---|
static Set<Obs> |
Filter.filterObsByConcept(Collection<Obs> obs,
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 Set<Obs> |
Filter.filterObsByConcept(Collection<Obs> obs,
Integer concept)
Returns a subset of the passed set of observations that match the passed concept type id
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.