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 |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ConceptStateConversion.getProgramWorkflow() |
ProgramWorkflow |
ProgramWorkflowState.getProgramWorkflow() |
ProgramWorkflow |
Program.getWorkflow(java.lang.Integer programWorkflowId)
Get the workflow with the specified ID
|
ProgramWorkflow |
Program.getWorkflowByName(java.lang.String name)
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ProgramWorkflow> |
Program.getAllWorkflows()
Get all workflows...including the retired ones
|
java.util.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 |
ConceptStateConversion.setProgramWorkflow(ProgramWorkflow programWorkflow) |
void |
ProgramWorkflowState.setProgramWorkflow(ProgramWorkflow programWorkflow) |
java.util.List<PatientState> |
PatientProgram.statesInWorkflow(ProgramWorkflow programWorkflow,
boolean includeVoided)
Returns a List
PatientState s in the passed
ProgramWorkflow for the PatientProgram |
void |
PatientProgram.voidLastState(ProgramWorkflow workflow,
User voidBy,
java.util.Date voidDate,
java.lang.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(java.util.Set<ProgramWorkflow> allWorkflows) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(java.lang.Integer id)
Deprecated.
ProgramWorkflows should not be retrieved directly, but rather through the
programs they belong to: use
Program.getWorkflows() |
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(Program program,
java.lang.String name)
Deprecated.
|
ProgramWorkflow |
ProgramWorkflowService.getWorkflowByUuid(java.lang.String uuid)
Get ProgramWorkflow by its UUID
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatientProgram(PatientProgram program)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowService.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
java.util.Date onDate)
Deprecated.
|
void |
ProgramWorkflowService.createWorkflow(ProgramWorkflow programWorkflow)
Deprecated.
|
ConceptStateConversion |
ProgramWorkflowService.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger)
Retrieves the ConceptStateConversion that matches the passed
ProgramWorkflow and
Concept |
java.util.Map<java.lang.Integer,PatientState> |
PatientSetService.getCurrentStates(Cohort ps,
ProgramWorkflow wf)
Gets statistical information about current states of patients within given cohort for specific program workflow
|
PatientState |
ProgramWorkflowService.getLatestState(PatientProgram patientProgram,
ProgramWorkflow programWorkflow)
Deprecated.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowService.getState(ProgramWorkflow programWorkflow,
java.lang.String name)
Deprecated.
ProgramWorkflowStates should be retrieved from the
ProgramWorkflow they
belong to |
void |
ProgramWorkflowService.updateWorkflow(ProgramWorkflow programWorkflow)
Deprecated.
|
void |
ProgramWorkflowService.voidLastState(PatientProgram patientProgram,
ProgramWorkflow wf,
java.lang.String voidReason)
|
void |
ProgramWorkflowService.voidWorkflow(ProgramWorkflow programWorkflow,
java.lang.String reason)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowDAO.getWorkflowByUuid(java.lang.String uuid)
Auto generated method comment
|
Modifier and Type | Method and Description |
---|---|
ConceptStateConversion |
ProgramWorkflowDAO.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger)
Retrieves the ConceptStateConversion that matches the passed
ProgramWorkflow and
Concept |
java.util.Map<java.lang.Integer,PatientState> |
PatientSetDAO.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
HibernateProgramWorkflowDAO.getWorkflowByUuid(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
ConceptStateConversion |
HibernateProgramWorkflowDAO.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
java.util.Map<java.lang.Integer,PatientState> |
HibernatePatientSetDAO.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflow(java.lang.Integer id)
Deprecated.
|
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflow(Program program,
java.lang.String name)
Deprecated.
|
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflowByUuid(java.lang.String uuid) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatientProgram(PatientProgram patientProgram)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowServiceImpl.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
java.util.Date onDate)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.createWorkflow(ProgramWorkflow w)
Deprecated.
|
ConceptStateConversion |
ProgramWorkflowServiceImpl.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
java.util.Map<java.lang.Integer,PatientState> |
PatientSetServiceImpl.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
PatientState |
ProgramWorkflowServiceImpl.getLatestState(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getState(ProgramWorkflow programWorkflow,
java.lang.String name)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.updateWorkflow(ProgramWorkflow w)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.voidLastState(PatientProgram patientProgram,
ProgramWorkflow workflow,
java.lang.String voidReason)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.voidWorkflow(ProgramWorkflow w,
java.lang.String reason)
Deprecated.
|
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.