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 |
Modifier and Type | Method and Description |
---|---|
EncounterRole |
EncounterProvider.getEncounterRole() |
Modifier and Type | Method and Description |
---|---|
Map<EncounterRole,Set<Provider>> |
Encounter.getProvidersByRoles()
Gets all unvoided providers, grouped by role.
|
Map<EncounterRole,Set<Provider>> |
Encounter.getProvidersByRoles(boolean includeVoided)
Gets all providers, grouped by role.
|
Modifier and Type | Method and Description |
---|---|
void |
Encounter.addProvider(EncounterRole role,
Provider provider)
Adds a new provider for the encounter, with the given role.
|
Set<Provider> |
Encounter.getProvidersByRole(EncounterRole role)
Gets unvoided providers who had the given role in this encounter.
|
Set<Provider> |
Encounter.getProvidersByRole(EncounterRole role,
boolean includeVoided)
Gets providers who had the given role in this encounter.
|
void |
Encounter.removeProvider(EncounterRole role,
Provider provider)
Removes the provider for a given role.
|
void |
EncounterProvider.setEncounterRole(EncounterRole encounterRole) |
void |
Encounter.setProvider(EncounterRole role,
Provider provider)
Sets the provider for the given role.
|
Modifier and Type | Method and Description |
---|---|
EncounterRole |
EncounterService.getEncounterRole(Integer encounterRoleId)
Gets an encounter role when and internal encounter role id is provided.
|
EncounterRole |
EncounterService.getEncounterRoleByName(String name)
Get EncounterRole by name
|
EncounterRole |
EncounterService.getEncounterRoleByUuid(String uuid)
Get EncounterRole by its UUID
|
EncounterRole |
EncounterService.retireEncounterRole(EncounterRole encounterRole,
String reason)
Retire an EncounterRole.
|
EncounterRole |
EncounterService.saveEncounterRole(EncounterRole encounterRole)
Saves a new encounter role or updates an existing encounter role.
|
EncounterRole |
EncounterService.unretireEncounterRole(EncounterRole encounterType)
Unretire an EncounterRole.
|
Modifier and Type | Method and Description |
---|---|
List<EncounterRole> |
EncounterService.getAllEncounterRoles(boolean includeRetired)
Get all encounter roles based on includeRetired flag
|
List<EncounterRole> |
EncounterService.getEncounterRolesByName(String name)
Get EncounterRoles by name
|
Modifier and Type | Method and Description |
---|---|
void |
EncounterService.purgeEncounterRole(EncounterRole encounterRole)
Completely remove an encounter role from database.
|
EncounterRole |
EncounterService.retireEncounterRole(EncounterRole encounterRole,
String reason)
Retire an EncounterRole.
|
EncounterRole |
EncounterService.saveEncounterRole(EncounterRole encounterRole)
Saves a new encounter role or updates an existing encounter role.
|
EncounterRole |
EncounterService.unretireEncounterRole(EncounterRole encounterType)
Unretire an EncounterRole.
|
Modifier and Type | Method and Description |
---|---|
EncounterRole |
EncounterDAO.getEncounterRole(Integer encounterRoleId)
Get encounter role by internal identifier
|
EncounterRole |
EncounterDAO.getEncounterRoleByName(String name) |
EncounterRole |
EncounterDAO.getEncounterRoleByUuid(String uuid)
Find
EncounterRole matching a uuid |
EncounterRole |
EncounterDAO.saveEncounterRole(EncounterRole encounterRole)
Saves an encounter role
|
Modifier and Type | Method and Description |
---|---|
List<EncounterRole> |
EncounterDAO.getAllEncounterRoles(boolean includeRetired)
Get all encounter roles and optionally specify whether to include retired encountered roles
|
List<EncounterRole> |
EncounterDAO.getEncounterRolesByName(String name)
Get encounter roles by name
|
Modifier and Type | Method and Description |
---|---|
void |
EncounterDAO.deleteEncounterRole(EncounterRole encounterRole)
Purge an encounter role from database.
|
EncounterRole |
EncounterDAO.saveEncounterRole(EncounterRole encounterRole)
Saves an encounter role
|
Modifier and Type | Method and Description |
---|---|
EncounterRole |
HibernateEncounterDAO.getEncounterRole(Integer encounterRoleId) |
EncounterRole |
HibernateEncounterDAO.getEncounterRoleByName(String name) |
EncounterRole |
HibernateEncounterDAO.getEncounterRoleByUuid(String uuid) |
EncounterRole |
HibernateEncounterDAO.saveEncounterRole(EncounterRole encounterRole) |
Modifier and Type | Method and Description |
---|---|
List<EncounterRole> |
HibernateEncounterDAO.getAllEncounterRoles(boolean includeRetired) |
List<EncounterRole> |
HibernateEncounterDAO.getEncounterRolesByName(String name) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateEncounterDAO.deleteEncounterRole(EncounterRole encounterRole) |
EncounterRole |
HibernateEncounterDAO.saveEncounterRole(EncounterRole encounterRole) |
Modifier and Type | Method and Description |
---|---|
EncounterRole |
EncounterServiceImpl.getEncounterRole(Integer encounterRoleId) |
EncounterRole |
EncounterServiceImpl.getEncounterRoleByName(String name) |
EncounterRole |
EncounterServiceImpl.getEncounterRoleByUuid(String uuid) |
EncounterRole |
EncounterServiceImpl.retireEncounterRole(EncounterRole encounterRole,
String reason) |
EncounterRole |
EncounterServiceImpl.saveEncounterRole(EncounterRole encounterRole) |
EncounterRole |
EncounterServiceImpl.unretireEncounterRole(EncounterRole encounterRole) |
Modifier and Type | Method and Description |
---|---|
List<EncounterRole> |
EncounterServiceImpl.getAllEncounterRoles(boolean includeRetired) |
List<EncounterRole> |
EncounterServiceImpl.getEncounterRolesByName(String name) |
Modifier and Type | Method and Description |
---|---|
void |
EncounterServiceImpl.purgeEncounterRole(EncounterRole encounterRole) |
EncounterRole |
EncounterServiceImpl.retireEncounterRole(EncounterRole encounterRole,
String reason) |
EncounterRole |
EncounterServiceImpl.saveEncounterRole(EncounterRole encounterRole) |
EncounterRole |
EncounterServiceImpl.unretireEncounterRole(EncounterRole encounterRole) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.