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.
|
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(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(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,
String reason)
Voids the given patientProgram
|
Modifier and Type | Method and Description |
---|---|
Map<Integer,PatientProgram> |
PatientSetService.getCurrentPatientPrograms(Cohort ps,
Program program) |
Collection<PatientProgram> |
ProgramWorkflowService.getCurrentPrograms(Patient patient,
Date onDate)
|
List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Cohort cohort,
Collection<Program> programs)
TODO: refactor?
|
Map<Integer,PatientProgram> |
PatientSetService.getPatientPrograms(Cohort ps,
Program program)
Gets program enrollment data for the given cohort in the given program.
|
Collection<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Patient patient)
|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowService.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
Date onDate)
Deprecated.
|
void |
ProgramWorkflowService.createPatientProgram(PatientProgram patientProgram)
Deprecated.
|
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.
|
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,
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,
String voidReason)
Deprecated.
|
PatientProgram |
ProgramWorkflowService.voidPatientProgram(PatientProgram patientProgram,
String reason)
Voids the given patientProgram
|
Modifier and Type | Method and Description |
---|---|
PatientProgram |
ProgramWorkflowDAO.getPatientProgram(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(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 |
---|---|
List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
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.
|
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(Integer patientProgramId) |
PatientProgram |
HibernateProgramWorkflowDAO.getPatientProgramByUuid(String uuid) |
PatientProgram |
HibernateProgramWorkflowDAO.savePatientProgram(PatientProgram patientProgram) |
Modifier and Type | Method and Description |
---|---|
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
Collection<Program> programs)
TODO: refactor this
|
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) |
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(Integer patientProgramId) |
PatientProgram |
ProgramWorkflowServiceImpl.getPatientProgramByUuid(String uuid) |
PatientProgram |
ProgramWorkflowServiceImpl.savePatientProgram(PatientProgram patientProgram) |
PatientProgram |
ProgramWorkflowServiceImpl.unvoidPatientProgram(PatientProgram patientProgram) |
PatientProgram |
ProgramWorkflowServiceImpl.voidPatientProgram(PatientProgram patientProgram,
String reason) |
Modifier and Type | Method and Description |
---|---|
Map<Integer,PatientProgram> |
PatientSetServiceImpl.getCurrentPatientPrograms(Cohort ps,
Program program) |
Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getCurrentPrograms(Patient patient,
Date onDate)
Deprecated.
|
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
Map<Integer,PatientProgram> |
PatientSetServiceImpl.getPatientPrograms(Cohort ps,
Program program) |
Collection<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient)
Deprecated.
|
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
void |
ProgramWorkflowServiceImpl.changeToState(PatientProgram patientProgram,
ProgramWorkflow workflow,
ProgramWorkflowState state,
Date onDate)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.createPatientProgram(PatientProgram patientProgram)
Deprecated.
|
Set<ProgramWorkflow> |
ProgramWorkflowServiceImpl.getCurrentWorkflowsByPatientProgram(PatientProgram patientProgram)
Deprecated.
|
PatientState |
ProgramWorkflowServiceImpl.getLatestState(PatientProgram patientProgram,
ProgramWorkflow workflow)
Deprecated.
|
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,
Date terminatedOn)
Deprecated.
|
PatientProgram |
ProgramWorkflowServiceImpl.unvoidPatientProgram(PatientProgram patientProgram) |
void |
ProgramWorkflowServiceImpl.updatePatientProgram(PatientProgram patientProgram)
Deprecated.
|
void |
ProgramWorkflowServiceImpl.voidLastState(PatientProgram patientProgram,
ProgramWorkflow workflow,
String voidReason)
Deprecated.
|
PatientProgram |
ProgramWorkflowServiceImpl.voidPatientProgram(PatientProgram patientProgram,
String reason) |
Modifier and Type | Method and Description |
---|---|
List<PatientProgram> |
RowPerProgramEnrollmentDataSet.getData()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
RowPerProgramEnrollmentDataSet.setData(List<PatientProgram> data)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,Map<Integer,PatientProgram>> |
DataExportFunctions.programMap
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PatientProgram |
DataExportFunctions.getProgram(String programIdOrName)
Deprecated.
Gets a patient program given a program ID or program name.
|
Constructor and Description |
---|
PatientProgramItem(PatientProgram p) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.