Language

HealthDeidentificationModelFactory.SimplePhiEntity Method

Definition

Simple PHI entity with encoding-specific offset and length values.

public static Azure.Health.Deidentification.SimplePhiEntity SimplePhiEntity(Azure.Health.Deidentification.PhiCategory category = default, int offset = 0, int length = 0, string text = default);
static member SimplePhiEntity : Azure.Health.Deidentification.PhiCategory * int * int * string -> Azure.Health.Deidentification.SimplePhiEntity
Public Shared Function SimplePhiEntity (Optional category As PhiCategory = Nothing, Optional offset As Integer = 0, Optional length As Integer = 0, Optional text As String = Nothing) As SimplePhiEntity

Parameters

category
PhiCategory

PHI Category of the entity.

offset
Int32

Starting index of the location from within the input text using the group's encoding.

length
Int32

Length of the input text using the group's encoding.

text
String

Text of the entity (optional).

Returns

A new SimplePhiEntity instance for mocking.

Applies to