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.customdatatype.datatype | |
org.openmrs.propertyeditor |
Modifier and Type | Method and Description |
---|---|
Program |
ProgramWorkflow.getProgram() |
Program |
PatientProgram.getProgram() |
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflow.setProgram(Program program) |
void |
PatientProgram.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.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,
String reason)
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(String nameFragment)
Returns programs that match the given string.
|
List<Program> |
ProgramWorkflowService.getProgramsByConcept(Concept concept)
Returns a list of Programs that are using a particular concept.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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,
String reason)
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) |
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) |
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
|
List<Program> |
ProgramWorkflowDAO.getProgramsByConcept(Concept concept)
Returns a list of Programs that are using a particular concept.
|
List<Program> |
ProgramWorkflowDAO.getProgramsByName(String name,
boolean includeRetired)
Retrieves the Programs from the dB which have the given name.
|
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
|
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.
|
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) |
List<Program> |
HibernateProgramWorkflowDAO.getProgramsByConcept(Concept concept) |
List<Program> |
HibernateProgramWorkflowDAO.getProgramsByName(String programName,
boolean includeRetired) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateProgramWorkflowDAO.deleteProgram(Program program) |
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
Program |
HibernateProgramWorkflowDAO.saveProgram(Program program) |
Modifier and Type | Method and Description |
---|---|
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
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,
String reason) |
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(String nameFragment) |
List<Program> |
ProgramWorkflowServiceImpl.getProgramsByConcept(Concept concept) |
Modifier and Type | Method and Description |
---|---|
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
void |
ProgramWorkflowServiceImpl.purgeProgram(Program program) |
void |
ProgramWorkflowServiceImpl.purgeProgram(Program program,
boolean cascade) |
Program |
ProgramWorkflowServiceImpl.retireProgram(Program program,
String reason) |
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) |
Modifier and Type | Method and Description |
---|---|
Program |
ProgramDatatype.deserialize(String uuid) |
Constructor and Description |
---|
WorkflowCollectionEditor(Program program) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.