## Uses of Class
in.cdac.medinfo.csnotk.csnolib.model.Relationship

- Packages that use Relationship
  Package | Description
  --- | ---
  in.cdac.medinfo.csnotk.csnolib.agents | This package will be useful for classes related to api interface implementation
  in.cdac.medinfo.csnotk.csnolib.api | This package will be useful for interfaces related to api's
  in.cdac.medinfo.csnotk.csnolib.commons |
  in.cdac.medinfo.csnotk.csnolib.db |

- - ### Uses of Relationship in in.cdac.medinfo.csnotk.csnolib.agents

    Methods in in.cdac.medinfo.csnotk.csnolib.agents that return types with arguments of type Relationship
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Relationship>` | LuceneSearchAgent.`getConcepts​(java.util.HashMap<java.lang.String,​java.util.List<java.lang.String>> queryParams)` | Searches the concepts of attribute name and attribute value.
    `java.util.List<Relationship>` | SNOMEDAgent.`getConcepts​(java.lang.String attribute)` | Returns all concept associated for a given attribute name
    `java.util.List<Relationship>` | SNOMEDAgent.`getConcepts​(java.lang.String attribute, java.lang.String destinationId)` | Returns all concept associated for a given attribute name and destination id (attribute value)
    `java.util.List<Relationship>` | SNOMEDAgent.`getConcepts​(java.lang.String attribute, java.util.List<java.lang.String> semanticTagList)` | Returns all concept associated for a given attribute name and semantic tags
    `java.util.List<Relationship>` | SNOMEDAgent.`getConcepts​(java.lang.String attribute, java.util.List<java.lang.String> semanticTagList, java.lang.String destinationId)` | Returns all concept associated for a given attribute name, semantic tags and destination id (attribute value)
    `java.util.List<Relationship>` | SNOMEDAgent.`getConcepts​(java.lang.String attribute, java.util.List<java.lang.String> semanticTagList, java.lang.String destinationId, boolean subsumption, java.util.List<java.lang.String> parentIdList, boolean excludeConcept)` | Returns all concept associated for a given attribute name and other parameters
    `java.util.List<Relationship>` | LuceneSearchAgent.`getRelationships​(java.lang.String conceptId, EnumRelationshipType enumRelationshipType, EnumDirection directions)` |
    `java.util.List<Relationship>` | LuceneSearchAgent.`getRelationships​(java.lang.String conceptId, java.lang.String relationshipType, EnumDirection directions)` |

  - ### Uses of Relationship in in.cdac.medinfo.csnotk.csnolib.api

    Methods in in.cdac.medinfo.csnotk.csnolib.api that return types with arguments of type Relationship
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Relationship>` | ISearchAgent.`getConcepts​(java.util.HashMap<java.lang.String,​java.util.List<java.lang.String>> queryParams)` | Searches the concepts of attribute name and attribute value.
    `java.util.List<Relationship>` | ISNOMEDAgent.`getConcepts​(java.lang.String attribute)` | Returns all concept associated for a given attribute name
    `java.util.List<Relationship>` | ISNOMEDAgent.`getConcepts​(java.lang.String attribute, java.lang.String destinationId)` | Returns all concept associated for a given attribute name and destination id (attribute value)
    `java.util.List<Relationship>` | ISNOMEDAgent.`getConcepts​(java.lang.String attribute, java.util.List<java.lang.String> semanticTagList)` | Returns all concept associated for a given attribute name and semantic tags
    `java.util.List<Relationship>` | ISNOMEDAgent.`getConcepts​(java.lang.String attribute, java.util.List<java.lang.String> semanticTagList, java.lang.String destinationId)` | Returns all concept associated for a given attribute name, semantic tags and destination id (attribute value)
    `java.util.List<Relationship>` | ISNOMEDAgent.`getConcepts​(java.lang.String attribute, java.util.List<java.lang.String> semanticTagList, java.lang.String destinationId, boolean subsumption, java.util.List<java.lang.String> parentIdList, boolean excludeConcept)` | Returns all concept associated for a given attribute name and other parameters
    `java.util.List<Relationship>` | ISearchAgent.`getRelationships​(java.lang.String conceptId, java.lang.String relationshipType, EnumDirection directions)` | Searches given concept id in the SNOMED CT repository based on provided relationship type, direction.

  - ### Uses of Relationship in in.cdac.medinfo.csnotk.csnolib.commons

    Methods in in.cdac.medinfo.csnotk.csnolib.commons that return types with arguments of type Relationship
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Relationship>` | ConceptDetails.`getRelationships()` | Returns the relationships (`Relationship`) corresponding to the Concept.

    Method parameters in in.cdac.medinfo.csnotk.csnolib.commons with type arguments of type Relationship
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | ConceptDetails.`setRelationships​(java.util.List<Relationship> relationships)` | Sets the relationships(`Relationship`) corresponding to the Concept.

  - ### Uses of Relationship in in.cdac.medinfo.csnotk.csnolib.db

    Methods in in.cdac.medinfo.csnotk.csnolib.db that return types with arguments of type Relationship
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.util.List<Relationship>` | QueryManager.`getRelationships​(java.lang.String ConceptId, java.lang.String relationshipType, EnumDirection direction)` | Returns unique Inward/Outward latest relationships with active status.