| 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.reporting | 
 Deprecated 
 | 
| org.openmrs.web.taglib | 
| 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. 
 | 
List<EncounterType> | 
EncounterService.getEncounterTypes()
Deprecated. 
 
replaced by  
EncounterService.getAllEncounterTypes() | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AdministrationService.createEncounterType(EncounterType encounterType)
Deprecated. 
 
 | 
void | 
AdministrationService.deleteEncounterType(EncounterType encounterType)
Deprecated. 
 
 | 
Map<Integer,Encounter> | 
PatientSetService.getEncountersByType(Cohort patients,
                   EncounterType encType)
TODO write something here 
 | 
Map<Integer,Encounter> | 
PatientSetService.getFirstEncountersByType(Cohort patients,
                        EncounterType encType)
TODO write something here 
 | 
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 
 | 
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. 
 | 
void | 
AdministrationService.updateEncounterType(EncounterType encounterType)
Deprecated. 
 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Map<Integer,Object> | 
PatientSetService.getEncounterAttrsByType(Cohort patients,
                       List<EncounterType> encTypes,
                       String attr)
TODO write something here 
 | 
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. 
 | 
Map<Integer,Encounter> | 
PatientSetService.getEncountersByType(Cohort patients,
                   List<EncounterType> encType)
TODO write something here 
 | 
Map<Integer,Object> | 
PatientSetService.getFirstEncounterAttrsByType(Cohort patients,
                            List<EncounterType> encTypes,
                            String attr)
TODO write something here 
 | 
Map<Integer,Encounter> | 
PatientSetService.getFirstEncountersByType(Cohort patients,
                        List<EncounterType> types)
TODO write something here 
 | 
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)
 | 
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 
 | 
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) 
 | 
| 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  
EncounterType matching 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 | 
|---|---|
Map<Integer,Object> | 
PatientSetDAO.getEncounterAttrsByType(Cohort patients,
                       List<EncounterType> encTypes,
                       String attr,
                       Boolean earliestFirst)  | 
List<Encounter> | 
EncounterDAO.getEncounters(Patient patient,
             Location location,
             Date fromDate,
             Date toDate,
             Collection<Form> enteredViaForms,
             Collection<EncounterType> encounterTypes,
             Collection<User> providers,
             boolean includeVoided)  | 
Map<Integer,Encounter> | 
PatientSetDAO.getEncountersByType(Cohort patients,
                   List<EncounterType> encType)  | 
Map<Integer,Encounter> | 
PatientSetDAO.getFirstEncountersByType(Cohort patients,
                        List<EncounterType> encType)  | 
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. 
 | 
Cohort | 
PatientSetDAO.getPatientsHavingEncounters(List<EncounterType> encounterTypeList,
                           Location location,
                           Form form,
                           Date fromDate,
                           Date toDate,
                           Integer minCount,
                           Integer maxCount)  | 
| 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 | 
|---|---|
Map<Integer,Object> | 
HibernatePatientSetDAO.getEncounterAttrsByType(Cohort patients,
                       List<EncounterType> encTypes,
                       String attr,
                       Boolean earliestFirst)  | 
List<Encounter> | 
HibernateEncounterDAO.getEncounters(Patient patient,
             Location location,
             Date fromDate,
             Date toDate,
             Collection<Form> enteredViaForms,
             Collection<EncounterType> encounterTypes,
             Collection<User> providers,
             boolean includeVoided)  | 
Map<Integer,Encounter> | 
HibernatePatientSetDAO.getEncountersByType(Cohort patients,
                   List<EncounterType> encTypes)  | 
Map<Integer,Encounter> | 
HibernatePatientSetDAO.getFirstEncountersByType(Cohort patients,
                        List<EncounterType> types)  | 
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)  | 
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 
 | 
| 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)  | 
List<EncounterType> | 
EncounterServiceImpl.getEncounterTypes()
Deprecated. 
 
replaced by  
EncounterServiceImpl.getAllEncounterTypes() | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AdministrationServiceImpl.createEncounterType(EncounterType encounterType)
Deprecated.   
 | 
void | 
AdministrationServiceImpl.deleteEncounterType(EncounterType encounterType)
Deprecated.   
 | 
Map<Integer,Encounter> | 
PatientSetServiceImpl.getEncountersByType(Cohort patients,
                   EncounterType encType)  | 
Map<Integer,Encounter> | 
PatientSetServiceImpl.getFirstEncountersByType(Cohort patients,
                        EncounterType encType)  | 
Cohort | 
PatientSetServiceImpl.getPatientsHavingEncounters(EncounterType encounterType,
                           Location location,
                           Form form,
                           Date fromDate,
                           Date toDate,
                           Integer minCount,
                           Integer maxCount)  | 
void | 
EncounterServiceImpl.purgeEncounterType(EncounterType encounterType)  | 
EncounterType | 
EncounterServiceImpl.retireEncounterType(EncounterType encounterType,
                   String reason)  | 
EncounterType | 
EncounterServiceImpl.saveEncounterType(EncounterType encounterType)  | 
EncounterType | 
EncounterServiceImpl.unretireEncounterType(EncounterType encounterType)  | 
void | 
AdministrationServiceImpl.updateEncounterType(EncounterType encounterType)
Deprecated.   
 | 
| Modifier and Type | Method and Description | 
|---|---|
Map<Integer,Object> | 
PatientSetServiceImpl.getEncounterAttrsByType(Cohort patients,
                       List<EncounterType> encTypes,
                       String attr)  | 
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)  | 
Map<Integer,Encounter> | 
PatientSetServiceImpl.getEncountersByType(Cohort patients,
                   List<EncounterType> types)  | 
Map<Integer,Object> | 
PatientSetServiceImpl.getFirstEncounterAttrsByType(Cohort patients,
                            List<EncounterType> encTypes,
                            String attr)  | 
Map<Integer,Encounter> | 
PatientSetServiceImpl.getFirstEncountersByType(Cohort patients,
                        List<EncounterType> types)  | 
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)
 | 
List<Form> | 
FormServiceImpl.getForms(String partialName,
        Boolean published,
        Collection<EncounterType> encounterTypes,
        Boolean retired,
        Collection<FormField> containingAnyFormField,
        Collection<FormField> containingAllFormFields,
        Collection<Field> fields)  | 
Cohort | 
PatientSetServiceImpl.getPatientsHavingEncounters(List<EncounterType> encounterTypeList,
                           Location location,
                           Form form,
                           Date fromDate,
                           Date toDate,
                           Integer minCount,
                           Integer maxCount)  | 
| Modifier and Type | Method and Description | 
|---|---|
EncounterType | 
EncounterPatientFilter.getEncounterType()
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<EncounterType> | 
EncounterPatientFilter.getEncounterTypeList()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
EncounterPatientFilter.setEncounterType(EncounterType encounterType)
Deprecated.  
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
EncounterPatientFilter.setEncounterTypeList(List<EncounterType> encounterTypeList)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
EncounterType | 
FormatTag.getEncounterType()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FormatTag.setEncounterType(EncounterType encounterType)  | 
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.