Class HealthcareEntityRelationRole
java.lang.Object
com.azure.ai.textanalytics.models.HealthcareEntityRelationRole
The
HealthcareEntityRelationRole
model.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the healthcare entity object.getName()
Gets the role property: Role of entity in the relationship.
-
Constructor Details
-
HealthcareEntityRelationRole
public HealthcareEntityRelationRole()
-
-
Method Details
-
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
Gets the healthcare entity object.- Returns:
- The healthcare entity object.
-