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 |
Deprecated
|
Modifier and Type | Method and Description |
---|---|
RelationshipType |
Relationship.getRelationshipType() |
Modifier and Type | Method and Description |
---|---|
void |
Relationship.setRelationshipType(RelationshipType type) |
Constructor and Description |
---|
Relationship(Person personA,
Person personB,
RelationshipType type) |
Modifier and Type | Method and Description |
---|---|
RelationshipType |
PersonService.findRelationshipType(String relationshipTypeName)
Deprecated.
|
RelationshipType |
PersonService.getRelationshipType(Integer relationshipTypeId)
Get relationshipType by internal identifier
|
RelationshipType |
PersonService.getRelationshipTypeByName(String relationshipTypeName)
Find relationshipType by exact name match
|
RelationshipType |
PersonService.getRelationshipTypeByUuid(String uuid)
Gets the relationship type with the given uuid.
|
RelationshipType |
PersonService.retireRelationshipType(RelationshipType type,
String retiredReason)
Retire a Person Relationship Type
|
RelationshipType |
PersonService.saveRelationshipType(RelationshipType relationshipType)
Inserts or updates the given relationship type object in the database
|
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
PersonService.getAllRelationshipTypes()
Get all relationshipTypes Includes retired relationship types
|
List<RelationshipType> |
PersonService.getAllRelationshipTypes(boolean includeRetired)
Get all relationshipTypes with the option of including the retired types
|
List<RelationshipType> |
PersonService.getRelationshipTypes()
Deprecated.
|
List<RelationshipType> |
PersonService.getRelationshipTypes(String searchString)
Get relationshipTypes by searching through the names and loosely matching to the given
searchString
|
List<RelationshipType> |
PersonService.getRelationshipTypes(String relationshipTypeName,
Boolean preferred)
Find relationshipTypes by exact name match and/or preferred status
|
Modifier and Type | Method and Description |
---|---|
void |
PersonService.createRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced with #saveRelationshipType(RelationshipType)
|
void |
PersonService.deleteRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced by #purgeRelationshipType(RelationshipType)
|
Map<Person,List<Person>> |
PersonService.getRelationshipMap(RelationshipType relationshipType)
Get all relationships for a given type of relationship mapped from the personA to all of the
personB's
|
Map<Integer,List<Relationship>> |
PatientSetService.getRelationships(Cohort ps,
RelationshipType relType) |
List<Relationship> |
PersonService.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType)
Get relationships stored in the database that
|
Map<Person,List<Person>> |
PersonService.getRelationships(RelationshipType relationshipType)
Deprecated.
|
List<Relationship> |
PersonService.getRelationshipsTo(Person toPerson,
RelationshipType relType)
Deprecated.
|
Map<Integer,List<Person>> |
PatientSetService.getRelatives(Cohort ps,
RelationshipType relType,
boolean forwards) |
void |
PersonService.purgeRelationshipType(RelationshipType relationshipType)
Purge relationship type from the database (cannot be undone)
|
RelationshipType |
PersonService.retireRelationshipType(RelationshipType type,
String retiredReason)
Retire a Person Relationship Type
|
RelationshipType |
PersonService.saveRelationshipType(RelationshipType relationshipType)
Inserts or updates the given relationship type object in the database
|
void |
PersonService.updateRelationshipType(RelationshipType relationshipType)
Deprecated.
replaced by #saveRelationshipType(RelationshipType)
|
Modifier and Type | Method and Description |
---|---|
RelationshipType |
PersonDAO.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
PersonDAO.getRelationshipTypeByUuid(String uuid)
Auto generated method comment
|
RelationshipType |
PersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
PersonDAO.getAllRelationshipTypes(boolean includeRetired) |
List<RelationshipType> |
PersonDAO.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Modifier and Type | Method and Description |
---|---|
void |
PersonDAO.deleteRelationshipType(RelationshipType relationshipType) |
Cohort |
PatientSetDAO.getPatientsByRelationship(RelationshipType relType,
boolean includeAtoB,
boolean includeBtoA,
Person target)
Returns the cohort of patients matching a particular relationship search.
|
Map<Integer,List<Relationship>> |
PatientSetDAO.getRelationships(Cohort ps,
RelationshipType relType) |
List<Relationship> |
PersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
Map<Integer,List<Person>> |
PatientSetDAO.getRelatives(Cohort ps,
RelationshipType relType,
boolean forwards) |
RelationshipType |
PersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
RelationshipType |
HibernatePersonDAO.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
HibernatePersonDAO.getRelationshipTypeByUuid(String uuid) |
RelationshipType |
HibernatePersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
HibernatePersonDAO.getAllRelationshipTypes(boolean includeRetired) |
List<RelationshipType> |
HibernatePersonDAO.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Modifier and Type | Method and Description |
---|---|
void |
HibernatePersonDAO.deleteRelationshipType(RelationshipType relationshipType) |
Cohort |
HibernatePatientSetDAO.getPatientsByRelationship(RelationshipType relType,
boolean includeAtoB,
boolean includeBtoA,
Person target)
TODO get rid of the potentially-expensive call to getAllPatients()
|
Map<Integer,List<Relationship>> |
HibernatePatientSetDAO.getRelationships(Cohort patients,
RelationshipType relType) |
List<Relationship> |
HibernatePersonDAO.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
Map<Integer,List<Person>> |
HibernatePatientSetDAO.getRelatives(Cohort patients,
RelationshipType relType,
boolean forwards) |
RelationshipType |
HibernatePersonDAO.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
RelationshipType |
PersonServiceImpl.findRelationshipType(String relationshipTypeName)
Deprecated.
|
RelationshipType |
PersonServiceImpl.getRelationshipType(Integer relationshipTypeId) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByName(String relationshipTypeName) |
RelationshipType |
PersonServiceImpl.getRelationshipTypeByUuid(String uuid) |
RelationshipType |
PersonServiceImpl.retireRelationshipType(RelationshipType type,
String retiredReason) |
RelationshipType |
PersonServiceImpl.saveRelationshipType(RelationshipType relationshipType) |
Modifier and Type | Method and Description |
---|---|
List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes() |
List<RelationshipType> |
PersonServiceImpl.getAllRelationshipTypes(boolean includeRetired) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes()
Deprecated.
|
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String searchString) |
List<RelationshipType> |
PersonServiceImpl.getRelationshipTypes(String relationshipTypeName,
Boolean preferred) |
Modifier and Type | Method and Description |
---|---|
void |
PersonServiceImpl.createRelationshipType(RelationshipType relationshipType)
Deprecated.
|
void |
PersonServiceImpl.deleteRelationshipType(RelationshipType relationshipType)
Deprecated.
|
Map<Person,List<Person>> |
PersonServiceImpl.getRelationshipMap(RelationshipType relType) |
Map<Integer,List<Relationship>> |
PatientSetServiceImpl.getRelationships(Cohort ps,
RelationshipType relType) |
List<Relationship> |
PersonServiceImpl.getRelationships(Person fromPerson,
Person toPerson,
RelationshipType relType) |
Map<Person,List<Person>> |
PersonServiceImpl.getRelationships(RelationshipType relType)
Deprecated.
|
List<Relationship> |
PersonServiceImpl.getRelationshipsTo(Person toPerson,
RelationshipType relType)
|
Map<Integer,List<Person>> |
PatientSetServiceImpl.getRelatives(Cohort ps,
RelationshipType relType,
boolean forwards) |
void |
PersonServiceImpl.purgeRelationshipType(RelationshipType relationshipType) |
RelationshipType |
PersonServiceImpl.retireRelationshipType(RelationshipType type,
String retiredReason) |
RelationshipType |
PersonServiceImpl.saveRelationshipType(RelationshipType relationshipType) |
void |
PersonServiceImpl.updateRelationshipType(RelationshipType relationshipType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
RelationshipType |
RelationshipPatientFilter.getRelationshipType() |
Modifier and Type | Method and Description |
---|---|
void |
RelationshipPatientFilter.setRelationshipType(RelationshipType relationshipType) |
Copyright © 2018 OpenMRS LLC.. All Rights Reserved.