Partilhar via


HealthDeidentificationModelFactory.PhiEntity Method

Definition

Initializes a new instance of PhiEntity.

public static Azure.Health.Deidentification.PhiEntity PhiEntity (Azure.Health.Deidentification.PhiCategory category = default, Azure.Health.Deidentification.StringIndex offset = default, Azure.Health.Deidentification.StringIndex length = default, string text = default, double? confidenceScore = default);
static member PhiEntity : Azure.Health.Deidentification.PhiCategory * Azure.Health.Deidentification.StringIndex * Azure.Health.Deidentification.StringIndex * string * Nullable<double> -> Azure.Health.Deidentification.PhiEntity
Public Shared Function PhiEntity (Optional category As PhiCategory = Nothing, Optional offset As StringIndex = Nothing, Optional length As StringIndex = Nothing, Optional text As String = Nothing, Optional confidenceScore As Nullable(Of Double) = Nothing) As PhiEntity

Parameters

category
PhiCategory

PHI Category of the entity.

offset
StringIndex

Starting index of the location from within the input text.

length
StringIndex

Length of the input text.

text
String

Text of the entity.

confidenceScore
Nullable<Double>

Confidence score of the category match.

Returns

A new PhiEntity instance for mocking.

Applies to