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.propertyeditor |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
ConceptStateConversion.getProgramWorkflowState() |
ProgramWorkflowState |
PatientState.getState() |
ProgramWorkflowState |
ProgramWorkflow.getState(Concept concept)
Returns a
ProgramWorkflowState whose Concept matches the passed concept |
ProgramWorkflowState |
ProgramWorkflow.getState(Integer programWorkflowStateId)
Returns a
ProgramWorkflowState whose primary key id matches the input parameter |
ProgramWorkflowState |
ProgramWorkflow.getState(String name)
Returns a
ProgramWorkflowState whose Concept name matches the passed name in any
Locale |
ProgramWorkflowState |
ProgramWorkflow.getStateByName(String name)
|
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
ProgramWorkflow.getPossibleNextStates(PatientProgram patientProgram)
Returns a List<
ProgramWorkflowState > including all possible next
ProgramWorkflowStates, for the passed PatientProgram ordered by ConceptName |
Set<ProgramWorkflowState> |
ProgramWorkflow.getSortedStates()
Returns a Set<
ProgramWorkflowState > including all ProgramWorkflowStates, sorted by
ConceptName |
Set<ProgramWorkflowState> |
ProgramWorkflow.getStates() |
Set<ProgramWorkflowState> |
ProgramWorkflow.getStates(boolean includeRetired)
Returns a Set<
ProgramWorkflowState > including all non-retired ProgramWorkflowStates
and all retired ProgramWorkflowStates in this ProgramWorkflow if includeRetired
is true |
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflow.addState(ProgramWorkflowState state)
Adds a new
ProgramWorkflowState to this ProgramWorkflow |
boolean |
ProgramWorkflow.isLegalTransition(ProgramWorkflowState fromState,
ProgramWorkflowState toState)
Check whether it is allowable to transition from
fromState to
toState . |
void |
ProgramWorkflow.removeState(ProgramWorkflowState state)
Removes a
ProgramWorkflowState from this ProgramWorkflow |
void |
ProgramWorkflow.retireState(ProgramWorkflowState state)
Retires a
ProgramWorkflowState |
void |
ConceptStateConversion.setProgramWorkflowState(ProgramWorkflowState programWorkflowState) |
void |
PatientState.setState(ProgramWorkflowState state) |
void |
PatientProgram.transitionToState(ProgramWorkflowState programWorkflowState,
Date onDate)
Attempts to transition the PatientProgram to the passed
ProgramWorkflowState on the
passed Date by ending the most recent PatientState in the
PatientProgram and creating a new one with the passed ProgramWorkflowState
This will throw an IllegalArgumentException if the transition is invalid |
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflow.setStates(Set<ProgramWorkflowState> states) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
ProgramWorkflowService.getState(Integer stateId)
Get
ProgramWorkflowState by internal identifier. |
ProgramWorkflowState |
ProgramWorkflowService.getStateByUuid(String uuid)
Get a state by its uuid.
|
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
ProgramWorkflowService.getProgramWorkflowStatesByConcept(Concept concept)
Returns a list of ProgramWorkflowStates that are using a particular concept.
|
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
ProgramWorkflowDAO.getState(Integer stateId)
Retrieves a
ProgramWorkflowState from the database by its primary key. |
ProgramWorkflowState |
ProgramWorkflowDAO.getStateByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
ProgramWorkflowDAO.getProgramWorkflowStatesByConcept(Concept concept)
Returns a list of ProgramWorkflowStates that are using a particular concept.
|
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
HibernateProgramWorkflowDAO.getState(Integer stateId) |
ProgramWorkflowState |
HibernateProgramWorkflowDAO.getStateByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
HibernateProgramWorkflowDAO.getProgramWorkflowStatesByConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getState(Integer stateId) |
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getStateByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getProgramWorkflowStatesByConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
protected ProgramWorkflowState |
ProgramWorkflowStateEditor.getObjectById(Integer id) |
protected ProgramWorkflowState |
ProgramWorkflowStateEditor.getObjectByUuid(String uuid) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.