HealthcareEntityRelationRole Class
- java.
lang. Object - com.
azure. ai. textanalytics. models. HealthcareEntityRelationRole
- com.
public final class HealthcareEntityRelationRole
The HealthcareEntityRelationRole model.
Constructor Summary
| Constructor | Description |
|---|---|
| HealthcareEntityRelationRole() |
Constructs a |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Healthcare |
getEntity()
Gets the healthcare entity object. |
| String |
getName()
Gets the role property: Role of entity in the relationship. |
Methods inherited from java.lang.Object
Constructor Details
HealthcareEntityRelationRole
public HealthcareEntityRelationRole()
Constructs a HealthcareEntityRelationRole model.
Method Details
getEntity
public HealthcareEntity getEntity()
Gets the healthcare entity object.
Returns:
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: