Class HealthcareEntityRelationRole
- java.lang.Object
-
- com.azure.ai.textanalytics.models.HealthcareEntityRelationRole
-
public final class HealthcareEntityRelationRole extends Object
TheHealthcareEntityRelationRole
model.
-
-
Constructor Summary
Constructors Constructor Description HealthcareEntityRelationRole()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthcareEntity
getEntity()
Gets the healthcare entity object.String
getName()
Gets the role property: Role of entity in the relationship.
-
-
-
Method Detail
-
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.
-
-