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.report |
Deprecated
|
org.openmrs.reporting.export | |
org.openmrs.web.dwr |
Modifier and Type | Method and Description |
---|---|
PatientProgram |
PatientProgram.copy()
Does a mostly-shallow copy of this PatientProgram.
|
protected PatientProgram |
PatientProgram.copyHelper(PatientProgram target)
The purpose of this method is to allow subclasses of PatientProgram to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
PatientProgram |
PatientState.getPatientProgram() |
Modifier and Type | Method and Description |
---|---|
protected PatientProgram |
PatientProgram.copyHelper(PatientProgram target)
The purpose of this method is to allow subclasses of PatientProgram to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflow.getPossibleNextStates(PatientProgram patientProgram)
Returns a List<
ProgramWorkflowState > including all possible next
ProgramWorkflowStates, for the passed PatientProgram ordered by ConceptName |
void |
PatientState.setPatientProgram(PatientProgram patientProgram) |
Modifier and Type | Method and Description |
---|---|
PatientProgram |
ProgramWorkflowService.getPatientProgram(java.lang.Integer patientProgramId)
Returns a PatientProgram given that PatientPrograms primary key
patientProgramId
A null value is returned if no PatientProgram exists with this patientProgramId. |
PatientProgram |
ProgramWorkflowService.getPatientProgramByUuid(java.lang.String uuid)
Get a patient program by its uuid.
|
PatientProgram |
ProgramWorkflowService.savePatientProgram(PatientProgram patientProgram)
Save patientProgram to database (create if new or update if changed)
|
PatientProgram |
ProgramWorkflowService.unvoidPatientProgram(PatientProgram patientProgram)
Unvoids the given patientProgram
|
PatientProgram |
ProgramWorkflowService.voidPatientProgram(PatientProgram patientProgram,
java.lang.String reason)
Voids the given patientProgram
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,PatientProgram> |
PatientSetService.getCurrentPatientPrograms(Cohort ps,
Program program) |
java.util.Collection<PatientProgram> |
ProgramWorkflowService.getCurrentPrograms(Patient patient,
java.util.Date onDate)
|
java.util.List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Cohort cohort,
java.util.Collection<Program> programs)
TODO: refactor?
|
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.Collection<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient)
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowService.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
java.util.Date onDate)
Deprecated.
|
void |
ProgramWorkflowService.createPatientProgram(PatientProgram patientProgram)
Deprecated.
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowService.getCurrentWorkflowsByPatientProgram(PatientProgram program)
Deprecated.
No current use outside of this service. Should be retrieved from Patient,
PatientProgram, and PatientState
|
PatientState |
ProgramWorkflowService.getLatestState(PatientProgram patientProgram,
ProgramWorkflow programWorkflow)
Deprecated.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowService.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
void |
ProgramWorkflowService.purgePatientProgram(PatientProgram patientProgram)
Completely remove a patientProgram from the database (not reversible) This method delegates
to #purgePatientProgram(patientProgram, boolean) method
|
void |
ProgramWorkflowService.purgePatientProgram(PatientProgram patientProgram,
boolean cascade)
Completely remove a patientProgram from the database (not reversible)
|
PatientProgram |
ProgramWorkflowService.savePatientProgram(PatientProgram patientProgram)
Save patientProgram to database (create if new or update if changed)
|
void |
ProgramWorkflowService.terminatePatientProgram(PatientProgram patientProgram,
ProgramWorkflowState finalState,
java.util.Date terminatedOn)
Deprecated.
|
PatientProgram |
ProgramWorkflowService.unvoidPatientProgram(PatientProgram patientProgram)
Unvoids the given patientProgram
|
void |
ProgramWorkflowService.updatePatientProgram(PatientProgram patientProgram)
Deprecated.
|
void |
ProgramWorkflowService.voidLastState(PatientProgram patientProgram,
ProgramWorkflow wf,
java.lang.String voidReason)
Deprecated.
|
PatientProgram |
ProgramWorkflowService.voidPatientProgram(PatientProgram patientProgram,
java.lang.String reason)
Voids the given patientProgram
|
Modifier and Type | Method and Description |
---|---|
PatientProgram |
ProgramWorkflowDAO.getPatientProgram(java.lang.Integer id)
Returns a PatientProgram given that PatientPrograms primary key
patientProgramId
A null value is returned if no PatientProgram exists with this patientProgramId. |
PatientProgram |
ProgramWorkflowDAO.getPatientProgramByUuid(java.lang.String uuid)
Auto generated method comment
|
PatientProgram |
ProgramWorkflowDAO.savePatientProgram(PatientProgram patientProgram)
Save patientProgram to database (create if new or update if changed)
|
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
java.util.Collection<Program> programs) |
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowDAO.deletePatientProgram(PatientProgram patientProgram)
Completely remove a patientProgram from the database (not reversible) This method delegates
to #purgePatientProgram(patientProgram, boolean) method
|
PatientProgram |
ProgramWorkflowDAO.savePatientProgram(PatientProgram patientProgram)
Save patientProgram to database (create if new or update if changed)
|
Modifier and Type | Method and Description |
---|---|
PatientProgram |
HibernateProgramWorkflowDAO.getPatientProgram(java.lang.Integer patientProgramId) |
PatientProgram |
HibernateProgramWorkflowDAO.getPatientProgramByUuid(java.lang.String uuid) |
PatientProgram |
HibernateProgramWorkflowDAO.savePatientProgram(PatientProgram patientProgram) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
java.util.Collection<Program> programs)
TODO: refactor this
|
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) |
Modifier and Type | Method and Description |
---|---|
void |
HibernateProgramWorkflowDAO.deletePatientProgram(PatientProgram patientProgram) |
PatientProgram |
HibernateProgramWorkflowDAO.savePatientProgram(PatientProgram patientProgram) |
Modifier and Type | Method and Description |
---|---|
PatientProgram |
ProgramWorkflowServiceImpl.getPatientProgram(java.lang.Integer patientProgramId) |
PatientProgram |
ProgramWorkflowServiceImpl.getPatientProgramByUuid(java.lang.String uuid) |
PatientProgram |
ProgramWorkflowServiceImpl.savePatientProgram(PatientProgram patientProgram) |
PatientProgram |
ProgramWorkflowServiceImpl.unvoidPatientProgram(PatientProgram patientProgram) |
PatientProgram |
ProgramWorkflowServiceImpl.voidPatientProgram(PatientProgram patientProgram,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.Integer,PatientProgram> |
PatientSetServiceImpl.getCurrentPatientPrograms(Cohort ps,
Program program) |
java.util.Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getCurrentPrograms(Patient patient,
java.util.Date onDate)
Deprecated.
|
java.util.List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Cohort cohort,
java.util.Collection<Program> programs) |
java.util.Map<java.lang.Integer,PatientProgram> |
PatientSetServiceImpl.getPatientPrograms(Cohort ps,
Program program) |
java.util.Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient)
Deprecated.
|
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) |
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowServiceImpl.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
java.util.Date onDate)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.createPatientProgram(PatientProgram patientProgram)
Deprecated.
|
java.util.Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatientProgram(PatientProgram patientProgram)
Deprecated.
|
PatientState |
ProgramWorkflowServiceImpl.getLatestState(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
java.util.List<ProgramWorkflowState> |
ProgramWorkflowServiceImpl.getPossibleNextStates(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.purgePatientProgram(PatientProgram patientProgram) |
void |
ProgramWorkflowServiceImpl.purgePatientProgram(PatientProgram patientProgram,
boolean cascade) |
PatientProgram |
ProgramWorkflowServiceImpl.savePatientProgram(PatientProgram patientProgram) |
void |
ProgramWorkflowServiceImpl.terminatePatientProgram(PatientProgram patientProgram,
ProgramWorkflowState finalState,
java.util.Date terminatedOn)
Deprecated.
|
PatientProgram |
ProgramWorkflowServiceImpl.unvoidPatientProgram(PatientProgram patientProgram) |
void |
ProgramWorkflowServiceImpl.updatePatientProgram(PatientProgram patientProgram)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.voidLastState(PatientProgram patientProgram,
ProgramWorkflow workflow,
java.lang.String voidReason)
Deprecated.
|
PatientProgram |
ProgramWorkflowServiceImpl.voidPatientProgram(PatientProgram patientProgram,
java.lang.String reason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<PatientProgram> |
RowPerProgramEnrollmentDataSet.getData()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RowPerProgramEnrollmentDataSet.setData(java.util.List<PatientProgram> data)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,PatientProgram>> |
DataExportFunctions.programMap
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PatientProgram |
DataExportFunctions.getProgram(java.lang.String programIdOrName)
Deprecated.
Gets a patient program given a program ID or program name.
|
Constructor and Description |
---|
PatientProgramItem(PatientProgram p) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.