Share via


HealthcareEntityRelationRole Class

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

public final class HealthcareEntityRelationRole

The HealthcareEntityRelationRole model.

Constructor Summary

Constructor Description
HealthcareEntityRelationRole()

Constructs a HealthcareEntityRelationRole model.

Method Summary

Modifier and Type Method and Description
HealthcareEntity 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:

The healthcare entity object.

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.

Applies to