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.customdatatype.datatype | |
org.openmrs.parameter | |
org.openmrs.util |
Shared utilities for OpenMRS classes
|
Modifier and Type | Method and Description |
---|---|
Provider |
MedicationDispense.getDispenser() |
Provider |
Order.getOrderer() |
Provider |
ProviderAttribute.getProvider() |
Provider |
EncounterProvider.getProvider() |
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
void |
Encounter.removeProvider(EncounterRole role,
Provider provider)
Removes the provider for a given role.
|
void |
MedicationDispense.setDispenser(Provider dispenser) |
void |
Order.setOrderer(Provider orderer) |
void |
Encounter.setProvider(EncounterRole role,
Provider provider)
Sets the provider for the given role.
|
void |
ProviderAttribute.setProvider(Provider provider) |
void |
EncounterProvider.setProvider(Provider provider) |
Modifier and Type | Method and Description |
---|---|
Provider |
ProviderService.getProvider(Integer providerId)
Gets a provider by its provider id
|
Provider |
ProviderService.getProviderByIdentifier(String identifier)
Gets a provider with a matching identifier, this method performs a case insensitive search
|
Provider |
ProviderService.getProviderByUuid(String uuid) |
Provider |
ProviderService.getUnknownProvider()
Gets the unknown provider account, i.e. the provider account that matches the uuid specified
as the value for the global property
OpenmrsConstants.GP_UNKNOWN_PROVIDER_UUID |
Provider |
ProviderService.saveProvider(Provider provider) |
Provider |
ProviderService.unretireProvider(Provider provider)
Unretire a given Provider
|
Modifier and Type | Method and Description |
---|---|
List<Provider> |
ProviderService.getAllProviders()
Gets all providers. includes retired Provider.This method delegates to the
#getAllProviders(boolean) method
|
List<Provider> |
ProviderService.getAllProviders(boolean includeRetired)
Gets all providers
|
List<Provider> |
ProviderService.getProviders(String query,
Integer start,
Integer length,
Map<ProviderAttributeType,Object> attributes) |
List<Provider> |
ProviderService.getProviders(String query,
Integer start,
Integer length,
Map<ProviderAttributeType,Object> attributes,
boolean includeRetired) |
Collection<Provider> |
ProviderService.getProvidersByPerson(Person person)
Gets the Providers for the given person.
|
Collection<Provider> |
ProviderService.getProvidersByPerson(Person person,
boolean includeRetired)
Gets the Providers for the given person including or excluding retired.
|
Modifier and Type | Method and Description |
---|---|
Order |
OrderService.discontinueOrder(Order orderToDiscontinue,
Concept reasonCoded,
Date discontinueDate,
Provider orderer,
Encounter encounter)
Discontinues an order.
|
Order |
OrderService.discontinueOrder(Order orderToDiscontinue,
String reasonNonCoded,
Date discontinueDate,
Provider orderer,
Encounter encounter)
Discontinues an order.
|
boolean |
ProviderService.isProviderIdentifierUnique(Provider provider)
Checks if the identifier for the specified provider is unique
|
void |
ProviderService.purgeProvider(Provider provider)
Deletes a given Provider
|
void |
ProviderService.retireProvider(Provider provider,
String reason)
Retires a given Provider
|
Provider |
ProviderService.saveProvider(Provider provider) |
Provider |
ProviderService.unretireProvider(Provider provider)
Unretire a given Provider
|
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) |
Modifier and Type | Method and Description |
---|---|
Provider |
ProviderDAO.getProvider(Integer id) |
Provider |
ProviderDAO.getProviderByIdentifier(String identifier) |
Provider |
ProviderDAO.getProviderByUuid(String uuid) |
Provider |
ProviderDAO.saveProvider(Provider provider)
Saves/Updates a given Provider
|
Modifier and Type | Method and Description |
---|---|
List<Provider> |
ProviderDAO.getAllProviders(boolean includeRetired)
Gets all Providers
|
List<Provider> |
ProviderDAO.getProviders(String name,
Map<ProviderAttributeType,String> serializedAttributeValues,
Integer start,
Integer length,
boolean includeRetired) |
Collection<Provider> |
ProviderDAO.getProvidersByPerson(Person person,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
void |
ProviderDAO.deleteProvider(Provider provider)
deletes an exisiting Provider
|
boolean |
ProviderDAO.isProviderIdentifierUnique(Provider provider) |
Provider |
ProviderDAO.saveProvider(Provider provider)
Saves/Updates a given Provider
|
Modifier and Type | Method and Description |
---|---|
Provider |
HibernateProviderDAO.getProvider(Integer id) |
Provider |
HibernateProviderDAO.getProviderByIdentifier(String identifier) |
Provider |
HibernateProviderDAO.getProviderByUuid(String uuid) |
Provider |
HibernateProviderDAO.saveProvider(Provider provider) |
Modifier and Type | Method and Description |
---|---|
List<Provider> |
HibernateProviderDAO.getAllProviders(boolean includeRetired) |
List<Provider> |
HibernateProviderDAO.getProviders(String name,
Map<ProviderAttributeType,String> serializedAttributeValues,
Integer start,
Integer length,
boolean includeRetired) |
Collection<Provider> |
HibernateProviderDAO.getProvidersByPerson(Person person,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateProviderDAO.deleteProvider(Provider provider) |
boolean |
HibernateProviderDAO.isProviderIdentifierUnique(Provider provider) |
Provider |
HibernateProviderDAO.saveProvider(Provider provider) |
Modifier and Type | Method and Description |
---|---|
Provider |
ProviderServiceImpl.getProvider(Integer providerId) |
Provider |
ProviderServiceImpl.getProviderByIdentifier(String identifier) |
Provider |
ProviderServiceImpl.getProviderByUuid(String uuid) |
Provider |
ProviderServiceImpl.getUnknownProvider() |
Provider |
ProviderServiceImpl.saveProvider(Provider provider) |
Provider |
ProviderServiceImpl.unretireProvider(Provider provider) |
Modifier and Type | Method and Description |
---|---|
List<Provider> |
ProviderServiceImpl.getAllProviders() |
List<Provider> |
ProviderServiceImpl.getAllProviders(boolean includeRetired) |
List<Provider> |
ProviderServiceImpl.getProviders(String query,
Integer start,
Integer length,
Map<ProviderAttributeType,Object> attributeValues) |
List<Provider> |
ProviderServiceImpl.getProviders(String query,
Integer start,
Integer length,
Map<ProviderAttributeType,Object> attributeValues,
boolean includeRetired) |
Collection<Provider> |
ProviderServiceImpl.getProvidersByPerson(Person person) |
Collection<Provider> |
ProviderServiceImpl.getProvidersByPerson(Person person,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
Order |
OrderServiceImpl.discontinueOrder(Order orderToDiscontinue,
Concept reasonCoded,
Date discontinueDate,
Provider orderer,
Encounter encounter) |
Order |
OrderServiceImpl.discontinueOrder(Order orderToDiscontinue,
String reasonNonCoded,
Date discontinueDate,
Provider orderer,
Encounter encounter) |
boolean |
ProviderServiceImpl.isProviderIdentifierUnique(Provider provider) |
void |
ProviderServiceImpl.purgeProvider(Provider provider) |
void |
ProviderServiceImpl.retireProvider(Provider provider,
String reason) |
Provider |
ProviderServiceImpl.saveProvider(Provider provider) |
Provider |
ProviderServiceImpl.unretireProvider(Provider provider) |
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) |
Modifier and Type | Method and Description |
---|---|
Provider |
ProviderDatatype.deserialize(String uuid) |
Modifier and Type | Method and Description |
---|---|
Collection<Provider> |
EncounterSearchCriteria.getProviders() |
Modifier and Type | Method and Description |
---|---|
EncounterSearchCriteriaBuilder |
EncounterSearchCriteriaBuilder.setProviders(Collection<Provider> providers) |
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 |
---|---|
int |
ProviderByPersonNameComparator.compare(Provider provider1,
Provider provider2) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.