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
|
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(java.lang.Integer programWorkflowStateId)
Returns a
ProgramWorkflowState whose primary key id matches the input parameter |
ProgramWorkflowState |
ProgramWorkflow.getState(java.lang.String name)
Returns a
ProgramWorkflowState whose Concept name matches the passed name in any
Locale |
ProgramWorkflowState |
ProgramWorkflow.getStateByName(java.lang.String name)
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ProgramWorkflowState> |
ProgramWorkflow.getPossibleNextStates(PatientProgram patientProgram)
Returns a List<
ProgramWorkflowState > including all possible next
ProgramWorkflowStates, for the passed PatientProgram ordered by ConceptName |
java.util.Set<ProgramWorkflowState> |
ProgramWorkflow.getSortedStates()
Returns a Set<
ProgramWorkflowState > including all ProgramWorkflowStates, sorted by
ConceptName |
java.util.Set<ProgramWorkflowState> |
ProgramWorkflow.getStates() |
java.util.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,
java.util.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(java.util.Set<ProgramWorkflowState> states) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
ProgramWorkflowService.getState(java.lang.Integer id)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
ProgramWorkflowState |
ProgramWorkflowService.getState(ProgramWorkflow programWorkflow,
java.lang.String name)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
ProgramWorkflowState |
ProgramWorkflowService.getStateByUuid(java.lang.String uuid)
Get a state by its uuid.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getStates()
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getStates(boolean includeVoided)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowService.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
java.util.Date onDate)
Deprecated.
|
boolean |
ProgramWorkflowService.isLegalTransition(ProgramWorkflowState fromState,
ProgramWorkflowState toState)
|
void |
ProgramWorkflowService.terminatePatientProgram(PatientProgram patientProgram,
ProgramWorkflowState finalState,
java.util.Date terminatedOn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetService.getPatientsByProgramAndState(Program program,
java.util.List<ProgramWorkflowState> stateList,
java.util.Date fromDate,
java.util.Date toDate)
Gets patients who are enrolled in the given program or in the given state(s) at the specified
time
|
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
ProgramWorkflowDAO.getStateByUuid(java.lang.String uuid)
Auto generated method comment
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetDAO.getPatientsByProgramAndState(Program program,
java.util.List<ProgramWorkflowState> stateList,
java.util.Date fromDate,
java.util.Date toDate) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
HibernateProgramWorkflowDAO.getStateByUuid(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
Cohort |
HibernatePatientSetDAO.getPatientsByProgramAndState(Program program,
java.util.List<ProgramWorkflowState> stateList,
java.util.Date fromDate,
java.util.Date toDate)
TODO: Fails to leave out patients who are voided Returns the set of patients that were in a
given program, workflow, and state, within a given date range
|
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getState(java.lang.Integer id)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getState(ProgramWorkflow programWorkflow,
java.lang.String name)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getStateByUuid(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getStates()
Deprecated.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getStates(boolean includeRetired)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowServiceImpl.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
java.util.Date onDate)
Deprecated.
|
boolean |
ProgramWorkflowServiceImpl.isLegalTransition(ProgramWorkflowState fromState,
ProgramWorkflowState toState)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.terminatePatientProgram(PatientProgram patientProgram,
ProgramWorkflowState finalState,
java.util.Date terminatedOn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetServiceImpl.getPatientsByProgramAndState(Program program,
java.util.List<ProgramWorkflowState> stateList,
java.util.Date fromDate,
java.util.Date toDate) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ProgramWorkflowState> |
ProgramStatePatientFilter.getStateList()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramStatePatientFilter.setStateList(java.util.List<ProgramWorkflowState> stateList)
Deprecated.
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.