OpenMRSRelationshipService

public interface OpenMRSRelationshipService

Interface for handling relationships on the OpenMRS server.

Methods

getByTypeUuidAndPersonUuid

List<Relationship> getByTypeUuidAndPersonUuid(String configName, String typeUuid, String personUuid)

Returns a list of relationships of the type with the given typeUuid for the person with the given personUuid.

Parameters:
  • configName – the name of the configuration to be used while performing this action
  • typeUuid – the UUID of the type
  • personUuid – the UUID of the person
Returns:

the list o matching relationships