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.module.web.extension | |
org.openmrs.reporting |
Deprecated
|
org.openmrs.util |
Shared utilities for OpenMRS classes
|
org.openmrs.web.controller | |
org.openmrs.web.controller.form | |
org.openmrs.web.dwr | |
org.openmrs.web.taglib |
Modifier and Type | Field and Description |
---|---|
protected Form |
FormField.form |
Modifier and Type | Method and Description |
---|---|
Form |
FormResource.getForm()
gets the form
|
Form |
FormField.getForm() |
Form |
Encounter.getForm() |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Form> |
Field.getForms()
Deprecated.
This method always returns null. Forms that a Field is on are managed through the
FormField object |
Modifier and Type | Method and Description |
---|---|
void |
FormResource.setForm(Form form)
sets the form
|
void |
FormField.setForm(Form form) |
void |
Encounter.setForm(Form form) |
Modifier and Type | Method and Description |
---|---|
void |
Field.setForms(java.util.Set<Form> forms)
Deprecated.
This method does nothing. Forms that a Field is on are managed through the
FormField object |
Modifier and Type | Method and Description |
---|---|
Form |
FormService.createForm(Form form)
Deprecated.
|
Form |
FormService.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
Form |
FormService.getForm(java.lang.Integer formId)
Get form by internal form identifier
|
Form |
FormService.getForm(java.lang.String name)
Get form by exact name match.
|
Form |
FormService.getForm(java.lang.String name,
java.lang.String version)
Get form by exact name & version match.
|
Form |
FormService.getFormByUuid(java.lang.String uuid)
Get Form by its UUID
|
Form |
FormService.saveForm(Form form)
Create or update the given Form in the database
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Form> |
FormService.findForms(java.lang.String text,
boolean includeUnpublished,
boolean includeRetired)
|
java.util.List<Form> |
FormService.getAllForms()
Gets all Forms, including retired ones.
|
java.util.List<Form> |
FormService.getAllForms(boolean includeRetired)
Gets all forms, possibly including retired ones
|
java.util.List<Form> |
FormService.getForms()
Deprecated.
|
java.util.List<Form> |
FormService.getForms(boolean publishedOnly)
Deprecated.
|
java.util.List<Form> |
FormService.getForms(boolean publishedOnly,
boolean includeRetired)
|
java.util.Set<Form> |
FormService.getForms(Concept c)
Deprecated.
|
java.util.List<Form> |
FormService.getForms(java.lang.String fuzzyName,
boolean onlyLatestVersion)
Gets all forms with name similar to the given name.
|
java.util.List<Form> |
FormService.getForms(java.lang.String partialNameSearch,
java.lang.Boolean published,
java.util.Collection<EncounterType> encounterTypes,
java.lang.Boolean retired,
java.util.Collection<FormField> containingAnyFormField,
java.util.Collection<FormField> containingAllFormFields)
|
java.util.List<Form> |
FormService.getForms(java.lang.String partialNameSearch,
java.lang.Boolean published,
java.util.Collection<EncounterType> encounterTypes,
java.lang.Boolean retired,
java.util.Collection<FormField> containingAnyFormField,
java.util.Collection<FormField> containingAllFormFields,
java.util.Collection<Field> fields)
Gets all forms that match all the (nullable) criteria
|
java.util.List<Form> |
FormService.getFormsContainingConcept(Concept concept)
Returns all forms that contain the given concept as a field in their schema.
|
java.util.List<Form> |
FormService.getPublishedForms()
Returns all published forms (not including retired ones)
|
Modifier and Type | Method and Description |
---|---|
Form |
FormService.createForm(Form form)
Deprecated.
|
void |
FormService.deleteForm(Form form)
Deprecated.
|
Form |
FormService.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
FormField |
FormService.getFormField(Form form,
Concept concept)
Finds the FormField defined for this form/concept combination Calls
FormService.getFormField(Form, Concept, Collection, boolean) with an empty ignore list and with
force set to false |
FormField |
FormService.getFormField(Form form,
Concept concept,
java.util.Collection<FormField> ignoreFormFields,
boolean force)
Finds the FormField defined for this form/concept combination while discounting any form
field found in the
ignoreFormFields collection This method was added when
needing to relate observations to form fields during a display. |
java.util.List<FormField> |
FormService.getFormFields(Form form)
Deprecated.
use
getFormFields() |
FormResource |
FormService.getFormResource(Form form,
java.lang.String name)
Finds a FormResource based on a given Form and name
|
java.util.Collection<FormResource> |
FormService.getFormResourcesForForm(Form form)
Finds all FormResources tied to a given form
|
Cohort |
PatientSetService.getPatientsHavingEncounters(EncounterType encounterType,
Location location,
Form form,
java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer minCount,
java.lang.Integer maxCount)
Searches for patients who have encounters as described by the arguments to this method
|
Cohort |
PatientSetService.getPatientsHavingEncounters(java.util.List<EncounterType> encounterTypeList,
Location location,
Form form,
java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer minCount,
java.lang.Integer maxCount)
Gets patients who have encounters as described by the parameters specified (all optional)
|
void |
FormService.purgeForm(Form form)
Completely remove a Form from the database.
|
void |
FormService.purgeForm(Form form,
boolean cascade)
Completely remove a Form from the database.
|
void |
FormService.retireForm(Form form,
java.lang.String reason)
Retires the Form, leaving it in the database, but removing it from data entry screens
|
Form |
FormService.saveForm(Form form)
Create or update the given Form in the database
|
void |
FormService.unretireForm(Form form)
Unretires a Form that had previous been retired.
|
void |
FormService.updateForm(Form form)
Deprecated.
|
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,
boolean includeVoided)
|
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.
|
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<User> providers,
boolean includeVoided)
|
java.util.List<Encounter> |
PatientSetService.getEncountersByForm(Cohort patients,
java.util.List<Form> form)
Gets a list of encounters associated with the given form, filtered by the given patient set.
|
java.util.List<Field> |
FormService.getFields(java.util.Collection<Form> forms,
java.util.Collection<FieldType> fieldTypes,
java.util.Collection<Concept> concepts,
java.util.Collection<java.lang.String> tableNames,
java.util.Collection<java.lang.String> attributeNames,
java.lang.Boolean selectMultiple,
java.util.Collection<FieldAnswer> containsAllAnswers,
java.util.Collection<FieldAnswer> containsAnyAnswer,
java.lang.Boolean retired)
Returns all Fields that match these (nullable) criteria
|
Modifier and Type | Method and Description |
---|---|
Form |
FormDAO.duplicateForm(Form form)
Creates new form from the given
Form |
Form |
FormDAO.getForm(java.lang.Integer formId)
Get form by internal form identifier
|
Form |
FormDAO.getForm(java.lang.String name,
java.lang.String version)
Get form by exact name and version
|
Form |
FormDAO.getFormByUuid(java.lang.String uuid)
Auto generated method comment
|
Form |
FormDAO.saveForm(Form form) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Form> |
FormDAO.getAllForms(boolean includeRetired)
Returns all forms in the database, possibly including retired ones
|
java.util.List<Form> |
FormDAO.getForms(java.lang.String partialName,
java.lang.Boolean published,
java.util.Collection<EncounterType> encounterTypes,
java.lang.Boolean retired,
java.util.Collection<FormField> containingAnyFormField,
java.util.Collection<FormField> containingAllFormFields,
java.util.Collection<Field> fields)
Gets all forms that match all the criteria.
|
java.util.List<Form> |
FormDAO.getFormsByName(java.lang.String name)
Gets all forms with the given name, sorted (alphabetically) by descending version
|
java.util.List<Form> |
FormDAO.getFormsContainingConcept(Concept concept)
Get all forms that contain the given
Concept as one of their fields. |
Modifier and Type | Method and Description |
---|---|
void |
FormDAO.deleteForm(Form form)
Delete form from database.
|
Form |
FormDAO.duplicateForm(Form form)
Creates new form from the given
Form |
FormField |
FormDAO.getFormField(Form form,
Concept concept,
java.util.Collection<FormField> ignoreFormFields,
boolean force) |
FormResource |
FormDAO.getFormResource(Form form,
java.lang.String name) |
java.util.Collection<FormResource> |
FormDAO.getFormResourcesForForm(Form form) |
Cohort |
PatientSetDAO.getPatientsHavingEncounters(java.util.List<EncounterType> encounterTypeList,
Location location,
Form form,
java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer minCount,
java.lang.Integer maxCount) |
Form |
FormDAO.saveForm(Form form) |
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) |
java.util.List<Encounter> |
PatientSetDAO.getEncountersByForm(Cohort patients,
java.util.List<Form> forms) |
java.util.List<Field> |
FormDAO.getFields(java.util.Collection<Form> forms,
java.util.Collection<FieldType> fieldTypes,
java.util.Collection<Concept> concepts,
java.util.Collection<java.lang.String> tableNames,
java.util.Collection<java.lang.String> attributeNames,
java.lang.Boolean selectMultiple,
java.util.Collection<FieldAnswer> containsAllAnswers,
java.util.Collection<FieldAnswer> containsAnyAnswer,
java.lang.Boolean retired)
Returns all fields that match a broad range of (nullable) criteria
|
Modifier and Type | Method and Description |
---|---|
Form |
HibernateFormDAO.duplicateForm(Form form) |
Form |
HibernateFormDAO.getForm(java.lang.Integer formId) |
Form |
HibernateFormDAO.getForm(java.lang.String name,
java.lang.String version) |
Form |
HibernateFormDAO.getFormByUuid(java.lang.String uuid) |
Form |
HibernateFormDAO.saveForm(Form form)
Returns the form object originally passed in, which will have been persisted.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Form> |
HibernateFormDAO.getAllForms(boolean includeRetired) |
java.util.List<Form> |
HibernateFormDAO.getForms(java.lang.String partialName,
java.lang.Boolean published,
java.util.Collection<EncounterType> encounterTypes,
java.lang.Boolean retired,
java.util.Collection<FormField> containingAnyFormField,
java.util.Collection<FormField> containingAllFormFields,
java.util.Collection<Field> fields) |
java.util.List<Form> |
HibernateFormDAO.getFormsByName(java.lang.String name) |
java.util.List<Form> |
HibernateFormDAO.getFormsContainingConcept(Concept c) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateFormDAO.deleteForm(Form form) |
Form |
HibernateFormDAO.duplicateForm(Form form) |
FormField |
HibernateFormDAO.getFormField(Form form,
Concept concept,
java.util.Collection<FormField> ignoreFormFields,
boolean force) |
java.util.List<FormField> |
HibernateFormDAO.getFormFields(Form form) |
FormResource |
HibernateFormDAO.getFormResource(Form form,
java.lang.String name) |
java.util.Collection<FormResource> |
HibernateFormDAO.getFormResourcesForForm(Form form) |
Cohort |
HibernatePatientSetDAO.getPatientsHavingEncounters(java.util.List<EncounterType> encounterTypeList,
Location location,
Form form,
java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer minCount,
java.lang.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
|
Form |
HibernateFormDAO.saveForm(Form form)
Returns the form object originally passed in, which will have been persisted.
|
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) |
java.util.List<Encounter> |
HibernatePatientSetDAO.getEncountersByForm(Cohort patients,
java.util.List<Form> forms)
Gets a list of encounters associated with the given form, filtered by the given patient set.
|
java.util.List<Field> |
HibernateFormDAO.getFields(java.util.Collection<Form> forms,
java.util.Collection<FieldType> fieldTypes,
java.util.Collection<Concept> concepts,
java.util.Collection<java.lang.String> tableNames,
java.util.Collection<java.lang.String> attributeNames,
java.lang.Boolean selectMultiple,
java.util.Collection<FieldAnswer> containsAllAnswers,
java.util.Collection<FieldAnswer> containsAnyAnswer,
java.lang.Boolean retired) |
Modifier and Type | Method and Description |
---|---|
Form |
FormServiceImpl.createForm(Form form)
Deprecated.
|
Form |
FormServiceImpl.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
Form |
FormServiceImpl.getForm(java.lang.Integer formId) |
Form |
FormServiceImpl.getForm(java.lang.String name) |
Form |
FormServiceImpl.getForm(java.lang.String name,
java.lang.String version) |
Form |
FormServiceImpl.getFormByUuid(java.lang.String uuid) |
Form |
FormServiceImpl.saveForm(Form form) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Form> |
FormServiceImpl.findForms(java.lang.String text,
boolean includeUnpublished,
boolean includeRetired)
Deprecated.
|
java.util.List<Form> |
FormServiceImpl.getAllForms() |
java.util.List<Form> |
FormServiceImpl.getAllForms(boolean includeRetired) |
java.util.List<Form> |
FormServiceImpl.getForms()
Deprecated.
|
java.util.List<Form> |
FormServiceImpl.getForms(boolean publishedOnly)
Deprecated.
|
java.util.List<Form> |
FormServiceImpl.getForms(boolean publishedOnly,
boolean includeRetired)
Deprecated.
|
java.util.Set<Form> |
FormServiceImpl.getForms(Concept c)
Deprecated.
|
java.util.List<Form> |
FormServiceImpl.getForms(java.lang.String fuzzyName,
boolean onlyLatestVersion) |
java.util.List<Form> |
FormServiceImpl.getForms(java.lang.String partialName,
java.lang.Boolean published,
java.util.Collection<EncounterType> encounterTypes,
java.lang.Boolean retired,
java.util.Collection<FormField> containingAnyFormField,
java.util.Collection<FormField> containingAllFormFields)
|
java.util.List<Form> |
FormServiceImpl.getForms(java.lang.String partialName,
java.lang.Boolean published,
java.util.Collection<EncounterType> encounterTypes,
java.lang.Boolean retired,
java.util.Collection<FormField> containingAnyFormField,
java.util.Collection<FormField> containingAllFormFields,
java.util.Collection<Field> fields) |
java.util.List<Form> |
FormServiceImpl.getFormsContainingConcept(Concept concept) |
java.util.List<Form> |
FormServiceImpl.getPublishedForms() |
Modifier and Type | Method and Description |
---|---|
Form |
FormServiceImpl.createForm(Form form)
Deprecated.
|
void |
FormServiceImpl.deleteForm(Form form)
Deprecated.
|
Form |
FormServiceImpl.duplicateForm(Form form)
Duplicate this form and form_fields associated with this form
|
FormField |
FormServiceImpl.getFormField(Form form,
Concept concept)
Deprecated.
|
FormField |
FormServiceImpl.getFormField(Form form,
Concept concept,
java.util.Collection<FormField> ignoreFormFields,
boolean force) |
java.util.List<FormField> |
FormServiceImpl.getFormFields(Form form)
Deprecated.
|
FormResource |
FormServiceImpl.getFormResource(Form form,
java.lang.String name) |
java.util.Collection<FormResource> |
FormServiceImpl.getFormResourcesForForm(Form form) |
Cohort |
PatientSetServiceImpl.getPatientsHavingEncounters(EncounterType encounterType,
Location location,
Form form,
java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer minCount,
java.lang.Integer maxCount) |
Cohort |
PatientSetServiceImpl.getPatientsHavingEncounters(java.util.List<EncounterType> encounterTypeList,
Location location,
Form form,
java.util.Date fromDate,
java.util.Date toDate,
java.lang.Integer minCount,
java.lang.Integer maxCount) |
void |
FormServiceImpl.purgeForm(Form form) |
void |
FormServiceImpl.purgeForm(Form form,
boolean cascade) |
void |
FormServiceImpl.retireForm(Form form,
java.lang.String reason) |
Form |
FormServiceImpl.saveForm(Form form) |
void |
FormServiceImpl.unretireForm(Form form) |
void |
FormServiceImpl.updateForm(Form form)
Deprecated.
|
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,
boolean includeVoided)
|
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) |
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<User> providers,
boolean includeVoided)
|
java.util.List<Encounter> |
PatientSetServiceImpl.getEncountersByForm(Cohort patients,
java.util.List<Form> forms)
Gets a list of encounters associated with the given form, filtered by the given patient set.
|
java.util.List<Field> |
FormServiceImpl.getFields(java.util.Collection<Form> forms,
java.util.Collection<FieldType> fieldTypes,
java.util.Collection<Concept> concepts,
java.util.Collection<java.lang.String> tableNames,
java.util.Collection<java.lang.String> attributeNames,
java.lang.Boolean selectMultiple,
java.util.Collection<FieldAnswer> containsAllAnswers,
java.util.Collection<FieldAnswer> containsAnyAnswer,
java.lang.Boolean retired) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Form> |
FormEntryHandler.getFormsModuleCanEdit()
If your module wants to override the Edit link for encounters, override this method.
|
java.util.List<Form> |
FormEntryHandler.getFormsModuleCanEnter(FormEntryContext formEntryContext)
If your module allows filling out forms, override this method.
|
java.util.Set<Form> |
FormEntryHandler.getFormsModuleCanView()
If your module wants to override the View link for encounters, override this method.
|
Modifier and Type | Method and Description |
---|---|
Form |
EncounterPatientFilter.getForm()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
EncounterPatientFilter.setForm(Form form)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static java.util.TreeMap<java.lang.Integer,java.util.TreeSet<FormField>> |
FormUtil.getFormStructure(Form form)
Returns a sorted and structured map of
FormField s for the given OpenMRS form. |
static java.lang.String |
FormUtil.getFormUriWithoutExtension(Form form)
Get a string somewhat unique to this form.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Form> |
ConceptFormController.ConceptFormBackingObject.getFormsInUse()
Get the forms that this concept is declared to be used in
|
Modifier and Type | Method and Description |
---|---|
void |
FormResourceController.addFormResource(Form form,
java.lang.String datatype,
java.lang.String handler,
org.springframework.ui.Model model) |
java.lang.String |
FormResourceController.deleteFormResource(Form form,
java.lang.String name) |
void |
FormResourceController.manageFormResources(Form form,
org.springframework.ui.Model model) |
Constructor and Description |
---|
FormListItem(Form form) |
Modifier and Type | Method and Description |
---|---|
Form |
FormatTag.getForm() |
Modifier and Type | Method and Description |
---|---|
void |
FormatTag.setForm(Form form) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.