共用方式為


TextAnalysisModelFactory.HealthcareActionResult Method

Definition

Initializes a new instance of HealthcareActionResult.

public static Azure.AI.Language.Text.HealthcareActionResult HealthcareActionResult (string id = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.DocumentWarning> warnings = default, Azure.AI.Language.Text.DocumentStatistics statistics = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.HealthcareEntity> entities = default, System.Collections.Generic.IEnumerable<Azure.AI.Language.Text.HealthcareRelation> relations = default, Azure.AI.Language.Text.FhirBundle fhirBundle = default, Azure.AI.Language.Text.DetectedLanguage detectedLanguage = default);
static member HealthcareActionResult : string * seq<Azure.AI.Language.Text.DocumentWarning> * Azure.AI.Language.Text.DocumentStatistics * seq<Azure.AI.Language.Text.HealthcareEntity> * seq<Azure.AI.Language.Text.HealthcareRelation> * Azure.AI.Language.Text.FhirBundle * Azure.AI.Language.Text.DetectedLanguage -> Azure.AI.Language.Text.HealthcareActionResult
Public Shared Function HealthcareActionResult (Optional id As String = Nothing, Optional warnings As IEnumerable(Of DocumentWarning) = Nothing, Optional statistics As DocumentStatistics = Nothing, Optional entities As IEnumerable(Of HealthcareEntity) = Nothing, Optional relations As IEnumerable(Of HealthcareRelation) = Nothing, Optional fhirBundle As FhirBundle = Nothing, Optional detectedLanguage As DetectedLanguage = Nothing) As HealthcareActionResult

Parameters

id
String

Unique, non-empty document identifier.

warnings
IEnumerable<DocumentWarning>

Warnings encountered while processing document.

statistics
DocumentStatistics

if showStats=true was specified in the request this field will contain information about the document payload.

entities
IEnumerable<HealthcareEntity>

Healthcare entities.

relations
IEnumerable<HealthcareRelation>

Healthcare entity relations.

fhirBundle
FhirBundle

JSON bundle containing a FHIR compatible object for consumption in other Healthcare tools. For additional information see https://www.hl7.org/fhir/overview.html.

detectedLanguage
DetectedLanguage

If 'language' is set to 'auto' for the document in the request this field will contain a 2 letter ISO 639-1 representation of the language detected for this document.

Returns

A new HealthcareActionResult instance for mocking.

Applies to