From 5dd341e3a0d68e8bd62e5ae1d269bbaf349d53f7 Mon Sep 17 00:00:00 2001 From: Shawn Fang <45607042+mssfang@users.noreply.github.com> Date: Fri, 6 Nov 2020 09:31:55 -0800 Subject: [PATCH] [TA] Healthcare Analyze feature (#17234) * Added support for Healthcare Analyze and Cancellation endpoints --- .../checkstyle/checkstyle-suppressions.xml | 3 + .../resources/spotbugs/spotbugs-exclude.xml | 7 + .../azure-ai-textanalytics/CHANGELOG.md | 3 +- .../AnalyzeHealthcareAsyncClient.java | 323 ++++++++++++++++++ .../TextAnalyticsAsyncClient.java | 58 ++++ .../ai/textanalytics/TextAnalyticsClient.java | 59 ++++ .../TextAnalyticsServiceVersion.java | 4 +- ...hcareEntityCollectionPropertiesHelper.java | 47 +++ .../HealthcareEntityLinkPropertiesHelper.java | 40 +++ .../HealthcareEntityPropertiesHelper.java | 71 ++++ ...lthcareEntityRelationPropertiesHelper.java | 50 +++ .../HealthcareTaskResultPropertiesHelper.java | 47 +++ ...itiesResultCollectionPropertiesHelper.java | 47 +++ ...lthcareEntitiesResultPropertiesHelper.java | 40 +++ ...yticsErrorInformationPropertiesHelper.java | 43 +++ ...extAnalyticsExceptionPropertiesHelper.java | 40 +++ ...lyticsOperationResultPropertiesHelper.java | 37 ++ .../textanalytics/implementation/Utility.java | 208 ++++++++++- .../models/HealthcareJobState.java | 27 ++ .../models/HealthcareEntity.java | 153 +++++++++ .../models/HealthcareEntityCollection.java | 81 +++++ .../models/HealthcareEntityLink.java | 73 ++++ .../models/HealthcareEntityRelation.java | 111 ++++++ .../models/HealthcareTaskResult.java | 89 +++++ .../ai/textanalytics/models/JobMetadata.java | 115 +++++++ .../ai/textanalytics/models/JobState.java | 30 ++ .../RecognizeHealthcareEntitiesResult.java | 54 +++ .../RecognizeHealthcareEntityOptions.java | 40 +++ .../models/TextAnalyticsErrorInformation.java | 75 ++++ .../models/TextAnalyticsException.java | 29 ++ .../models/TextAnalyticsOperationResult.java | 31 ++ ...izeHealthcareEntitiesResultCollection.java | 75 ++++ ...alyticsAsyncClientJavaDocCodeSnippets.java | 89 +++++ ...extAnalyticsClientJavaDocCodeSnippets.java | 99 ++++++ .../lro/AnalyzeHealthcareTask.java | 104 ++++++ .../lro/AnalyzeHealthcareTaskAsync.java | 100 ++++++ .../lro/CancelHealthcareJob.java | 70 ++++ .../lro/CancelHealthcareJobAsync.java | 81 +++++ .../com/azure/ai/textanalytics/TestUtils.java | 246 +++++++++++++ .../TextAnalyticsAsyncClientTest.java | 60 ++++ .../TextAnalyticsClientTest.java | 58 ++++ .../TextAnalyticsClientTestBase.java | 107 +++++- ...ientTest.cancelHealthcareLroRunner[1].json | 66 ++++ ...ClientTest.healthcareLroPagination[1].json | 87 +++++ ...lientTest.healthcareLroWithOptions[1].json | 66 ++++ ...ientTest.cancelHealthcareLroRunner[1].json | 86 +++++ ...ClientTest.healthcareLroPagination[1].json | 108 ++++++ ...lientTest.healthcareLroWithOptions[1].json | 87 +++++ 48 files changed, 3614 insertions(+), 10 deletions(-) create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeHealthcareAsyncClient.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityCollectionPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityLinkPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityRelationPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareTaskResultPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsErrorInformationPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsExceptionPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsOperationResultPropertiesHelper.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntity.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityCollection.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityLink.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityRelation.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareTaskResult.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobMetadata.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobState.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntitiesResult.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntityOptions.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsErrorInformation.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsOperationResult.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/RecognizeHealthcareEntitiesResultCollection.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTask.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTaskAsync.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJob.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJobAsync.java create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.cancelHealthcareLroRunner[1].json create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroPagination[1].json create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroWithOptions[1].json create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.cancelHealthcareLroRunner[1].json create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroPagination[1].json create mode 100644 sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroWithOptions[1].json diff --git a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml index 1cb6bb99d61c8..3e5aaeddc82b5 100755 --- a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml +++ b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml @@ -461,6 +461,9 @@ + + + diff --git a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml index 9fdf48d2e6d1d..feb923ba556a6 100755 --- a/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml +++ b/eng/code-quality-reports/src/main/resources/spotbugs/spotbugs-exclude.xml @@ -1351,6 +1351,13 @@ + + + + + + + diff --git a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md index c834ba70748bc..f8d3dd41d1e66 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md +++ b/sdk/textanalytics/azure-ai-textanalytics/CHANGELOG.md @@ -1,6 +1,7 @@ # Release History ## 5.1.0-beta.3 (Unreleased) - +**New features** +- Added support for Healthcare analysis, it is a long-running operation, and the cancellation supported. ## 5.1.0-beta.2 (2020-10-06) ### Breaking changes diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeHealthcareAsyncClient.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeHealthcareAsyncClient.java new file mode 100644 index 0000000000000..11ef6c726a379 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/AnalyzeHealthcareAsyncClient.java @@ -0,0 +1,323 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics; + +import com.azure.ai.textanalytics.implementation.HealthcareTaskResultPropertiesHelper; +import com.azure.ai.textanalytics.implementation.TextAnalyticsClientImpl; +import com.azure.ai.textanalytics.implementation.TextAnalyticsErrorInformationPropertiesHelper; +import com.azure.ai.textanalytics.implementation.TextAnalyticsExceptionPropertiesHelper; +import com.azure.ai.textanalytics.implementation.TextAnalyticsOperationResultPropertiesHelper; +import com.azure.ai.textanalytics.implementation.Utility; +import com.azure.ai.textanalytics.implementation.models.HealthcareJobState; +import com.azure.ai.textanalytics.implementation.models.HealthcareResult; +import com.azure.ai.textanalytics.implementation.models.MultiLanguageBatchInput; +import com.azure.ai.textanalytics.implementation.models.StringIndexType; +import com.azure.ai.textanalytics.implementation.models.TextAnalyticsError; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; +import com.azure.ai.textanalytics.models.TextAnalyticsErrorCode; +import com.azure.ai.textanalytics.models.TextAnalyticsErrorInformation; +import com.azure.ai.textanalytics.models.TextAnalyticsException; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; +import com.azure.ai.textanalytics.models.TextDocumentInput; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.http.rest.PagedResponse; +import com.azure.core.http.rest.PagedResponseBase; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.Context; +import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.polling.LongRunningOperationStatus; +import com.azure.core.util.polling.PollResponse; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.PollingContext; +import reactor.core.publisher.Mono; + +import java.util.Arrays; +import java.util.List; +import java.util.Map; +import java.util.Objects; +import java.util.UUID; +import java.util.function.Function; +import java.util.stream.Collectors; + +import static com.azure.ai.textanalytics.TextAnalyticsAsyncClient.COGNITIVE_TRACING_NAMESPACE_VALUE; +import static com.azure.ai.textanalytics.implementation.Utility.DEFAULT_POLL_DURATION; +import static com.azure.ai.textanalytics.implementation.Utility.inputDocumentsValidation; +import static com.azure.ai.textanalytics.implementation.Utility.parseModelId; +import static com.azure.ai.textanalytics.implementation.Utility.parseNextLink; +import static com.azure.ai.textanalytics.implementation.Utility.toJobState; +import static com.azure.ai.textanalytics.implementation.Utility.toMultiLanguageInput; +import static com.azure.ai.textanalytics.implementation.Utility.toRecognizeHealthcareEntitiesResultCollection; +import static com.azure.ai.textanalytics.implementation.Utility.toTextAnalyticsError; +import static com.azure.core.util.FluxUtil.monoError; +import static com.azure.core.util.tracing.Tracer.AZ_TRACING_NAMESPACE_KEY; + +class AnalyzeHealthcareAsyncClient { + private final ClientLogger logger = new ClientLogger(AnalyzeHealthcareAsyncClient.class); + private final TextAnalyticsClientImpl service; + + /** + * Create an {@link AnalyzeHealthcareAsyncClient} that sends requests to the Text Analytics services's healthcare + * LRO endpoint. + * + * @param service The proxy service used to perform REST calls. + */ + AnalyzeHealthcareAsyncClient(TextAnalyticsClientImpl service) { + this.service = service; + } + + PollerFlux> beginAnalyzeHealthcare( + Iterable documents, RecognizeHealthcareEntityOptions options, Context context) { + try { + inputDocumentsValidation(documents); + String modelVersion = null; + if (options != null) { + modelVersion = options.getModelVersion(); + } + final Boolean finalIncludeStatistics = options == null ? null : options.isIncludeStatistics(); + return new PollerFlux<>( + DEFAULT_POLL_DURATION, + activationOperation(service.healthWithResponseAsync( + new MultiLanguageBatchInput().setDocuments(toMultiLanguageInput(documents)), + context.addData(AZ_TRACING_NAMESPACE_KEY, COGNITIVE_TRACING_NAMESPACE_VALUE), + modelVersion, + StringIndexType.UTF16CODE_UNIT) // Currently StringIndexType is not explored, we use it internally + .map(healthResponse -> { + final TextAnalyticsOperationResult textAnalyticsOperationResult = + new TextAnalyticsOperationResult(); + TextAnalyticsOperationResultPropertiesHelper.setResultId(textAnalyticsOperationResult, + parseModelId(healthResponse.getDeserializedHeaders().getOperationLocation())); + return textAnalyticsOperationResult; + })), + pollingOperation(jobId -> service.healthStatusWithResponseAsync(jobId, context, null, null, + finalIncludeStatistics)), + (activationResponse, pollingContext) -> + monoError(logger, new RuntimeException("Use the `beginCancelHealthcareJob` to cancel the job")), + fetchingOperation(resultId -> Mono.just(getHealthcareFluxPage(resultId, + finalIncludeStatistics == null ? false : finalIncludeStatistics, context))) + ); + } catch (RuntimeException ex) { + return PollerFlux.error(ex); + } + } + + PollerFlux> beginAnalyzeHealthcarePagedIterable( + Iterable documents, RecognizeHealthcareEntityOptions options, Context context) { + try { + inputDocumentsValidation(documents); + String modelVersion = null; + if (options != null) { + modelVersion = options.getModelVersion(); + } + final Boolean finalIncludeStatistics = options == null ? null : options.isIncludeStatistics(); + return new PollerFlux<>( + DEFAULT_POLL_DURATION, + activationOperation(service.healthWithResponseAsync( + new MultiLanguageBatchInput().setDocuments(toMultiLanguageInput(documents)), + context.addData(AZ_TRACING_NAMESPACE_KEY, COGNITIVE_TRACING_NAMESPACE_VALUE), + modelVersion, + StringIndexType.UTF16CODE_UNIT) // Currently StringIndexType is not explored, we use it internally + .map(healthResponse -> { + final TextAnalyticsOperationResult textAnalyticsOperationResult = + new TextAnalyticsOperationResult(); + TextAnalyticsOperationResultPropertiesHelper.setResultId(textAnalyticsOperationResult, + parseModelId(healthResponse.getDeserializedHeaders().getOperationLocation())); + return textAnalyticsOperationResult; + })), + pollingOperation(jobId -> service.healthStatusWithResponseAsync(jobId, context, null, null, + finalIncludeStatistics)), + (activationResponse, pollingContext) -> + monoError(logger, new RuntimeException("Use the `beginCancelHealthcareJob` to cancel the job")), + fetchingOperationIterable(resultId -> Mono.just(new PagedIterable<>(getHealthcareFluxPage(resultId, + finalIncludeStatistics == null ? false : finalIncludeStatistics, context)))) + ); + } catch (RuntimeException ex) { + return PollerFlux.error(ex); + } + } + + PagedFlux getHealthcareFluxPage(UUID jobID, boolean showStats, Context context) { + return new PagedFlux<>( + () -> getPage(null, jobID, showStats, context), + continuationToken -> getPage(continuationToken, jobID, showStats, context)); + } + + Mono> getPage(String continuationToken, UUID jobID, + boolean showStats, Context context) { + try { + if (continuationToken != null) { + final Map continuationTokenMap = parseNextLink(continuationToken); + final Integer topValue = continuationTokenMap.getOrDefault("$top", null); + final Integer skipValue = continuationTokenMap.getOrDefault("$skip", null); + return service.healthStatusWithResponseAsync(jobID, context, topValue, skipValue, showStats) + .map(this::toTextAnalyticsPagedResponse) + .onErrorMap(Utility::mapToHttpResponseExceptionIfExist); + } else { + return service.healthStatusWithResponseAsync(jobID, context, null, null, showStats) + .map(this::toTextAnalyticsPagedResponse) + .onErrorMap(Utility::mapToHttpResponseExceptionIfExist); + } + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + } + + private PagedResponse toTextAnalyticsPagedResponse( + Response response) { + final HealthcareJobState healthcareJobState = response.getValue(); + final HealthcareResult healthcareResult = healthcareJobState.getResults(); + final RecognizeHealthcareEntitiesResultCollection recognizeHealthcareEntitiesResults + = toRecognizeHealthcareEntitiesResultCollection(healthcareResult); + final List errors = healthcareJobState.getErrors(); + + final HealthcareTaskResult healthcareTaskResult = new HealthcareTaskResult( + // TODO: change back to UUID after service support it. + healthcareJobState.getJobId().toString(), + healthcareJobState.getCreatedDateTime(), + healthcareJobState.getLastUpdateDateTime(), + toJobState(healthcareJobState.getStatus()), + healthcareJobState.getDisplayName(), + healthcareJobState.getExpirationDateTime()); + HealthcareTaskResultPropertiesHelper.setResult(healthcareTaskResult, recognizeHealthcareEntitiesResults); + if (errors != null) { + HealthcareTaskResultPropertiesHelper.setErrors(healthcareTaskResult, + errors.stream().map(error -> toTextAnalyticsError(error)).collect(Collectors.toList())); + } + + return new PagedResponseBase( + response.getRequest(), + response.getStatusCode(), + response.getHeaders(), + Arrays.asList(healthcareTaskResult), + healthcareJobState.getNextLink(), + null); + } + + PollerFlux beginCancelAnalyzeHealthcare(UUID jobId, Context context) { + try { + Objects.requireNonNull(jobId, "'jobId' is required and cannot be null."); + return new PollerFlux<>( + DEFAULT_POLL_DURATION, + activationOperation(service.cancelHealthJobWithResponseAsync(jobId, + context.addData(AZ_TRACING_NAMESPACE_KEY, COGNITIVE_TRACING_NAMESPACE_VALUE)) + .map(healthResponse -> { + final TextAnalyticsOperationResult textAnalyticsOperationResult = + new TextAnalyticsOperationResult(); + TextAnalyticsOperationResultPropertiesHelper.setResultId(textAnalyticsOperationResult, + parseModelId(healthResponse.getDeserializedHeaders().getOperationLocation())); + return textAnalyticsOperationResult; + })), + pollingOperation(resultId -> + service.healthStatusWithResponseAsync(resultId, context, null, null, null)), + (activationResponse, pollingContext) -> monoError(logger, + new RuntimeException("Cancellation of healthcare task cancellation is not supported.")), + (resultId) -> Mono.empty() + ); + } catch (RuntimeException ex) { + return PollerFlux.error(ex); + } + } + + // Activation operation + private Function, Mono> + activationOperation(Mono operationResult) { + return pollingContext -> { + try { + return operationResult.onErrorMap(Utility::mapToHttpResponseExceptionIfExist); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + }; + } + + // Polling operation + private Function, Mono>> + pollingOperation(Function>> pollingFunction) { + return pollingContext -> { + try { + final PollResponse operationResultPollResponse = + pollingContext.getLatestResponse(); + final UUID resultUuid = UUID.fromString(operationResultPollResponse.getValue().getResultId()); + return pollingFunction.apply(resultUuid) + .flatMap(modelResponse -> processAnalyzeModelResponse(modelResponse, operationResultPollResponse)) + .onErrorMap(Utility::mapToHttpResponseExceptionIfExist); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + }; + } + + // Fetching operation + private Function, Mono>> + fetchingOperation(Function>> fetchingFunction) { + return pollingContext -> { + try { + final UUID resultUuid = UUID.fromString(pollingContext.getLatestResponse().getValue().getResultId()); + return fetchingFunction.apply(resultUuid); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + }; + } + + // Fetching iterable operation + private Function, Mono>> + fetchingOperationIterable( + Function>> fetchingFunction) { + return pollingContext -> { + try { + final UUID resultUuid = UUID.fromString(pollingContext.getLatestResponse().getValue().getResultId()); + return fetchingFunction.apply(resultUuid); + } catch (RuntimeException ex) { + return monoError(logger, ex); + } + }; + } + + private Mono> processAnalyzeModelResponse( + Response analyzeOperationResultResponse, + PollResponse operationResultPollResponse) { + LongRunningOperationStatus status; + switch (analyzeOperationResultResponse.getValue().getStatus()) { + case CANCELLING: + logger.info("LongRunningOperation-Cancelling"); + status = LongRunningOperationStatus.IN_PROGRESS; + break; + case NOTSTARTED: + case RUNNING: + status = LongRunningOperationStatus.IN_PROGRESS; + break; + case SUCCEEDED: + status = LongRunningOperationStatus.SUCCESSFULLY_COMPLETED; + break; + case FAILED: + final TextAnalyticsException exception = new TextAnalyticsException("Analyze operation failed", + null, null); + TextAnalyticsExceptionPropertiesHelper.setErrorInformationList(exception, + analyzeOperationResultResponse.getValue().getErrors().stream() + .map(error -> { + final TextAnalyticsErrorInformation textAnalyticsErrorInformation = + new TextAnalyticsErrorInformation(); + TextAnalyticsErrorInformationPropertiesHelper.setErrorCode(textAnalyticsErrorInformation, + TextAnalyticsErrorCode.fromString(error.getCode().toString())); + TextAnalyticsErrorInformationPropertiesHelper.setMessage(textAnalyticsErrorInformation, + error.getMessage()); + return textAnalyticsErrorInformation; + }).collect(Collectors.toList())); + throw logger.logExceptionAsError(exception); + case CANCELLED: + logger.info("LongRunningOperation-Cancelled"); + status = LongRunningOperationStatus.USER_CANCELLED; + break; + default: + status = LongRunningOperationStatus.fromString( + analyzeOperationResultResponse.getValue().getStatus().toString(), true); + break; + } + return Mono.just(new PollResponse<>(status, operationResultPollResponse.getValue())); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java index 0453a2e026d55..3e606e223b857 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClient.java @@ -11,12 +11,15 @@ import com.azure.ai.textanalytics.models.DetectLanguageResult; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; import com.azure.ai.textanalytics.models.KeyPhrasesCollection; import com.azure.ai.textanalytics.models.LinkedEntityCollection; import com.azure.ai.textanalytics.models.PiiEntityCollection; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; import com.azure.ai.textanalytics.models.RecognizePiiEntityOptions; import com.azure.ai.textanalytics.models.TextAnalyticsError; import com.azure.ai.textanalytics.models.TextAnalyticsException; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; import com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions; import com.azure.ai.textanalytics.models.TextDocumentInput; import com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection; @@ -28,13 +31,17 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedFlux; import com.azure.core.http.rest.Response; +import com.azure.core.util.Context; import com.azure.core.util.FluxUtil; import com.azure.core.util.logging.ClientLogger; +import com.azure.core.util.polling.PollerFlux; import reactor.core.publisher.Mono; import java.util.Collections; import java.util.Objects; +import java.util.UUID; import static com.azure.ai.textanalytics.implementation.Utility.inputDocumentsValidation; import static com.azure.ai.textanalytics.implementation.Utility.mapByIndex; @@ -70,6 +77,7 @@ public final class TextAnalyticsAsyncClient { final RecognizeEntityAsyncClient recognizeEntityAsyncClient; final RecognizePiiEntityAsyncClient recognizePiiEntityAsyncClient; final RecognizeLinkedEntityAsyncClient recognizeLinkedEntityAsyncClient; + final AnalyzeHealthcareAsyncClient analyzeHealthcareAsyncClient; /** * Create a {@link TextAnalyticsAsyncClient} that sends requests to the Text Analytics services's endpoint. Each @@ -92,6 +100,7 @@ public final class TextAnalyticsAsyncClient { this.recognizeEntityAsyncClient = new RecognizeEntityAsyncClient(service); this.recognizePiiEntityAsyncClient = new RecognizePiiEntityAsyncClient(service); this.recognizeLinkedEntityAsyncClient = new RecognizeLinkedEntityAsyncClient(service); + this.analyzeHealthcareAsyncClient = new AnalyzeHealthcareAsyncClient(service); } /** @@ -1002,4 +1011,53 @@ public Mono> analyzeSentimentBatchWit Iterable documents, AnalyzeSentimentOptions options) { return analyzeSentimentAsyncClient.analyzeSentimentBatch(documents, options); } + + // Health Care + /** + * Analyze healthcare entities, entity linking, and entity relations in a list of + * {@link TextDocumentInput document} with provided request options. + * + * See this supported languages in Text Analytics API. + * + *

Analyze healthcare entities, entity linking, and entity relations in a list of + * {@link TextDocumentInput document} and provided request options to + * show statistics. Subscribes to the call asynchronously and prints out the entity details when a response is + * received.

+ * + * {@codesnippet com.azure.ai.textanalytics.TextAnalyticsAsyncClient.beginAnalyzeHealthcare#Iterable-RecognizeHealthcareEntityOptions} + * + * @param documents A list of {@link TextDocumentInput documents} to be analyzed. + * @param options The additional configurable {@link AnalyzeSentimentOptions options} that may be passed when + * analyzing sentiments. + * + * @return A {@link PollerFlux} that polls the analyze healthcare operation until it has completed, has failed, + * or has been cancelled. The completed operation returns a {@link PagedFlux} of {@link HealthcareTaskResult}. + * + * @throws TextAnalyticsException If analyze operation fails. + * @throws NullPointerException If {@code jobId} is null. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PollerFlux> beginAnalyzeHealthcare( + Iterable documents, RecognizeHealthcareEntityOptions options) { + return analyzeHealthcareAsyncClient.beginAnalyzeHealthcare(documents, options, Context.NONE); + } + + /** + * Cancel a long-running operation healthcare task by given job ID. + * + *

Code Sample

+ * {@codesnippet com.azure.ai.textanalytics.TextAnalyticsAsyncClient.beginCancelAnalyzeHealthcare#UUID} + * + * @param jobId A job identification number. + * + * @return A {@link PollerFlux} that polls the analyze healthcare operation until it has completed, has failed, + * or has been cancelled. + * + * @throws TextAnalyticsException If analyze operation fails. + * @throws NullPointerException If {@code jobId} is null. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PollerFlux beginCancelAnalyzeHealthcare(UUID jobId) { + return analyzeHealthcareAsyncClient.beginCancelAnalyzeHealthcare(jobId, Context.NONE); + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java index 194577388a9d2..af2787f9b6519 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsClient.java @@ -9,13 +9,16 @@ import com.azure.ai.textanalytics.models.DetectLanguageInput; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; import com.azure.ai.textanalytics.models.KeyPhrasesCollection; import com.azure.ai.textanalytics.models.LinkedEntity; import com.azure.ai.textanalytics.models.LinkedEntityCollection; import com.azure.ai.textanalytics.models.PiiEntityCollection; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; import com.azure.ai.textanalytics.models.RecognizePiiEntityOptions; import com.azure.ai.textanalytics.models.TextAnalyticsError; import com.azure.ai.textanalytics.models.TextAnalyticsException; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; import com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions; import com.azure.ai.textanalytics.models.TextDocumentInput; import com.azure.ai.textanalytics.util.AnalyzeSentimentResultCollection; @@ -27,10 +30,13 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; import com.azure.core.annotation.ServiceMethod; +import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure.core.util.Context; +import com.azure.core.util.polling.SyncPoller; import java.util.Objects; +import java.util.UUID; import static com.azure.ai.textanalytics.implementation.Utility.inputDocumentsValidation; @@ -866,4 +872,57 @@ public Response analyzeSentimentBatchWithRespo Iterable documents, AnalyzeSentimentOptions options, Context context) { return client.analyzeSentimentAsyncClient.analyzeSentimentBatchWithContext(documents, options, context).block(); } + + // Health Care + + /** + * Analyze healthcare entities, entity linking, and entity relations in a list of + * {@link TextDocumentInput document} with provided request options. + * + * See this supported languages in Text Analytics API. + * + *

Code Sample

+ *

Analyze healthcare entities, entity linking, and entity relations in a list of + * {@link TextDocumentInput document} and provided request options to + * show statistics.

+ * + * {@codesnippet com.azure.ai.textanalytics.TextAnalyticsClient.beginAnalyzeHealthcare#Iterable-RecognizeHealthcareEntityOptions-Context} + * + * @param documents A list of {@link TextDocumentInput documents} to be analyzed. + * @param options The additional configurable {@link AnalyzeSentimentOptions options} that may be passed when + * analyzing sentiments. + * @param context Additional context that is passed through the Http pipeline during the service call. + * + * @return A {@link SyncPoller} that polls the analyze healthcare operation until it has completed, has failed, + * or has been cancelled. The completed operation returns a {@link PagedIterable} of {@link HealthcareTaskResult}. + * + * @throws TextAnalyticsException If analyze operation fails. + * @throws NullPointerException If {@code jobId} is null. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public SyncPoller> beginAnalyzeHealthcare( + Iterable documents, RecognizeHealthcareEntityOptions options, Context context) { + return client.analyzeHealthcareAsyncClient.beginAnalyzeHealthcarePagedIterable(documents, options, context) + .getSyncPoller(); + } + + /** + * Cancel a long-running operation healthcare task by given job ID. + * + *

Code Sample

+ * {@codesnippet com.azure.ai.textanalytics.TextAnalyticsClient.beginCancelAnalyzeHealthcare#UUID-Context} + * + * @param jobId A job identification number. + * @param context Additional context that is passed through the Http pipeline during the service call. + * + * @return A {@link SyncPoller} that polls the analyze healthcare operation until it has completed, has failed, + * or has been cancelled. + * + * @throws TextAnalyticsException If analyze operation fails. + * @throws NullPointerException If {@code jobId} is null. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public SyncPoller beginCancelAnalyzeHealthcare(UUID jobId, Context context) { + return client.analyzeHealthcareAsyncClient.beginCancelAnalyzeHealthcare(jobId, context).getSyncPoller(); + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsServiceVersion.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsServiceVersion.java index d71d1b2bdf3d1..4ad6d8442e593 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsServiceVersion.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/TextAnalyticsServiceVersion.java @@ -10,7 +10,7 @@ */ public enum TextAnalyticsServiceVersion implements ServiceVersion { V3_0("v3.0"), - V3_1_PREVIEW_2("v3.1-preview.2"); + V3_1_PREVIEW_3("v3.1-preview.3"); private final String version; @@ -32,7 +32,7 @@ public String getVersion() { * @return the latest {@link TextAnalyticsServiceVersion} */ public static TextAnalyticsServiceVersion getLatest() { - return V3_1_PREVIEW_2; + return V3_1_PREVIEW_3; } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityCollectionPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityCollectionPropertiesHelper.java new file mode 100644 index 0000000000000..136633b2d6992 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityCollectionPropertiesHelper.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; +import com.azure.ai.textanalytics.models.HealthcareEntityRelation; +import com.azure.ai.textanalytics.models.TextAnalyticsWarning; +import com.azure.core.util.IterableStream; + +/** + * The helper class to set the non-public properties of an {@link HealthcareEntityCollection} instance. + */ +public final class HealthcareEntityCollectionPropertiesHelper { + private static HealthcareEntityCollectionAccessor accessor; + + private HealthcareEntityCollectionPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link HealthcareEntityCollection} instance. + */ + public interface HealthcareEntityCollectionAccessor { + void setWarnings(HealthcareEntityCollection healthcareEntityCollection, + IterableStream warnings); + void setEntityRelations(HealthcareEntityCollection healthcareEntityCollection, + IterableStream entityRelations); + } + + /** + * The method called from {@link HealthcareEntityCollection} to set it's accessor. + * + * @param healthcareEntityCollectionAccessor The accessor. + */ + public static void setAccessor(final HealthcareEntityCollectionAccessor healthcareEntityCollectionAccessor) { + accessor = healthcareEntityCollectionAccessor; + } + + public static void setWarnings(HealthcareEntityCollection healthcareEntityCollection, + IterableStream warnings) { + accessor.setWarnings(healthcareEntityCollection, warnings); + } + + public static void setEntityRelations(HealthcareEntityCollection healthcareEntityCollection, + IterableStream entityRelations) { + accessor.setEntityRelations(healthcareEntityCollection, entityRelations); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityLinkPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityLinkPropertiesHelper.java new file mode 100644 index 0000000000000..3e3d1cf0e0afb --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityLinkPropertiesHelper.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.HealthcareEntityLink; + +/** + * The helper class to set the non-public properties of an {@link HealthcareEntityLink} instance. + */ +public final class HealthcareEntityLinkPropertiesHelper { + private static HealthcareEntityLinkAccessor accessor; + + private HealthcareEntityLinkPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link HealthcareEntityLink} instance. + */ + public interface HealthcareEntityLinkAccessor { + void setDataSource(HealthcareEntityLink healthcareEntityLink, String dataSource); + void setDataSourceId(HealthcareEntityLink healthcareEntityLink, String dataSourceId); + } + + /** + * The method called from {@link HealthcareEntityLink} to set it's accessor. + * + * @param healthcareEntityLinkAccessor The accessor. + */ + public static void setAccessor(final HealthcareEntityLinkAccessor healthcareEntityLinkAccessor) { + accessor = healthcareEntityLinkAccessor; + } + + public static void setDataSource(HealthcareEntityLink healthcareEntityLink, String dataSource) { + accessor.setDataSource(healthcareEntityLink, dataSource); + } + + public static void setDataSourceId(HealthcareEntityLink healthcareEntityLink, String dataSourceId) { + accessor.setDataSourceId(healthcareEntityLink, dataSourceId); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityPropertiesHelper.java new file mode 100644 index 0000000000000..99201dbca8b28 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityPropertiesHelper.java @@ -0,0 +1,71 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.EntityCategory; +import com.azure.ai.textanalytics.models.HealthcareEntity; +import com.azure.ai.textanalytics.models.HealthcareEntityLink; + +import java.util.List; + +/** + * The helper class to set the non-public properties of an {@link HealthcareEntity} instance. + */ +public final class HealthcareEntityPropertiesHelper { + private static HealthcareEntityAccessor accessor; + + private HealthcareEntityPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link HealthcareEntity} instance. + */ + public interface HealthcareEntityAccessor { + void setText(HealthcareEntity healthcareEntity, String text); + void setCategory(HealthcareEntity healthcareEntity, EntityCategory category); + void setSubcategory(HealthcareEntity healthcareEntity, String subcategory); + void setConfidenceScore(HealthcareEntity healthcareEntity, double confidenceScore); + void setOffset(HealthcareEntity healthcareEntity, int offset); + void setNegated(HealthcareEntity healthcareEntity, boolean negated); + void setHealthcareEntityLinks(HealthcareEntity healthcareEntity, + List healthcareEntityLinks); + } + + /** + * The method called from {@link HealthcareEntity} to set it's accessor. + * + * @param healthcareEntityAccessor The accessor. + */ + public static void setAccessor(final HealthcareEntityAccessor healthcareEntityAccessor) { + accessor = healthcareEntityAccessor; + } + + public static void setText(HealthcareEntity healthcareEntity, String text) { + accessor.setText(healthcareEntity, text); + } + + public static void setCategory(HealthcareEntity healthcareEntity, EntityCategory category) { + accessor.setCategory(healthcareEntity, category); + } + + public static void setSubcategory(HealthcareEntity healthcareEntity, String subcategory) { + accessor.setSubcategory(healthcareEntity, subcategory); + } + + public static void setConfidenceScore(HealthcareEntity healthcareEntity, double confidenceScore) { + accessor.setConfidenceScore(healthcareEntity, confidenceScore); + } + + public static void setOffset(HealthcareEntity healthcareEntity, int offset) { + accessor.setOffset(healthcareEntity, offset); + } + + public static void setNegated(HealthcareEntity healthcareEntity, boolean negated) { + accessor.setNegated(healthcareEntity, negated); + } + + public static void setHealthcareEntityLinks(HealthcareEntity healthcareEntity, + List healthcareEntityLinks) { + accessor.setHealthcareEntityLinks(healthcareEntity, healthcareEntityLinks); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityRelationPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityRelationPropertiesHelper.java new file mode 100644 index 0000000000000..3559a50bd6fce --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareEntityRelationPropertiesHelper.java @@ -0,0 +1,50 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.HealthcareEntityRelation; + +/** + * The helper class to set the non-public properties of an {@link HealthcareEntityRelation} instance. + */ +public final class HealthcareEntityRelationPropertiesHelper { + private static HealthcareEntityRelationAccessor accessor; + + private HealthcareEntityRelationPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link HealthcareEntityRelation} instance. + */ + public interface HealthcareEntityRelationAccessor { + void setRelationType(HealthcareEntityRelation healthcareEntityRelation, String relationType); + void setBidirectional(HealthcareEntityRelation healthcareEntityRelation, boolean bidirectional); + void setSourceLink(HealthcareEntityRelation healthcareEntityRelation, String sourceLink); + void setTargetLink(HealthcareEntityRelation healthcareEntityRelation, String targetLink); + } + + /** + * The method called from {@link HealthcareEntityRelation} to set it's accessor. + * + * @param healthcareEntityRelationAccessor The accessor. + */ + public static void setAccessor(final HealthcareEntityRelationAccessor healthcareEntityRelationAccessor) { + accessor = healthcareEntityRelationAccessor; + } + + public static void setRelationType(HealthcareEntityRelation healthcareEntityRelation, String relationType) { + accessor.setRelationType(healthcareEntityRelation, relationType); + } + + public static void setBidirectional(HealthcareEntityRelation healthcareEntityRelation, boolean bidirectional) { + accessor.setBidirectional(healthcareEntityRelation, bidirectional); + } + + public static void setSourceLink(HealthcareEntityRelation healthcareEntityRelation, String sourceLink) { + accessor.setSourceLink(healthcareEntityRelation, sourceLink); + } + + public static void setTargetLink(HealthcareEntityRelation healthcareEntityRelation, String targetLink) { + accessor.setTargetLink(healthcareEntityRelation, targetLink); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareTaskResultPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareTaskResultPropertiesHelper.java new file mode 100644 index 0000000000000..b552b7195f9e3 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/HealthcareTaskResultPropertiesHelper.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.HealthcareTaskResult; +import com.azure.ai.textanalytics.models.TextAnalyticsError; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; + +import java.util.List; + +/** + * The helper class to set the non-public properties of an {@link HealthcareTaskResult} instance. + */ +public final class HealthcareTaskResultPropertiesHelper { + private static HealthcareTaskResultAccessor accessor; + + private HealthcareTaskResultPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link HealthcareTaskResult} instance. + */ + public interface HealthcareTaskResultAccessor { + void setResult(HealthcareTaskResult healthcareTaskResult, + RecognizeHealthcareEntitiesResultCollection recognizeHealthcareEntitiesResultCollection); + void setError(HealthcareTaskResult healthcareTaskResult, List errors); + } + + /** + * The method called from {@link HealthcareTaskResult} to set it's accessor. + * + * @param healthcareTaskResultAccessor The accessor. + */ + public static void setAccessor(final HealthcareTaskResultAccessor healthcareTaskResultAccessor) { + accessor = healthcareTaskResultAccessor; + } + + public static void setResult(HealthcareTaskResult healthcareTaskResult, + RecognizeHealthcareEntitiesResultCollection recognizeHealthcareEntitiesResultCollection) { + accessor.setResult(healthcareTaskResult, + recognizeHealthcareEntitiesResultCollection); + } + + public static void setErrors(HealthcareTaskResult healthcareTaskResult, List errors) { + accessor.setError(healthcareTaskResult, errors); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.java new file mode 100644 index 0000000000000..a6f4fcbe3ba1e --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.java @@ -0,0 +1,47 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; + +/** + * The helper class to set the non-public properties of an {@link RecognizeHealthcareEntitiesResultCollection} instance. + */ +public final class RecognizeHealthcareEntitiesResultCollectionPropertiesHelper { + private static RecognizeHealthcareEntitiesResultCollectionAccessor accessor; + + private RecognizeHealthcareEntitiesResultCollectionPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an + * {@link RecognizeHealthcareEntitiesResultCollection} instance. + */ + public interface RecognizeHealthcareEntitiesResultCollectionAccessor { + void setModelVersion(RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection, + String modelVersion); + void setStatistics(RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection, + TextDocumentBatchStatistics statistics); + } + + /** + * The method called from {@link RecognizeHealthcareEntitiesResultCollection} to set it's accessor. + * + * @param recognizeHealthcareEntitiesResultCollectionAccessor The accessor. + */ + public static void setAccessor(final RecognizeHealthcareEntitiesResultCollectionAccessor + recognizeHealthcareEntitiesResultCollectionAccessor) { + accessor = recognizeHealthcareEntitiesResultCollectionAccessor; + } + + public static void setModelVersion(RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection, + String modelVersion) { + accessor.setModelVersion(healthcareEntitiesResultCollection, modelVersion); + } + + public static void setStatistics(RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection, + TextDocumentBatchStatistics statistics) { + accessor.setStatistics(healthcareEntitiesResultCollection, statistics); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultPropertiesHelper.java new file mode 100644 index 0000000000000..d201c115f9b30 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/RecognizeHealthcareEntitiesResultPropertiesHelper.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntitiesResult; + +/** + * The helper class to set the non-public properties of an {@link RecognizeHealthcareEntitiesResult} instance. + */ +public final class RecognizeHealthcareEntitiesResultPropertiesHelper { + private static RecognizeHealthcareEntitiesResultAccessor accessor; + + private RecognizeHealthcareEntitiesResultPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link RecognizeHealthcareEntitiesResult} + * instance. + */ + public interface RecognizeHealthcareEntitiesResultAccessor { + void setEntities(RecognizeHealthcareEntitiesResult entitiesResult, HealthcareEntityCollection entities); + } + + /** + * The method called from {@link RecognizeHealthcareEntitiesResult} to set it's accessor. + * + * @param recognizeHealthcareEntitiesResultAccessor The accessor. + */ + public static void setAccessor( + final RecognizeHealthcareEntitiesResultAccessor recognizeHealthcareEntitiesResultAccessor) { + accessor = recognizeHealthcareEntitiesResultAccessor; + } + + + public static void setEntities(RecognizeHealthcareEntitiesResult entitiesResult, + HealthcareEntityCollection entities) { + accessor.setEntities(entitiesResult, entities); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsErrorInformationPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsErrorInformationPropertiesHelper.java new file mode 100644 index 0000000000000..a8891434dea75 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsErrorInformationPropertiesHelper.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.TextAnalyticsErrorCode; +import com.azure.ai.textanalytics.models.TextAnalyticsErrorInformation; + +/** + * The helper class to set the non-public properties of an {@link TextAnalyticsErrorInformation} instance. + */ +public final class TextAnalyticsErrorInformationPropertiesHelper { + private static TextAnalyticsErrorInformationAccessor accessor; + + private TextAnalyticsErrorInformationPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link TextAnalyticsErrorInformation} instance. + */ + public interface TextAnalyticsErrorInformationAccessor { + void setErrorCode(TextAnalyticsErrorInformation textAnalyticsErrorInformation, + TextAnalyticsErrorCode errorCode); + void setMessage(TextAnalyticsErrorInformation textAnalyticsErrorInformation, String message); + } + + /** + * The method called from {@link TextAnalyticsErrorInformation} to set it's accessor. + * + * @param textAnalyticsErrorInformationAccessor The accessor. + */ + public static void setAccessor(final TextAnalyticsErrorInformationAccessor textAnalyticsErrorInformationAccessor) { + accessor = textAnalyticsErrorInformationAccessor; + } + + public static void setErrorCode(TextAnalyticsErrorInformation textAnalyticsErrorInformation, + TextAnalyticsErrorCode errorCode) { + accessor.setErrorCode(textAnalyticsErrorInformation, errorCode); + } + + public static void setMessage(TextAnalyticsErrorInformation textAnalyticsErrorInformation, String message) { + accessor.setMessage(textAnalyticsErrorInformation, message); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsExceptionPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsExceptionPropertiesHelper.java new file mode 100644 index 0000000000000..23180bd7f11d7 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsExceptionPropertiesHelper.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.TextAnalyticsErrorInformation; +import com.azure.ai.textanalytics.models.TextAnalyticsException; + +import java.util.List; + +/** + * The helper class to set the non-public properties of an {@link TextAnalyticsException} instance. + */ +public final class TextAnalyticsExceptionPropertiesHelper { + private static TextAnalyticsExceptionAccessor accessor; + + private TextAnalyticsExceptionPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link TextAnalyticsException} instance. + */ + public interface TextAnalyticsExceptionAccessor { + void setErrorInformationList(TextAnalyticsException textAnalyticsException, + List errorInformation); + } + + /** + * The method called from {@link TextAnalyticsException} to set it's accessor. + * + * @param textAnalyticsExceptionAccessor The accessor. + */ + public static void setAccessor(final TextAnalyticsExceptionAccessor textAnalyticsExceptionAccessor) { + accessor = textAnalyticsExceptionAccessor; + } + + public static void setErrorInformationList(TextAnalyticsException textAnalyticsException, + List errorInformation) { + accessor.setErrorInformationList(textAnalyticsException, errorInformation); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsOperationResultPropertiesHelper.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsOperationResultPropertiesHelper.java new file mode 100644 index 0000000000000..ee0b2b6f698b2 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/TextAnalyticsOperationResultPropertiesHelper.java @@ -0,0 +1,37 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.implementation; + +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; + +/** + * The helper class to set the non-public properties of an {@link TextAnalyticsOperationResult} instance. + */ +public final class TextAnalyticsOperationResultPropertiesHelper { + private static TextAnalyticsOperationResultAccessor accessor; + + private TextAnalyticsOperationResultPropertiesHelper() { } + + /** + * Type defining the methods to set the non-public properties of an {@link TextAnalyticsOperationResult} + * instance. + */ + public interface TextAnalyticsOperationResultAccessor { + void setResultId(TextAnalyticsOperationResult entitiesResult, String resultId); + } + + /** + * The method called from {@link TextAnalyticsOperationResult} to set it's accessor. + * + * @param textAnalyticsOperationResultAccessor The accessor. + */ + public static void setAccessor( + final TextAnalyticsOperationResultAccessor textAnalyticsOperationResultAccessor) { + accessor = textAnalyticsOperationResultAccessor; + } + + public static void setResultId(TextAnalyticsOperationResult operationResult, String resultId) { + accessor.setResultId(operationResult, resultId); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java index c6f4a9c25c356..ca70dcbfa93b3 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/Utility.java @@ -6,38 +6,70 @@ import com.azure.ai.textanalytics.implementation.models.DocumentStatistics; import com.azure.ai.textanalytics.implementation.models.ErrorCodeValue; import com.azure.ai.textanalytics.implementation.models.ErrorResponseException; +import com.azure.ai.textanalytics.implementation.models.HealthcareResult; import com.azure.ai.textanalytics.implementation.models.InnerError; import com.azure.ai.textanalytics.implementation.models.InnerErrorCodeValue; import com.azure.ai.textanalytics.implementation.models.LanguageInput; import com.azure.ai.textanalytics.implementation.models.MultiLanguageInput; import com.azure.ai.textanalytics.implementation.models.RequestStatistics; +import com.azure.ai.textanalytics.implementation.models.State; import com.azure.ai.textanalytics.implementation.models.TextAnalyticsError; import com.azure.ai.textanalytics.models.DetectLanguageInput; +import com.azure.ai.textanalytics.models.EntityCategory; +import com.azure.ai.textanalytics.models.HealthcareEntity; +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; +import com.azure.ai.textanalytics.models.HealthcareEntityLink; +import com.azure.ai.textanalytics.models.HealthcareEntityRelation; +import com.azure.ai.textanalytics.models.JobState; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntitiesResult; import com.azure.ai.textanalytics.models.TextAnalyticsErrorCode; import com.azure.ai.textanalytics.models.TextAnalyticsException; +import com.azure.ai.textanalytics.models.TextAnalyticsWarning; import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; import com.azure.ai.textanalytics.models.TextDocumentInput; import com.azure.ai.textanalytics.models.TextDocumentStatistics; +import com.azure.ai.textanalytics.models.WarningCode; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; import com.azure.core.exception.HttpResponseException; import com.azure.core.http.HttpHeaders; import com.azure.core.http.HttpResponse; import com.azure.core.http.rest.SimpleResponse; +import com.azure.core.util.CoreUtils; +import com.azure.core.util.IterableStream; +import com.azure.core.util.logging.ClientLogger; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; import java.nio.ByteBuffer; import java.nio.charset.Charset; +import java.time.Duration; import java.util.ArrayList; +import java.util.HashMap; import java.util.Iterator; import java.util.List; +import java.util.Map; import java.util.Objects; +import java.util.Optional; import java.util.concurrent.atomic.AtomicInteger; import java.util.function.BiFunction; +import java.util.stream.Collectors; + +import static com.azure.ai.textanalytics.implementation.models.State.CANCELLED; +import static com.azure.ai.textanalytics.implementation.models.State.CANCELLING; +import static com.azure.ai.textanalytics.implementation.models.State.FAILED; +import static com.azure.ai.textanalytics.implementation.models.State.NOTSTARTED; +import static com.azure.ai.textanalytics.implementation.models.State.PARTIALLY_COMPLETED; +import static com.azure.ai.textanalytics.implementation.models.State.RUNNING; +import static com.azure.ai.textanalytics.implementation.models.State.SUCCEEDED; /** * Utility method class. */ public final class Utility { + private static final ClientLogger LOGGER = new ClientLogger(Utility.class); + // default time interval for polling + public static final Duration DEFAULT_POLL_DURATION = Duration.ofSeconds(5); + private Utility() { } @@ -118,7 +150,6 @@ public static Throwable mapToHttpResponseExceptionIfExist(Throwable throwable) { return throwable; } - /** * Given a list of documents will apply the indexing function to it and return the updated list. * @@ -228,4 +259,179 @@ public static List toLanguageInput(Iterable .setCountryHint(textDocumentInput.getCountryHint()))); return multiLanguageInputs; } + + /** + * Extracts the result ID from the URL. + * + * @param operationLocation The URL specified in the 'Operation-Location' response header containing the + * resultId used to track the progress and obtain the result of the analyze operation. + * + * @return The resultId used to track the progress. + */ + public static String parseModelId(String operationLocation) { + if (!CoreUtils.isNullOrEmpty(operationLocation)) { + int lastIndex = operationLocation.lastIndexOf('/'); + if (lastIndex != -1) { + return operationLocation.substring(lastIndex + 1); + } + } + throw LOGGER.logExceptionAsError( + new RuntimeException("Failed to parse operation header for result Id from: " + operationLocation)); + } + + /** + * Extract the next pagination link which contains the request parameter values, into map, + * such as '$skip=20' and '$top=2'. + * + * @param nextLink the next pagination link. + * + * @return A map that holds the request parameter value of next pagination link. + */ + public static Map parseNextLink(String nextLink) { + if (!CoreUtils.isNullOrEmpty(nextLink)) { + Map parameterMap = new HashMap<>(); + String[] strings = nextLink.split("\\?", 2); + String[] parameters = strings[1].split("&"); + for (String parameter : parameters) { + String[] parameterPair = parameter.split("="); + parameterMap.put(parameterPair[0], Integer.valueOf(parameterPair[1])); + } + return parameterMap; + } + return new HashMap<>(); + // TODO: solve this SpotBugs + // [ERROR] Unchecked/unconfirmed cast from Throwable to RuntimeException of return value in + // com.azure.ai.textanalytics.implementation.Utility.parseNextLink(String) + // [com.azure.ai.textanalytics.implementation.Utility] At Utility.java:[line 302] + // BC_UNCONFIRMED_CAST_OF_RETURN_VALUE + //throw LOGGER.logThrowableAsError( + // new RuntimeException(String.format("Failed to parse nextLink for pagination, nextLink: %s%n", + // nextLink))); + } + + /** + * Transfer {@link HealthcareResult} into {@link RecognizeHealthcareEntitiesResultCollection} + * + * @param healthcareResult the service side raw data, HealthcareResult. + * + * @return the client side explored model, RecognizeHealthcareEntitiesResultCollection. + */ + public static RecognizeHealthcareEntitiesResultCollection toRecognizeHealthcareEntitiesResultCollection( + HealthcareResult healthcareResult) { + // List of document results + List recognizeHealthcareEntitiesResults = new ArrayList<>(); + healthcareResult.getDocuments().forEach( + documentEntities -> { + final List warnings = Optional.ofNullable(documentEntities.getWarnings()) + .map(textAnalyticsWarnings -> textAnalyticsWarnings.stream().map( + textAnalyticsWarning -> new TextAnalyticsWarning( + Optional.ofNullable(textAnalyticsWarning.getCode()) + .map(warningCodeValue -> WarningCode.fromString(warningCodeValue.toString())) + .orElse(null), + textAnalyticsWarning.getMessage()) + ).collect(Collectors.toList()) + ).orElse(new ArrayList<>()); + + final List healthcareEntities = documentEntities.getEntities().stream().map( + entity -> { + final HealthcareEntity healthcareEntity = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity, entity.getText()); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity, + EntityCategory.fromString(entity.getCategory())); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity, entity.getSubcategory()); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity, + entity.getConfidenceScore()); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity, entity.getOffset()); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity, entity.isNegated()); + HealthcareEntityPropertiesHelper.setHealthcareEntityLinks(healthcareEntity, + entity.getLinks() == null ? null : entity.getLinks().stream() + .map(healthcareEntityLink -> { + final HealthcareEntityLink healthcareEntityLinkOrigin = new HealthcareEntityLink(); + HealthcareEntityLinkPropertiesHelper.setDataSource(healthcareEntityLinkOrigin, + healthcareEntityLink.getDataSource()); + HealthcareEntityLinkPropertiesHelper.setDataSourceId(healthcareEntityLinkOrigin, + healthcareEntityLink.getId()); + return healthcareEntityLinkOrigin; + }) + .collect(Collectors.toList())); + return healthcareEntity; + }).collect(Collectors.toList()); + + final HealthcareEntityCollection healthcareEntityCollection = new HealthcareEntityCollection( + new IterableStream<>(healthcareEntities)); + HealthcareEntityCollectionPropertiesHelper.setWarnings(healthcareEntityCollection, + new IterableStream<>(warnings)); + HealthcareEntityCollectionPropertiesHelper.setEntityRelations(healthcareEntityCollection, + new IterableStream<>(documentEntities.getRelations() == null ? null + : documentEntities.getRelations() + .stream() + .map(healthcareRelation -> { + final HealthcareEntityRelation relation = new HealthcareEntityRelation(); + HealthcareEntityRelationPropertiesHelper.setRelationType(relation, + healthcareRelation.getRelationType()); + HealthcareEntityRelationPropertiesHelper.setBidirectional(relation, + healthcareRelation.isBidirectional()); + HealthcareEntityRelationPropertiesHelper.setSourceLink(relation, + healthcareRelation.getSource()); + HealthcareEntityRelationPropertiesHelper.setTargetLink(relation, + healthcareRelation.getTarget()); + return relation; + }) + .collect(Collectors.toList()))); + + + final RecognizeHealthcareEntitiesResult recognizeHealthcareEntitiesResult = + new RecognizeHealthcareEntitiesResult( + documentEntities.getId(), + documentEntities.getStatistics() == null ? null + : toTextDocumentStatistics(documentEntities.getStatistics()), + null); + RecognizeHealthcareEntitiesResultPropertiesHelper.setEntities(recognizeHealthcareEntitiesResult, + healthcareEntityCollection); + + recognizeHealthcareEntitiesResults.add(recognizeHealthcareEntitiesResult); + }); + // Document errors + healthcareResult.getErrors().forEach(documentError -> + recognizeHealthcareEntitiesResults.add(new RecognizeHealthcareEntitiesResult( + documentError.getId(), + null, + toTextAnalyticsError(documentError.getError()))) + ); + + final RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResults = + new RecognizeHealthcareEntitiesResultCollection(recognizeHealthcareEntitiesResults); + RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.setModelVersion(healthcareEntitiesResults, + healthcareResult.getModelVersion()); + RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.setStatistics(healthcareEntitiesResults, + healthcareResult.getStatistics() == null ? null : toBatchStatistics(healthcareResult.getStatistics())); + return healthcareEntitiesResults; + } + + /** + * Transfer {@link State} into {@link JobState} + * + * @param jobState the service side raw data, State. + * + * @return the client side explored model, JobState. + */ + public static JobState toJobState(State jobState) { + if (jobState == NOTSTARTED) { + return JobState.CANCELLED; + } else if (jobState == RUNNING) { + return JobState.RUNNING; + } else if (jobState == SUCCEEDED) { + return JobState.SUCCEEDED; + } else if (jobState == FAILED) { + return JobState.FAILED; + } else if (jobState == CANCELLED) { + return JobState.CANCELLED; + } else if (jobState == CANCELLING) { + return JobState.CANCELLING; + } else if (jobState == PARTIALLY_COMPLETED) { + return JobState.PARTIALLY_COMPLETED; + } else { + throw new RuntimeException(String.format("job state, %s is not supported.", jobState)); + } + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/HealthcareJobState.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/HealthcareJobState.java index 64fe86f2ad3ec..a6c0617cd1248 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/HealthcareJobState.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/implementation/models/HealthcareJobState.java @@ -6,6 +6,7 @@ import com.azure.core.annotation.Fluent; import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; /** * The HealthcareJobState model. @@ -18,6 +19,12 @@ public final class HealthcareJobState extends JobMetadata { @JsonProperty(value = "results") private HealthcareResult results; + /* + * The errors property. + */ + @JsonProperty(value = "errors") + private List errors; + /* * The @nextLink property. */ @@ -44,6 +51,26 @@ public HealthcareJobState setResults(HealthcareResult results) { return this; } + /** + * Get the errors property: The errors property. + * + * @return the errors value. + */ + public List getErrors() { + return this.errors; + } + + /** + * Set the errors property: The errors property. + * + * @param errors the errors value to set. + * @return the HealthcareJobState object itself. + */ + public HealthcareJobState setErrors(List errors) { + this.errors = errors; + return this; + } + /** * Get the nextLink property: The @nextLink property. * diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntity.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntity.java new file mode 100644 index 0000000000000..010a226f355df --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntity.java @@ -0,0 +1,153 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.ai.textanalytics.implementation.HealthcareEntityPropertiesHelper; + +import java.util.List; + +/** + * The {@link HealthcareEntity} model. + */ +public final class HealthcareEntity { + private String text; + private EntityCategory category; + private String subcategory; + private double confidenceScore; + private int offset; + private boolean negated; + private List healthcareEntityLinks; + + static { + HealthcareEntityPropertiesHelper.setAccessor(new HealthcareEntityPropertiesHelper.HealthcareEntityAccessor() { + @Override + public void setText(HealthcareEntity healthcareEntity, String text) { + healthcareEntity.setText(text); + } + + @Override + public void setCategory(HealthcareEntity healthcareEntity, EntityCategory category) { + healthcareEntity.setCategory(category); + } + + @Override + public void setSubcategory(HealthcareEntity healthcareEntity, String subcategory) { + healthcareEntity.setSubcategory(subcategory); + } + + @Override + public void setConfidenceScore(HealthcareEntity healthcareEntity, double confidenceScore) { + healthcareEntity.setConfidenceScore(confidenceScore); + } + + @Override + public void setOffset(HealthcareEntity healthcareEntity, int offset) { + healthcareEntity.setOffset(offset); + } + + @Override + public void setNegated(HealthcareEntity healthcareEntity, boolean negated) { + healthcareEntity.setNegated(negated); + } + + @Override + public void setHealthcareEntityLinks(HealthcareEntity healthcareEntity, + List healthcareEntityLinks) { + healthcareEntity.setHealthcareEntityLinks(healthcareEntityLinks); + } + }); + } + + /** + * Get the text property: Healthcare entity text as appears in the request. + * + * @return The text value. + */ + public String getText() { + return this.text; + } + + /** + * Get the category property: Healthcare entity category, such as Person/Location/Org/SSN etc. + * + * @return The category value. + */ + public EntityCategory getCategory() { + return this.category; + } + + /** + * Get the subcategory property: Healthcare entity sub category, such as Age/Year/TimeRange etc. + * + * @return The subcategory value. + */ + public String getSubcategory() { + return this.subcategory; + } + + /** + * Get the score property: If a well-known item is recognized, a decimal + * number denoting the confidence level between 0 and 1 will be returned. + * + * @return The score value. + */ + public double getConfidenceScore() { + return this.confidenceScore; + } + + /** + * Get the offset of entity text. The start position for the entity text in a document. + * + * @return The offset of entity text. + */ + public int getOffset() { + return offset; + } + + /** + * Get the isNegated property: The isNegated property. + * + * @return the isNegated value. + */ + public boolean isNegated() { + return this.negated; + } + + /** + * Get the links property: Entity references in known data sources. + * + * @return the links value. + */ + public List getDataSourceEntityLinks() { + return this.healthcareEntityLinks; + } + + private void setText(String text) { + this.text = text; + } + + private void setCategory(EntityCategory category) { + this.category = category; + } + + private void setSubcategory(String subcategory) { + this.subcategory = subcategory; + } + + private void setConfidenceScore(double confidenceScore) { + this.confidenceScore = confidenceScore; + } + + private void setOffset(int offset) { + this.offset = offset; + } + + private void setNegated(boolean negated) { + this.negated = negated; + } + + private void setHealthcareEntityLinks(List healthcareEntityLinks) { + this.healthcareEntityLinks = healthcareEntityLinks; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityCollection.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityCollection.java new file mode 100644 index 0000000000000..0e8f01c8050cb --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityCollection.java @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.ai.textanalytics.implementation.HealthcareEntityCollectionPropertiesHelper; +import com.azure.core.util.IterableStream; + +/** + * The {@link HealthcareEntityCollection} model. + */ +public class HealthcareEntityCollection extends IterableStream { + private IterableStream warnings; + private IterableStream entityRelations; + + static { + HealthcareEntityCollectionPropertiesHelper.setAccessor( + new HealthcareEntityCollectionPropertiesHelper.HealthcareEntityCollectionAccessor() { + @Override + public void setWarnings(HealthcareEntityCollection healthcareEntityCollection, + IterableStream warnings) { + healthcareEntityCollection.setWarnings(warnings); + } + + @Override + public void setEntityRelations(HealthcareEntityCollection healthcareEntityCollection, + IterableStream entityRelations) { + healthcareEntityCollection.setEntityRelations(entityRelations); + } + } + ); + } + + /** + * Creates a {@link HealthcareEntityCollection} model that describes a healthcare entities collection including + * warnings. + * + * @param entities An {@link IterableStream} of {@link HealthcareEntity healthcare entities}. + */ + public HealthcareEntityCollection(IterableStream entities) { + super(entities); + } + + /** + * Get the {@link IterableStream} of {@link TextAnalyticsWarning Text Analytics warnings}. + * + * @return {@link IterableStream} of {@link TextAnalyticsWarning}. + */ + public IterableStream getWarnings() { + return this.warnings; + } + + /** + * Get the {@link IterableStream} of {@link HealthcareEntityRelation}. + * + * @return {@link IterableStream} of {@link HealthcareEntityRelation}. + */ + public IterableStream getEntityRelations() { + return this.entityRelations; + } + + /** + * The private setter to set the warnings property + * via {@link HealthcareEntityCollectionPropertiesHelper.HealthcareEntityCollectionAccessor}. + * + * @param warnings {@link IterableStream} of {@link TextAnalyticsWarning}. + */ + private void setWarnings(IterableStream warnings) { + this.warnings = warnings; + } + + /** + * The private setter to set the entityRelations property + * via {@link HealthcareEntityCollectionPropertiesHelper.HealthcareEntityCollectionAccessor}. + * + * @param entityRelations {@link IterableStream} of {@link HealthcareEntityRelation}. + */ + private void setEntityRelations(IterableStream entityRelations) { + this.entityRelations = entityRelations; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityLink.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityLink.java new file mode 100644 index 0000000000000..300b7d0a5d094 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityLink.java @@ -0,0 +1,73 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + + +import com.azure.ai.textanalytics.implementation.HealthcareEntityLinkPropertiesHelper; + +/** The HealthcareEntityLink model. */ +public final class HealthcareEntityLink { + /* + * Entity id in the given source catalog. + */ + private String dataSourceId; + + /* + * Entity Catalog. Examples include: UMLS, CHV, MSH, etc. + */ + private String dataSource; + + static { + HealthcareEntityLinkPropertiesHelper.setAccessor( + new HealthcareEntityLinkPropertiesHelper.HealthcareEntityLinkAccessor() { + @Override + public void setDataSource(HealthcareEntityLink healthcareEntityLink, String dataSource) { + healthcareEntityLink.setDataSource(dataSource); + } + + @Override + public void setDataSourceId(HealthcareEntityLink healthcareEntityLink, String dataSourceId) { + healthcareEntityLink.setDataSourceId(dataSourceId); + } + }); + } + + /** + * Get the dataSource property: Entity Catalog. Examples include: UMLS, CHV, MSH, etc. + * + * @return the dataSource value. + */ + public String getDataSource() { + return this.dataSource; + } + + /** + * Get the id property: Entity id in the given source catalog. + * + * @return the id value. + */ + public String getDataSourceId() { + return this.dataSourceId; + } + + /** + * The private setter to set the dataSource property + * via {@link HealthcareEntityLinkPropertiesHelper.HealthcareEntityLinkAccessor}. + * + * @param dataSource the dataSource property: Entity Catalog. Examples include: UMLS, CHV, MSH, etc. + */ + private void setDataSource(String dataSource) { + this.dataSource = dataSource; + } + + /** + * The private setter to set the dataSourceId property + * via {@link HealthcareEntityLinkPropertiesHelper.HealthcareEntityLinkAccessor}. + * + * @param dataSourceId The entity id in the given source catalog. + */ + private void setDataSourceId(String dataSourceId) { + this.dataSourceId = dataSourceId; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityRelation.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityRelation.java new file mode 100644 index 0000000000000..73b82ebf5e1a9 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareEntityRelation.java @@ -0,0 +1,111 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.ai.textanalytics.implementation.HealthcareEntityRelationPropertiesHelper; + +/** The HealthcareEntityRelation model. */ +public final class HealthcareEntityRelation { + + /* + * Type of relation. Examples include: `DosageOfMedication` or + * 'FrequencyOfMedication', etc. + */ + private String relationType; + + /* + * If true the relation between the entities is bidirectional, otherwise + * directionality is source to target. + */ + private boolean bidirectional; + + /* + * Reference link to the source entity. + */ + private String sourceLink; + + /* + * Reference link to the target entity. + */ + private String targetLink; + + static { + HealthcareEntityRelationPropertiesHelper.setAccessor( + new HealthcareEntityRelationPropertiesHelper.HealthcareEntityRelationAccessor() { + @Override + public void setRelationType(HealthcareEntityRelation healthcareEntityRelation, String relationType) { + healthcareEntityRelation.setRelationType(relationType); + } + + @Override + public void setBidirectional(HealthcareEntityRelation healthcareEntityRelation, boolean bidirectional) { + healthcareEntityRelation.setBidirectional(bidirectional); + } + + @Override + public void setSourceLink(HealthcareEntityRelation healthcareEntityRelation, String sourceLink) { + healthcareEntityRelation.setSourceLink(sourceLink); + } + + @Override + public void setTargetLink(HealthcareEntityRelation healthcareEntityRelation, String targetLink) { + healthcareEntityRelation.setTargetLink(targetLink); + } + }); + } + + /** + * Get the relationType property: Type of relation. Examples include: `DosageOfMedication` or + * 'FrequencyOfMedication', etc. + * + * @return the relationType value. + */ + public String getRelationType() { + return this.relationType; + } + + /** + * Get the bidirectional property: If true the relation between the entities is bidirectional, otherwise + * directionality is source to target. + * + * @return the bidirectional value. + */ + public boolean isBidirectional() { + return this.bidirectional; + } + + /** + * Get the source property: Reference link to the source entity. + * + * @return the source reference link value. + */ + public String getSourceLink() { + return this.sourceLink; + } + + /** + * Get the target property: Reference link to the target entity. + * + * @return the target reference link value. + */ + public String getTargetLink() { + return this.targetLink; + } + + private void setRelationType(String relationType) { + this.relationType = relationType; + } + + private void setBidirectional(boolean bidirectional) { + this.bidirectional = bidirectional; + } + + private void setSourceLink(String sourceLink) { + this.sourceLink = sourceLink; + } + + private void setTargetLink(String targetLink) { + this.targetLink = targetLink; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareTaskResult.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareTaskResult.java new file mode 100644 index 0000000000000..98ad8a25546d9 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/HealthcareTaskResult.java @@ -0,0 +1,89 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.ai.textanalytics.implementation.HealthcareTaskResultPropertiesHelper; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; + +import java.time.OffsetDateTime; +import java.util.List; + +/** + * The HealthcareTaskResult model. + */ +public final class HealthcareTaskResult extends JobMetadata { + private RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResults; + private List errors; + + static { + HealthcareTaskResultPropertiesHelper.setAccessor( + new HealthcareTaskResultPropertiesHelper.HealthcareTaskResultAccessor() { + @Override + public void setResult(HealthcareTaskResult healthcareTaskResult, + RecognizeHealthcareEntitiesResultCollection recognizeHealthcareEntitiesResultCollection) { + healthcareTaskResult.setResult(recognizeHealthcareEntitiesResultCollection); + } + + @Override + public void setError(HealthcareTaskResult healthcareTaskResult, List errors) { + healthcareTaskResult.setErrors(errors); + } + }); + } + + /** + * Creates a {@link HealthcareTaskResult} model that describes a healthcare task job result. + * + * @param jobId the job identification. + * @param createdDateTime the created time of the job. + * @param lastUpdateDateTime the last updated time of the job. + * @param status the job status. + * @param displayName the display name. + * @param expirationDateTime the expiration time of the job. + */ + public HealthcareTaskResult(String jobId, OffsetDateTime createdDateTime, OffsetDateTime lastUpdateDateTime, + JobState status, String displayName, OffsetDateTime expirationDateTime) { + super(jobId, createdDateTime, lastUpdateDateTime, status, displayName, expirationDateTime); + } + + /** + * Get a collection model that contains a list of {@link RecognizeHealthcareEntitiesResult} along with + * model version and batch's statistics. + * + * @return the {@link RecognizeHealthcareEntitiesResultCollection}, + */ + public RecognizeHealthcareEntitiesResultCollection getResult() { + return this.healthcareEntitiesResults; + } + + /** + * The private setter to set the healthcareEntitiesResults property + * via {@link HealthcareTaskResultPropertiesHelper.HealthcareTaskResultAccessor}. + * + * @param healthcareEntitiesResults a collection model that contains a list of + * {@link RecognizeHealthcareEntitiesResult} along with model version and batch's statistics. + */ + private void setResult(RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResults) { + this.healthcareEntitiesResults = healthcareEntitiesResults; + } + + /** + * Get a list of {@link TextAnalyticsError} for Healthcare tasks if operation failed. + * + * @return a list of {@link TextAnalyticsError}. + */ + public List getErrors() { + return this.errors; + } + + /** + * The private setter to set the healthcareEntitiesResults property + * via {@link HealthcareTaskResultPropertiesHelper.HealthcareTaskResultAccessor}. + * + * @param errors a list of {@link TextAnalyticsError} for Healthcare tasks. + */ + private void setErrors(List errors) { + this.errors = errors; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobMetadata.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobMetadata.java new file mode 100644 index 0000000000000..a1e1c3b048ea1 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobMetadata.java @@ -0,0 +1,115 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import java.time.OffsetDateTime; + +/** + * The JobMetadata model + */ +public class JobMetadata { + /* + * The jobId property. + */ + private final String jobId; + + /* + * The createdDateTime property. + */ + private final OffsetDateTime createdDateTime; + + /* + * The displayName property. + */ + private final String displayName; + + /* + * The expirationDateTime property. + */ + private final OffsetDateTime expirationDateTime; + + /* + * The lastUpdateDateTime property. + */ + private final OffsetDateTime lastUpdateDateTime; + + /* + * The status property. + */ + private final JobState status; + + /** + * Creates a {@link JobMetadata} model that describes a task job's metadata. + * + * @param jobId the job identification. + * @param createdDateTime the created time of the job. + * @param lastUpdateDateTime the last updated time of the job. + * @param status the job status. + * @param displayName the display name. + * @param expirationDateTime the expiration time of the job. + */ + public JobMetadata(String jobId, OffsetDateTime createdDateTime, OffsetDateTime lastUpdateDateTime, + JobState status, String displayName, OffsetDateTime expirationDateTime) { + this.jobId = jobId; + this.createdDateTime = createdDateTime; + this.displayName = displayName; + this.expirationDateTime = expirationDateTime; + this.lastUpdateDateTime = lastUpdateDateTime; + this.status = status; + } + + /** + * Get the jobId property: The jobId property. + * + * @return the jobId value. + */ + public String getJobId() { + return this.jobId; + } + + /** + * Get the createdDateTime property: The createdDateTime property. + * + * @return the createdDateTime value. + */ + public OffsetDateTime getCreatedDateTime() { + return this.createdDateTime; + } + + /** + * Get the displayName property: The displayName property. + * + * @return the displayName value. + */ + public String getDisplayName() { + return this.displayName; + } + + /** + * Get the expirationDateTime property: The expirationDateTime property. + * + * @return the expirationDateTime value. + */ + public OffsetDateTime getExpirationDateTime() { + return this.expirationDateTime; + } + + /** + * Get the lastUpdateDateTime property: The lastUpdateDateTime property. + * + * @return the lastUpdateDateTime value. + */ + public OffsetDateTime getLastUpdateDateTime() { + return this.lastUpdateDateTime; + } + + /** + * Get the status property: The status property. + * + * @return the status value. + */ + public JobState getStatus() { + return this.status; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobState.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobState.java new file mode 100644 index 0000000000000..36ef4e0707254 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/JobState.java @@ -0,0 +1,30 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +/** + * Operation job's states + */ +public enum JobState { + /** Enum value notstarted. */ + NOT_STARTED, + + /** Enum value running. */ + RUNNING, + + /** Enum value succeeded. */ + SUCCEEDED, + + /** Enum value failed. */ + FAILED, + + /** Enum value cancelled. */ + CANCELLED, + + /** Enum value cancelling. */ + CANCELLING, + + /** Enum value partiallycompleted. */ + PARTIALLY_COMPLETED; +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntitiesResult.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntitiesResult.java new file mode 100644 index 0000000000000..6289fcaab4ec1 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntitiesResult.java @@ -0,0 +1,54 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.ai.textanalytics.implementation.RecognizeHealthcareEntitiesResultPropertiesHelper; +import com.azure.core.util.IterableStream; + +/** + * The {@link RecognizeHealthcareEntitiesResult} model. + */ +public final class RecognizeHealthcareEntitiesResult extends TextAnalyticsResult { + private HealthcareEntityCollection healthcareEntityCollection; + + static { + RecognizeHealthcareEntitiesResultPropertiesHelper.setAccessor( + RecognizeHealthcareEntitiesResult::setEntities); + } + + /** + * Creates a {@link RecognizeHealthcareEntitiesResult} model that describes recognized healthcare entities result. + * + * @param id Unique, non-empty document identifier. + * @param textDocumentStatistics The text document statistics. + * @param error The document error. + */ + public RecognizeHealthcareEntitiesResult(String id, TextDocumentStatistics textDocumentStatistics, + TextAnalyticsError error) { + super(id, textDocumentStatistics, error); + } + + /** + * Get an {@link IterableStream} of {@link HealthcareEntity}. + * + * @return An {@link IterableStream} of {@link HealthcareEntity}. + * + * @throws TextAnalyticsException if result has {@code isError} equals to true and when a non-error property + * was accessed. + */ + public HealthcareEntityCollection getEntities() { + throwExceptionIfError(); + return healthcareEntityCollection; + } + + /** + * The private setter to set the healthcareEntityCollection property + * via {@link RecognizeHealthcareEntitiesResultPropertiesHelper.RecognizeHealthcareEntitiesResultAccessor}. + * + * @param healthcareEntityCollection the {@link HealthcareEntityCollection}. + */ + private void setEntities(HealthcareEntityCollection healthcareEntityCollection) { + this.healthcareEntityCollection = healthcareEntityCollection; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntityOptions.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntityOptions.java new file mode 100644 index 0000000000000..50be00e53b601 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/RecognizeHealthcareEntityOptions.java @@ -0,0 +1,40 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.core.annotation.Fluent; + +/** + * The {@link RecognizePiiEntityOptions} model. + */ +@Fluent +public class RecognizeHealthcareEntityOptions extends TextAnalyticsRequestOptions { + /** + * Set the model version. This value indicates which model will be used for scoring, e.g. "latest", "2019-10-01". + * If a model-version is not specified, the API will default to the latest, non-preview version. + * + * @param modelVersion The model version. + * + * @return The {@link RecognizeHealthcareEntityOptions} object itself. + */ + @Override + public RecognizeHealthcareEntityOptions setModelVersion(String modelVersion) { + super.setModelVersion(modelVersion); + return this; + } + + /** + * Set the value of {@code includeStatistics}. + * + * @param includeStatistics If a boolean value was specified in the request this field will contain + * information about the document payload. + * + * @return the {@link RecognizeHealthcareEntityOptions} object itself. + */ + @Override + public RecognizeHealthcareEntityOptions setIncludeStatistics(boolean includeStatistics) { + super.setIncludeStatistics(includeStatistics); + return this; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsErrorInformation.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsErrorInformation.java new file mode 100644 index 0000000000000..b5fb2881501df --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsErrorInformation.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.ai.textanalytics.implementation.TextAnalyticsErrorInformationPropertiesHelper; + +/** + * The TextAnalyticsErrorInformation model + */ +public final class TextAnalyticsErrorInformation { + /* + * The errorCode property. + */ + private TextAnalyticsErrorCode errorCode; + + /* + * The message property. + */ + private String message; + + static { + TextAnalyticsErrorInformationPropertiesHelper.setAccessor(new + TextAnalyticsErrorInformationPropertiesHelper.TextAnalyticsErrorInformationAccessor() { + @Override + public void setErrorCode(TextAnalyticsErrorInformation textAnalyticsErrorInformation, + TextAnalyticsErrorCode errorCode) { + textAnalyticsErrorInformation.setErrorCode(errorCode); + } + + @Override + public void setMessage(TextAnalyticsErrorInformation textAnalyticsErrorInformation, String message) { + textAnalyticsErrorInformation.setMessage(message); + } + }); + } + + /** + * Get the error code property returned by the service. + * + * @return the error code property returned by the service. + */ + public TextAnalyticsErrorCode getErrorCode() { + return this.errorCode; + } + + /** + * Get the message property returned by the service. + * + * @return the message property returned by the service. + */ + public String getMessage() { + return this.message; + } + + /** + * The private setter to set the errorCode property + * via {@link TextAnalyticsErrorInformationPropertiesHelper.TextAnalyticsErrorInformationAccessor}. + * + * @param errorCode the error code property returned by the service. + */ + private void setErrorCode(TextAnalyticsErrorCode errorCode) { + this.errorCode = errorCode; + } + + /** + * The private setter to set the message property + * via {@link TextAnalyticsErrorInformationPropertiesHelper.TextAnalyticsErrorInformationAccessor}. + * + * @param message the message property returned by the service. + */ + private void setMessage(String message) { + this.message = message; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsException.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsException.java index c34110f349246..f158e2c15f544 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsException.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsException.java @@ -3,8 +3,12 @@ package com.azure.ai.textanalytics.models; +import com.azure.ai.textanalytics.implementation.TextAnalyticsExceptionPropertiesHelper; import com.azure.core.exception.AzureException; +import java.util.Collections; +import java.util.List; + /** * General exception for Text Analytics related failures. */ @@ -15,6 +19,12 @@ public class TextAnalyticsException extends AzureException { private final TextAnalyticsErrorCode errorCode; private final String target; + private List errorInformationList; + + static { + TextAnalyticsExceptionPropertiesHelper.setAccessor(TextAnalyticsException::setErrorInformationList); + } + /** * Initializes a new instance of the {@link TextAnalyticsException} class. * @param message Text contains any additional details of the exception. @@ -56,4 +66,23 @@ public String getTarget() { public TextAnalyticsErrorCode getErrorCode() { return errorCode; } + + /** + * Get the error information list fot this exception. + * + * @return the unmodifiable error information list for this exception. + */ + public List getErrorInformationList() { + return Collections.unmodifiableList(this.errorInformationList); + } + + /** + * The private setter to set the errors property + * via {@link TextAnalyticsExceptionPropertiesHelper.TextAnalyticsExceptionAccessor}. + * + * @param errorInformationList the list of {@link TextAnalyticsErrorInformation} + */ + private void setErrorInformationList(List errorInformationList) { + this.errorInformationList = errorInformationList; + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsOperationResult.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsOperationResult.java new file mode 100644 index 0000000000000..fd143901696a7 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/models/TextAnalyticsOperationResult.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.models; + +import com.azure.ai.textanalytics.implementation.TextAnalyticsOperationResultPropertiesHelper; + +/** + * The TextAnalyticsOperationResult model. + */ +public final class TextAnalyticsOperationResult { + private String resultId; + + static { + TextAnalyticsOperationResultPropertiesHelper.setAccessor( + TextAnalyticsOperationResult::setResultId); + } + + /** + * Gets the resultId property of the TextAnalyticsOperationResult. + * + * @return the resultId property of the TextAnalyticsOperationResult. + */ + public String getResultId() { + return resultId; + } + + private void setResultId(String resultId) { + this.resultId = resultId; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/RecognizeHealthcareEntitiesResultCollection.java b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/RecognizeHealthcareEntitiesResultCollection.java new file mode 100644 index 0000000000000..3a76c7174e042 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/main/java/com/azure/ai/textanalytics/util/RecognizeHealthcareEntitiesResultCollection.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.util; + +import com.azure.ai.textanalytics.implementation.RecognizeHealthcareEntitiesResultCollectionPropertiesHelper; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntitiesResult; +import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; +import com.azure.core.util.IterableStream; + +/** + * A collection model that contains a list of {@link RecognizeHealthcareEntitiesResult} along with model version and + * batch's statistics. + */ +public final class RecognizeHealthcareEntitiesResultCollection + extends IterableStream { + private String modelVersion; + private TextDocumentBatchStatistics statistics; + + static { + RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.setAccessor( + new RecognizeHealthcareEntitiesResultCollectionPropertiesHelper + .RecognizeHealthcareEntitiesResultCollectionAccessor() { + @Override + public void setModelVersion( + RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection, + String modelVersion) { + healthcareEntitiesResultCollection.setModelVersion(modelVersion); + } + + @Override + public void setStatistics( + RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection, + TextDocumentBatchStatistics statistics) { + healthcareEntitiesResultCollection.setStatistics(statistics); + } + }); + } + + /** + * Create a {@link RecognizeHealthcareEntitiesResultCollection} model that maintains a list of + * {@link RecognizeHealthcareEntitiesResult} along with model version and batch's statistics. + * + * @param documentResults A list of {@link RecognizeHealthcareEntitiesResult}. + */ + public RecognizeHealthcareEntitiesResultCollection(Iterable documentResults) { + super(documentResults); + } + + /** + * Get the model version trained in service for the request. + * + * @return The model version trained in service for the request. + */ + public String getModelVersion() { + return modelVersion; + } + + /** + * Get the batch statistics of response. + * + * @return The batch statistics of response. + */ + public TextDocumentBatchStatistics getStatistics() { + return statistics; + } + + private void setModelVersion(String modelVersion) { + this.modelVersion = modelVersion; + } + + private void setStatistics(TextDocumentBatchStatistics statistics) { + this.statistics = statistics; + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java index 5dc10185aaa58..348323f8f70b9 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientJavaDocCodeSnippets.java @@ -10,9 +10,11 @@ import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; import com.azure.ai.textanalytics.models.ExtractKeyPhraseResult; +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; import com.azure.ai.textanalytics.models.OpinionSentiment; import com.azure.ai.textanalytics.models.PiiEntityCollection; import com.azure.ai.textanalytics.models.PiiEntityDomainType; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; import com.azure.ai.textanalytics.models.RecognizePiiEntityOptions; import com.azure.ai.textanalytics.models.SentenceSentiment; import com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions; @@ -22,12 +24,17 @@ import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.RecognizeEntitiesResultCollection; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizeLinkedEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizePiiEntitiesResultCollection; import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.util.polling.AsyncPollResponse; +import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import java.util.UUID; +import java.util.concurrent.atomic.AtomicInteger; /** * Code snippet for {@link TextAnalyticsAsyncClient} @@ -784,4 +791,86 @@ public void analyzeBatchSentimentMaxOverloadWithOpinionMining() { }); // END: com.azure.ai.textanalytics.TextAnalyticsAsyncClient.analyzeSentimentBatch#Iterable-AnalyzeSentimentOptions } + + // Healthcare + /** + * Code snippet for {@link TextAnalyticsAsyncClient#beginAnalyzeHealthcare(Iterable, RecognizeHealthcareEntityOptions)} + */ + public void analyzeHealthcareMaxOverload() { + // BEGIN: com.azure.ai.textanalytics.TextAnalyticsAsyncClient.beginAnalyzeHealthcare#Iterable-RecognizeHealthcareEntityOptions + List documents = new ArrayList<>(); + for (int i = 0; i < 3; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), + "The patient is a 54-year-old gentleman with a history of progressive angina " + + "over the past several months.")); + } + + // Request options: show statistics and model version + RecognizeHealthcareEntityOptions options = new RecognizeHealthcareEntityOptions() + .setIncludeStatistics(true); + + textAnalyticsAsyncClient.beginAnalyzeHealthcare(documents, options) + .flatMap(AsyncPollResponse::getFinalResult) + .subscribe(healthcareTaskResultPagedFlux -> { + healthcareTaskResultPagedFlux.subscribe( + healthcareTaskResult -> { + System.out.printf("Job display name: %s, job ID: %s.%n", healthcareTaskResult.getDisplayName(), + healthcareTaskResult.getJobId()); + + RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection = + healthcareTaskResult.getResult(); + // Model version + System.out.printf("Results of Azure Text Analytics \"Analyze Healthcare\" Model, version: %s%n", + healthcareEntitiesResultCollection.getModelVersion()); + + // Batch statistics + TextDocumentBatchStatistics batchStatistics = + healthcareEntitiesResultCollection.getStatistics(); + System.out.printf("Documents statistics: document count = %s, erroneous document count = %s," + + " transaction count = %s, valid document count = %s.%n", + batchStatistics.getDocumentCount(), batchStatistics.getInvalidDocumentCount(), + batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount()); + + healthcareEntitiesResultCollection.forEach(healthcareEntitiesResult -> { + System.out.println("document id = " + healthcareEntitiesResult.getId()); + System.out.println("Document entities: "); + HealthcareEntityCollection healthcareEntities = healthcareEntitiesResult.getEntities(); + AtomicInteger ct = new AtomicInteger(); + healthcareEntities.forEach(healthcareEntity -> { + System.out.printf( + "\ti = %d, Text: %s, category: %s, subcategory: %s, confidence score: %f.%n", + ct.getAndIncrement(), + healthcareEntity.getText(), healthcareEntity.getCategory(), + healthcareEntity.getSubcategory(), healthcareEntity.getConfidenceScore()); + }); + + healthcareEntities.getEntityRelations().forEach( + healthcareEntityRelation -> + System.out.printf( + "Is bidirectional: %s, target: %s, source: %s, relation type: %s.%n", + healthcareEntityRelation.isBidirectional(), + healthcareEntityRelation.getTargetLink(), + healthcareEntityRelation.getSourceLink(), + healthcareEntityRelation.getRelationType())); + }); + } + ); + }); + // END: com.azure.ai.textanalytics.TextAnalyticsAsyncClient.beginAnalyzeHealthcare#Iterable-RecognizeHealthcareEntityOptions + } + + // Healthcare - Cancellation + /** + * Code snippet for {@link TextAnalyticsAsyncClient#beginCancelAnalyzeHealthcare(UUID)} + */ + public void cancelAnalyzeHealthcareMaxOverload() { + // BEGIN: com.azure.ai.textanalytics.TextAnalyticsAsyncClient.beginCancelAnalyzeHealthcare#UUID + textAnalyticsAsyncClient.beginCancelAnalyzeHealthcare(UUID.fromString("{job_id_to_cancel}")) + .map(response -> { + System.out.println(response.getStatus()); + return response; + }) + .subscribe(dummyVar -> System.out.println("Job is successfully cancelled.")); + // END: com.azure.ai.textanalytics.TextAnalyticsAsyncClient.beginCancelAnalyzeHealthcare#UUID + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java index b9e562f69a794..0d6b3a3e94a76 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/TextAnalyticsClientJavaDocCodeSnippets.java @@ -10,12 +10,17 @@ import com.azure.ai.textanalytics.models.DetectLanguageInput; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; +import com.azure.ai.textanalytics.models.HealthcareEntityLink; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; import com.azure.ai.textanalytics.models.OpinionSentiment; import com.azure.ai.textanalytics.models.PiiEntity; import com.azure.ai.textanalytics.models.PiiEntityCollection; import com.azure.ai.textanalytics.models.PiiEntityDomainType; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; import com.azure.ai.textanalytics.models.RecognizePiiEntityOptions; import com.azure.ai.textanalytics.models.SentenceSentiment; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; import com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions; import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; import com.azure.ai.textanalytics.models.TextDocumentInput; @@ -23,16 +28,23 @@ import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.RecognizeEntitiesResultCollection; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizeLinkedEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizePiiEntitiesResultCollection; import com.azure.core.credential.AzureKeyCredential; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure.core.util.Context; +import com.azure.core.util.polling.PollResponse; +import com.azure.core.util.polling.SyncPoller; +import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import java.util.UUID; +import java.util.concurrent.atomic.AtomicInteger; /** * Code snippets for {@link TextAnalyticsClient} and {@link TextAnalyticsClientBuilder} @@ -805,4 +817,91 @@ public void analyzeBatchSentimentMaxOverloadWithOpinionMining() { }); // END: com.azure.ai.textanalytics.TextAnalyticsClient.analyzeSentimentBatch#Iterable-AnalyzeSentimentOptions-Context } + + // Healthcare + /** + * Code snippet for {@link TextAnalyticsClient#beginAnalyzeHealthcare(Iterable, RecognizeHealthcareEntityOptions, Context)} + */ + public void analyzeHealthcareMaxOverload() { + // BEGIN: com.azure.ai.textanalytics.TextAnalyticsClient.beginAnalyzeHealthcare#Iterable-RecognizeHealthcareEntityOptions-Context + List documents = new ArrayList<>(); + for (int i = 0; i < 3; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), + "The patient is a 54-year-old gentleman with a history of progressive angina over " + + "the past several months.")); + } + + // Request options: show statistics and model version + RecognizeHealthcareEntityOptions options = new RecognizeHealthcareEntityOptions() + .setIncludeStatistics(true); + + SyncPoller> syncPoller = + textAnalyticsClient.beginAnalyzeHealthcare(documents, options, Context.NONE); + + syncPoller.waitForCompletion(); + PagedIterable healthcareResultIterable = syncPoller.getFinalResult(); + + healthcareResultIterable.forEach(healthcareTaskResult -> { + System.out.printf("Job display name: %s, job ID: %s.%n", healthcareTaskResult.getDisplayName(), + healthcareTaskResult.getJobId()); + RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection = + healthcareTaskResult.getResult(); + + // Model version + System.out.printf("Results of Azure Text Analytics \"Analyze Healthcare\" Model, version: %s%n", + healthcareEntitiesResultCollection.getModelVersion()); + + // Batch statistics + TextDocumentBatchStatistics batchStatistics = healthcareEntitiesResultCollection.getStatistics(); + System.out.printf("Documents statistics: document count = %s, erroneous document count = %s," + + " transaction count = %s, valid document count = %s.%n", + batchStatistics.getDocumentCount(), batchStatistics.getInvalidDocumentCount(), + batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount()); + + healthcareEntitiesResultCollection.forEach(healthcareEntitiesResult -> { + System.out.println("document id = " + healthcareEntitiesResult.getId()); + System.out.println("Document entities: "); + HealthcareEntityCollection healthcareEntities = healthcareEntitiesResult.getEntities(); + AtomicInteger ct = new AtomicInteger(); + healthcareEntities.forEach(healthcareEntity -> { + System.out.printf("\ti = %d, Text: %s, category: %s, subcategory: %s, confidence score: %f.%n", + ct.getAndIncrement(), + healthcareEntity.getText(), healthcareEntity.getCategory(), healthcareEntity.getSubcategory(), + healthcareEntity.getConfidenceScore()); + + List links = healthcareEntity.getDataSourceEntityLinks(); + if (links != null) { + links.forEach(healthcareEntityLink -> { + System.out.printf("\t\tHealthcare data source ID: %s, data source: %s.%n", + healthcareEntityLink.getDataSourceId(), + healthcareEntityLink.getDataSource()); + }); + } + }); + + healthcareEntities.getEntityRelations().forEach( + healthcareEntityRelation -> + System.out.printf("Is bidirectional: %s, target: %s, source: %s, relation type: %s.%n", + healthcareEntityRelation.isBidirectional(), + healthcareEntityRelation.getTargetLink(), + healthcareEntityRelation.getSourceLink(), + healthcareEntityRelation.getRelationType())); + }); + }); + // END: com.azure.ai.textanalytics.TextAnalyticsClient.beginAnalyzeHealthcare#Iterable-RecognizeHealthcareEntityOptions-Context + } + + // Healthcare - Cancellation + /** + * Code snippet for {@link TextAnalyticsClient#beginCancelAnalyzeHealthcare(UUID, Context)} + */ + public void cancelAnalyzeHealthcareMaxOverload() { + // BEGIN: com.azure.ai.textanalytics.TextAnalyticsClient.beginCancelAnalyzeHealthcare#UUID-Context + final SyncPoller textAnalyticsOperationResultVoidSyncPoller + = textAnalyticsClient.beginCancelAnalyzeHealthcare(UUID.fromString("{job_id_to_cancel}"), Context.NONE); + + final PollResponse poll = textAnalyticsOperationResultVoidSyncPoller.poll(); + System.out.printf("Task status: %s.%n", poll.getStatus()); + // END: com.azure.ai.textanalytics.TextAnalyticsClient.beginCancelAnalyzeHealthcare#UUID-Context + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTask.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTask.java new file mode 100644 index 0000000000000..33a764d47e8b8 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTask.java @@ -0,0 +1,104 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.lro; + +import com.azure.ai.textanalytics.TextAnalyticsClient; +import com.azure.ai.textanalytics.TextAnalyticsClientBuilder; +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; +import com.azure.ai.textanalytics.models.HealthcareEntityLink; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; +import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; +import com.azure.ai.textanalytics.models.TextDocumentInput; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.core.util.polling.SyncPoller; + +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.atomic.AtomicInteger; + +/** + * Sample demonstrates how to analyze a healthcare task. + */ +public class AnalyzeHealthcareTask { + /** + * Main method to invoke this demo about how to begin recognizing the healthcare long-running operation. + * + * @param args Unused arguments to the program. + */ + public static void main(String[] args) { + TextAnalyticsClient client = + new TextAnalyticsClientBuilder() + .credential(new AzureKeyCredential("{key}")) + .endpoint("{endpoint}") + .buildClient(); + + List documents = new ArrayList<>(); + for (int i = 0; i < 3; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), + "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. " + )); + } + + // Request options: show statistics and model version + RecognizeHealthcareEntityOptions options = new RecognizeHealthcareEntityOptions() + .setIncludeStatistics(true); + + SyncPoller> syncPoller = + client.beginAnalyzeHealthcare(documents, options, Context.NONE); + + syncPoller.waitForCompletion(); + PagedIterable healthcareResultIterable = syncPoller.getFinalResult(); + + healthcareResultIterable.forEach(healthcareTaskResult -> { + System.out.printf("Job display name: %s, job ID: %s.%n", healthcareTaskResult.getDisplayName(), + healthcareTaskResult.getJobId()); + RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection = healthcareTaskResult.getResult(); + + // Model version + System.out.printf("Results of Azure Text Analytics \"Analyze Healthcare\" Model, version: %s%n", + healthcareEntitiesResultCollection.getModelVersion()); + + // Batch statistics + TextDocumentBatchStatistics batchStatistics = healthcareEntitiesResultCollection.getStatistics(); + System.out.printf("Documents statistics: document count = %s, erroneous document count = %s, transaction count = %s, valid document count = %s.%n", + batchStatistics.getDocumentCount(), batchStatistics.getInvalidDocumentCount(), + batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount()); + + healthcareEntitiesResultCollection.forEach(healthcareEntitiesResult -> { + System.out.println("Document id = " + healthcareEntitiesResult.getId()); + System.out.println("Document entities: "); + HealthcareEntityCollection healthcareEntities = healthcareEntitiesResult.getEntities(); + AtomicInteger ct = new AtomicInteger(); + healthcareEntities.forEach(healthcareEntity -> { + System.out.printf("\ti = %d, Text: %s, category: %s, subcategory: %s, confidence score: %f.%n", + ct.getAndIncrement(), + healthcareEntity.getText(), healthcareEntity.getCategory(), healthcareEntity.getSubcategory(), + healthcareEntity.getConfidenceScore()); + + List links = healthcareEntity.getDataSourceEntityLinks(); + if (links != null) { + links.forEach(healthcareEntityLink -> { + System.out.printf("\t\tHealthcare data source ID: %s, data source: %s.%n", + healthcareEntityLink.getDataSourceId(), + healthcareEntityLink.getDataSource()); + }); + } + }); + + healthcareEntities.getEntityRelations().forEach( + healthcareEntityRelation -> + System.out.printf("Is bidirectional: %s, target: %s, source: %s, relation type: %s.%n", + healthcareEntityRelation.isBidirectional(), + healthcareEntityRelation.getTargetLink(), + healthcareEntityRelation.getSourceLink(), + healthcareEntityRelation.getRelationType())); + }); + }); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTaskAsync.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTaskAsync.java new file mode 100644 index 0000000000000..36dc6fef8bf99 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/AnalyzeHealthcareTaskAsync.java @@ -0,0 +1,100 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.lro; + +import com.azure.ai.textanalytics.TextAnalyticsAsyncClient; +import com.azure.ai.textanalytics.TextAnalyticsClientBuilder; +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; +import com.azure.ai.textanalytics.models.TextDocumentBatchStatistics; +import com.azure.ai.textanalytics.models.TextDocumentInput; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.util.polling.AsyncPollResponse; + +import java.util.ArrayList; +import java.util.List; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicInteger; + +/** + * Sample demonstrates how to asynchronously analyze a healthcare task. + */ +public class AnalyzeHealthcareTaskAsync { + /** + * Main method to invoke this demo about how to begin recognizing the healthcare long-running operation. + * + * @param args Unused arguments to the program. + */ + public static void main(String[] args) { + TextAnalyticsAsyncClient client = + new TextAnalyticsClientBuilder() + .credential(new AzureKeyCredential("{key}")) + .endpoint("{endpoint}") + .buildAsyncClient(); + + List documents = new ArrayList<>(); + for (int i = 0; i < 3; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), + "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months.")); + } + + // Request options: show statistics and model version + RecognizeHealthcareEntityOptions options = new RecognizeHealthcareEntityOptions() + .setIncludeStatistics(true); + + client.beginAnalyzeHealthcare(documents, options) + .flatMap(AsyncPollResponse::getFinalResult) + .subscribe(healthcareTaskResultPagedFlux -> { + healthcareTaskResultPagedFlux.subscribe( + healthcareTaskResult -> { + System.out.printf("Job display name: %s, job ID: %s.%n", healthcareTaskResult.getDisplayName(), + healthcareTaskResult.getJobId()); + + RecognizeHealthcareEntitiesResultCollection healthcareEntitiesResultCollection = healthcareTaskResult.getResult(); + // Model version + System.out.printf("Results of Azure Text Analytics \"Analyze Healthcare\" Model, version: %s%n", + healthcareEntitiesResultCollection.getModelVersion()); + + // Batch statistics + TextDocumentBatchStatistics batchStatistics = healthcareEntitiesResultCollection.getStatistics(); + System.out.printf("Documents statistics: document count = %s, erroneous document count = %s, transaction count = %s, valid document count = %s.%n", + batchStatistics.getDocumentCount(), batchStatistics.getInvalidDocumentCount(), + batchStatistics.getTransactionCount(), batchStatistics.getValidDocumentCount()); + + healthcareEntitiesResultCollection.forEach(healthcareEntitiesResult -> { + System.out.println("document id = " + healthcareEntitiesResult.getId()); + System.out.println("Document entities: "); + HealthcareEntityCollection healthcareEntities = healthcareEntitiesResult.getEntities(); + AtomicInteger ct = new AtomicInteger(); + healthcareEntities.forEach(healthcareEntity -> { + System.out.printf("\ti = %d, Text: %s, category: %s, subcategory: %s, confidence score: %f.%n", + ct.getAndIncrement(), + healthcareEntity.getText(), healthcareEntity.getCategory(), healthcareEntity.getSubcategory(), + healthcareEntity.getConfidenceScore()); + }); + + healthcareEntities.getEntityRelations().forEach( + healthcareEntityRelation -> + System.out.printf("Is bidirectional: %s, target: %s, source: %s, relation type: %s.%n", + healthcareEntityRelation.isBidirectional(), + healthcareEntityRelation.getTargetLink(), + healthcareEntityRelation.getSourceLink(), + healthcareEntityRelation.getRelationType())); + }); + } + ); + }); + + + // The .subscribe() creation and assignment is not a blocking call. For the purpose of this example, we sleep + // the thread so the program does not end before the send operation is complete. Using .block() instead of + // .subscribe() will turn this into a synchronous call. + try { + TimeUnit.MINUTES.sleep(20); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJob.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJob.java new file mode 100644 index 0000000000000..f0a7a7f0a55b9 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJob.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.lro; + +import com.azure.ai.textanalytics.TextAnalyticsClient; +import com.azure.ai.textanalytics.TextAnalyticsClientBuilder; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; +import com.azure.ai.textanalytics.models.TextDocumentInput; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.rest.PagedIterable; +import com.azure.core.util.Context; +import com.azure.core.util.polling.PollResponse; +import com.azure.core.util.polling.SyncPoller; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; + +/** + * Sample demonstrates how to cancel a healthcare job. + */ +public class CancelHealthcareJob { + /** + * Main method to invoke this demo about how to cancel the healthcare long-running operation. + * + * @param args Unused arguments to the program. + */ + public static void main(String[] args) { + TextAnalyticsClient client = + new TextAnalyticsClientBuilder() + .credential(new AzureKeyCredential("{key}")) + .endpoint("{endpoint}") + .buildClient(); + + List documents = new ArrayList<>(); + for (int i = 0; i < 10; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), + "RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | " + + "CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 " + + "Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: " + + "CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: " + + "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. " + + "The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and " + + "50% left main disease , with a strong family history of coronary artery disease with a brother dying at " + + "the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. " + + "The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities ," + + "but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions " + + "in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's " + + "increased symptoms and family history and history left main disease with total occasional of his RCA was referred " + + "for revascularization with open heart surgery.")); + } + + SyncPoller> syncPoller = + client.beginAnalyzeHealthcare(documents, null, Context.NONE); + + PollResponse pollResponse = syncPoller.poll(); + + System.out.printf("The Job ID that is cancelling is %s.%n", pollResponse.getValue().getResultId()); + + final SyncPoller textAnalyticsOperationResultVoidSyncPoller + = client.beginCancelAnalyzeHealthcare(UUID.fromString(pollResponse.getValue().getResultId()), Context.NONE); + + final PollResponse poll = textAnalyticsOperationResultVoidSyncPoller.poll(); + System.out.printf("Task status: %s.%n", poll.getStatus()); + + syncPoller.waitForCompletion(); + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJobAsync.java b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJobAsync.java new file mode 100644 index 0000000000000..cafa3c2e0ddbd --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/samples/java/com/azure/ai/textanalytics/lro/CancelHealthcareJobAsync.java @@ -0,0 +1,81 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.ai.textanalytics.lro; + +import com.azure.ai.textanalytics.TextAnalyticsAsyncClient; +import com.azure.ai.textanalytics.TextAnalyticsClientBuilder; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; +import com.azure.ai.textanalytics.models.TextDocumentInput; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.rest.PagedFlux; +import com.azure.core.util.polling.PollResponse; +import com.azure.core.util.polling.SyncPoller; + +import java.util.ArrayList; +import java.util.List; +import java.util.UUID; +import java.util.concurrent.TimeUnit; + +/** + * Sample demonstrates how to asynchronously cancel a healthcare job. + */ +public class CancelHealthcareJobAsync { + /** + * Main method to invoke this demo about how to cancel the healthcare long-running operation. + * + * @param args Unused arguments to the program. + */ + public static void main(String[] args) { + TextAnalyticsAsyncClient client = + new TextAnalyticsClientBuilder() + .credential(new AzureKeyCredential("{key}")) + .endpoint("{endpoint}") + .buildAsyncClient(); + + List documents = new ArrayList<>(); + for (int i = 0; i < 10; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), + "RECORD #333582770390100 | MH | 85986313 | | 054351 | 2/14/2001 12:00:00 AM | " + + "CORONARY ARTERY DISEASE | Signed | DIS | Admission Date: 5/22/2001 " + + "Report Status: Signed Discharge Date: 4/24/2001 ADMISSION DIAGNOSIS: " + + "CORONARY ARTERY DISEASE. HISTORY OF PRESENT ILLNESS: " + + "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months. " + + "The patient had a cardiac catheterization in July of this year revealing total occlusion of the RCA and " + + "50% left main disease , with a strong family history of coronary artery disease with a brother dying at " + + "the age of 52 from a myocardial infarction and another brother who is status post coronary artery bypass grafting. " + + "The patient had a stress echocardiogram done on July , 2001 , which showed no wall motion abnormalities ," + + "but this was a difficult study due to body habitus. The patient went for six minutes with minimal ST depressions " + + "in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent. Due to the patient's " + + "increased symptoms and family history and history left main disease with total occasional of his RCA was referred " + + "for revascularization with open heart surgery.")); + } + + SyncPoller> syncPoller = + client.beginAnalyzeHealthcare(documents, null) + .getSyncPoller(); + + PollResponse pollResponse = syncPoller.poll(); + + System.out.printf("The Job ID that is cancelling is %s.%n", pollResponse.getValue().getResultId()); + + client.beginCancelAnalyzeHealthcare(UUID.fromString(pollResponse.getValue().getResultId())) + .map(response -> { + System.out.println(response.getStatus()); + return response; + }) + .subscribe(dummyVar -> System.out.println("Job is successfully cancelled.")); + + syncPoller.waitForCompletion(); + + // The .subscribe() creation and assignment is not a blocking call. For the purpose of this example, we sleep + // the thread so the program does not end before the send operation is complete. Using .block() instead of + // .subscribe() will turn this into a synchronous call. + try { + TimeUnit.MINUTES.sleep(20); + } catch (InterruptedException e) { + e.printStackTrace(); + } + } +} diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java index cbdd6223d26fc..89b2c757935d0 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TestUtils.java @@ -3,6 +3,12 @@ package com.azure.ai.textanalytics; +import com.azure.ai.textanalytics.implementation.HealthcareEntityCollectionPropertiesHelper; +import com.azure.ai.textanalytics.implementation.HealthcareEntityPropertiesHelper; +import com.azure.ai.textanalytics.implementation.HealthcareEntityRelationPropertiesHelper; +import com.azure.ai.textanalytics.implementation.HealthcareTaskResultPropertiesHelper; +import com.azure.ai.textanalytics.implementation.RecognizeHealthcareEntitiesResultCollectionPropertiesHelper; +import com.azure.ai.textanalytics.implementation.RecognizeHealthcareEntitiesResultPropertiesHelper; import com.azure.ai.textanalytics.models.AnalyzeSentimentResult; import com.azure.ai.textanalytics.models.AspectSentiment; import com.azure.ai.textanalytics.models.CategorizedEntity; @@ -13,6 +19,10 @@ import com.azure.ai.textanalytics.models.DocumentSentiment; import com.azure.ai.textanalytics.models.EntityCategory; import com.azure.ai.textanalytics.models.ExtractKeyPhraseResult; +import com.azure.ai.textanalytics.models.HealthcareEntity; +import com.azure.ai.textanalytics.models.HealthcareEntityCollection; +import com.azure.ai.textanalytics.models.HealthcareEntityRelation; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; import com.azure.ai.textanalytics.models.KeyPhrasesCollection; import com.azure.ai.textanalytics.models.LinkedEntity; import com.azure.ai.textanalytics.models.LinkedEntityCollection; @@ -22,6 +32,7 @@ import com.azure.ai.textanalytics.models.PiiEntity; import com.azure.ai.textanalytics.models.PiiEntityCollection; import com.azure.ai.textanalytics.models.RecognizeEntitiesResult; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntitiesResult; import com.azure.ai.textanalytics.models.RecognizeLinkedEntitiesResult; import com.azure.ai.textanalytics.models.RecognizePiiEntitiesResult; import com.azure.ai.textanalytics.models.SentenceSentiment; @@ -34,6 +45,7 @@ import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.RecognizeEntitiesResultCollection; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizeLinkedEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizePiiEntitiesResultCollection; import com.azure.core.exception.HttpResponseException; @@ -96,6 +108,10 @@ final class TestUtils { static final String PII_ENTITY_OFFSET_INPUT = "SSN: 859-98-0987"; static final String SENTIMENT_OFFSET_INPUT = "The hotel was dark and unclean."; + static final List HEALTHCARE_INPUTS = asList( + "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months.", + "The patient went for six minutes with minimal ST depressions in the anterior lateral leads , thought due to fatigue and wrist pain , his anginal equivalent."); + // "personal" and "social" are common to both English and Spanish and if given with limited context the // response will be based on the "US" country hint. If the origin of the text is known to be coming from // Spanish that can be given as a hint. @@ -417,6 +433,236 @@ static DocumentSentiment getExpectedDocumentSentiment2() { )), null); } + /** + * Helper method that get a single-page (healthcareTaskResult) list. + */ + static List getExpectedHealthcareTaskResultListForSinglePage() { + return asList( + getExpectedHealthcareTaskResult(getExpectedBatchHealthcareEntitiesWithPageSize( + 2, + asList(getRecognizeHealthcareEntitiesResult1("0"), getRecognizeHealthcareEntitiesResult2())))); + } + + /** + * Helper method that get a multiple-pages (healthcareTaskResult) list. + */ + static List getExpectedHealthcareTaskResultListForMultiplePages() { + List healthcareEntitiesResults1 = new ArrayList<>(); + // First Page + int i = 0; + for (; i < 20; i++) { + healthcareEntitiesResults1.add(getRecognizeHealthcareEntitiesResult1(Integer.toString(i))); + } + // Second Page + List healthcareEntitiesResults2 = new ArrayList<>(); + for (; i < 22; i++) { + healthcareEntitiesResults2.add(getRecognizeHealthcareEntitiesResult1(Integer.toString(i))); + } + + return asList( + getExpectedHealthcareTaskResult(getExpectedBatchHealthcareEntitiesWithPageSize( + 22, healthcareEntitiesResults1)), + getExpectedHealthcareTaskResult(getExpectedBatchHealthcareEntitiesWithPageSize( + 22, healthcareEntitiesResults2)) + ); + } + + /** + * Helper method that get the expected RecognizeHealthcareEntitiesResultCollection result in page. + */ + static RecognizeHealthcareEntitiesResultCollection getExpectedBatchHealthcareEntitiesWithPageSize(int sizePerPage, + List healthcareEntitiesResults) { + TextDocumentBatchStatistics textDocumentBatchStatistics = new TextDocumentBatchStatistics( + sizePerPage, sizePerPage, 0, sizePerPage); + final RecognizeHealthcareEntitiesResultCollection recognizeHealthcareEntitiesResults = + new RecognizeHealthcareEntitiesResultCollection(healthcareEntitiesResults); + RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.setModelVersion(recognizeHealthcareEntitiesResults, + "2020-09-03"); + RecognizeHealthcareEntitiesResultCollectionPropertiesHelper.setStatistics(recognizeHealthcareEntitiesResults, + textDocumentBatchStatistics); + return recognizeHealthcareEntitiesResults; + } + + /** + * Helper method that get the expected HealthcareTaskResult result. + */ + static HealthcareTaskResult getExpectedHealthcareTaskResult( + RecognizeHealthcareEntitiesResultCollection recognizeHealthcareEntitiesResults) { + final HealthcareTaskResult healthcareTaskResult = new HealthcareTaskResult(null, null, + null, null, null, null); + HealthcareTaskResultPropertiesHelper.setResult(healthcareTaskResult, recognizeHealthcareEntitiesResults); + return healthcareTaskResult; + } + + /** + * Result for + * "The patient is a 54-year-old gentleman with a history of progressive angina over the past several months.", + */ + static RecognizeHealthcareEntitiesResult getRecognizeHealthcareEntitiesResult1(String documentId) { + TextDocumentStatistics textDocumentStatistics1 = new TextDocumentStatistics(105, 1); + // HealthcareEntity + final HealthcareEntity healthcareEntity1 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity1, "54-year-old"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity1, EntityCategory.fromString("Age")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity1, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity1, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity1, 17); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity1, false); + final HealthcareEntity healthcareEntity2 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity2, "gentleman"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity2, EntityCategory.fromString("Gender")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity2, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity2, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity2, 29); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity2, false); + // there are too many entity links, we can just assert it is not null. + HealthcareEntityPropertiesHelper.setHealthcareEntityLinks(healthcareEntity2, new ArrayList<>()); + final HealthcareEntity healthcareEntity3 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity3, "progressive"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity3, EntityCategory.fromString("ConditionQualifier")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity3, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity3, 0.91); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity3, 57); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity3, false); + final HealthcareEntity healthcareEntity4 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity4, "angina"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity4, EntityCategory.fromString("SymptomOrSign")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity4, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity4, 0.81); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity4, 69); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity4, false); + // there are too many entity links, we can just assert it is not null. + HealthcareEntityPropertiesHelper.setHealthcareEntityLinks(healthcareEntity4, new ArrayList<>()); + final HealthcareEntity healthcareEntity5 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity5, "past several months"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity5, EntityCategory.fromString("Time")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity5, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity5, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity5, 85); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity5, false); + + // HealthcareEntityRelation + final HealthcareEntityRelation healthcareEntityRelation1 = new HealthcareEntityRelation(); + HealthcareEntityRelationPropertiesHelper.setRelationType(healthcareEntityRelation1, + "QualifierOfCondition"); + HealthcareEntityRelationPropertiesHelper.setBidirectional(healthcareEntityRelation1, false); + HealthcareEntityRelationPropertiesHelper.setSourceLink(healthcareEntityRelation1, + "#/results/documents/0/entities/2"); + HealthcareEntityRelationPropertiesHelper.setTargetLink(healthcareEntityRelation1, + "#/results/documents/0/entities/3"); + final HealthcareEntityRelation healthcareEntityRelation2 = new HealthcareEntityRelation(); + HealthcareEntityRelationPropertiesHelper.setRelationType(healthcareEntityRelation2, "TimeOfCondition"); + HealthcareEntityRelationPropertiesHelper.setBidirectional(healthcareEntityRelation2, false); + HealthcareEntityRelationPropertiesHelper.setSourceLink(healthcareEntityRelation2, + "#/results/documents/0/entities/4"); + HealthcareEntityRelationPropertiesHelper.setTargetLink(healthcareEntityRelation2, + "#/results/documents/0/entities/3"); + + // HealthcareEntityCollection + final HealthcareEntityCollection healthcareEntityCollection1 = new HealthcareEntityCollection( + new IterableStream<>(asList(healthcareEntity1, healthcareEntity2, healthcareEntity3, healthcareEntity4, + healthcareEntity5))); + HealthcareEntityCollectionPropertiesHelper.setEntityRelations(healthcareEntityCollection1, + new IterableStream<>(asList(healthcareEntityRelation1, healthcareEntityRelation2))); + + // RecognizeHealthcareEntitiesResult + final RecognizeHealthcareEntitiesResult healthcareEntitiesResult1 = new RecognizeHealthcareEntitiesResult(documentId, + textDocumentStatistics1, null); + RecognizeHealthcareEntitiesResultPropertiesHelper.setEntities(healthcareEntitiesResult1, + healthcareEntityCollection1); + + return healthcareEntitiesResult1; + } + + /** + * Result for + * "The patient went for six minutes with minimal ST depressions in the anterior lateral leads , + * thought due to fatigue and wrist pain , his anginal equivalent." + */ + static RecognizeHealthcareEntitiesResult getRecognizeHealthcareEntitiesResult2() { + TextDocumentStatistics textDocumentStatistics = new TextDocumentStatistics(156, 1); + // HealthcareEntity + final HealthcareEntity healthcareEntity1 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity1, "minutes"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity1, EntityCategory.fromString("Time")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity1, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity1, 0.87); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity1, 25); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity1, false); + final HealthcareEntity healthcareEntity2 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity2, "minimal"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity2, EntityCategory.fromString("ConditionQualifier")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity2, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity2, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity2, 38); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity2, false); + final HealthcareEntity healthcareEntity3 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity3, "ST depressions in the anterior lateral leads"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity3, EntityCategory.fromString("SymptomOrSign")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity3, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity3, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity3, 46); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity3, false); + final HealthcareEntity healthcareEntity4 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity4, "fatigue"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity4, EntityCategory.fromString("SymptomOrSign")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity4, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity4, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity4, 108); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity4, false); + // there are too many entity links, we can just assert it is not null. + HealthcareEntityPropertiesHelper.setHealthcareEntityLinks(healthcareEntity4, new ArrayList<>()); + final HealthcareEntity healthcareEntity5 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity5, "wrist pain"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity5, EntityCategory.fromString("SymptomOrSign")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity5, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity5, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity5, 120); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity5, false); + // there are too many entity links, we can just assert it is not null. + HealthcareEntityPropertiesHelper.setHealthcareEntityLinks(healthcareEntity5, new ArrayList<>()); + final HealthcareEntity healthcareEntity6 = new HealthcareEntity(); + HealthcareEntityPropertiesHelper.setText(healthcareEntity6, "anginal equivalent"); + HealthcareEntityPropertiesHelper.setCategory(healthcareEntity6, EntityCategory.fromString("SymptomOrSign")); + HealthcareEntityPropertiesHelper.setSubcategory(healthcareEntity6, null); + HealthcareEntityPropertiesHelper.setConfidenceScore(healthcareEntity6, 1.0); + HealthcareEntityPropertiesHelper.setOffset(healthcareEntity6, 137); + HealthcareEntityPropertiesHelper.setNegated(healthcareEntity6, false); + // there are too many entity links, we can just assert it is not null. + HealthcareEntityPropertiesHelper.setHealthcareEntityLinks(healthcareEntity6, new ArrayList<>()); + + // HealthcareEntityRelation + final HealthcareEntityRelation healthcareEntityRelation1 = new HealthcareEntityRelation(); + HealthcareEntityRelationPropertiesHelper.setRelationType(healthcareEntityRelation1, "TimeOfCondition"); + HealthcareEntityRelationPropertiesHelper.setBidirectional(healthcareEntityRelation1, false); + HealthcareEntityRelationPropertiesHelper.setSourceLink(healthcareEntityRelation1, + "#/results/documents/1/entities/0"); + HealthcareEntityRelationPropertiesHelper.setTargetLink(healthcareEntityRelation1, + "#/results/documents/1/entities/2"); + final HealthcareEntityRelation healthcareEntityRelation2 = new HealthcareEntityRelation(); + HealthcareEntityRelationPropertiesHelper.setRelationType(healthcareEntityRelation2, + "QualifierOfCondition"); + HealthcareEntityRelationPropertiesHelper.setBidirectional(healthcareEntityRelation2, false); + HealthcareEntityRelationPropertiesHelper.setSourceLink(healthcareEntityRelation2, + "#/results/documents/1/entities/1"); + HealthcareEntityRelationPropertiesHelper.setTargetLink(healthcareEntityRelation2, + "#/results/documents/1/entities/2"); + + // HealthcareEntityCollection + final HealthcareEntityCollection healthcareEntityCollection = new HealthcareEntityCollection( + new IterableStream<>(asList(healthcareEntity1, healthcareEntity2, healthcareEntity3, healthcareEntity4, + healthcareEntity5, healthcareEntity6))); + HealthcareEntityCollectionPropertiesHelper.setEntityRelations(healthcareEntityCollection, + new IterableStream<>(asList(healthcareEntityRelation1, healthcareEntityRelation2))); + + // RecognizeHealthcareEntitiesResult + final RecognizeHealthcareEntitiesResult healthcareEntitiesResult = new RecognizeHealthcareEntitiesResult("1", + textDocumentStatistics, null); + RecognizeHealthcareEntitiesResultPropertiesHelper.setEntities(healthcareEntitiesResult, + healthcareEntityCollection); + return healthcareEntitiesResult; + } + /** * Returns a stream of arguments that includes all combinations of eligible {@link HttpClient HttpClients} and * service versions that should be tested. diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java index aa07870c3a23f..5495a3d96b927 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsAsyncClientTest.java @@ -5,17 +5,22 @@ import com.azure.ai.textanalytics.models.AnalyzeSentimentOptions; import com.azure.ai.textanalytics.models.DocumentSentiment; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; import com.azure.ai.textanalytics.models.PiiEntityDomainType; import com.azure.ai.textanalytics.models.RecognizePiiEntityOptions; import com.azure.ai.textanalytics.models.SentenceSentiment; import com.azure.ai.textanalytics.models.SentimentConfidenceScores; import com.azure.ai.textanalytics.models.TextAnalyticsError; import com.azure.ai.textanalytics.models.TextAnalyticsException; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; import com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions; import com.azure.ai.textanalytics.models.TextSentiment; import com.azure.core.exception.HttpResponseException; import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.PagedFlux; import com.azure.core.util.IterableStream; +import com.azure.core.util.polling.PollResponse; +import com.azure.core.util.polling.SyncPoller; import org.junit.jupiter.api.AfterAll; import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.params.ParameterizedTest; @@ -24,6 +29,7 @@ import java.time.Duration; import java.util.Arrays; +import java.util.UUID; import java.util.stream.Collectors; import static com.azure.ai.textanalytics.TestUtils.CATEGORIZED_ENTITY_INPUTS; @@ -42,6 +48,8 @@ import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchPiiEntitiesForDomainFilter; import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchTextSentiment; import static com.azure.ai.textanalytics.TestUtils.getExpectedDocumentSentiment; +import static com.azure.ai.textanalytics.TestUtils.getExpectedHealthcareTaskResultListForMultiplePages; +import static com.azure.ai.textanalytics.TestUtils.getExpectedHealthcareTaskResultListForSinglePage; import static com.azure.ai.textanalytics.TestUtils.getLinkedEntitiesList1; import static com.azure.ai.textanalytics.TestUtils.getPiiEntitiesList1; import static com.azure.ai.textanalytics.TestUtils.getUnknownDetectedLanguage; @@ -1579,4 +1587,56 @@ public void analyzeSentimentZalgoText(HttpClient httpClient, TextAnalyticsServic })).verifyComplete(), SENTIMENT_OFFSET_INPUT ); } + + // Healthcare LRO + + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") + public void healthcareLroWithOptions(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { + client = getTextAnalyticsAsyncClient(httpClient, serviceVersion); + healthcareLroRunner((documents, options) -> { + SyncPoller> + syncPoller = client.beginAnalyzeHealthcare(documents, options).getSyncPoller(); + syncPoller.waitForCompletion(); + PagedFlux healthcareEntitiesResultCollectionPagedFlux + = syncPoller.getFinalResult(); + validateHealthcareTaskResult( + options.isIncludeStatistics(), + getExpectedHealthcareTaskResultListForSinglePage(), + healthcareEntitiesResultCollectionPagedFlux.toStream().collect(Collectors.toList())); + }); + } + + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") + public void healthcareLroPagination(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { + client = getTextAnalyticsAsyncClient(httpClient, serviceVersion); + healthcareLroPaginationRunner((documents, options) -> { + SyncPoller> + syncPoller = client.beginAnalyzeHealthcare(documents, options).getSyncPoller(); + syncPoller.waitForCompletion(); + PagedFlux healthcareEntitiesResultCollectionPagedFlux + = syncPoller.getFinalResult(); + validateHealthcareTaskResult( + options.isIncludeStatistics(), + getExpectedHealthcareTaskResultListForMultiplePages(), + healthcareEntitiesResultCollectionPagedFlux.toStream().collect(Collectors.toList())); + }); + } + + // Healthcare LRO - Cancellation + + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") + public void cancelHealthcareLroRunner(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { + client = getTextAnalyticsAsyncClient(httpClient, serviceVersion); + cancelHealthcareLroRunner(documents -> { + SyncPoller> + syncPoller = client.beginAnalyzeHealthcare(documents, null).getSyncPoller(); + + PollResponse pollResponse = syncPoller.poll(); + client.beginCancelAnalyzeHealthcare(UUID.fromString(pollResponse.getValue().getResultId())); + syncPoller.waitForCompletion(); + }); + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java index d03979643af7b..529c4fae2a64f 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTest.java @@ -6,6 +6,7 @@ import com.azure.ai.textanalytics.models.AnalyzeSentimentOptions; import com.azure.ai.textanalytics.models.CategorizedEntity; import com.azure.ai.textanalytics.models.DocumentSentiment; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; import com.azure.ai.textanalytics.models.LinkedEntity; import com.azure.ai.textanalytics.models.PiiEntityCollection; import com.azure.ai.textanalytics.models.PiiEntityDomainType; @@ -14,21 +15,26 @@ import com.azure.ai.textanalytics.models.SentimentConfidenceScores; import com.azure.ai.textanalytics.models.TextAnalyticsError; import com.azure.ai.textanalytics.models.TextAnalyticsException; +import com.azure.ai.textanalytics.models.TextAnalyticsOperationResult; import com.azure.ai.textanalytics.models.TextAnalyticsRequestOptions; import com.azure.ai.textanalytics.models.TextSentiment; import com.azure.ai.textanalytics.util.RecognizeEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizePiiEntitiesResultCollection; import com.azure.core.exception.HttpResponseException; import com.azure.core.http.HttpClient; +import com.azure.core.http.rest.PagedIterable; import com.azure.core.http.rest.Response; import com.azure.core.util.Context; import com.azure.core.util.IterableStream; +import com.azure.core.util.polling.PollResponse; +import com.azure.core.util.polling.SyncPoller; import org.junit.jupiter.params.ParameterizedTest; import org.junit.jupiter.params.provider.MethodSource; import java.net.HttpURLConnection; import java.util.Arrays; import java.util.List; +import java.util.UUID; import java.util.stream.Collectors; import static com.azure.ai.textanalytics.TestUtils.CATEGORIZED_ENTITY_INPUTS; @@ -47,6 +53,8 @@ import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchPiiEntitiesForDomainFilter; import static com.azure.ai.textanalytics.TestUtils.getExpectedBatchTextSentiment; import static com.azure.ai.textanalytics.TestUtils.getExpectedDocumentSentiment; +import static com.azure.ai.textanalytics.TestUtils.getExpectedHealthcareTaskResultListForMultiplePages; +import static com.azure.ai.textanalytics.TestUtils.getExpectedHealthcareTaskResultListForSinglePage; import static com.azure.ai.textanalytics.TestUtils.getLinkedEntitiesList1; import static com.azure.ai.textanalytics.TestUtils.getPiiEntitiesList1; import static com.azure.ai.textanalytics.TestUtils.getUnknownDetectedLanguage; @@ -1515,4 +1523,54 @@ public void analyzeSentimentZalgoText(HttpClient httpClient, TextAnalyticsServic SENTIMENT_OFFSET_INPUT ); } + + // Healthcare LRO + + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") + public void healthcareLroWithOptions(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { + client = getTextAnalyticsClient(httpClient, serviceVersion); + healthcareLroRunner((documents, options) -> { + SyncPoller> + syncPoller = client.beginAnalyzeHealthcare(documents, options, Context.NONE); + syncPoller.waitForCompletion(); + PagedIterable healthcareTaskResults = syncPoller.getFinalResult(); + validateHealthcareTaskResult( + options.isIncludeStatistics(), + getExpectedHealthcareTaskResultListForSinglePage(), + healthcareTaskResults.stream().collect(Collectors.toList())); + }); + } + + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") + public void healthcareLroPagination(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { + client = getTextAnalyticsClient(httpClient, serviceVersion); + healthcareLroPaginationRunner((documents, options) -> { + SyncPoller> + syncPoller = client.beginAnalyzeHealthcare(documents, options, Context.NONE); + syncPoller.waitForCompletion(); + PagedIterable healthcareTaskResults = syncPoller.getFinalResult(); + validateHealthcareTaskResult( + options.isIncludeStatistics(), + getExpectedHealthcareTaskResultListForMultiplePages(), + healthcareTaskResults.stream().collect(Collectors.toList())); + }); + } + + // Healthcare LRO - Cancellation + + @ParameterizedTest(name = DISPLAY_NAME_WITH_ARGUMENTS) + @MethodSource("com.azure.ai.textanalytics.TestUtils#getTestParameters") + public void cancelHealthcareLroRunner(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion) { + client = getTextAnalyticsClient(httpClient, serviceVersion); + cancelHealthcareLroRunner(documents -> { + SyncPoller> + syncPoller = client.beginAnalyzeHealthcare(documents, null, Context.NONE); + + PollResponse pollResponse = syncPoller.poll(); + client.beginCancelAnalyzeHealthcare(UUID.fromString(pollResponse.getValue().getResultId()), Context.NONE); + syncPoller.waitForCompletion(); + }); + } } diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java index 28c554b4e8f61..6e7200fed3286 100644 --- a/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/java/com/azure/ai/textanalytics/TextAnalyticsClientTestBase.java @@ -9,6 +9,9 @@ import com.azure.ai.textanalytics.models.DetectLanguageInput; import com.azure.ai.textanalytics.models.DetectedLanguage; import com.azure.ai.textanalytics.models.DocumentSentiment; +import com.azure.ai.textanalytics.models.HealthcareEntity; +import com.azure.ai.textanalytics.models.HealthcareEntityLink; +import com.azure.ai.textanalytics.models.HealthcareTaskResult; import com.azure.ai.textanalytics.models.LinkedEntity; import com.azure.ai.textanalytics.models.LinkedEntityMatch; import com.azure.ai.textanalytics.models.MinedOpinion; @@ -16,6 +19,7 @@ import com.azure.ai.textanalytics.models.PiiEntity; import com.azure.ai.textanalytics.models.PiiEntityCollection; import com.azure.ai.textanalytics.models.PiiEntityDomainType; +import com.azure.ai.textanalytics.models.RecognizeHealthcareEntityOptions; import com.azure.ai.textanalytics.models.RecognizePiiEntityOptions; import com.azure.ai.textanalytics.models.SentenceSentiment; import com.azure.ai.textanalytics.models.TextAnalyticsError; @@ -28,6 +32,7 @@ import com.azure.ai.textanalytics.util.DetectLanguageResultCollection; import com.azure.ai.textanalytics.util.ExtractKeyPhrasesResultCollection; import com.azure.ai.textanalytics.util.RecognizeEntitiesResultCollection; +import com.azure.ai.textanalytics.util.RecognizeHealthcareEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizeLinkedEntitiesResultCollection; import com.azure.ai.textanalytics.util.RecognizePiiEntitiesResultCollection; import com.azure.core.credential.AzureKeyCredential; @@ -39,10 +44,9 @@ import com.azure.core.test.TestMode; import com.azure.core.util.Configuration; import com.azure.core.util.IterableStream; -import com.azure.identity.DefaultAzureCredentialBuilder; import org.junit.jupiter.api.Test; -import java.util.Arrays; +import java.util.ArrayList; import java.util.Collections; import java.util.Comparator; import java.util.List; @@ -54,6 +58,7 @@ import static com.azure.ai.textanalytics.TestUtils.CATEGORIZED_ENTITY_INPUTS; import static com.azure.ai.textanalytics.TestUtils.DETECT_LANGUAGE_INPUTS; import static com.azure.ai.textanalytics.TestUtils.FAKE_API_KEY; +import static com.azure.ai.textanalytics.TestUtils.HEALTHCARE_INPUTS; import static com.azure.ai.textanalytics.TestUtils.KEY_PHRASE_INPUTS; import static com.azure.ai.textanalytics.TestUtils.LINKED_ENTITY_INPUTS; import static com.azure.ai.textanalytics.TestUtils.PII_ENTITY_INPUTS; @@ -61,9 +66,11 @@ import static com.azure.ai.textanalytics.TestUtils.TOO_LONG_INPUT; import static com.azure.ai.textanalytics.TestUtils.getDuplicateTextDocumentInputs; import static com.azure.ai.textanalytics.TestUtils.getWarningsTextDocumentInputs; +import static java.util.Arrays.asList; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertNull; +import static org.junit.jupiter.api.Assertions.assertTrue; public abstract class TextAnalyticsClientTestBase extends TestBase { static final String BATCH_ERROR_EXCEPTION_MESSAGE = "Error in accessing the property on document id: 2, when %s returned with an error: Document text is empty. ErrorCodeValue: {InvalidDocument}"; @@ -288,6 +295,17 @@ public abstract class TextAnalyticsClientTestBase extends TestBase { @Test abstract void analyzeSentimentBatchTooManyDocuments(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion); + // Healthcare LRO + @Test + abstract void healthcareLroWithOptions(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion); + + @Test + abstract void healthcareLroPagination(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion); + + // Healthcare LRO - Cancellation + @Test + abstract void cancelHealthcareLroRunner(HttpClient httpClient, TextAnalyticsServiceVersion serviceVersion); + // Detect Language runner void detectLanguageShowStatisticsRunner(BiConsumer, TextAnalyticsRequestOptions> testRunner) { @@ -543,17 +561,17 @@ void faultyTextRunner(Consumer testRunner) { } void detectLanguageInputEmptyIdRunner(Consumer> testRunner) { - testRunner.accept(Arrays.asList(new DetectLanguageInput("", DETECT_LANGUAGE_INPUTS.get(0)))); + testRunner.accept(asList(new DetectLanguageInput("", DETECT_LANGUAGE_INPUTS.get(0)))); } void textAnalyticsInputEmptyIdRunner(Consumer> testRunner) { - testRunner.accept(Arrays.asList(new TextDocumentInput("", CATEGORIZED_ENTITY_INPUTS.get(0)))); + testRunner.accept(asList(new TextDocumentInput("", CATEGORIZED_ENTITY_INPUTS.get(0)))); } void tooManyDocumentsRunner(Consumer> testRunner) { final String documentInput = CATEGORIZED_ENTITY_INPUTS.get(0); // max num of document size is 10 - testRunner.accept(Arrays.asList( + testRunner.accept(asList( documentInput, documentInput, documentInput, documentInput, documentInput, documentInput, documentInput, documentInput, documentInput, documentInput, documentInput, documentInput)); } @@ -596,6 +614,34 @@ void zalgoTextRunner(Consumer testRunner, String text) { testRunner.accept("ơ̵̧̧̢̳̘̘͕͔͕̭̟̙͎͈̞͔̈̇̒̃͋̇̅͛̋͛̎́͑̄̐̂̎͗͝m̵͍͉̗̄̏͌̂̑̽̕͝͠g̵̢̡̢̡̨̡̧̛͉̞̯̠̤̣͕̟̫̫̼̰͓̦͖̣̣͎̋͒̈́̓̒̈̍̌̓̅͑̒̓̅̅͒̿̏́͗̀̇͛̏̀̈́̀̊̾̀̔͜͠͝ͅ " + text); } + // Healthcare LRO runner + void healthcareLroRunner(BiConsumer, RecognizeHealthcareEntityOptions> testRunner) { + testRunner.accept( + asList( + new TextDocumentInput("0", HEALTHCARE_INPUTS.get(0)), + new TextDocumentInput("1", HEALTHCARE_INPUTS.get(1))), + new RecognizeHealthcareEntityOptions().setIncludeStatistics(true)); + } + + void healthcareLroPaginationRunner( + BiConsumer, RecognizeHealthcareEntityOptions> testRunner) { + List documents = new ArrayList<>(); + // Service has 20 as the default size per page. So there will be 2 remaining page in the next page link + for (int i = 0; i < 22; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), HEALTHCARE_INPUTS.get(0))); + } + testRunner.accept(documents, new RecognizeHealthcareEntityOptions().setIncludeStatistics(true)); + } + + // Healthcare LRO runner- Cancellation + void cancelHealthcareLroRunner(Consumer> testRunner) { + List documents = new ArrayList<>(); + for (int i = 0; i < 10; i++) { + documents.add(new TextDocumentInput(Integer.toString(i), HEALTHCARE_INPUTS.get(0))); + } + testRunner.accept(documents); + } + String getEndpoint() { return interceptorManager.isPlaybackMode() ? "https://localhost:8080" @@ -615,7 +661,8 @@ TextAnalyticsClientBuilder getTextAnalyticsAsyncClientBuilder(HttpClient httpCli if (getTestMode() == TestMode.PLAYBACK) { builder.credential(new AzureKeyCredential(FAKE_API_KEY)); } else { - builder.credential((new DefaultAzureCredentialBuilder().build())); + builder.credential(new AzureKeyCredential( + Configuration.getGlobalConfiguration().get("AZURE_TEXT_ANALYTICS_API_KEY"))); } return builder; } @@ -716,6 +763,14 @@ static void validateSentimentResultCollection(boolean showStatistics, boolean in validateAnalyzedSentiment(includeOpinionMining, expectedItem.getDocumentSentiment(), actualItem.getDocumentSentiment())); } + static void validateRecognizeHealthcareEntitiesResultCollection(boolean showStatistics, + RecognizeHealthcareEntitiesResultCollection expected, RecognizeHealthcareEntitiesResultCollection actual) { + validateTextAnalyticsResult(showStatistics, expected, actual, + (expectedItem, actualItem) -> validateHealthcareEntities( + expectedItem.getEntities().stream().collect(Collectors.toList()), + actualItem.getEntities().stream().collect(Collectors.toList()))); + } + /** * Helper method to validate a single detected language. * @@ -953,6 +1008,43 @@ static void validateAnalyzedSentiment(boolean includeOpinionMining, DocumentSent actualSentiment.getSentences().stream().collect(Collectors.toList())); } + // Healthcare task + static void validateHealthcareEntity(HealthcareEntity expected, HealthcareEntity actual) { + assertEquals(expected.getCategory(), actual.getCategory()); + assertEquals(expected.getSubcategory(), expected.getSubcategory()); + assertEquals(expected.getText(), actual.getText()); + assertEquals(expected.getOffset(), actual.getOffset()); + validateHealthcareEntityLinkList(expected.getDataSourceEntityLinks(), actual.getDataSourceEntityLinks()); + } + + static void validateHealthcareEntityLinkList(List expected, + List actual) { + if (expected == actual) { + return; + } else if (expected == null || actual == null) { + assertTrue(false); + } + } + + static void validateHealthcareEntities(List expected, List actual) { + assertEquals(expected.size(), actual.size()); + expected.sort(Comparator.comparing(HealthcareEntity::getText)); + actual.sort(Comparator.comparing(HealthcareEntity::getText)); + for (int i = 0; i < expected.size(); i++) { + validateHealthcareEntity(expected.get(i), actual.get(i)); + } + } + + static void validateHealthcareTaskResult(boolean showStatistics, List expected, + List actual) { + assertEquals(expected.size(), actual.size()); + + for (int i = 0; i < actual.size(); i++) { + validateRecognizeHealthcareEntitiesResultCollection(showStatistics, + expected.get(i).getResult(), actual.get(i).getResult()); + } + } + /** * Helper method to verify {@link TextAnalyticsResult documents} returned in a batch request. */ @@ -982,6 +1074,9 @@ static > void validat } else if (expectedResults instanceof RecognizeLinkedEntitiesResultCollection) { validateBatchStatistics(((RecognizeLinkedEntitiesResultCollection) expectedResults).getStatistics(), ((RecognizeLinkedEntitiesResultCollection) actualResults).getStatistics()); + } else if (expectedResults instanceof RecognizeHealthcareEntitiesResultCollection) { + validateBatchStatistics(((RecognizeHealthcareEntitiesResultCollection) expectedResults).getStatistics(), + ((RecognizeHealthcareEntitiesResultCollection) actualResults).getStatistics()); } } else { if (expectedResults instanceof AnalyzeSentimentResultCollection) { diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.cancelHealthcareLroRunner[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.cancelHealthcareLroRunner[1].json new file mode 100644 index 0000000000000..209ec466eaad7 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.cancelHealthcareLroRunner[1].json @@ -0,0 +1,66 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs?stringIndexType=Utf16CodeUnit", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "fd3bbf55-01f0-4776-a0d1-9894158a4579", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "232", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "operation-location" : "https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/8a2f306b-e9cb-4f69-9e22-f6062366e859", + "x-content-type-options" : "nosniff", + "apim-request-id" : "60dc22a2-ecd8-469a-af9f-8b1a37e5bd9c", + "retry-after" : "0", + "StatusCode" : "202", + "Date" : "Fri, 06 Nov 2020 03:33:18 GMT" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/8a2f306b-e9cb-4f69-9e22-f6062366e859", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "2c9e8a83-4635-4f7c-9ab5-1775ae64e80a", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "17", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "566c9c43-d5da-4966-a89a-bf02cad3f06a", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"8a2f306b-e9cb-4f69-9e22-f6062366e859\",\"lastUpdateDateTime\":\"2020-11-06T03:33:18Z\",\"createdDateTime\":\"2020-11-06T03:33:18Z\",\"expirationDateTime\":\"2020-11-07T03:33:18Z\",\"status\":\"notStarted\",\"errors\":[]}", + "Date" : "Fri, 06 Nov 2020 03:33:18 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/8a2f306b-e9cb-4f69-9e22-f6062366e859", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "6e99eb4e-52da-40fc-b7ed-2768b0b957d3", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "177", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "f077ca6b-d706-407d-9db4-f2dc86813219", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"8a2f306b-e9cb-4f69-9e22-f6062366e859\",\"lastUpdateDateTime\":\"2020-11-06T03:33:21Z\",\"createdDateTime\":\"2020-11-06T03:33:18Z\",\"expirationDateTime\":\"2020-11-07T03:33:18Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/2\",\"target\":\"#/results/documents/1/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/4\",\"target\":\"#/results/documents/1/entities/3\"}],\"warnings\":[]},{\"id\":\"2\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/2\",\"target\":\"#/results/documents/2/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/4\",\"target\":\"#/results/documents/2/entities/3\"}],\"warnings\":[]},{\"id\":\"3\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/2\",\"target\":\"#/results/documents/3/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/4\",\"target\":\"#/results/documents/3/entities/3\"}],\"warnings\":[]},{\"id\":\"4\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/2\",\"target\":\"#/results/documents/4/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/4\",\"target\":\"#/results/documents/4/entities/3\"}],\"warnings\":[]},{\"id\":\"5\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/2\",\"target\":\"#/results/documents/5/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/4\",\"target\":\"#/results/documents/5/entities/3\"}],\"warnings\":[]},{\"id\":\"6\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/2\",\"target\":\"#/results/documents/6/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/4\",\"target\":\"#/results/documents/6/entities/3\"}],\"warnings\":[]},{\"id\":\"7\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/2\",\"target\":\"#/results/documents/7/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/4\",\"target\":\"#/results/documents/7/entities/3\"}],\"warnings\":[]},{\"id\":\"8\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/2\",\"target\":\"#/results/documents/8/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/4\",\"target\":\"#/results/documents/8/entities/3\"}],\"warnings\":[]},{\"id\":\"9\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/2\",\"target\":\"#/results/documents/9/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/4\",\"target\":\"#/results/documents/9/entities/3\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"}}", + "Date" : "Fri, 06 Nov 2020 03:33:24 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroPagination[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroPagination[1].json new file mode 100644 index 0000000000000..074868247ed65 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroPagination[1].json @@ -0,0 +1,87 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs?stringIndexType=Utf16CodeUnit", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "424dea68-9979-42f5-a221-bf08964b9a98", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "609", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "operation-location" : "https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/53ce03b8-7235-4ed5-bbc4-50792d9f8fb5", + "x-content-type-options" : "nosniff", + "apim-request-id" : "2af6d208-fee3-4b01-a6ac-3f34c9d8e9d3", + "retry-after" : "0", + "StatusCode" : "202", + "Date" : "Fri, 06 Nov 2020 03:55:17 GMT" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/53ce03b8-7235-4ed5-bbc4-50792d9f8fb5?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "765e131e-c2c5-4a99-b016-9eaeafe9d2b1", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "299", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "6a8d6b37-4c95-44ac-8fef-8436083496a1", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"53ce03b8-7235-4ed5-bbc4-50792d9f8fb5\",\"lastUpdateDateTime\":\"2020-11-06T03:55:19Z\",\"createdDateTime\":\"2020-11-06T03:55:17Z\",\"expirationDateTime\":\"2020-11-07T03:55:17Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":22,\"validDocumentsCount\":22,\"erroneousDocumentsCount\":0,\"transactionsCount\":22},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/2\",\"target\":\"#/results/documents/1/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/4\",\"target\":\"#/results/documents/1/entities/3\"}],\"warnings\":[]},{\"id\":\"2\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/2\",\"target\":\"#/results/documents/2/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/4\",\"target\":\"#/results/documents/2/entities/3\"}],\"warnings\":[]},{\"id\":\"3\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/2\",\"target\":\"#/results/documents/3/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/4\",\"target\":\"#/results/documents/3/entities/3\"}],\"warnings\":[]},{\"id\":\"4\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/2\",\"target\":\"#/results/documents/4/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/4\",\"target\":\"#/results/documents/4/entities/3\"}],\"warnings\":[]},{\"id\":\"5\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/2\",\"target\":\"#/results/documents/5/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/4\",\"target\":\"#/results/documents/5/entities/3\"}],\"warnings\":[]},{\"id\":\"6\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/2\",\"target\":\"#/results/documents/6/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/4\",\"target\":\"#/results/documents/6/entities/3\"}],\"warnings\":[]},{\"id\":\"7\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/2\",\"target\":\"#/results/documents/7/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/4\",\"target\":\"#/results/documents/7/entities/3\"}],\"warnings\":[]},{\"id\":\"8\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/2\",\"target\":\"#/results/documents/8/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/4\",\"target\":\"#/results/documents/8/entities/3\"}],\"warnings\":[]},{\"id\":\"9\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/2\",\"target\":\"#/results/documents/9/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/4\",\"target\":\"#/results/documents/9/entities/3\"}],\"warnings\":[]},{\"id\":\"10\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/2\",\"target\":\"#/results/documents/10/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/4\",\"target\":\"#/results/documents/10/entities/3\"}],\"warnings\":[]},{\"id\":\"11\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/2\",\"target\":\"#/results/documents/11/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/4\",\"target\":\"#/results/documents/11/entities/3\"}],\"warnings\":[]},{\"id\":\"12\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/2\",\"target\":\"#/results/documents/12/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/4\",\"target\":\"#/results/documents/12/entities/3\"}],\"warnings\":[]},{\"id\":\"13\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/2\",\"target\":\"#/results/documents/13/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/4\",\"target\":\"#/results/documents/13/entities/3\"}],\"warnings\":[]},{\"id\":\"14\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/2\",\"target\":\"#/results/documents/14/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/4\",\"target\":\"#/results/documents/14/entities/3\"}],\"warnings\":[]},{\"id\":\"15\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/2\",\"target\":\"#/results/documents/15/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/4\",\"target\":\"#/results/documents/15/entities/3\"}],\"warnings\":[]},{\"id\":\"16\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/2\",\"target\":\"#/results/documents/16/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/4\",\"target\":\"#/results/documents/16/entities/3\"}],\"warnings\":[]},{\"id\":\"17\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/2\",\"target\":\"#/results/documents/17/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/4\",\"target\":\"#/results/documents/17/entities/3\"}],\"warnings\":[]},{\"id\":\"18\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/2\",\"target\":\"#/results/documents/18/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/4\",\"target\":\"#/results/documents/18/entities/3\"}],\"warnings\":[]},{\"id\":\"19\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/2\",\"target\":\"#/results/documents/19/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/4\",\"target\":\"#/results/documents/19/entities/3\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"},\"@nextLink\":\"https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/53ce03b8-7235-4ed5-bbc4-50792d9f8fb5?$skip=20&$top=2\"}", + "Date" : "Fri, 06 Nov 2020 03:55:23 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/53ce03b8-7235-4ed5-bbc4-50792d9f8fb5?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "afc715a7-1c69-4c82-8c83-c53ee42d7683", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "286", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "9e75e18c-7e15-4b0a-927e-dac812a2653f", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"53ce03b8-7235-4ed5-bbc4-50792d9f8fb5\",\"lastUpdateDateTime\":\"2020-11-06T03:55:19Z\",\"createdDateTime\":\"2020-11-06T03:55:17Z\",\"expirationDateTime\":\"2020-11-07T03:55:17Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":22,\"validDocumentsCount\":22,\"erroneousDocumentsCount\":0,\"transactionsCount\":22},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/2\",\"target\":\"#/results/documents/1/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/4\",\"target\":\"#/results/documents/1/entities/3\"}],\"warnings\":[]},{\"id\":\"2\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/2\",\"target\":\"#/results/documents/2/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/4\",\"target\":\"#/results/documents/2/entities/3\"}],\"warnings\":[]},{\"id\":\"3\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/2\",\"target\":\"#/results/documents/3/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/4\",\"target\":\"#/results/documents/3/entities/3\"}],\"warnings\":[]},{\"id\":\"4\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/2\",\"target\":\"#/results/documents/4/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/4\",\"target\":\"#/results/documents/4/entities/3\"}],\"warnings\":[]},{\"id\":\"5\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/2\",\"target\":\"#/results/documents/5/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/4\",\"target\":\"#/results/documents/5/entities/3\"}],\"warnings\":[]},{\"id\":\"6\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/2\",\"target\":\"#/results/documents/6/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/4\",\"target\":\"#/results/documents/6/entities/3\"}],\"warnings\":[]},{\"id\":\"7\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/2\",\"target\":\"#/results/documents/7/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/4\",\"target\":\"#/results/documents/7/entities/3\"}],\"warnings\":[]},{\"id\":\"8\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/2\",\"target\":\"#/results/documents/8/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/4\",\"target\":\"#/results/documents/8/entities/3\"}],\"warnings\":[]},{\"id\":\"9\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/2\",\"target\":\"#/results/documents/9/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/4\",\"target\":\"#/results/documents/9/entities/3\"}],\"warnings\":[]},{\"id\":\"10\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/2\",\"target\":\"#/results/documents/10/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/4\",\"target\":\"#/results/documents/10/entities/3\"}],\"warnings\":[]},{\"id\":\"11\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/2\",\"target\":\"#/results/documents/11/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/4\",\"target\":\"#/results/documents/11/entities/3\"}],\"warnings\":[]},{\"id\":\"12\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/2\",\"target\":\"#/results/documents/12/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/4\",\"target\":\"#/results/documents/12/entities/3\"}],\"warnings\":[]},{\"id\":\"13\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/2\",\"target\":\"#/results/documents/13/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/4\",\"target\":\"#/results/documents/13/entities/3\"}],\"warnings\":[]},{\"id\":\"14\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/2\",\"target\":\"#/results/documents/14/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/4\",\"target\":\"#/results/documents/14/entities/3\"}],\"warnings\":[]},{\"id\":\"15\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/2\",\"target\":\"#/results/documents/15/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/4\",\"target\":\"#/results/documents/15/entities/3\"}],\"warnings\":[]},{\"id\":\"16\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/2\",\"target\":\"#/results/documents/16/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/4\",\"target\":\"#/results/documents/16/entities/3\"}],\"warnings\":[]},{\"id\":\"17\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/2\",\"target\":\"#/results/documents/17/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/4\",\"target\":\"#/results/documents/17/entities/3\"}],\"warnings\":[]},{\"id\":\"18\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/2\",\"target\":\"#/results/documents/18/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/4\",\"target\":\"#/results/documents/18/entities/3\"}],\"warnings\":[]},{\"id\":\"19\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/2\",\"target\":\"#/results/documents/19/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/4\",\"target\":\"#/results/documents/19/entities/3\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"},\"@nextLink\":\"https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/53ce03b8-7235-4ed5-bbc4-50792d9f8fb5?$skip=20&$top=2\"}", + "Date" : "Fri, 06 Nov 2020 03:55:24 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/53ce03b8-7235-4ed5-bbc4-50792d9f8fb5?$top=2&$skip=20&showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "f0a7681a-ac70-452c-8c64-71ddad39e614", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "68", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "de55e868-793b-4510-b737-7fec4da308ef", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"53ce03b8-7235-4ed5-bbc4-50792d9f8fb5\",\"lastUpdateDateTime\":\"2020-11-06T03:55:19Z\",\"createdDateTime\":\"2020-11-06T03:55:17Z\",\"expirationDateTime\":\"2020-11-07T03:55:17Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":22,\"validDocumentsCount\":22,\"erroneousDocumentsCount\":0,\"transactionsCount\":22},\"documents\":[{\"id\":\"20\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"21\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/2\",\"target\":\"#/results/documents/1/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/4\",\"target\":\"#/results/documents/1/entities/3\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"}}", + "Date" : "Fri, 06 Nov 2020 03:55:24 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroWithOptions[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroWithOptions[1].json new file mode 100644 index 0000000000000..42a8b1567d4c9 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsAsyncClientTest.healthcareLroWithOptions[1].json @@ -0,0 +1,66 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs?stringIndexType=Utf16CodeUnit", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "029741ec-4620-4dc9-8b07-64950f33c607", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "76", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "operation-location" : "https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/c080ea91-e433-442c-93a6-668f7259d6c7", + "x-content-type-options" : "nosniff", + "apim-request-id" : "1d5f006a-0d34-4b54-bff5-1e766b25267e", + "retry-after" : "0", + "StatusCode" : "202", + "Date" : "Fri, 06 Nov 2020 03:33:38 GMT" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/c080ea91-e433-442c-93a6-668f7259d6c7?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "06f4d53d-fe14-4cb1-abd1-e6422d755763", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "104", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "8e669ad0-f498-45b9-aea9-0e7e40e397ac", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"c080ea91-e433-442c-93a6-668f7259d6c7\",\"lastUpdateDateTime\":\"2020-11-06T03:33:41Z\",\"createdDateTime\":\"2020-11-06T03:33:38Z\",\"expirationDateTime\":\"2020-11-07T03:33:38Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":2},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":156,\"transactionsCount\":1},\"entities\":[{\"offset\":25,\"length\":7,\"text\":\"minutes\",\"category\":\"Time\",\"confidenceScore\":0.87,\"isNegated\":false},{\"offset\":38,\"length\":7,\"text\":\"minimal\",\"category\":\"ConditionQualifier\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":46,\"length\":44,\"text\":\"ST depressions in the anterior lateral leads\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":108,\"length\":7,\"text\":\"fatigue\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015672\"},{\"dataSource\":\"AIR\",\"id\":\"FATIG\"},{\"dataSource\":\"AOD\",\"id\":\"0000001768\"},{\"dataSource\":\"BI\",\"id\":\"BI00028\"},{\"dataSource\":\"CCC\",\"id\":\"A01.4\"},{\"dataSource\":\"CCPSS\",\"id\":\"1014729\"},{\"dataSource\":\"CHV\",\"id\":\"0000004914\"},{\"dataSource\":\"COSTAR\",\"id\":\"298\"},{\"dataSource\":\"CPM\",\"id\":\"65221\"},{\"dataSource\":\"CSP\",\"id\":\"1385-2059\"},{\"dataSource\":\"CST\",\"id\":\"ASTHENIA\"},{\"dataSource\":\"DXP\",\"id\":\"U001451\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0012378\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R53.83\"},{\"dataSource\":\"ICNP\",\"id\":\"10000695\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU080142\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A04004\"},{\"dataSource\":\"LCH\",\"id\":\"U001739\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047465\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013358\"},{\"dataSource\":\"MDR\",\"id\":\"10016256\"},{\"dataSource\":\"MEDCIN\",\"id\":\"273174\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"5324\"},{\"dataSource\":\"MSH\",\"id\":\"D005221\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.79\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00742\"},{\"dataSource\":\"NCI\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11098\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1849\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000321374\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3036\"},{\"dataSource\":\"NOC\",\"id\":\"121028\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU010062\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_00010.03\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000041390\"},{\"dataSource\":\"PSY\",\"id\":\"19400\"},{\"dataSource\":\"RCD\",\"id\":\"1682.\"},{\"dataSource\":\"SNM\",\"id\":\"F-01610\"},{\"dataSource\":\"SNMI\",\"id\":\"F-01360\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"84229001\"},{\"dataSource\":\"WHO\",\"id\":\"0724\"}]},{\"offset\":120,\"length\":10,\"text\":\"wrist pain\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0221785\"},{\"dataSource\":\"BI\",\"id\":\"BI00504\"},{\"dataSource\":\"CCPSS\",\"id\":\"1016217\"},{\"dataSource\":\"CHV\",\"id\":\"0000021489\"},{\"dataSource\":\"COSTAR\",\"id\":\"U000624\"},{\"dataSource\":\"DXP\",\"id\":\"U004491\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0030836\"},{\"dataSource\":\"ICD10CM\",\"id\":\"M25.53\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU060847\"},{\"dataSource\":\"ICPC2P\",\"id\":\"L11002\"},{\"dataSource\":\"MDR\",\"id\":\"10048692\"},{\"dataSource\":\"MEDCIN\",\"id\":\"939\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU016462\"},{\"dataSource\":\"RCD\",\"id\":\"N094F\"},{\"dataSource\":\"SNMI\",\"id\":\"F-176A0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"56608008\"}]},{\"offset\":137,\"length\":18,\"text\":\"anginal equivalent\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0741034\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017783\"},{\"dataSource\":\"CHV\",\"id\":\"0000047213\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.8\"},{\"dataSource\":\"MDR\",\"id\":\"10076419\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"}]}],\"relations\":[{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/0\",\"target\":\"#/results/documents/1/entities/2\"},{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/1\",\"target\":\"#/results/documents/1/entities/2\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"}}", + "Date" : "Fri, 06 Nov 2020 03:33:43 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/c080ea91-e433-442c-93a6-668f7259d6c7?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "b87c01b4-df4d-4c71-80de-3d22459488c5", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "57", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "fb93ccc9-bebb-42a4-a5e5-479ec315f926", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"c080ea91-e433-442c-93a6-668f7259d6c7\",\"lastUpdateDateTime\":\"2020-11-06T03:33:41Z\",\"createdDateTime\":\"2020-11-06T03:33:38Z\",\"expirationDateTime\":\"2020-11-07T03:33:38Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":2},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":156,\"transactionsCount\":1},\"entities\":[{\"offset\":25,\"length\":7,\"text\":\"minutes\",\"category\":\"Time\",\"confidenceScore\":0.87,\"isNegated\":false},{\"offset\":38,\"length\":7,\"text\":\"minimal\",\"category\":\"ConditionQualifier\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":46,\"length\":44,\"text\":\"ST depressions in the anterior lateral leads\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":108,\"length\":7,\"text\":\"fatigue\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015672\"},{\"dataSource\":\"AIR\",\"id\":\"FATIG\"},{\"dataSource\":\"AOD\",\"id\":\"0000001768\"},{\"dataSource\":\"BI\",\"id\":\"BI00028\"},{\"dataSource\":\"CCC\",\"id\":\"A01.4\"},{\"dataSource\":\"CCPSS\",\"id\":\"1014729\"},{\"dataSource\":\"CHV\",\"id\":\"0000004914\"},{\"dataSource\":\"COSTAR\",\"id\":\"298\"},{\"dataSource\":\"CPM\",\"id\":\"65221\"},{\"dataSource\":\"CSP\",\"id\":\"1385-2059\"},{\"dataSource\":\"CST\",\"id\":\"ASTHENIA\"},{\"dataSource\":\"DXP\",\"id\":\"U001451\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0012378\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R53.83\"},{\"dataSource\":\"ICNP\",\"id\":\"10000695\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU080142\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A04004\"},{\"dataSource\":\"LCH\",\"id\":\"U001739\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047465\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013358\"},{\"dataSource\":\"MDR\",\"id\":\"10016256\"},{\"dataSource\":\"MEDCIN\",\"id\":\"273174\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"5324\"},{\"dataSource\":\"MSH\",\"id\":\"D005221\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.79\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00742\"},{\"dataSource\":\"NCI\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11098\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1849\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000321374\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3036\"},{\"dataSource\":\"NOC\",\"id\":\"121028\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU010062\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_00010.03\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000041390\"},{\"dataSource\":\"PSY\",\"id\":\"19400\"},{\"dataSource\":\"RCD\",\"id\":\"1682.\"},{\"dataSource\":\"SNM\",\"id\":\"F-01610\"},{\"dataSource\":\"SNMI\",\"id\":\"F-01360\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"84229001\"},{\"dataSource\":\"WHO\",\"id\":\"0724\"}]},{\"offset\":120,\"length\":10,\"text\":\"wrist pain\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0221785\"},{\"dataSource\":\"BI\",\"id\":\"BI00504\"},{\"dataSource\":\"CCPSS\",\"id\":\"1016217\"},{\"dataSource\":\"CHV\",\"id\":\"0000021489\"},{\"dataSource\":\"COSTAR\",\"id\":\"U000624\"},{\"dataSource\":\"DXP\",\"id\":\"U004491\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0030836\"},{\"dataSource\":\"ICD10CM\",\"id\":\"M25.53\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU060847\"},{\"dataSource\":\"ICPC2P\",\"id\":\"L11002\"},{\"dataSource\":\"MDR\",\"id\":\"10048692\"},{\"dataSource\":\"MEDCIN\",\"id\":\"939\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU016462\"},{\"dataSource\":\"RCD\",\"id\":\"N094F\"},{\"dataSource\":\"SNMI\",\"id\":\"F-176A0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"56608008\"}]},{\"offset\":137,\"length\":18,\"text\":\"anginal equivalent\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0741034\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017783\"},{\"dataSource\":\"CHV\",\"id\":\"0000047213\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.8\"},{\"dataSource\":\"MDR\",\"id\":\"10076419\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"}]}],\"relations\":[{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/0\",\"target\":\"#/results/documents/1/entities/2\"},{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/1\",\"target\":\"#/results/documents/1/entities/2\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"}}", + "Date" : "Fri, 06 Nov 2020 03:33:44 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.cancelHealthcareLroRunner[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.cancelHealthcareLroRunner[1].json new file mode 100644 index 0000000000000..00a369f3fe461 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.cancelHealthcareLroRunner[1].json @@ -0,0 +1,86 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs?stringIndexType=Utf16CodeUnit", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "2c872c73-33ea-484f-b30c-c48a7a46aa2d", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "260", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "operation-location" : "https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/ad1a47ff-192d-45d4-be5b-2bd8cceca3ac", + "x-content-type-options" : "nosniff", + "apim-request-id" : "7274aeea-cfc5-45d1-ad54-309fc8343cce", + "retry-after" : "0", + "StatusCode" : "202", + "Date" : "Fri, 06 Nov 2020 03:32:22 GMT" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/ad1a47ff-192d-45d4-be5b-2bd8cceca3ac", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "09a5f812-70af-4a51-8da7-5b298a36773a", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "12", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "61635608-a8b7-4210-b43b-2134939a3487", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"ad1a47ff-192d-45d4-be5b-2bd8cceca3ac\",\"lastUpdateDateTime\":\"2020-11-06T03:32:23Z\",\"createdDateTime\":\"2020-11-06T03:32:23Z\",\"expirationDateTime\":\"2020-11-07T03:32:23Z\",\"status\":\"notStarted\",\"errors\":[]}", + "Date" : "Fri, 06 Nov 2020 03:32:22 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "DELETE", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/ad1a47ff-192d-45d4-be5b-2bd8cceca3ac", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "7c5930d6-64c1-4d5d-8f20-1fed499a2123", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "18", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "operation-location" : "https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/ad1a47ff-192d-45d4-be5b-2bd8cceca3ac", + "x-content-type-options" : "nosniff", + "apim-request-id" : "0dfbe65e-989d-4bb0-b75d-888ad59aa4ed", + "retry-after" : "0", + "StatusCode" : "202", + "Date" : "Fri, 06 Nov 2020 03:32:24 GMT" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/ad1a47ff-192d-45d4-be5b-2bd8cceca3ac", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "1a07bdd8-2fd1-4c61-8766-60e5b9519832", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "8", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "1392a184-a944-43ad-bece-e66d77ddfc22", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"ad1a47ff-192d-45d4-be5b-2bd8cceca3ac\",\"lastUpdateDateTime\":\"2020-11-06T03:32:24Z\",\"createdDateTime\":\"2020-11-06T03:32:23Z\",\"expirationDateTime\":\"2020-11-07T03:32:23Z\",\"status\":\"cancelled\",\"errors\":[]}", + "Date" : "Fri, 06 Nov 2020 03:32:29 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroPagination[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroPagination[1].json new file mode 100644 index 0000000000000..90165a3aa594c --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroPagination[1].json @@ -0,0 +1,108 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs?stringIndexType=Utf16CodeUnit", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "cfc19316-0bc9-4a22-9ff3-d4ef48037db6", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "485", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "operation-location" : "https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/05aeeb04-4694-48f2-851e-3c3952d3ebe0", + "x-content-type-options" : "nosniff", + "apim-request-id" : "cc2def20-e97d-4f94-8e42-9aa6b29fa3d0", + "retry-after" : "0", + "StatusCode" : "202", + "Date" : "Fri, 06 Nov 2020 03:20:02 GMT" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/05aeeb04-4694-48f2-851e-3c3952d3ebe0?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "d62adfa5-bb49-45f7-85f8-88fea9db66b5", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "6", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "054c373b-bd07-41d3-a45c-f9d731dac166", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"05aeeb04-4694-48f2-851e-3c3952d3ebe0\",\"lastUpdateDateTime\":\"2020-11-06T03:20:03Z\",\"createdDateTime\":\"2020-11-06T03:20:03Z\",\"expirationDateTime\":\"2020-11-07T03:20:03Z\",\"status\":\"notStarted\",\"errors\":[]}", + "Date" : "Fri, 06 Nov 2020 03:20:08 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/05aeeb04-4694-48f2-851e-3c3952d3ebe0?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "04a8923e-8174-4287-b1c2-59ff4bb98972", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "262", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "31efd084-2c0a-419f-81b9-31f432671106", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"05aeeb04-4694-48f2-851e-3c3952d3ebe0\",\"lastUpdateDateTime\":\"2020-11-06T03:20:11Z\",\"createdDateTime\":\"2020-11-06T03:20:03Z\",\"expirationDateTime\":\"2020-11-07T03:20:03Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":22,\"validDocumentsCount\":22,\"erroneousDocumentsCount\":0,\"transactionsCount\":22},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/2\",\"target\":\"#/results/documents/1/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/4\",\"target\":\"#/results/documents/1/entities/3\"}],\"warnings\":[]},{\"id\":\"2\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/2\",\"target\":\"#/results/documents/2/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/4\",\"target\":\"#/results/documents/2/entities/3\"}],\"warnings\":[]},{\"id\":\"3\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/2\",\"target\":\"#/results/documents/3/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/4\",\"target\":\"#/results/documents/3/entities/3\"}],\"warnings\":[]},{\"id\":\"4\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/2\",\"target\":\"#/results/documents/4/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/4\",\"target\":\"#/results/documents/4/entities/3\"}],\"warnings\":[]},{\"id\":\"5\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/2\",\"target\":\"#/results/documents/5/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/4\",\"target\":\"#/results/documents/5/entities/3\"}],\"warnings\":[]},{\"id\":\"6\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/2\",\"target\":\"#/results/documents/6/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/4\",\"target\":\"#/results/documents/6/entities/3\"}],\"warnings\":[]},{\"id\":\"7\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/2\",\"target\":\"#/results/documents/7/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/4\",\"target\":\"#/results/documents/7/entities/3\"}],\"warnings\":[]},{\"id\":\"8\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/2\",\"target\":\"#/results/documents/8/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/4\",\"target\":\"#/results/documents/8/entities/3\"}],\"warnings\":[]},{\"id\":\"9\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/2\",\"target\":\"#/results/documents/9/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/4\",\"target\":\"#/results/documents/9/entities/3\"}],\"warnings\":[]},{\"id\":\"10\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/2\",\"target\":\"#/results/documents/10/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/4\",\"target\":\"#/results/documents/10/entities/3\"}],\"warnings\":[]},{\"id\":\"11\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/2\",\"target\":\"#/results/documents/11/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/4\",\"target\":\"#/results/documents/11/entities/3\"}],\"warnings\":[]},{\"id\":\"12\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/2\",\"target\":\"#/results/documents/12/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/4\",\"target\":\"#/results/documents/12/entities/3\"}],\"warnings\":[]},{\"id\":\"13\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/2\",\"target\":\"#/results/documents/13/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/4\",\"target\":\"#/results/documents/13/entities/3\"}],\"warnings\":[]},{\"id\":\"14\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/2\",\"target\":\"#/results/documents/14/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/4\",\"target\":\"#/results/documents/14/entities/3\"}],\"warnings\":[]},{\"id\":\"15\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/2\",\"target\":\"#/results/documents/15/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/4\",\"target\":\"#/results/documents/15/entities/3\"}],\"warnings\":[]},{\"id\":\"16\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/2\",\"target\":\"#/results/documents/16/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/4\",\"target\":\"#/results/documents/16/entities/3\"}],\"warnings\":[]},{\"id\":\"17\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/2\",\"target\":\"#/results/documents/17/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/4\",\"target\":\"#/results/documents/17/entities/3\"}],\"warnings\":[]},{\"id\":\"18\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/2\",\"target\":\"#/results/documents/18/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/4\",\"target\":\"#/results/documents/18/entities/3\"}],\"warnings\":[]},{\"id\":\"19\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/2\",\"target\":\"#/results/documents/19/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/4\",\"target\":\"#/results/documents/19/entities/3\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"},\"@nextLink\":\"https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/05aeeb04-4694-48f2-851e-3c3952d3ebe0?$skip=20&$top=2\"}", + "Date" : "Fri, 06 Nov 2020 03:20:14 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/05aeeb04-4694-48f2-851e-3c3952d3ebe0?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "d9df6123-71b5-40a4-9db3-161dec114a30", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "217", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "fe3a5877-0be3-4310-bf50-af73a1bb4ab5", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"05aeeb04-4694-48f2-851e-3c3952d3ebe0\",\"lastUpdateDateTime\":\"2020-11-06T03:20:11Z\",\"createdDateTime\":\"2020-11-06T03:20:03Z\",\"expirationDateTime\":\"2020-11-07T03:20:03Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":22,\"validDocumentsCount\":22,\"erroneousDocumentsCount\":0,\"transactionsCount\":22},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/2\",\"target\":\"#/results/documents/1/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/4\",\"target\":\"#/results/documents/1/entities/3\"}],\"warnings\":[]},{\"id\":\"2\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/2\",\"target\":\"#/results/documents/2/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/2/entities/4\",\"target\":\"#/results/documents/2/entities/3\"}],\"warnings\":[]},{\"id\":\"3\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/2\",\"target\":\"#/results/documents/3/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/3/entities/4\",\"target\":\"#/results/documents/3/entities/3\"}],\"warnings\":[]},{\"id\":\"4\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/2\",\"target\":\"#/results/documents/4/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/4/entities/4\",\"target\":\"#/results/documents/4/entities/3\"}],\"warnings\":[]},{\"id\":\"5\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/2\",\"target\":\"#/results/documents/5/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/5/entities/4\",\"target\":\"#/results/documents/5/entities/3\"}],\"warnings\":[]},{\"id\":\"6\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/2\",\"target\":\"#/results/documents/6/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/6/entities/4\",\"target\":\"#/results/documents/6/entities/3\"}],\"warnings\":[]},{\"id\":\"7\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/2\",\"target\":\"#/results/documents/7/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/7/entities/4\",\"target\":\"#/results/documents/7/entities/3\"}],\"warnings\":[]},{\"id\":\"8\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/2\",\"target\":\"#/results/documents/8/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/8/entities/4\",\"target\":\"#/results/documents/8/entities/3\"}],\"warnings\":[]},{\"id\":\"9\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/2\",\"target\":\"#/results/documents/9/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/9/entities/4\",\"target\":\"#/results/documents/9/entities/3\"}],\"warnings\":[]},{\"id\":\"10\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/2\",\"target\":\"#/results/documents/10/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/10/entities/4\",\"target\":\"#/results/documents/10/entities/3\"}],\"warnings\":[]},{\"id\":\"11\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/2\",\"target\":\"#/results/documents/11/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/11/entities/4\",\"target\":\"#/results/documents/11/entities/3\"}],\"warnings\":[]},{\"id\":\"12\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/2\",\"target\":\"#/results/documents/12/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/12/entities/4\",\"target\":\"#/results/documents/12/entities/3\"}],\"warnings\":[]},{\"id\":\"13\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/2\",\"target\":\"#/results/documents/13/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/13/entities/4\",\"target\":\"#/results/documents/13/entities/3\"}],\"warnings\":[]},{\"id\":\"14\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/2\",\"target\":\"#/results/documents/14/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/14/entities/4\",\"target\":\"#/results/documents/14/entities/3\"}],\"warnings\":[]},{\"id\":\"15\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/2\",\"target\":\"#/results/documents/15/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/15/entities/4\",\"target\":\"#/results/documents/15/entities/3\"}],\"warnings\":[]},{\"id\":\"16\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/2\",\"target\":\"#/results/documents/16/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/16/entities/4\",\"target\":\"#/results/documents/16/entities/3\"}],\"warnings\":[]},{\"id\":\"17\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/2\",\"target\":\"#/results/documents/17/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/17/entities/4\",\"target\":\"#/results/documents/17/entities/3\"}],\"warnings\":[]},{\"id\":\"18\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/2\",\"target\":\"#/results/documents/18/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/18/entities/4\",\"target\":\"#/results/documents/18/entities/3\"}],\"warnings\":[]},{\"id\":\"19\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/2\",\"target\":\"#/results/documents/19/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/19/entities/4\",\"target\":\"#/results/documents/19/entities/3\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"},\"@nextLink\":\"https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/05aeeb04-4694-48f2-851e-3c3952d3ebe0?$skip=20&$top=2\"}", + "Date" : "Fri, 06 Nov 2020 03:20:14 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/05aeeb04-4694-48f2-851e-3c3952d3ebe0?$top=2&$skip=20&showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "fc5d7c7f-3eaf-41fc-9f8c-d3b9a320284b", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "70", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "998019e6-1884-49d5-b4ab-bca0f1adef48", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"05aeeb04-4694-48f2-851e-3c3952d3ebe0\",\"lastUpdateDateTime\":\"2020-11-06T03:20:11Z\",\"createdDateTime\":\"2020-11-06T03:20:03Z\",\"expirationDateTime\":\"2020-11-07T03:20:03Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":22,\"validDocumentsCount\":22,\"erroneousDocumentsCount\":0,\"transactionsCount\":22},\"documents\":[{\"id\":\"20\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"21\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/2\",\"target\":\"#/results/documents/1/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/4\",\"target\":\"#/results/documents/1/entities/3\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"}}", + "Date" : "Fri, 06 Nov 2020 03:20:15 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file diff --git a/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroWithOptions[1].json b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroWithOptions[1].json new file mode 100644 index 0000000000000..09b755ae0f093 --- /dev/null +++ b/sdk/textanalytics/azure-ai-textanalytics/src/test/resources/session-records/TextAnalyticsClientTest.healthcareLroWithOptions[1].json @@ -0,0 +1,87 @@ +{ + "networkCallRecords" : [ { + "Method" : "POST", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs?stringIndexType=Utf16CodeUnit", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "ac566631-1536-4eb2-afbc-4af9933c3ecd", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "211", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "operation-location" : "https://textanalytics-westeurope.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3/entities/health/jobs/4d8395c9-9cbf-4077-988b-1dea089267d6", + "x-content-type-options" : "nosniff", + "apim-request-id" : "ed6dd9b3-a244-4dd7-9b3d-91d5c24a78a3", + "retry-after" : "0", + "StatusCode" : "202", + "Date" : "Fri, 06 Nov 2020 03:30:55 GMT" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/4d8395c9-9cbf-4077-988b-1dea089267d6?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "20aa753c-9f85-4cdf-9d39-efc02f7151c6", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "13", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "c5b10301-e9bf-4966-bca2-79571957e6a5", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"4d8395c9-9cbf-4077-988b-1dea089267d6\",\"lastUpdateDateTime\":\"2020-11-06T03:31:01Z\",\"createdDateTime\":\"2020-11-06T03:30:56Z\",\"expirationDateTime\":\"2020-11-07T03:30:56Z\",\"status\":\"running\",\"errors\":[]}", + "Date" : "Fri, 06 Nov 2020 03:31:01 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/4d8395c9-9cbf-4077-988b-1dea089267d6?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "6984f4bc-9608-4839-abcf-57c166af584f", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "148", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "86b1a8e1-bc71-4e3a-80e8-c9a4c1a73d96", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"4d8395c9-9cbf-4077-988b-1dea089267d6\",\"lastUpdateDateTime\":\"2020-11-06T03:31:01Z\",\"createdDateTime\":\"2020-11-06T03:30:56Z\",\"expirationDateTime\":\"2020-11-07T03:30:56Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":2},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":156,\"transactionsCount\":1},\"entities\":[{\"offset\":25,\"length\":7,\"text\":\"minutes\",\"category\":\"Time\",\"confidenceScore\":0.87,\"isNegated\":false},{\"offset\":38,\"length\":7,\"text\":\"minimal\",\"category\":\"ConditionQualifier\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":46,\"length\":44,\"text\":\"ST depressions in the anterior lateral leads\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":108,\"length\":7,\"text\":\"fatigue\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015672\"},{\"dataSource\":\"AIR\",\"id\":\"FATIG\"},{\"dataSource\":\"AOD\",\"id\":\"0000001768\"},{\"dataSource\":\"BI\",\"id\":\"BI00028\"},{\"dataSource\":\"CCC\",\"id\":\"A01.4\"},{\"dataSource\":\"CCPSS\",\"id\":\"1014729\"},{\"dataSource\":\"CHV\",\"id\":\"0000004914\"},{\"dataSource\":\"COSTAR\",\"id\":\"298\"},{\"dataSource\":\"CPM\",\"id\":\"65221\"},{\"dataSource\":\"CSP\",\"id\":\"1385-2059\"},{\"dataSource\":\"CST\",\"id\":\"ASTHENIA\"},{\"dataSource\":\"DXP\",\"id\":\"U001451\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0012378\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R53.83\"},{\"dataSource\":\"ICNP\",\"id\":\"10000695\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU080142\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A04004\"},{\"dataSource\":\"LCH\",\"id\":\"U001739\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047465\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013358\"},{\"dataSource\":\"MDR\",\"id\":\"10016256\"},{\"dataSource\":\"MEDCIN\",\"id\":\"273174\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"5324\"},{\"dataSource\":\"MSH\",\"id\":\"D005221\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.79\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00742\"},{\"dataSource\":\"NCI\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11098\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1849\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000321374\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3036\"},{\"dataSource\":\"NOC\",\"id\":\"121028\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU010062\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_00010.03\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000041390\"},{\"dataSource\":\"PSY\",\"id\":\"19400\"},{\"dataSource\":\"RCD\",\"id\":\"1682.\"},{\"dataSource\":\"SNM\",\"id\":\"F-01610\"},{\"dataSource\":\"SNMI\",\"id\":\"F-01360\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"84229001\"},{\"dataSource\":\"WHO\",\"id\":\"0724\"}]},{\"offset\":120,\"length\":10,\"text\":\"wrist pain\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0221785\"},{\"dataSource\":\"BI\",\"id\":\"BI00504\"},{\"dataSource\":\"CCPSS\",\"id\":\"1016217\"},{\"dataSource\":\"CHV\",\"id\":\"0000021489\"},{\"dataSource\":\"COSTAR\",\"id\":\"U000624\"},{\"dataSource\":\"DXP\",\"id\":\"U004491\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0030836\"},{\"dataSource\":\"ICD10CM\",\"id\":\"M25.53\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU060847\"},{\"dataSource\":\"ICPC2P\",\"id\":\"L11002\"},{\"dataSource\":\"MDR\",\"id\":\"10048692\"},{\"dataSource\":\"MEDCIN\",\"id\":\"939\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU016462\"},{\"dataSource\":\"RCD\",\"id\":\"N094F\"},{\"dataSource\":\"SNMI\",\"id\":\"F-176A0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"56608008\"}]},{\"offset\":137,\"length\":18,\"text\":\"anginal equivalent\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0741034\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017783\"},{\"dataSource\":\"CHV\",\"id\":\"0000047213\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.8\"},{\"dataSource\":\"MDR\",\"id\":\"10076419\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"}]}],\"relations\":[{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/0\",\"target\":\"#/results/documents/1/entities/2\"},{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/1\",\"target\":\"#/results/documents/1/entities/2\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"}}", + "Date" : "Fri, 06 Nov 2020 03:31:06 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + }, { + "Method" : "GET", + "Uri" : "https://REDACTED.ppe.cognitiveservices.azure.com/text/analytics/v3.1-preview.3//entities/health/jobs/4d8395c9-9cbf-4077-988b-1dea089267d6?showStats=true", + "Headers" : { + "User-Agent" : "azsdk-java-azure-ai-textanalytics/5.1.0-beta.3 (11.0.4; Windows 10; 10.0)", + "x-ms-client-request-id" : "2275da6a-f3fe-4a7d-83a7-78d865b83722", + "Content-Type" : "application/json" + }, + "Response" : { + "Transfer-Encoding" : "chunked", + "x-envoy-upstream-service-time" : "45", + "Strict-Transport-Security" : "max-age=31536000; includeSubDomains; preload", + "x-content-type-options" : "nosniff", + "apim-request-id" : "5b1bee45-783c-4d5b-bd14-8996449317a0", + "retry-after" : "0", + "StatusCode" : "200", + "Body" : "{\"jobId\":\"4d8395c9-9cbf-4077-988b-1dea089267d6\",\"lastUpdateDateTime\":\"2020-11-06T03:31:01Z\",\"createdDateTime\":\"2020-11-06T03:30:56Z\",\"expirationDateTime\":\"2020-11-07T03:30:56Z\",\"status\":\"succeeded\",\"errors\":[],\"results\":{\"statistics\":{\"documentsCount\":2,\"validDocumentsCount\":2,\"erroneousDocumentsCount\":0,\"transactionsCount\":2},\"documents\":[{\"id\":\"0\",\"statistics\":{\"charactersCount\":105,\"transactionsCount\":1},\"entities\":[{\"offset\":17,\"length\":11,\"text\":\"54-year-old\",\"category\":\"Age\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":29,\"length\":9,\"text\":\"gentleman\",\"category\":\"Gender\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0025266\"},{\"dataSource\":\"AOD\",\"id\":\"0000026918\"},{\"dataSource\":\"CHV\",\"id\":\"0000007919\"},{\"dataSource\":\"LCH\",\"id\":\"U002897\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85083510\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"24\"},{\"dataSource\":\"MSH\",\"id\":\"D008571\"},{\"dataSource\":\"NCI\",\"id\":\"C14366\"},{\"dataSource\":\"PSY\",\"id\":\"30625\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"339947000\"}]},{\"offset\":57,\"length\":11,\"text\":\"progressive\",\"category\":\"ConditionQualifier\",\"confidenceScore\":0.91,\"isNegated\":false},{\"offset\":69,\"length\":6,\"text\":\"angina\",\"category\":\"SymptomOrSign\",\"confidenceScore\":0.81,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0002962\"},{\"dataSource\":\"AOD\",\"id\":\"0000005330\"},{\"dataSource\":\"BI\",\"id\":\"BI00047\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017852\"},{\"dataSource\":\"CCS\",\"id\":\"7.2.4.1\"},{\"dataSource\":\"CHV\",\"id\":\"0000001165\"},{\"dataSource\":\"COSTAR\",\"id\":\"054\"},{\"dataSource\":\"CSP\",\"id\":\"1393-3407\"},{\"dataSource\":\"CST\",\"id\":\"ANGINA PECTORIS\"},{\"dataSource\":\"DXP\",\"id\":\"U000113\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0001681\"},{\"dataSource\":\"ICD10\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10AM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.9\"},{\"dataSource\":\"ICD9CM\",\"id\":\"413\"},{\"dataSource\":\"ICPC\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2EENG\",\"id\":\"K74\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU006338\"},{\"dataSource\":\"ICPC2P\",\"id\":\"K74001\"},{\"dataSource\":\"LCH\",\"id\":\"U000244\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85005022\"},{\"dataSource\":\"LNC\",\"id\":\"LA14275-4\"},{\"dataSource\":\"MDR\",\"id\":\"10002383\"},{\"dataSource\":\"MEDCIN\",\"id\":\"33215\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"142\"},{\"dataSource\":\"MSH\",\"id\":\"D000787\"},{\"dataSource\":\"MTH\",\"id\":\"053\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"},{\"dataSource\":\"MTHICPC2EAE\",\"id\":\"K74\"},{\"dataSource\":\"NCI\",\"id\":\"C51221\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E10110\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1710\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C51221\"},{\"dataSource\":\"NOC\",\"id\":\"040504\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU009903\"},{\"dataSource\":\"OMS\",\"id\":\"29.13\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_02040.07\"},{\"dataSource\":\"PSY\",\"id\":\"02530\"},{\"dataSource\":\"QMR\",\"id\":\"Q0300326\"},{\"dataSource\":\"RCD\",\"id\":\"G33..\"},{\"dataSource\":\"RCDAE\",\"id\":\"Ua1eH\"},{\"dataSource\":\"SNM\",\"id\":\"F-71500\"},{\"dataSource\":\"SNMI\",\"id\":\"D3-12000\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"194828000\"},{\"dataSource\":\"WHO\",\"id\":\"0422\"}]},{\"offset\":85,\"length\":19,\"text\":\"past several months\",\"category\":\"Time\",\"confidenceScore\":1.0,\"isNegated\":false}],\"relations\":[{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/2\",\"target\":\"#/results/documents/0/entities/3\"},{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/0/entities/4\",\"target\":\"#/results/documents/0/entities/3\"}],\"warnings\":[]},{\"id\":\"1\",\"statistics\":{\"charactersCount\":156,\"transactionsCount\":1},\"entities\":[{\"offset\":25,\"length\":7,\"text\":\"minutes\",\"category\":\"Time\",\"confidenceScore\":0.87,\"isNegated\":false},{\"offset\":38,\"length\":7,\"text\":\"minimal\",\"category\":\"ConditionQualifier\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":46,\"length\":44,\"text\":\"ST depressions in the anterior lateral leads\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false},{\"offset\":108,\"length\":7,\"text\":\"fatigue\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0015672\"},{\"dataSource\":\"AIR\",\"id\":\"FATIG\"},{\"dataSource\":\"AOD\",\"id\":\"0000001768\"},{\"dataSource\":\"BI\",\"id\":\"BI00028\"},{\"dataSource\":\"CCC\",\"id\":\"A01.4\"},{\"dataSource\":\"CCPSS\",\"id\":\"1014729\"},{\"dataSource\":\"CHV\",\"id\":\"0000004914\"},{\"dataSource\":\"COSTAR\",\"id\":\"298\"},{\"dataSource\":\"CPM\",\"id\":\"65221\"},{\"dataSource\":\"CSP\",\"id\":\"1385-2059\"},{\"dataSource\":\"CST\",\"id\":\"ASTHENIA\"},{\"dataSource\":\"DXP\",\"id\":\"U001451\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0012378\"},{\"dataSource\":\"ICD10CM\",\"id\":\"R53.83\"},{\"dataSource\":\"ICNP\",\"id\":\"10000695\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU080142\"},{\"dataSource\":\"ICPC2P\",\"id\":\"A04004\"},{\"dataSource\":\"LCH\",\"id\":\"U001739\"},{\"dataSource\":\"LCH_NW\",\"id\":\"sh85047465\"},{\"dataSource\":\"LNC\",\"id\":\"MTHU013358\"},{\"dataSource\":\"MDR\",\"id\":\"10016256\"},{\"dataSource\":\"MEDCIN\",\"id\":\"273174\"},{\"dataSource\":\"MEDLINEPLUS\",\"id\":\"5324\"},{\"dataSource\":\"MSH\",\"id\":\"D005221\"},{\"dataSource\":\"MTHICD9\",\"id\":\"780.79\"},{\"dataSource\":\"NANDA-I\",\"id\":\"00742\"},{\"dataSource\":\"NCI\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CDISC\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_CTCAE\",\"id\":\"E11098\"},{\"dataSource\":\"NCI_CTRP\",\"id\":\"C3036\"},{\"dataSource\":\"NCI_FDA\",\"id\":\"1849\"},{\"dataSource\":\"NCI_NCI-GLOSS\",\"id\":\"CDR0000321374\"},{\"dataSource\":\"NCI_NICHD\",\"id\":\"C3036\"},{\"dataSource\":\"NOC\",\"id\":\"121028\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU010062\"},{\"dataSource\":\"PCDS\",\"id\":\"PRB_00010.03\"},{\"dataSource\":\"PDQ\",\"id\":\"CDR0000041390\"},{\"dataSource\":\"PSY\",\"id\":\"19400\"},{\"dataSource\":\"RCD\",\"id\":\"1682.\"},{\"dataSource\":\"SNM\",\"id\":\"F-01610\"},{\"dataSource\":\"SNMI\",\"id\":\"F-01360\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"84229001\"},{\"dataSource\":\"WHO\",\"id\":\"0724\"}]},{\"offset\":120,\"length\":10,\"text\":\"wrist pain\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0221785\"},{\"dataSource\":\"BI\",\"id\":\"BI00504\"},{\"dataSource\":\"CCPSS\",\"id\":\"1016217\"},{\"dataSource\":\"CHV\",\"id\":\"0000021489\"},{\"dataSource\":\"COSTAR\",\"id\":\"U000624\"},{\"dataSource\":\"DXP\",\"id\":\"U004491\"},{\"dataSource\":\"HPO\",\"id\":\"HP:0030836\"},{\"dataSource\":\"ICD10CM\",\"id\":\"M25.53\"},{\"dataSource\":\"ICPC2ICD10ENG\",\"id\":\"MTHU060847\"},{\"dataSource\":\"ICPC2P\",\"id\":\"L11002\"},{\"dataSource\":\"MDR\",\"id\":\"10048692\"},{\"dataSource\":\"MEDCIN\",\"id\":\"939\"},{\"dataSource\":\"OMIM\",\"id\":\"MTHU016462\"},{\"dataSource\":\"RCD\",\"id\":\"N094F\"},{\"dataSource\":\"SNMI\",\"id\":\"F-176A0\"},{\"dataSource\":\"SNOMEDCT_US\",\"id\":\"56608008\"}]},{\"offset\":137,\"length\":18,\"text\":\"anginal equivalent\",\"category\":\"SymptomOrSign\",\"confidenceScore\":1.0,\"isNegated\":false,\"links\":[{\"dataSource\":\"UMLS\",\"id\":\"C0741034\"},{\"dataSource\":\"CCPSS\",\"id\":\"1017783\"},{\"dataSource\":\"CHV\",\"id\":\"0000047213\"},{\"dataSource\":\"ICD10CM\",\"id\":\"I20.8\"},{\"dataSource\":\"MDR\",\"id\":\"10076419\"},{\"dataSource\":\"MTHICD9\",\"id\":\"413.9\"}]}],\"relations\":[{\"relationType\":\"TimeOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/0\",\"target\":\"#/results/documents/1/entities/2\"},{\"relationType\":\"QualifierOfCondition\",\"bidirectional\":false,\"source\":\"#/results/documents/1/entities/1\",\"target\":\"#/results/documents/1/entities/2\"}],\"warnings\":[]}],\"errors\":[],\"modelVersion\":\"2020-09-03\"}}", + "Date" : "Fri, 06 Nov 2020 03:31:06 GMT", + "Content-Type" : "application/json; charset=utf-8" + }, + "Exception" : null + } ], + "variables" : [ ] +} \ No newline at end of file