Class HealthcareEntityRelation
- java.lang.Object
-
- com.azure.ai.textanalytics.models.HealthcareEntityRelation
-
public final class HealthcareEntityRelation extends Object
TheHealthcareEntityRelation
Every relation is an entity graph of a certain relationType, where all entities are connected and have specific roles within the relation context.
-
-
Constructor Summary
Constructors Constructor Description HealthcareEntityRelation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HealthcareEntityRelationType
getRelationType()
Gets the relationType property: Type of relation.com.azure.core.util.IterableStream<HealthcareEntityRelationRole>
getRoles()
Gets the entities property: The entities in the relation.
-
-
-
Method Detail
-
getRelationType
public HealthcareEntityRelationType getRelationType()
Gets the relationType property: Type of relation. Examples include: `DosageOfMedication` or 'FrequencyOfMedication', etc.- Returns:
- The relationType value.
-
getRoles
public com.azure.core.util.IterableStream<HealthcareEntityRelationRole> getRoles()
Gets the entities property: The entities in the relation.- Returns:
- The entities value.
-
-