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.reporting.export | |
org.openmrs.web.controller.patient | |
org.openmrs.web.dwr |
Modifier and Type | Method and Description |
---|---|
Relationship |
Relationship.copy()
Does a shallow copy of this Relationship.
|
protected Relationship |
Relationship.copyHelper(Relationship target)
The purpose of this method is to allow subclasses of Relationship to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
Modifier and Type | Method and Description |
---|---|
protected Relationship |
Relationship.copyHelper(Relationship target)
The purpose of this method is to allow subclasses of Relationship to delegate a portion of
their copy() method back to the superclass, in case the base class implementation changes.
|
Modifier and Type | Method and Description |
---|---|
Relationship |
PersonService.getRelationship(java.lang.Integer relationshipId)
Get relationship by internal relationship identifier
|
Relationship |
PersonService.getRelationshipByUuid(java.lang.String uuid)
Get Relationship by its UUID
|
Relationship |
PersonService.saveRelationship(Relationship relationship)
Create or update a relationship between people.
|
Relationship |
PersonService.unvoidRelationship(Relationship relationship)
Unvoid Relationship in the database, effectively marking this as a valid relationship again
|
Relationship |
PersonService.voidRelationship(Relationship relationship,
java.lang.String voidReason)
Voids the given Relationship, effectively removing it from openmrs.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Relationship> |
PersonService.getAllRelationships()
Get list of relationships that are not voided
|
java.util.List<Relationship> |
PersonService.getAllRelationships(boolean includeVoided)
Get list of relationships optionally including the voided ones or not
|
java.util.List<Relationship> |
PersonService.getRelationships()
Deprecated.
|
java.util.Map<java.lang.Integer,java.util.List<Relationship>> |
PatientSetService.getRelationships(Cohort ps,
RelationshipType relType) |
java.util.List<Relationship> |
PersonService.getRelationships(Person p)
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date effectiveDate)
Get relationships stored in the database that are active on the passed date
|
java.util.List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate)
Get relationships stored in the database that were active during the specified date range
|
java.util.List<Relationship> |
PersonService.getRelationshipsByPerson(Person p)
Get list of relationships that include Person in person_id or relative_id Does not include
voided relationships
|
java.util.List<Relationship> |
PersonService.getRelationshipsByPerson(Person p,
java.util.Date effectiveDate)
Get list of relationships that include Person in person_id or relative_id.
|
java.util.List<Relationship> |
PersonService.getRelationshipsTo(Person toPerson,
RelationshipType relType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
PersonService.createRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
void |
PersonService.deleteRelationship(Relationship relationship)
Deprecated.
replaced by #purgeRelationship(Relationship)
|
void |
PersonService.purgeRelationship(Relationship relationship)
Purges a relationship from the database (cannot be undone)
|
Relationship |
PersonService.saveRelationship(Relationship relationship)
Create or update a relationship between people.
|
Relationship |
PersonService.unvoidRelationship(Relationship relationship)
Unvoid Relationship in the database, effectively marking this as a valid relationship again
|
void |
PersonService.updateRelationship(Relationship relationship)
Deprecated.
replaced by #saveRelationship(Relationship)
|
Relationship |
PersonService.voidRelationship(Relationship relationship,
java.lang.String voidReason)
Voids the given Relationship, effectively removing it from openmrs.
|
Modifier and Type | Method and Description |
---|---|
Relationship |
PersonDAO.getRelationship(java.lang.Integer relationshipId) |
Relationship |
PersonDAO.getRelationshipByUuid(java.lang.String uuid)
Auto generated method comment
|
Relationship |
PersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Relationship> |
PersonDAO.getAllRelationships(boolean includeVoided) |
java.util.Map<java.lang.Integer,java.util.List<Relationship>> |
PatientSetDAO.getRelationships(Cohort ps,
RelationshipType relType) |
java.util.List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
java.util.List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate) |
Modifier and Type | Method and Description |
---|---|
void |
PersonDAO.deleteRelationship(Relationship relationship) |
Relationship |
PersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
Relationship |
HibernatePersonDAO.getRelationship(java.lang.Integer relationshipId) |
Relationship |
HibernatePersonDAO.getRelationshipByUuid(java.lang.String uuid) |
Relationship |
HibernatePersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Relationship> |
HibernatePersonDAO.getAllRelationships(boolean includeVoided) |
java.util.Map<java.lang.Integer,java.util.List<Relationship>> |
HibernatePatientSetDAO.getRelationships(Cohort patients,
RelationshipType relType) |
java.util.List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
java.util.List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePersonDAO.deleteRelationship(Relationship relationship) |
Relationship |
HibernatePersonDAO.saveRelationship(Relationship relationship) |
Modifier and Type | Method and Description |
---|---|
Relationship |
PersonServiceImpl.getRelationship(java.lang.Integer relationshipId) |
Relationship |
PersonServiceImpl.getRelationshipByUuid(java.lang.String uuid) |
Relationship |
PersonServiceImpl.saveRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.unvoidRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
java.lang.String voidReason) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Relationship> |
PersonServiceImpl.getAllRelationships() |
java.util.List<Relationship> |
PersonServiceImpl.getAllRelationships(boolean includeVoided) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships()
Deprecated.
|
java.util.Map<java.lang.Integer,java.util.List<Relationship>> |
PatientSetServiceImpl.getRelationships(Cohort ps,
RelationshipType relType) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person p)
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person p,
boolean showVoided)
Deprecated.
|
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date effectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType,
java.util.Date startEffectiveDate,
java.util.Date endEffectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsByPerson(Person p,
java.util.Date effectiveDate) |
java.util.List<Relationship> |
PersonServiceImpl.getRelationshipsTo(Person toPerson,
RelationshipType relType)
|
Modifier and Type | Method and Description |
---|---|
void |
PersonServiceImpl.createRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.deleteRelationship(Relationship relationship)
Deprecated.
|
void |
PersonServiceImpl.purgeRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.saveRelationship(Relationship relationship) |
Relationship |
PersonServiceImpl.unvoidRelationship(Relationship relationship) |
void |
PersonServiceImpl.updateRelationship(Relationship relationship)
Deprecated.
|
Relationship |
PersonServiceImpl.voidRelationship(Relationship relationship,
java.lang.String voidReason) |
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Map<java.lang.Integer,java.util.List<Relationship>>> |
DataExportFunctions.relationshipMap
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Relationship> |
DataExportFunctions.getRelationships(java.lang.String relationshipTypeName)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,Relationship> |
ShortPatientModel.getRelationshipsMap() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ShortPatientFormController.saveShortPatient(org.springframework.web.context.request.WebRequest request,
PersonName personNameCache,
PersonAddress personAddressCache,
java.util.Map<java.lang.String,Relationship> relationshipsMap,
ShortPatientModel patientModel,
org.springframework.validation.BindingResult result)
Handles the form submission by validating the form fields and saving it to the DB
|
void |
ShortPatientModel.setRelationshipsMap(java.util.Map<java.lang.String,Relationship> relationshipsMap) |
Constructor and Description |
---|
RelationshipListItem(Relationship r) |
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.