Class AnalyzeHealthcareEntitiesResult
- java.lang.Object
-
- com.azure.ai.textanalytics.models.TextAnalyticsResult
-
- com.azure.ai.textanalytics.models.AnalyzeHealthcareEntitiesResult
-
public final class AnalyzeHealthcareEntitiesResult extends TextAnalyticsResult
TheAnalyzeHealthcareEntitiesResult
model.
-
-
Constructor Summary
Constructors Constructor Description AnalyzeHealthcareEntitiesResult(String id, TextDocumentStatistics textDocumentStatistics, TextAnalyticsError error)
Creates aAnalyzeHealthcareEntitiesResult
model that describes recognized healthcare entities result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.azure.core.util.IterableStream<HealthcareEntity>
getEntities()
Gets anIterableStream
ofHealthcareEntity
.com.azure.core.util.IterableStream<HealthcareEntityRelation>
getEntityRelations()
Gets theIterableStream
ofHealthcareEntityRelation
.Map<String,Object>
getFhirBundle()
Gets the value of FHIR Bundle.com.azure.core.util.IterableStream<TextAnalyticsWarning>
getWarnings()
Gets theIterableStream
ofText Analytics warnings
.-
Methods inherited from class com.azure.ai.textanalytics.models.TextAnalyticsResult
getError, getId, getStatistics, isError
-
-
-
-
Constructor Detail
-
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 Detail
-
getEntities
public com.azure.core.util.IterableStream<HealthcareEntity> 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
public com.azure.core.util.IterableStream<TextAnalyticsWarning> getWarnings()
Gets theIterableStream
ofText Analytics warnings
.- Returns:
IterableStream
ofTextAnalyticsWarning
.
-
getEntityRelations
public com.azure.core.util.IterableStream<HealthcareEntityRelation> getEntityRelations()
Gets theIterableStream
ofHealthcareEntityRelation
.- Returns:
- The
IterableStream
ofHealthcareEntityRelation
.
-
-