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 |
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() |
PatientProgram |
PatientProgramAttribute.getPatientProgram() |
PatientProgram |
PatientIdentifier.getPatientProgram()
Gets patient program associated to the identifier in context
|
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) |
void |
PatientProgramAttribute.setPatientProgram(PatientProgram patientProgram) |
void |
PatientIdentifier.setPatientProgram(PatientProgram patientProgram)
This method sets the patient program on a patient Identifier
|
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 |
---|---|
List<PatientProgram> |
ProgramWorkflowService.getPatientProgramByAttributeNameAndValue(String attributeName,
String attributeValue) |
List<PatientProgram> |
ProgramWorkflowService.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
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 |
---|---|
List<PatientIdentifier> |
PatientService.getPatientIdentifiersByPatientProgram(PatientProgram patientProgram)
Get all patientIdentifiers that are associated to the patient program
|
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)
|
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 |
---|---|
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) |
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.getPatientProgramByAttributeNameAndValue(String attributeName,
String attributeValue) |
List<PatientProgram> |
ProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
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
|
List |
PatientDAO.getPatientIdentifierByProgram(PatientProgram patientProgram)
Gets a List of Patient Identifiers associated to a program
|
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.getPatientProgramByAttributeNameAndValue(String attributeName,
String attributeValue) |
List<PatientProgram> |
HibernateProgramWorkflowDAO.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
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) |
List<PatientIdentifier> |
HibernatePatientDAO.getPatientIdentifierByProgram(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 |
---|---|
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientProgramByAttributeNameAndValue(String attributeName,
String attributeValue) |
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Cohort cohort,
Collection<Program> programs) |
List<PatientProgram> |
ProgramWorkflowServiceImpl.getPatientPrograms(Patient patient,
Program program,
Date minEnrollmentDate,
Date maxEnrollmentDate,
Date minCompletionDate,
Date maxCompletionDate,
boolean includeVoided) |
Modifier and Type | Method and Description |
---|---|
List<PatientIdentifier> |
PatientServiceImpl.getPatientIdentifiersByPatientProgram(PatientProgram patientProgram) |
void |
ProgramWorkflowServiceImpl.purgePatientProgram(PatientProgram patientProgram) |
void |
ProgramWorkflowServiceImpl.purgePatientProgram(PatientProgram patientProgram,
boolean cascade) |
PatientProgram |
ProgramWorkflowServiceImpl.savePatientProgram(PatientProgram patientProgram) |
PatientProgram |
ProgramWorkflowServiceImpl.unvoidPatientProgram(PatientProgram patientProgram) |
PatientProgram |
ProgramWorkflowServiceImpl.voidPatientProgram(PatientProgram patientProgram,
String reason) |
Copyright © 2024 OpenMRS Inc.. All rights reserved.