Class AnalyzeHealthcareEntitiesResult
java.lang.Object
com.azure.ai.textanalytics.models.TextAnalyticsResult
com.azure.ai.textanalytics.models.AnalyzeHealthcareEntitiesResult
The
AnalyzeHealthcareEntitiesResult
model.-
Constructor Summary
ConstructorDescriptionAnalyzeHealthcareEntitiesResult
(String id, TextDocumentStatistics textDocumentStatistics, TextAnalyticsError error) Creates aAnalyzeHealthcareEntitiesResult
model that describes recognized healthcare entities result. -
Method Summary
Modifier and TypeMethodDescriptionGets anIterableStream
ofHealthcareEntity
.Gets theIterableStream
ofHealthcareEntityRelation
.Gets the value of FHIR Bundle.Gets theIterableStream
ofText Analytics warnings
.Methods inherited from class com.azure.ai.textanalytics.models.TextAnalyticsResult
getError, getId, getStatistics, isError
-
Constructor Details
-
AnalyzeHealthcareEntitiesResult
public AnalyzeHealthcareEntitiesResult(String id, TextDocumentStatistics textDocumentStatistics, TextAnalyticsError error) Creates aAnalyzeHealthcareEntitiesResult
model that describes recognized healthcare entities result.- Parameters:
id
- Unique, non-empty document identifier.textDocumentStatistics
- The text document statistics.error
- The document error.
-
-
Method Details
-
getEntities
Gets anIterableStream
ofHealthcareEntity
.- Returns:
- An
IterableStream
ofHealthcareEntity
. - Throws:
TextAnalyticsException
- if result hasisError
equals to true and when a non-error property was accessed.
-
getWarnings
Gets theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-
getEntityRelations
Gets theIterableStream
ofHealthcareEntityRelation
.- Returns:
- The
IterableStream
ofHealthcareEntityRelation
.
-
getFhirBundle
Gets the value of FHIR Bundle. See more information in https://www.hl7.org/fhir/overview.html.- Returns:
- The value of FHIR Bundle.
-