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(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 |
ConceptStateConversion.setProgramWorkflow(ProgramWorkflow programWorkflow) |
void |
ProgramWorkflowState.setProgramWorkflow(ProgramWorkflow programWorkflow) |
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,
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 id)
Deprecated.
ProgramWorkflows should not be retrieved directly, but rather through the
programs they belong to: use
Program.getWorkflows() |
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(Program program,
String name)
Deprecated.
|
ProgramWorkflow |
ProgramWorkflowService.getWorkflowByUuid(String uuid)
Get ProgramWorkflow by its UUID
|
Modifier and Type | Method and Description |
---|---|
Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
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,
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 |
Map<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.
|
List<ProgramWorkflowState> |
ProgramWorkflowService.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowService.getState(ProgramWorkflow programWorkflow,
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,
String voidReason)
|
void |
ProgramWorkflowService.voidWorkflow(ProgramWorkflow programWorkflow,
String reason)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowDAO.getWorkflowByUuid(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 |
Map<Integer,PatientState> |
PatientSetDAO.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
HibernateProgramWorkflowDAO.getWorkflowByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
ConceptStateConversion |
HibernateProgramWorkflowDAO.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
Map<Integer,PatientState> |
HibernatePatientSetDAO.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
Modifier and Type | Method and Description |
---|---|
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflow(Integer id)
Deprecated.
|
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflow(Program program,
String name)
Deprecated.
|
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflowByUuid(String uuid) |
Modifier and Type | Method and Description |
---|---|
Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatient(Patient patient)
Deprecated.
|
Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatientProgram(PatientProgram patientProgram)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowServiceImpl.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
Date onDate)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.createWorkflow(ProgramWorkflow w)
Deprecated.
|
ConceptStateConversion |
ProgramWorkflowServiceImpl.getConceptStateConversion(ProgramWorkflow workflow,
Concept trigger) |
Map<Integer,PatientState> |
PatientSetServiceImpl.getCurrentStates(Cohort ps,
ProgramWorkflow wf) |
PatientState |
ProgramWorkflowServiceImpl.getLatestState(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
ProgramWorkflowState |
ProgramWorkflowServiceImpl.getState(ProgramWorkflow programWorkflow,
String name)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.updateWorkflow(ProgramWorkflow w)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.voidLastState(PatientProgram patientProgram,
ProgramWorkflow workflow,
String voidReason)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.voidWorkflow(ProgramWorkflow w,
String reason)
Deprecated.
|
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.