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(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 id)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
ProgramWorkflowState |
ProgramWorkflowService.getState(ProgramWorkflow programWorkflow,
String name)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
ProgramWorkflowState |
ProgramWorkflowService.getStateByUuid(String uuid)
Get a state by its uuid.
|
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
ProgramWorkflowService.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
List<ProgramWorkflowState> |
ProgramWorkflowService.getStates()
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
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,
Date onDate)
Deprecated.
|
boolean |
ProgramWorkflowService.isLegalTransition(ProgramWorkflowState fromState,
ProgramWorkflowState toState)
|
void |
ProgramWorkflowService.terminatePatientProgram(PatientProgram patientProgram,
ProgramWorkflowState finalState,
Date terminatedOn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetService.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
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(String uuid)
Auto generated method comment
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetDAO.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
Date toDate) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflowState |
HibernateProgramWorkflowDAO.getStateByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
Cohort |
HibernatePatientSetDAO.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
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(Integer id)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getState(ProgramWorkflow programWorkflow,
String name)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getStateByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getStates()
Deprecated.
|
List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getStates(boolean includeRetired)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowServiceImpl.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
Date onDate)
Deprecated.
|
boolean |
ProgramWorkflowServiceImpl.isLegalTransition(ProgramWorkflowState fromState,
ProgramWorkflowState toState)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.terminatePatientProgram(PatientProgram patientProgram,
ProgramWorkflowState finalState,
Date terminatedOn)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Cohort |
PatientSetServiceImpl.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
Date toDate) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflowState> |
ProgramStatePatientFilter.getStateList()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramStatePatientFilter.setStateList(List<ProgramWorkflowState> stateList)
Deprecated.
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.