| 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 | |
| org.openmrs.report | 
 Deprecated 
 | 
| org.openmrs.reporting | 
 Deprecated 
 | 
| org.openmrs.web.taglib | 
| Modifier and Type | Method and Description | 
|---|---|
Program | 
PatientProgram.getProgram()  | 
Program | 
ProgramWorkflow.getProgram()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
PatientProgram.setProgram(Program program)  | 
void | 
ProgramWorkflow.setProgram(Program program)  | 
| Modifier and Type | Method and Description | 
|---|---|
Program | 
ProgramWorkflowService.getProgram(java.lang.Integer programId)
Returns a program given that programs primary key  
programId A null value is
 returned if no program exists with this programId. | 
Program | 
ProgramWorkflowService.getProgram(java.lang.String name)
Deprecated. 
 
 | 
Program | 
ProgramWorkflowService.getProgramByName(java.lang.String name)
Returns a program given the program's exact  
name A null value is returned if
 there is no program with this name | 
Program | 
ProgramWorkflowService.getProgramByUuid(java.lang.String uuid)
Get a program by its uuid. 
 | 
Program | 
ProgramWorkflowService.retireProgram(Program program)
Retires the given program 
 | 
Program | 
ProgramWorkflowService.saveProgram(Program program)
Save  
program to database (create if new or update if changed) | 
Program | 
ProgramWorkflowService.unRetireProgram(Program program)
Unretires the given program 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Program> | 
ProgramWorkflowService.getAllPrograms()
Returns all programs, includes retired programs. 
 | 
java.util.List<Program> | 
ProgramWorkflowService.getAllPrograms(boolean includeRetired)
Returns all programs 
 | 
java.util.List<Program> | 
ProgramWorkflowService.getPrograms()
Deprecated. 
 
 | 
java.util.List<Program> | 
ProgramWorkflowService.getPrograms(java.lang.String nameFragment)
Returns programs that match the given string. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ProgramWorkflowService.createOrUpdateProgram(Program program)
Deprecated. 
 
 | 
void | 
ProgramWorkflowService.enrollPatientInProgram(Patient patient,
                      Program program,
                      java.util.Date enrollmentDate,
                      java.util.Date completionDate,
                      User creator)
Deprecated. 
 
use {new PatientProgram(...) followed by @link
             #savePatientProgram(PatientProgram)} 
 | 
java.util.Map<java.lang.Integer,PatientProgram> | 
PatientSetService.getCurrentPatientPrograms(Cohort ps,
                         Program program)  | 
java.util.Map<java.lang.Integer,PatientProgram> | 
PatientSetService.getPatientPrograms(Cohort ps,
                  Program program)
Gets program enrollment data for the given cohort in the given program. 
 | 
java.util.List<PatientProgram> | 
ProgramWorkflowService.getPatientPrograms(Patient patient,
                  Program program,
                  java.util.Date minEnrollmentDate,
                  java.util.Date maxEnrollmentDate,
                  java.util.Date minCompletionDate,
                  java.util.Date maxCompletionDate,
                  boolean includeVoided)
Returns PatientPrograms that match the input parameters. 
 | 
Cohort | 
PatientSetService.getPatientsByProgramAndState(Program program,
                            java.util.List<ProgramWorkflowState> stateList,
                            java.util.Date fromDate,
                            java.util.Date toDate)
Gets patients who are enrolled in the given program or in the given state(s) at the specified
 time 
 | 
Cohort | 
PatientSetService.getPatientsInProgram(Program program,
                    java.util.Date fromDate,
                    java.util.Date toDate)  | 
ProgramWorkflow | 
ProgramWorkflowService.getWorkflow(Program program,
           java.lang.String name)
Deprecated. 
 
 | 
boolean | 
ProgramWorkflowService.isInProgram(Patient patient,
           Program program,
           java.util.Date fromDate,
           java.util.Date toDate)
 | 
java.util.Collection<java.lang.Integer> | 
ProgramWorkflowService.patientsInProgram(Program program,
                 java.util.Date fromDate,
                 java.util.Date toDate)
Deprecated. 
 
use
              
ProgramWorkflowService.getPatientPrograms(Patient, Program, Date, Date, Date, Date, boolean)
             which can be Iterated across to return collection of patient ids | 
void | 
ProgramWorkflowService.purgeProgram(Program program)
Completely remove a program from the database (not reversible) This method delegates to
 #purgeProgram(program, boolean) method 
 | 
void | 
ProgramWorkflowService.purgeProgram(Program program,
            boolean cascade)
Completely remove a program from the database (not reversible) 
 | 
Program | 
ProgramWorkflowService.retireProgram(Program program)
Retires the given program 
 | 
Program | 
ProgramWorkflowService.saveProgram(Program program)
Save  
program to database (create if new or update if changed) | 
Program | 
ProgramWorkflowService.unRetireProgram(Program program)
Unretires the given program 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<PatientProgram> | 
ProgramWorkflowService.getPatientPrograms(Cohort cohort,
                  java.util.Collection<Program> programs)
TODO: refactor? 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Program | 
ProgramWorkflowDAO.getProgram(java.lang.Integer programId)
Retrieves a  
Program from the database by primary key programId | 
Program | 
ProgramWorkflowDAO.getProgramByUuid(java.lang.String uuid)
Auto generated method comment 
 | 
Program | 
ProgramWorkflowDAO.saveProgram(Program program)
Saves a Program to the database 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Program> | 
ProgramWorkflowDAO.findPrograms(java.lang.String nameFragment)
Returns programs that match the given string. 
 | 
java.util.List<Program> | 
ProgramWorkflowDAO.getAllPrograms(boolean includeRetired)
Returns all programs 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ProgramWorkflowDAO.deleteProgram(Program program)
Completely remove a program from the database (not reversible) This method delegates to
 #purgeProgram(program, boolean) method 
 | 
java.util.Map<java.lang.Integer,PatientProgram> | 
PatientSetDAO.getPatientPrograms(Cohort ps,
                  Program program,
                  boolean includeVoided,
                  boolean includePast)  | 
java.util.List<PatientProgram> | 
ProgramWorkflowDAO.getPatientPrograms(Patient patient,
                  Program program,
                  java.util.Date minEnrollmentDate,
                  java.util.Date maxEnrollmentDate,
                  java.util.Date minCompletionDate,
                  java.util.Date maxCompletionDate,
                  boolean includeVoided)
Returns PatientPrograms that match the input parameters. 
 | 
Cohort | 
PatientSetDAO.getPatientsByProgramAndState(Program program,
                            java.util.List<ProgramWorkflowState> stateList,
                            java.util.Date fromDate,
                            java.util.Date toDate)  | 
Program | 
ProgramWorkflowDAO.saveProgram(Program program)
Saves a Program to the database 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<PatientProgram> | 
ProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
                  java.util.Collection<Program> programs)  | 
| Modifier and Type | Method and Description | 
|---|---|
Program | 
HibernateProgramWorkflowDAO.getProgram(java.lang.Integer programId)  | 
Program | 
HibernateProgramWorkflowDAO.getProgramByUuid(java.lang.String uuid)  | 
Program | 
HibernateProgramWorkflowDAO.saveProgram(Program program)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Program> | 
HibernateProgramWorkflowDAO.findPrograms(java.lang.String nameFragment)  | 
java.util.List<Program> | 
HibernateProgramWorkflowDAO.getAllPrograms(boolean includeRetired)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
HibernateProgramWorkflowDAO.deleteProgram(Program program)  | 
java.util.Map<java.lang.Integer,PatientProgram> | 
HibernatePatientSetDAO.getPatientPrograms(Cohort ps,
                  Program program,
                  boolean includeVoided,
                  boolean includePast)
This method assumes the patient is not simultaneously enrolled in the program more than once. 
 | 
java.util.List<PatientProgram> | 
HibernateProgramWorkflowDAO.getPatientPrograms(Patient patient,
                  Program program,
                  java.util.Date minEnrollmentDate,
                  java.util.Date maxEnrollmentDate,
                  java.util.Date minCompletionDate,
                  java.util.Date maxCompletionDate,
                  boolean includeVoided)  | 
Cohort | 
HibernatePatientSetDAO.getPatientsByProgramAndState(Program program,
                            java.util.List<ProgramWorkflowState> stateList,
                            java.util.Date fromDate,
                            java.util.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 
 | 
Program | 
HibernateProgramWorkflowDAO.saveProgram(Program program)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<PatientProgram> | 
HibernateProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
                  java.util.Collection<Program> programs)
TODO: refactor this 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Program | 
ProgramWorkflowServiceImpl.getProgram(java.lang.Integer id)  | 
Program | 
ProgramWorkflowServiceImpl.getProgram(java.lang.String name)  | 
Program | 
ProgramWorkflowServiceImpl.getProgramByName(java.lang.String name)  | 
Program | 
ProgramWorkflowServiceImpl.getProgramByUuid(java.lang.String uuid)  | 
Program | 
ProgramWorkflowServiceImpl.retireProgram(Program program)  | 
Program | 
ProgramWorkflowServiceImpl.saveProgram(Program program)  | 
Program | 
ProgramWorkflowServiceImpl.unRetireProgram(Program program)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<Program> | 
ProgramWorkflowServiceImpl.getAllPrograms()  | 
java.util.List<Program> | 
ProgramWorkflowServiceImpl.getAllPrograms(boolean includeRetired)  | 
java.util.List<Program> | 
ProgramWorkflowServiceImpl.getPrograms()
Deprecated.   
 | 
java.util.List<Program> | 
ProgramWorkflowServiceImpl.getPrograms(java.lang.String nameFragment)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ProgramWorkflowServiceImpl.createOrUpdateProgram(Program program)
Deprecated.   
 | 
void | 
ProgramWorkflowServiceImpl.enrollPatientInProgram(Patient patient,
                      Program program,
                      java.util.Date enrollmentDate,
                      java.util.Date completionDate,
                      User creator)
Deprecated.   
 | 
java.util.Map<java.lang.Integer,PatientProgram> | 
PatientSetServiceImpl.getCurrentPatientPrograms(Cohort ps,
                         Program program)  | 
java.util.Map<java.lang.Integer,PatientProgram> | 
PatientSetServiceImpl.getPatientPrograms(Cohort ps,
                  Program program)  | 
java.util.List<PatientProgram> | 
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
                  Program program,
                  java.util.Date minEnrollmentDate,
                  java.util.Date maxEnrollmentDate,
                  java.util.Date minCompletionDate,
                  java.util.Date maxCompletionDate,
                  boolean includeVoided)  | 
Cohort | 
PatientSetServiceImpl.getPatientsByProgramAndState(Program program,
                            java.util.List<ProgramWorkflowState> stateList,
                            java.util.Date fromDate,
                            java.util.Date toDate)  | 
Cohort | 
PatientSetServiceImpl.getPatientsInProgram(Program program,
                    java.util.Date fromDate,
                    java.util.Date toDate)  | 
ProgramWorkflow | 
ProgramWorkflowServiceImpl.getWorkflow(Program program,
           java.lang.String name)
Deprecated.   
 | 
boolean | 
ProgramWorkflowServiceImpl.isInProgram(Patient patient,
           Program program,
           java.util.Date fromDate,
           java.util.Date toDate)
Deprecated.   
 | 
java.util.Collection<java.lang.Integer> | 
ProgramWorkflowServiceImpl.patientsInProgram(Program program,
                 java.util.Date fromDate,
                 java.util.Date toDate)
Deprecated.   
 | 
void | 
ProgramWorkflowServiceImpl.purgeProgram(Program program)  | 
void | 
ProgramWorkflowServiceImpl.purgeProgram(Program program,
            boolean cascade)  | 
Program | 
ProgramWorkflowServiceImpl.retireProgram(Program program)  | 
Program | 
ProgramWorkflowServiceImpl.saveProgram(Program program)  | 
Program | 
ProgramWorkflowServiceImpl.unRetireProgram(Program program)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.List<PatientProgram> | 
ProgramWorkflowServiceImpl.getPatientPrograms(Cohort cohort,
                  java.util.Collection<Program> programs)  | 
| Constructor and Description | 
|---|
WorkflowCollectionEditor(Program program)  | 
| Modifier and Type | Method and Description | 
|---|---|
java.util.Collection<Program> | 
RowPerProgramEnrollmentDataSetDefinition.getPrograms()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
RowPerProgramEnrollmentDataSetDefinition.setPrograms(java.util.Collection<Program> programs)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
Program | 
ProgramPatientFilter.getProgram()
Deprecated.  
  | 
Program | 
ProgramStatePatientFilter.getProgram()
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ProgramPatientFilter.setProgram(Program program)
Deprecated.  
  | 
void | 
ProgramStatePatientFilter.setProgram(Program program)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
Program | 
FormatTag.getProgram()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
FormatTag.setProgram(Program program)  | 
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.