| 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 | 
|---|---|
| EncounterType | Form. getEncounterType() | 
| EncounterType | Encounter. getEncounterType() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | Form. setEncounterType(EncounterType encounterType) | 
| void | Encounter. setEncounterType(EncounterType encounterType) | 
| Modifier and Type | Method and Description | 
|---|---|
| EncounterType | EncounterService. getEncounterType(Integer encounterTypeId)Get encounterType by internal identifier | 
| EncounterType | EncounterService. getEncounterType(String name)Get encounterType by exact name | 
| EncounterType | EncounterService. getEncounterTypeByUuid(String uuid)Get EncounterType by its UUID | 
| EncounterType | EncounterService. retireEncounterType(EncounterType encounterType,
                   String reason)Retire an EncounterType. | 
| EncounterType | EncounterService. saveEncounterType(EncounterType encounterType)Save a new Encounter Type or update an existing Encounter Type. | 
| EncounterType | EncounterService. unretireEncounterType(EncounterType encounterType)Unretire an EncounterType. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<EncounterType> | EncounterService. findEncounterTypes(String name)Find Encounter Types with name matching the beginning of the search string. | 
| List<EncounterType> | EncounterService. getAllEncounterTypes()Get all encounter types (including retired) | 
| List<EncounterType> | EncounterService. getAllEncounterTypes(boolean includeRetired)Get all encounter types. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | EncounterService. purgeEncounterType(EncounterType encounterType)Completely remove an encounter type from database. | 
| EncounterType | EncounterService. retireEncounterType(EncounterType encounterType,
                   String reason)Retire an EncounterType. | 
| EncounterType | EncounterService. saveEncounterType(EncounterType encounterType)Save a new Encounter Type or update an existing Encounter Type. | 
| EncounterType | EncounterService. unretireEncounterType(EncounterType encounterType)Unretire an EncounterType. | 
| 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) | 
| Integer | FormService. getFormCount(String partialNameSearch,
            Boolean published,
            Collection<EncounterType> encounterTypes,
            Boolean retired,
            Collection<FormField> containingAnyFormField,
            Collection<FormField> containingAllFormFields,
            Collection<Field> fields)Same as
  FormService.getForms(String, Boolean, Collection, Boolean, Collection, Collection, Collection)except that it returns an integer that is the size of the list that would be returned | 
| List<Form> | FormService. getForms(String partialNameSearch,
        Boolean published,
        Collection<EncounterType> encounterTypes,
        Boolean retired,
        Collection<FormField> containingAnyFormField,
        Collection<FormField> containingAllFormFields,
        Collection<Field> fields)Gets all forms that match all the (nullable) criteria | 
| Modifier and Type | Method and Description | 
|---|---|
| EncounterType | EncounterDAO. getEncounterType(Integer encounterTypeId)Get encounterType by internal identifier | 
| EncounterType | EncounterDAO. getEncounterType(String name)Get encounterType by name | 
| EncounterType | EncounterDAO. getEncounterTypeByUuid(String uuid)Find  EncounterTypematching a uuid | 
| EncounterType | EncounterDAO. saveEncounterType(EncounterType encounterType)Save an Encounter Type | 
| Modifier and Type | Method and Description | 
|---|---|
| List<EncounterType> | EncounterDAO. findEncounterTypes(String name)Find Encounter Types matching the given name. | 
| List<EncounterType> | EncounterDAO. getAllEncounterTypes(Boolean includeVoided)Get all encounter types | 
| Modifier and Type | Method and Description | 
|---|---|
| void | EncounterDAO. deleteEncounterType(EncounterType encounterType)Purge encounter type from database. | 
| EncounterType | EncounterDAO. saveEncounterType(EncounterType encounterType)Save an Encounter Type | 
| Modifier and Type | Method and Description | 
|---|---|
| Integer | FormDAO. getFormCount(String partialName,
            Boolean published,
            Collection<EncounterType> encounterTypes,
            Boolean retired,
            Collection<FormField> containingAnyFormField,
            Collection<FormField> containingAllFormFields,
            Collection<Field> fields) | 
| List<Form> | FormDAO. getForms(String partialName,
        Boolean published,
        Collection<EncounterType> encounterTypes,
        Boolean retired,
        Collection<FormField> containingAnyFormField,
        Collection<FormField> containingAllFormFields,
        Collection<Field> fields)Gets all forms that match all the criteria. | 
| Modifier and Type | Method and Description | 
|---|---|
| EncounterType | HibernateEncounterDAO. getEncounterType(Integer encounterTypeId) | 
| EncounterType | HibernateEncounterDAO. getEncounterType(String name) | 
| EncounterType | HibernateEncounterDAO. getEncounterTypeByUuid(String uuid) | 
| EncounterType | HibernateEncounterDAO. saveEncounterType(EncounterType encounterType) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<EncounterType> | HibernateEncounterDAO. findEncounterTypes(String name) | 
| List<EncounterType> | HibernateEncounterDAO. getAllEncounterTypes(Boolean includeRetired) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | HibernateEncounterDAO. deleteEncounterType(EncounterType encounterType) | 
| EncounterType | HibernateEncounterDAO. saveEncounterType(EncounterType encounterType) | 
| Modifier and Type | Method and Description | 
|---|---|
| Integer | HibernateFormDAO. getFormCount(String partialName,
            Boolean published,
            Collection<EncounterType> encounterTypes,
            Boolean retired,
            Collection<FormField> containingAnyFormField,
            Collection<FormField> containingAllFormFields,
            Collection<Field> fields) | 
| List<Form> | HibernateFormDAO. getForms(String partialName,
        Boolean published,
        Collection<EncounterType> encounterTypes,
        Boolean retired,
        Collection<FormField> containingAnyFormField,
        Collection<FormField> containingAllFormFields,
        Collection<Field> fields) | 
| Modifier and Type | Method and Description | 
|---|---|
| EncounterType | EncounterServiceImpl. getEncounterType(Integer encounterTypeId) | 
| EncounterType | EncounterServiceImpl. getEncounterType(String name) | 
| EncounterType | EncounterServiceImpl. getEncounterTypeByUuid(String uuid) | 
| EncounterType | EncounterServiceImpl. retireEncounterType(EncounterType encounterType,
                   String reason) | 
| EncounterType | EncounterServiceImpl. saveEncounterType(EncounterType encounterType) | 
| EncounterType | EncounterServiceImpl. unretireEncounterType(EncounterType encounterType) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<EncounterType> | EncounterServiceImpl. findEncounterTypes(String name) | 
| List<EncounterType> | EncounterServiceImpl. getAllEncounterTypes() | 
| List<EncounterType> | EncounterServiceImpl. getAllEncounterTypes(boolean includeRetired) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | EncounterServiceImpl. purgeEncounterType(EncounterType encounterType) | 
| EncounterType | EncounterServiceImpl. retireEncounterType(EncounterType encounterType,
                   String reason) | 
| EncounterType | EncounterServiceImpl. saveEncounterType(EncounterType encounterType) | 
| EncounterType | EncounterServiceImpl. unretireEncounterType(EncounterType encounterType) | 
| 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) | 
| Integer | FormServiceImpl. getFormCount(String partialName,
            Boolean published,
            Collection<EncounterType> encounterTypes,
            Boolean retired,
            Collection<FormField> containingAnyFormField,
            Collection<FormField> containingAllFormFields,
            Collection<Field> fields) | 
| List<Form> | FormServiceImpl. getForms(String partialName,
        Boolean published,
        Collection<EncounterType> encounterTypes,
        Boolean retired,
        Collection<FormField> containingAnyFormField,
        Collection<FormField> containingAllFormFields,
        Collection<Field> fields) | 
| Modifier and Type | Method and Description | 
|---|---|
| Collection<EncounterType> | EncounterSearchCriteria. getEncounterTypes() | 
| Modifier and Type | Method and Description | 
|---|---|
| EncounterSearchCriteriaBuilder | EncounterSearchCriteriaBuilder. setEncounterTypes(Collection<EncounterType> encounterTypes) | 
| 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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected EncounterType | EncounterTypeEditor. getObjectById(Integer id) | 
| protected EncounterType | EncounterTypeEditor. getObjectByUuid(String uuid) | 
Copyright © 2024 OpenMRS Inc.. All rights reserved.