| 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 | 
|---|---|
PatientState | 
PatientState.copy()
Does a shallow copy of this PatientState. 
 | 
protected PatientState | 
PatientState.copyHelper(PatientState target)
The purpose of this method is to allow subclasses of PatientState to delegate a portion of
 their copy() method back to the superclass, in case the base class implementation changes. 
 | 
PatientState | 
PatientProgram.getCurrentState(ProgramWorkflow programWorkflow)
 | 
PatientState | 
PatientProgram.getPatientState(Integer patientStateId)
Returns the  
PatientState associated with this PatientProgram that has an id that
 matches the passed patientStateId | 
| Modifier and Type | Method and Description | 
|---|---|
Set<PatientState> | 
PatientProgram.getCurrentStates()
Returns a Set<PatientState> of all current  
PatientStates for the
 PatientProgram | 
Set<PatientState> | 
PatientProgram.getMostRecentStateInEachWorkflow()
Returns a Set<PatientState> of all recent  
PatientStates for each workflow of the
 PatientProgram | 
Set<PatientState> | 
PatientProgram.getStates()  | 
List<PatientState> | 
PatientProgram.statesInWorkflow(ProgramWorkflow programWorkflow,
                boolean includeVoided)
Returns a List<PatientState> of all  
PatientStates in the passed
 ProgramWorkflow for the PatientProgram | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
PatientState.compareTo(PatientState o)
Compares by startDate with null as earliest and endDate with null as latest. 
 | 
protected PatientState | 
PatientState.copyHelper(PatientState target)
The purpose of this method is to allow subclasses of PatientState to delegate a portion of
 their copy() method back to the superclass, in case the base class implementation changes. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PatientProgram.setStates(Set<PatientState> states)  | 
| Modifier and Type | Method and Description | 
|---|---|
PatientState | 
ProgramWorkflowService.getPatientStateByUuid(String uuid)
Get a program state by its uuid. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
PatientState | 
ProgramWorkflowDAO.getPatientStateByUuid(String uuid)  | 
| Modifier and Type | Method and Description | 
|---|---|
PatientState | 
HibernateProgramWorkflowDAO.getPatientStateByUuid(String uuid)  | 
| Modifier and Type | Method and Description | 
|---|---|
PatientState | 
ProgramWorkflowServiceImpl.getPatientStateByUuid(String uuid)  | 
Copyright © 2024 OpenMRS Inc.. All rights reserved.