TextAnalysisModelFactory.HealthcareRelationEntity(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of HealthcareRelationEntity.
public static Azure.AI.Language.Text.HealthcareRelationEntity HealthcareRelationEntity (string ref = default, string role = default);
static member HealthcareRelationEntity : string * string -> Azure.AI.Language.Text.HealthcareRelationEntity
Public Shared Function HealthcareRelationEntity (Optional ref As String = Nothing, Optional role As String = Nothing) As HealthcareRelationEntity
Parameters
- ref
- String
Reference link object, using a JSON pointer RFC 6901 (URI Fragment Identifier Representation), pointing to the entity .
- role
- String
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
A new HealthcareRelationEntity instance for mocking.
Applies to
Azure SDK for .NET