Class HealthcareEntityRelationRole

java.lang.Object
com.azure.ai.textanalytics.models.HealthcareEntityRelationRole

public final class HealthcareEntityRelationRole extends Object
  • Constructor Details

    • HealthcareEntityRelationRole

      public HealthcareEntityRelationRole()
  • Method Details

    • getName

      public String getName()
      Gets the role property: Role of entity in the relationship. For example: 'CD20-positive diffuse large B-cell lymphoma' has the following entities with their roles in parenthesis: CD20 (GeneOrProtein), Positive (Expression), diffuse large B-cell lymphoma (Diagnosis).
      Returns:
      The role name value.
    • getEntity

      public HealthcareEntity getEntity()
      Gets the healthcare entity object.
      Returns:
      The healthcare entity object.