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 |
---|---|
ProgramWorkflow |
ProgramWorkflowState.getProgramWorkflow() |
ProgramWorkflow |
ConceptStateConversion.getProgramWorkflow() |
ProgramWorkflow |
Program.getWorkflow(Integer programWorkflowId)
Get the workflow with the specified ID
|
ProgramWorkflow |
Program.getWorkflowByName(String name)
|
Modifier and Type | Method and Description |
---|---|
Set<ProgramWorkflow> |
Program.getAllWorkflows()
Get all workflows...including the retired ones
|
Set<ProgramWorkflow> |
Program.getWorkflows()
Get only the non-retired workflows
|
Modifier and Type | Method and Description |
---|---|
void |
Program.addWorkflow(ProgramWorkflow workflow)
Adds a new
ProgramWorkflow to this Program |
PatientState |
PatientProgram.getCurrentState(ProgramWorkflow programWorkflow)
|
void |
Program.removeWorkflow(ProgramWorkflow workflow)
Removes a
ProgramWorkflow from this Program |
void |
Program.retireWorkflow(ProgramWorkflow workflow)
Retires a
ProgramWorkflow |
void |
ProgramWorkflowState.setProgramWorkflow(ProgramWorkflow programWorkflow) |
void |
ConceptStateConversion.setProgramWorkflow(ProgramWorkflow programWorkflow) |
List<PatientState> |
PatientProgram.statesInWorkflow(ProgramWorkflow programWorkflow,
boolean includeVoided)
Returns a List<PatientState> of all
PatientState s in the passed
ProgramWorkflow for the PatientProgram |
void |
PatientProgram.voidLastState(ProgramWorkflow workflow,
User voidBy,
Date voidDate,
String voidReason)
Attempts to void the latest
PatientState in the PatientProgram If earlier
PatientStates exist, it will try to reset the endDate to null so that the next latest state
becomes the current PatientState |
Modifier and Type | Method and Description |
---|---|
void |
Program.setAllWorkflows(Set<ProgramWorkflow> allWorkflows) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(Integer workflowId)
Get
ProgramWorkflow by internal identifier. |
ProgramWorkflow |
ProgramWorkflowService.getWorkflowByUuid(String uuid)
Get ProgramWorkflow by its UUID
|
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflow> |
ProgramWorkflowService.getProgramWorkflowsByConcept(Concept concept)
Returns a list of ProgramWorkflows that are using a particular concept.
|
Modifier and Type | Method and Description |
---|---|
ConceptStateConversion |
ProgramWorkflowService.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger)
Retrieves the ConceptStateConversion that matches the passed
ProgramWorkflow and
Concept |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowDAO.getWorkflow(Integer workflowId)
Retrieves a
ProgramWorkflow from the database by its primary key. |
ProgramWorkflow |
ProgramWorkflowDAO.getWorkflowByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflow> |
ProgramWorkflowDAO.getProgramWorkflowsByConcept(Concept concept)
Returns a list of ProgramWorkflows that are using a particular concept.
|
Modifier and Type | Method and Description |
---|---|
ConceptStateConversion |
ProgramWorkflowDAO.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger)
Retrieves the ConceptStateConversion that matches the passed
ProgramWorkflow and
Concept |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
HibernateProgramWorkflowDAO.getWorkflow(Integer workflowId) |
ProgramWorkflow |
HibernateProgramWorkflowDAO.getWorkflowByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflow> |
HibernateProgramWorkflowDAO.getProgramWorkflowsByConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
ConceptStateConversion |
HibernateProgramWorkflowDAO.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflow(Integer workflowId) |
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflowByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
List<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getProgramWorkflowsByConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
ConceptStateConversion |
ProgramWorkflowServiceImpl.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
Modifier and Type | Method and Description |
---|---|
protected ProgramWorkflow |
ProgramWorkflowEditor.getObjectById(Integer id) |
protected ProgramWorkflow |
ProgramWorkflowEditor.getObjectByUuid(String uuid) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.