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(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(String name)
Deprecated.
|
Program |
ProgramWorkflowService.getProgramByName(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(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 |
---|---|
List<Program> |
ProgramWorkflowService.getAllPrograms()
Returns all programs, includes retired programs.
|
List<Program> |
ProgramWorkflowService.getAllPrograms(boolean includeRetired)
Returns all programs
|
List<Program> |
ProgramWorkflowService.getPrograms()
Deprecated.
|
List<Program> |
ProgramWorkflowService.getPrograms(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,
Date enrollmentDate,
Date completionDate,
User creator)
Deprecated.
use {new PatientProgram(...) followed by @link
#savePatientProgram(PatientProgram)}
|
Map<Integer,PatientProgram> |
PatientSetService.getCurrentPatientPrograms(Cohort ps,
Program program) |
Map<Integer,PatientProgram> |
PatientSetService.getPatientPrograms(Cohort ps,
Program program)
Gets program enrollment data for the given cohort in the given program.
|
List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
Cohort |
PatientSetService.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
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,
Date fromDate,
Date toDate) |
ProgramWorkflow |
ProgramWorkflowService.getWorkflow(Program program,
String name)
Deprecated.
|
boolean |
ProgramWorkflowService.isInProgram(Patient patient,
Program program,
Date fromDate,
Date toDate)
|
Collection<Integer> |
ProgramWorkflowService.patientsInProgram(Program program,
Date fromDate,
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 |
---|---|
List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Cohort cohort,
Collection<Program> programs)
TODO: refactor?
|
Modifier and Type | Method and Description |
---|---|
Program |
ProgramWorkflowDAO.getProgram(Integer programId)
Retrieves a
Program from the database by primary key programId |
Program |
ProgramWorkflowDAO.getProgramByUuid(String uuid)
Auto generated method comment
|
Program |
ProgramWorkflowDAO.saveProgram(Program program)
Saves a Program to the database
|
Modifier and Type | Method and Description |
---|---|
List<Program> |
ProgramWorkflowDAO.findPrograms(String nameFragment)
Returns programs that match the given string.
|
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
|
Map<Integer,PatientProgram> |
PatientSetDAO.getPatientPrograms(Cohort ps,
Program program,
boolean includeVoided,
boolean includePast) |
List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided)
Returns PatientPrograms that match the input parameters.
|
Cohort |
PatientSetDAO.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
Date toDate) |
Program |
ProgramWorkflowDAO.saveProgram(Program program)
Saves a Program to the database
|
Modifier and Type | Method and Description |
---|---|
List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
Modifier and Type | Method and Description |
---|---|
Program |
HibernateProgramWorkflowDAO.getProgram(Integer programId) |
Program |
HibernateProgramWorkflowDAO.getProgramByUuid(String uuid) |
Program |
HibernateProgramWorkflowDAO.saveProgram(Program program) |
Modifier and Type | Method and Description |
---|---|
List<Program> |
HibernateProgramWorkflowDAO.findPrograms(String nameFragment) |
List<Program> |
HibernateProgramWorkflowDAO.getAllPrograms(boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateProgramWorkflowDAO.deleteProgram(Program program) |
Map<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.
|
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
Cohort |
HibernatePatientSetDAO.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
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 |
---|---|
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
Collection<Program> programs)
TODO: refactor this
|
Modifier and Type | Method and Description |
---|---|
Program |
ProgramWorkflowServiceImpl.getProgram(Integer id) |
Program |
ProgramWorkflowServiceImpl.getProgram(String name) |
Program |
ProgramWorkflowServiceImpl.getProgramByName(String name) |
Program |
ProgramWorkflowServiceImpl.getProgramByUuid(String uuid) |
Program |
ProgramWorkflowServiceImpl.retireProgram(Program program) |
Program |
ProgramWorkflowServiceImpl.saveProgram(Program program) |
Program |
ProgramWorkflowServiceImpl.unRetireProgram(Program program) |
Modifier and Type | Method and Description |
---|---|
List<Program> |
ProgramWorkflowServiceImpl.getAllPrograms() |
List<Program> |
ProgramWorkflowServiceImpl.getAllPrograms(boolean includeRetired) |
List<Program> |
ProgramWorkflowServiceImpl.getPrograms()
Deprecated.
|
List<Program> |
ProgramWorkflowServiceImpl.getPrograms(String nameFragment) |
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowServiceImpl.createOrUpdateProgram(Program program)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.enrollPatientInProgram(Patient patient,
Program program,
Date enrollmentDate,
Date completionDate,
User creator)
Deprecated.
|
Map<Integer,PatientProgram> |
PatientSetServiceImpl.getCurrentPatientPrograms(Cohort ps,
Program program) |
Map<Integer,PatientProgram> |
PatientSetServiceImpl.getPatientPrograms(Cohort ps,
Program program) |
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
Cohort |
PatientSetServiceImpl.getPatientsByProgramAndState(Program program,
List<ProgramWorkflowState> stateList,
Date fromDate,
Date toDate) |
Cohort |
PatientSetServiceImpl.getPatientsInProgram(Program program,
Date fromDate,
Date toDate) |
ProgramWorkflow |
ProgramWorkflowServiceImpl.getWorkflow(Program program,
String name)
Deprecated.
|
boolean |
ProgramWorkflowServiceImpl.isInProgram(Patient patient,
Program program,
Date fromDate,
Date toDate)
Deprecated.
|
Collection<Integer> |
ProgramWorkflowServiceImpl.patientsInProgram(Program program,
Date fromDate,
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 |
---|---|
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
Constructor and Description |
---|
WorkflowCollectionEditor(Program program) |
Modifier and Type | Method and Description |
---|---|
Collection<Program> |
RowPerProgramEnrollmentDataSetDefinition.getPrograms()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RowPerProgramEnrollmentDataSetDefinition.setPrograms(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 LLC.. All Rights Reserved.