From e582c72d8d2c93e9240ffff6ab309421c34e1e82 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Thu, 9 Mar 2023 18:42:05 +0200 Subject: [PATCH 01/25] health insights sdk for java --- .vscode/cspell.json | 3 + .../CHANGELOG.md | 13 + .../README.md | 131 + .../package.json | 5 + .../pom.xml | 110 + .../AzureHealthInsightsServiceVersion.java | 34 + .../CancerProfilingAsyncClient.java | 185 + .../CancerProfilingClient.java | 182 + .../CancerProfilingClientBuilder.java | 290 + .../CancerProfilingClientImpl.java | 839 + .../implementation/package-info.java | 10 + .../models/ClinicalCodedElement.java | 109 + .../models/ClinicalDocumentType.java | 64 + .../models/ClinicalNoteEvidence.java | 90 + .../models/DocumentContent.java | 60 + .../models/DocumentContentSourceType.java | 49 + .../cancerprofiling/models/DocumentType.java | 52 + .../models/InferenceEvidence.java | 62 + .../cancerprofiling/models/JobStatus.java | 55 + .../models/OncoPhenotypeData.java | 65 + .../models/OncoPhenotypeInference.java | 119 + .../models/OncoPhenotypeInferenceType.java | 64 + .../OncoPhenotypeModelConfiguration.java | 131 + .../models/OncoPhenotypePatientResult.java | 58 + .../models/OncoPhenotypeResult.java | 123 + .../models/OncoPhenotypeResults.java | 58 + .../models/PatientDocument.java | 156 + .../cancerprofiling/models/PatientInfo.java | 95 + .../models/PatientInfoSex.java | 49 + .../cancerprofiling/models/PatientRecord.java | 94 + .../cancerprofiling/models/package-info.java | 9 + .../cancerprofiling/package-info.java | 9 + .../src/main/java/module-info.java | 14 + ...health-insights-cancerprofiling.properties | 2 + .../src/samples/README.md | 57 + .../SampleInferCancerProfile.java | 172 + .../insights/cancerprofiling/AllSamples.java | 25 + .../CancerProfilingClientTest.java | 56 + .../CancerProfilingClientTestBase.java | 70 + .../CancerProfilingClientTest.request.json | 25 + .../CancerProfilingClientTest.test.json | 79 + .../tests.yml | 10 + .../CHANGELOG.md | 13 + .../README.md | 139 + .../package.json | 5 + .../pom.xml | 110 + .../AzureHealthInsightsServiceVersion.java | 34 + .../ClinicalMatchingAsyncClient.java | 319 + .../ClinicalMatchingClient.java | 317 + .../ClinicalMatchingClientBuilder.java | 290 + .../ClinicalMatchingClientImpl.java | 1519 + .../implementation/package-info.java | 10 + .../clinicalmatching/models/AcceptedAge.java | 57 + .../models/AcceptedAgeRange.java | 67 + .../clinicalmatching/models/AgeUnit.java | 49 + .../clinicalmatching/models/AreaGeometry.java | 60 + .../models/AreaProperties.java | 57 + .../models/ClinicalCodedElement.java | 109 + .../models/ClinicalDocumentType.java | 64 + .../models/ClinicalNoteEvidence.java | 90 + .../models/ClinicalTrialAcceptedSex.java | 52 + .../models/ClinicalTrialDemographics.java | 69 + .../models/ClinicalTrialDetails.java | 112 + .../models/ClinicalTrialMetadata.java | 201 + .../models/ClinicalTrialPhase.java | 58 + .../models/ClinicalTrialPurpose.java | 70 + .../ClinicalTrialRecruitmentStatus.java | 52 + .../models/ClinicalTrialRegistryFilter.java | 353 + .../models/ClinicalTrialResearchFacility.java | 109 + .../models/ClinicalTrialSource.java | 46 + .../models/ClinicalTrialStudyType.java | 52 + .../models/ClinicalTrials.java | 75 + .../models/ContactDetails.java | 93 + .../models/DocumentContent.java | 60 + .../models/DocumentContentSourceType.java | 49 + .../clinicalmatching/models/DocumentType.java | 52 + .../models/ExtendedClinicalCodedElement.java | 122 + .../models/GeoJsonGeometryType.java | 43 + .../models/GeoJsonPropertiesSubType.java | 43 + .../clinicalmatching/models/GeoJsonType.java | 43 + .../models/GeographicArea.java | 78 + .../models/GeographicLocation.java | 94 + .../clinicalmatching/models/JobStatus.java | 55 + .../models/PatientDocument.java | 156 + .../clinicalmatching/models/PatientInfo.java | 95 + .../models/PatientInfoSex.java | 49 + .../models/PatientRecord.java | 94 + .../models/TrialMatcherData.java | 65 + .../models/TrialMatcherInference.java | 148 + .../models/TrialMatcherInferenceEvidence.java | 78 + .../models/TrialMatcherInferenceType.java | 43 + .../TrialMatcherModelConfiguration.java | 98 + .../models/TrialMatcherPatientResult.java | 74 + .../models/TrialMatcherResult.java | 123 + .../models/TrialMatcherResults.java | 75 + .../clinicalmatching/models/package-info.java | 9 + .../clinicalmatching/package-info.java | 9 + .../src/main/java/module-info.java | 14 + ...ealth-insights-clinicalmatching.properties | 2 + .../src/samples/README.md | 68 + .../SampleMatchTrialAsync.java | 117 + .../insights/clinicalmatching/AllSamples.java | 51 + .../ClinicalMatchingClientTest.java | 58 + .../ClinicalMatchingClientTestBase.java | 70 + .../Sample_MatchTrial_PatientFhir.json | 37509 ++++++++++++++++ .../ClinicalMatchingClientTest.request.json | 50 + .../ClinicalMatchingClientTest.test.json | 79 + .../tests.yml | 10 + sdk/healthinsights/ci.yml | 43 + sdk/healthinsights/pom.xml | 14 + 110 files changed, 48374 insertions(+) create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/README.md create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/package.json create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/AzureHealthInsightsServiceVersion.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalCodedElement.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalDocumentType.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalNoteEvidence.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContent.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContentSourceType.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentType.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/InferenceEvidence.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/JobStatus.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeData.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInference.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInferenceType.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeModelConfiguration.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypePatientResult.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResult.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResults.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientDocument.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfo.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfoSex.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientRecord.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/module-info.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/resources/azure-health-insights-cancerprofiling.properties create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTestBase.java create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.request.json create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.test.json create mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/README.md create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/package.json create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/AzureHealthInsightsServiceVersion.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAge.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAgeRange.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AgeUnit.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaGeometry.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaProperties.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalCodedElement.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalDocumentType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalNoteEvidence.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialAcceptedSex.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDemographics.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDetails.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialMetadata.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPhase.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPurpose.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRecruitmentStatus.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRegistryFilter.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialSource.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialStudyType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrials.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ContactDetails.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContent.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContentSourceType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ExtendedClinicalCodedElement.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonGeometryType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonPropertiesSubType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicArea.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/JobStatus.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientDocument.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfo.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfoSex.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientRecord.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherData.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInference.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceEvidence.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceType.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherModelConfiguration.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherPatientResult.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResult.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResults.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/module-info.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/resources/azure-health-insights-clinicalmatching.properties create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTestBase.java create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/Sample_MatchTrial_PatientFhir.json create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.test.json create mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml create mode 100644 sdk/healthinsights/ci.yml create mode 100644 sdk/healthinsights/pom.xml diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 95f7cdb4d5e24..479374dd3a044 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -245,6 +245,7 @@ "Deserialization", "destfile", "Dgenerate", + "dicom", "doclint", "doclinting", "doctitle", @@ -258,6 +259,7 @@ "eventhub", "eventhubs", "failondeprecatedstatus", + "FHIR", "filereports", "gapra", "gltf", @@ -311,6 +313,7 @@ "okhttp", "OLTP", "onboarded", + "Onco", "onenote", "pwsh", "protonj", diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md new file mode 100644 index 0000000000000..f887f194c985e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md @@ -0,0 +1,13 @@ +# Release History + +## 1.0.0-beta.1 (Unreleased) + +- Azure AzureHealthInsights client library for Java. This package contains Microsoft Azure AzureHealthInsights client library. + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md new file mode 100644 index 0000000000000..50860f2469044 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -0,0 +1,131 @@ +# Azure Azure Health Insights Cancer Profiling client library for Java + + +## Getting started + +### Prerequisites + +- A [Java Development Kit (JDK)][jdk] with version 8 or above +- [Azure Subscription][azure_subscription] +- An existing Cognitive Services Health Insights instance. + +For more information about creating the resource or how to get the location and sku information see [here][cognitive_resource_cli]. + +### Include the Package + +[//]: # ({x-version-update-start;com.azure:azure-health-insights-cancerprofiling;current}) + +```xml + + com.azure + azure-health-insights-cancerprofiling + 1.0.0-beta.1 + +``` + +[//]: # ({x-version-update-end}) + +### Authenticate the client + +In order to interact with the Health Insighs Cancer Profiling service, you'll need to create an instance of the [`CancerProfilingClient`][cancer_profiling_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. + +#### Get API Key + +You can obtain the endpoint and API key from the resource information in the [Azure Portal][azure_portal]. + +Alternatively, you can use the [Azure CLI][azure_cli] snippet below to get the API key from the Health Insights resource. + +```bash +az cognitiveservices account keys list --resource-group --name +``` + +#### Create a CancerProfilingClient with an API Key Credential + +Once you have the value for the API key, you can pass it as a string into an instance of **AzureKeyCredential**. Use the key as the credential parameter +to authenticate the client: + +```Java Snippet: +String endpoint = "endpoint"; +String apiKey = "apiKey"; +OncoPhenotypeAsyncClient asyncClient = new CancerProfilingClientBuilder() + .endpoint(endpoint) + .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .credential(new AzureKeyCredential(apiKey)) + .buildAsyncClient(); +``` + +## Key concepts + +The Cancer Profiling model allows you to infer cancer attributes such as tumor site, histology, clinical stage TNM categories and pathologic stage TNM categories from unstructured clinical documents. + +## Examples + +Infer key cancer attributes such as tumor site, histology, clinical stage TNM categories and pathologic stage TNM categories from a patient's unstructured clinical documents. + + +```Java readme-sample-InferCancerProfile +CancerProfilingAsyncClient asyncClient = new CancerProfilingClientBuilder() + .endpoint(endpoint) + .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .credential(new AzureKeyCredential(apiKey)) + .buildAsyncClient(); + + PollerFlux asyncPoller = asyncClient.beginInferCancerProfile(oncoPhenotypeData); + OncoPhenotypeResult result = asyncPoller.blockLast().getValue(); + + OncoPhenotypeResults oncoResults = result.getResults(); + oncoResults.getPatients().forEach(patient_result -> { + System.out.println("\n==== Inferences of Patient " + patient_result.getId() + " ===="); + patient_result.getInferences().forEach(onco_inference -> { + System.out.println("\n=== Clinical Type: " + onco_inference.getType() + " Value: " + onco_inference.getValue() + " ConfidenceScore: " + onco_inference.getConfidenceScore() + " ==="); + onco_inference.getEvidence().forEach(evidence -> { + if (evidence.getPatientDataEvidence() != null) { + ClinicalNoteEvidence dataEvidence = evidence.getPatientDataEvidence(); + System.out.println("Evidence " + dataEvidence.getId() + " " + dataEvidence.getOffset() + " " + dataEvidence.getLength() + " " + dataEvidence.getText()); + } + if (evidence.getPatientInfoEvidence() != null) { + ClinicalCodedElement infoEvidence = evidence.getPatientInfoEvidence(); + System.out.println("Evidence " + infoEvidence.getSystem() + " " + infoEvidence.getCode() + " " + infoEvidence.getName() + " " + infoEvidence.getValue()); + } + }); + }); + }); + + +``` + +## Troubleshooting + +## Next steps + +### Additional documentation + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla]. + +When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments. + + +[cla]: https://cla.microsoft.com +[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ +[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ +[coc_contact]: mailto:opencode@microsoft.com +[azure_subscription]: https://azure.microsoft.com/free/ +[cognitive_resource_cli]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli + +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_portal]: https://portal.azure.com diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/package.json b/sdk/healthinsights/azure-health-insights-cancerprofiling/package.json new file mode 100644 index 0000000000000..ded9535dc3f1e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "mvn": "^3.5.0" + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml new file mode 100644 index 0000000000000..a45d54e44757e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -0,0 +1,110 @@ + + + 4.0.0 + + com.azure + azure-client-sdk-parent + 1.7.0 + ../../parents/azure-client-sdk-parent + + + com.azure + azure-health-insights-cancerprofiling + 1.0.0-beta.1 + jar + + Microsoft Azure SDK for HealthInsights Management + This package contains Microsoft Azure HealthInsights client library. + https://github.com/Azure/azure-sdk-for-java + + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + + https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + + microsoft + Microsoft + + + + UTF-8 + true + + + + com.azure + azure-core + 1.35.0 + + + com.azure + azure-core-http-netty + 1.12.8 + + + org.junit.jupiter + junit-jupiter-api + 5.9.1 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.9.1 + test + + + org.mockito + mockito-core + 4.5.1 + test + + + com.azure + azure-core-test + 1.14.0 + test + + + com.azure + azure-identity + 1.7.3 + test + + + + + + + com.azure.tools + codesnippet-maven-plugin + 1.0.0-beta.8 + + **/src/samples/java/**/*.java + ${project.basedir}/src/samples/java + **/src/main/java/**/*.java + ${project.basedir}/src/main/java + true + ${project.basedir}/README.md + true + 120 + false + + + + + diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/AzureHealthInsightsServiceVersion.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/AzureHealthInsightsServiceVersion.java new file mode 100644 index 0000000000000..e2d51c4e1ca63 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/AzureHealthInsightsServiceVersion.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling; + +import com.azure.core.util.ServiceVersion; + +/** Service version of CancerProfilingClient. */ +public enum AzureHealthInsightsServiceVersion implements ServiceVersion { + /** Enum value 2023-03-01-preview. */ + V2023_03_01_PREVIEW("2023-03-01-preview"); + + private final String version; + + AzureHealthInsightsServiceVersion(String version) { + this.version = version; + } + + /** {@inheritDoc} */ + @Override + public String getVersion() { + return this.version; + } + + /** + * Gets the latest service version supported by this client library. + * + * @return The latest {@link AzureHealthInsightsServiceVersion}. + */ + public static AzureHealthInsightsServiceVersion getLatest() { + return V2023_03_01_PREVIEW; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java new file mode 100644 index 0000000000000..fff32b4684280 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java @@ -0,0 +1,185 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.polling.PollerFlux; +import com.azure.health.insights.cancerprofiling.implementation.CancerProfilingClientImpl; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeData; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResult; + +/** Initializes a new instance of the asynchronous CancerProfilingClient type. */ +@ServiceClient(builder = CancerProfilingClientBuilder.class, isAsync = true) +public final class CancerProfilingAsyncClient { + @Generated private final CancerProfilingClientImpl serviceClient; + + /** + * Initializes an instance of CancerProfilingAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + CancerProfilingAsyncClient(CancerProfilingClientImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         inferenceTypes (Optional): [
+     *             String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Optional)
+     *         ]
+     *         checkForCancerCase: Boolean (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         caseId: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *     }
+     * }
+     * }
+ * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link PollerFlux} for polling of the response for the Onco Phenotype request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginInferCancerProfile( + BinaryData oncoPhenotypeData, RequestOptions requestOptions) { + return this.serviceClient.beginInferCancerProfileAsync(oncoPhenotypeData, requestOptions); + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of the response for the Onco Phenotype request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginInferCancerProfile( + OncoPhenotypeData oncoPhenotypeData) { + // Generated convenience method for beginInferCancerProfileWithModel + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.beginInferCancerProfileWithModelAsync( + BinaryData.fromObject(oncoPhenotypeData), requestOptions); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java new file mode 100644 index 0000000000000..743850249f012 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java @@ -0,0 +1,182 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.polling.SyncPoller; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeData; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResult; + +/** Initializes a new instance of the synchronous CancerProfilingClient type. */ +@ServiceClient(builder = CancerProfilingClientBuilder.class) +public final class CancerProfilingClient { + @Generated private final CancerProfilingAsyncClient client; + + /** + * Initializes an instance of CancerProfilingClient class. + * + * @param client the async client. + */ + @Generated + CancerProfilingClient(CancerProfilingAsyncClient client) { + this.client = client; + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         inferenceTypes (Optional): [
+     *             String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Optional)
+     *         ]
+     *         checkForCancerCase: Boolean (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         caseId: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *     }
+     * }
+     * }
+ * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link SyncPoller} for polling of the response for the Onco Phenotype request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginInferCancerProfile( + BinaryData oncoPhenotypeData, RequestOptions requestOptions) { + return this.client.beginInferCancerProfile(oncoPhenotypeData, requestOptions).getSyncPoller(); + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the response for the Onco Phenotype request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginInferCancerProfile( + OncoPhenotypeData oncoPhenotypeData) { + // Generated convenience method for beginInferCancerProfileWithModel + return client.beginInferCancerProfile(oncoPhenotypeData).getSyncPoller(); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java new file mode 100644 index 0000000000000..6f375a4011424 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java @@ -0,0 +1,290 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ServiceClientBuilder; +import com.azure.core.client.traits.AzureKeyCredentialTrait; +import com.azure.core.client.traits.ConfigurationTrait; +import com.azure.core.client.traits.EndpointTrait; +import com.azure.core.client.traits.HttpTrait; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpHeaders; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.HttpPipelinePosition; +import com.azure.core.http.policy.AddDatePolicy; +import com.azure.core.http.policy.AddHeadersFromContextPolicy; +import com.azure.core.http.policy.AddHeadersPolicy; +import com.azure.core.http.policy.AzureKeyCredentialPolicy; +import com.azure.core.http.policy.CookiePolicy; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; +import com.azure.core.http.policy.HttpPolicyProviders; +import com.azure.core.http.policy.RequestIdPolicy; +import com.azure.core.http.policy.RetryOptions; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.util.ClientOptions; +import com.azure.core.util.Configuration; +import com.azure.core.util.CoreUtils; +import com.azure.core.util.builder.ClientBuilderUtil; +import com.azure.core.util.serializer.JacksonAdapter; +import com.azure.health.insights.cancerprofiling.implementation.CancerProfilingClientImpl; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** A builder for creating a new instance of the CancerProfilingClient type. */ +@ServiceClientBuilder(serviceClients = {CancerProfilingClient.class, CancerProfilingAsyncClient.class}) +public final class CancerProfilingClientBuilder + implements HttpTrait, + ConfigurationTrait, + AzureKeyCredentialTrait, + EndpointTrait { + @Generated private static final String SDK_NAME = "name"; + + @Generated private static final String SDK_VERSION = "version"; + + @Generated + private static final Map PROPERTIES = + CoreUtils.getProperties("azure-health-insights-cancerprofiling.properties"); + + @Generated private final List pipelinePolicies; + + /** Create an instance of the CancerProfilingClientBuilder. */ + @Generated + public CancerProfilingClientBuilder() { + this.pipelinePolicies = new ArrayList<>(); + } + + /* + * The HTTP pipeline to send requests through. + */ + @Generated private HttpPipeline pipeline; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder pipeline(HttpPipeline pipeline) { + this.pipeline = pipeline; + return this; + } + + /* + * The HTTP client used to send the request. + */ + @Generated private HttpClient httpClient; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder httpClient(HttpClient httpClient) { + this.httpClient = httpClient; + return this; + } + + /* + * The logging configuration for HTTP requests and responses. + */ + @Generated private HttpLogOptions httpLogOptions; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder httpLogOptions(HttpLogOptions httpLogOptions) { + this.httpLogOptions = httpLogOptions; + return this; + } + + /* + * The client options such as application ID and custom headers to set on a request. + */ + @Generated private ClientOptions clientOptions; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder clientOptions(ClientOptions clientOptions) { + this.clientOptions = clientOptions; + return this; + } + + /* + * The retry options to configure retry policy for failed requests. + */ + @Generated private RetryOptions retryOptions; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder retryOptions(RetryOptions retryOptions) { + this.retryOptions = retryOptions; + return this; + } + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder addPolicy(HttpPipelinePolicy customPolicy) { + Objects.requireNonNull(customPolicy, "'customPolicy' cannot be null."); + pipelinePolicies.add(customPolicy); + return this; + } + + /* + * The configuration store that is used during construction of the service client. + */ + @Generated private Configuration configuration; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder configuration(Configuration configuration) { + this.configuration = configuration; + return this; + } + + /* + * The AzureKeyCredential used for authentication. + */ + @Generated private AzureKeyCredential azureKeyCredential; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder credential(AzureKeyCredential azureKeyCredential) { + this.azureKeyCredential = azureKeyCredential; + return this; + } + + /* + * The service endpoint + */ + @Generated private String endpoint; + + /** {@inheritDoc}. */ + @Generated + @Override + public CancerProfilingClientBuilder endpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /* + * Service version + */ + @Generated private AzureHealthInsightsServiceVersion serviceVersion; + + /** + * Sets Service version. + * + * @param serviceVersion the serviceVersion value. + * @return the CancerProfilingClientBuilder. + */ + @Generated + public CancerProfilingClientBuilder serviceVersion(AzureHealthInsightsServiceVersion serviceVersion) { + this.serviceVersion = serviceVersion; + return this; + } + + /* + * The retry policy that will attempt to retry failed requests, if applicable. + */ + @Generated private RetryPolicy retryPolicy; + + /** + * Sets The retry policy that will attempt to retry failed requests, if applicable. + * + * @param retryPolicy the retryPolicy value. + * @return the CancerProfilingClientBuilder. + */ + @Generated + public CancerProfilingClientBuilder retryPolicy(RetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + return this; + } + + /** + * Builds an instance of CancerProfilingClientImpl with the provided parameters. + * + * @return an instance of CancerProfilingClientImpl. + */ + @Generated + private CancerProfilingClientImpl buildInnerClient() { + HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline(); + AzureHealthInsightsServiceVersion localServiceVersion = + (serviceVersion != null) ? serviceVersion : AzureHealthInsightsServiceVersion.getLatest(); + CancerProfilingClientImpl client = + new CancerProfilingClientImpl( + localPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, localServiceVersion); + return client; + } + + @Generated + private HttpPipeline createHttpPipeline() { + Configuration buildConfiguration = + (configuration == null) ? Configuration.getGlobalConfiguration() : configuration; + HttpLogOptions localHttpLogOptions = this.httpLogOptions == null ? new HttpLogOptions() : this.httpLogOptions; + ClientOptions localClientOptions = this.clientOptions == null ? new ClientOptions() : this.clientOptions; + List policies = new ArrayList<>(); + String clientName = PROPERTIES.getOrDefault(SDK_NAME, "UnknownName"); + String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion"); + String applicationId = CoreUtils.getApplicationId(localClientOptions, localHttpLogOptions); + policies.add(new UserAgentPolicy(applicationId, clientName, clientVersion, buildConfiguration)); + policies.add(new RequestIdPolicy()); + policies.add(new AddHeadersFromContextPolicy()); + HttpHeaders headers = new HttpHeaders(); + localClientOptions.getHeaders().forEach(header -> headers.set(header.getName(), header.getValue())); + if (headers.getSize() > 0) { + policies.add(new AddHeadersPolicy(headers)); + } + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) + .forEach(p -> policies.add(p)); + HttpPolicyProviders.addBeforeRetryPolicies(policies); + policies.add(ClientBuilderUtil.validateAndGetRetryPolicy(retryPolicy, retryOptions, new RetryPolicy())); + policies.add(new AddDatePolicy()); + policies.add(new CookiePolicy()); + if (azureKeyCredential != null) { + policies.add(new AzureKeyCredentialPolicy("Ocp-Apim-Subscription-Key", azureKeyCredential)); + } + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) + .forEach(p -> policies.add(p)); + HttpPolicyProviders.addAfterRetryPolicies(policies); + policies.add(new HttpLoggingPolicy(httpLogOptions)); + HttpPipeline httpPipeline = + new HttpPipelineBuilder() + .policies(policies.toArray(new HttpPipelinePolicy[0])) + .httpClient(httpClient) + .clientOptions(localClientOptions) + .build(); + return httpPipeline; + } + + /** + * Builds an instance of CancerProfilingAsyncClient class. + * + * @return an instance of CancerProfilingAsyncClient. + */ + @Generated + public CancerProfilingAsyncClient buildAsyncClient() { + return new CancerProfilingAsyncClient(buildInnerClient()); + } + + /** + * Builds an instance of CancerProfilingClient class. + * + * @return an instance of CancerProfilingClient. + */ + @Generated + public CancerProfilingClient buildClient() { + return new CancerProfilingClient(new CancerProfilingAsyncClient(buildInnerClient())); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java new file mode 100644 index 0000000000000..6734576e5032c --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java @@ -0,0 +1,839 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.CookiePolicy; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.polling.DefaultPollingStrategy; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import com.azure.core.util.serializer.JacksonAdapter; +import com.azure.core.util.serializer.SerializerAdapter; +import com.azure.core.util.serializer.TypeReference; +import com.azure.health.insights.cancerprofiling.AzureHealthInsightsServiceVersion; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResult; +import java.time.Duration; +import java.time.OffsetDateTime; +import java.util.UUID; +import reactor.core.publisher.Mono; + +/** Initializes a new instance of the CancerProfilingClient type. */ +public final class CancerProfilingClientImpl { + /** The proxy service used to perform REST calls. */ + private final CancerProfilingClientService service; + + /** + * Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + */ + private final String endpoint; + + /** + * Gets Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * + * @return the endpoint value. + */ + public String getEndpoint() { + return this.endpoint; + } + + /** Service version. */ + private final AzureHealthInsightsServiceVersion serviceVersion; + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AzureHealthInsightsServiceVersion getServiceVersion() { + return this.serviceVersion; + } + + /** The HTTP pipeline to send requests through. */ + private final HttpPipeline httpPipeline; + + /** + * Gets The HTTP pipeline to send requests through. + * + * @return the httpPipeline value. + */ + public HttpPipeline getHttpPipeline() { + return this.httpPipeline; + } + + /** The serializer to serialize an object into a string. */ + private final SerializerAdapter serializerAdapter; + + /** + * Gets The serializer to serialize an object into a string. + * + * @return the serializerAdapter value. + */ + public SerializerAdapter getSerializerAdapter() { + return this.serializerAdapter; + } + + /** + * Initializes an instance of CancerProfilingClient client. + * + * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * @param serviceVersion Service version. + */ + public CancerProfilingClientImpl(String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + this( + new HttpPipelineBuilder() + .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) + .build(), + JacksonAdapter.createDefaultSerializerAdapter(), + endpoint, + serviceVersion); + } + + /** + * Initializes an instance of CancerProfilingClient client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * @param serviceVersion Service version. + */ + public CancerProfilingClientImpl( + HttpPipeline httpPipeline, String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); + } + + /** + * Initializes an instance of CancerProfilingClient client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param serializerAdapter The serializer to serialize an object into a string. + * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * @param serviceVersion Service version. + */ + public CancerProfilingClientImpl( + HttpPipeline httpPipeline, + SerializerAdapter serializerAdapter, + String endpoint, + AzureHealthInsightsServiceVersion serviceVersion) { + this.httpPipeline = httpPipeline; + this.serializerAdapter = serializerAdapter; + this.endpoint = endpoint; + this.serviceVersion = serviceVersion; + this.service = + RestProxy.create(CancerProfilingClientService.class, this.httpPipeline, this.getSerializerAdapter()); + } + + /** + * The interface defining all the services for CancerProfilingClient to be used by the proxy service to perform REST + * calls. + */ + @Host("{endpoint}/healthinsights") + @ServiceInterface(name = "CancerProfilingClien") + public interface CancerProfilingClientService { + @Post("/oncophenotype/jobs") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType( + value = ClientAuthenticationException.class, + code = {401}) + @UnexpectedResponseExceptionType( + value = ResourceNotFoundException.class, + code = {404}) + @UnexpectedResponseExceptionType( + value = ResourceModifiedException.class, + code = {409}) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> inferCancerProfile( + @HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, + @HeaderParam("accept") String accept, + @BodyParam("application/json") BinaryData oncoPhenotypeData, + RequestOptions requestOptions, + Context context); + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         inferenceTypes (Optional): [
+     *             String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Optional)
+     *         ]
+     *         checkForCancerCase: Boolean (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         caseId: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *     }
+     * }
+     * }
+ * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response for the Onco Phenotype request along with {@link Response} on successful completion of + * {@link Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> inferCancerProfileWithResponseAsync( + BinaryData oncoPhenotypeData, RequestOptions requestOptions) { + final String accept = "application/json"; + RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; + requestOptionsLocal.setHeader("repeatability-request-id", UUID.randomUUID().toString()); + requestOptionsLocal.setHeader( + "repeatability-first-sent", DateTimeRfc1123.toRfc1123String(OffsetDateTime.now())); + return FluxUtil.withContext( + context -> + service.inferCancerProfile( + this.getEndpoint(), + this.getServiceVersion().getVersion(), + accept, + oncoPhenotypeData, + requestOptionsLocal, + context)); + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         inferenceTypes (Optional): [
+     *             String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Optional)
+     *         ]
+     *         checkForCancerCase: Boolean (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         caseId: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *     }
+     * }
+     * }
+ * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link PollerFlux} for polling of the response for the Onco Phenotype request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginInferCancerProfileAsync( + BinaryData oncoPhenotypeData, RequestOptions requestOptions) { + return PollerFlux.create( + Duration.ofSeconds(1), + () -> this.inferCancerProfileWithResponseAsync(oncoPhenotypeData, requestOptions), + new DefaultPollingStrategy<>( + this.getHttpPipeline(), + "{endpoint}/healthinsights".replace("{endpoint}", this.getEndpoint()), + null, + requestOptions != null && requestOptions.getContext() != null + ? requestOptions.getContext() + : Context.NONE), + TypeReference.createInstance(BinaryData.class), + TypeReference.createInstance(BinaryData.class)); + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         inferenceTypes (Optional): [
+     *             String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Optional)
+     *         ]
+     *         checkForCancerCase: Boolean (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         caseId: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *     }
+     * }
+     * }
+ * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link SyncPoller} for polling of the response for the Onco Phenotype request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginInferCancerProfile( + BinaryData oncoPhenotypeData, RequestOptions requestOptions) { + return this.beginInferCancerProfileAsync(oncoPhenotypeData, requestOptions).getSyncPoller(); + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         inferenceTypes (Optional): [
+     *             String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Optional)
+     *         ]
+     *         checkForCancerCase: Boolean (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         caseId: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *     }
+     * }
+     * }
+ * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link PollerFlux} for polling of the response for the Onco Phenotype request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginInferCancerProfileWithModelAsync( + BinaryData oncoPhenotypeData, RequestOptions requestOptions) { + return PollerFlux.create( + Duration.ofSeconds(1), + () -> this.inferCancerProfileWithResponseAsync(oncoPhenotypeData, requestOptions), + new DefaultPollingStrategy<>( + this.getHttpPipeline(), + "{endpoint}/healthinsights".replace("{endpoint}", this.getEndpoint()), + null, + requestOptions != null && requestOptions.getContext() != null + ? requestOptions.getContext() + : Context.NONE), + TypeReference.createInstance(OncoPhenotypeResult.class), + TypeReference.createInstance(OncoPhenotypeResult.class)); + } + + /** + * Create Onco Phenotype job + * + *

Creates an Onco Phenotype job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         inferenceTypes (Optional): [
+     *             String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Optional)
+     *         ]
+     *         checkForCancerCase: Boolean (Optional)
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(tumorSite/histology/clinicalStageT/clinicalStageN/clinicalStageM/pathologicStageT/pathologicStageN/pathologicStageM) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         caseId: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *     }
+     * }
+     * }
+ * + * @param oncoPhenotypeData The body of the Onco Phenotype request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link SyncPoller} for polling of the response for the Onco Phenotype request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginInferCancerProfileWithModel( + BinaryData oncoPhenotypeData, RequestOptions requestOptions) { + return this.beginInferCancerProfileWithModelAsync(oncoPhenotypeData, requestOptions).getSyncPoller(); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java new file mode 100644 index 0000000000000..0bd37018b715f --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the implementations for AzureHealthInsights. Azure Health Insights provides an API that serves + * insight models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a + * human. + */ +package com.azure.health.insights.cancerprofiling.implementation; diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalCodedElement.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalCodedElement.java new file mode 100644 index 0000000000000..adcace4280b1c --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalCodedElement.java @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A piece of clinical information, expressed as a code in a clinical coding system. */ +@Fluent +public final class ClinicalCodedElement { + /* + * The clinical coding system, e.g. ICD-10, SNOMED-CT, UMLS. + */ + @JsonProperty(value = "system", required = true) + private String system; + + /* + * The code within the given clinical coding system. + */ + @JsonProperty(value = "code", required = true) + private String code; + + /* + * The name of this coded concept in the coding system. + */ + @JsonProperty(value = "name") + private String name; + + /* + * A value associated with the code within the given clinical coding system. + */ + @JsonProperty(value = "value") + private String value; + + /** + * Creates an instance of ClinicalCodedElement class. + * + * @param system the system value to set. + * @param code the code value to set. + */ + @JsonCreator + public ClinicalCodedElement( + @JsonProperty(value = "system", required = true) String system, + @JsonProperty(value = "code", required = true) String code) { + this.system = system; + this.code = code; + } + + /** + * Get the system property: The clinical coding system, e.g. ICD-10, SNOMED-CT, UMLS. + * + * @return the system value. + */ + public String getSystem() { + return this.system; + } + + /** + * Get the code property: The code within the given clinical coding system. + * + * @return the code value. + */ + public String getCode() { + return this.code; + } + + /** + * Get the name property: The name of this coded concept in the coding system. + * + * @return the name value. + */ + public String getName() { + return this.name; + } + + /** + * Set the name property: The name of this coded concept in the coding system. + * + * @param name the name value to set. + * @return the ClinicalCodedElement object itself. + */ + public ClinicalCodedElement setName(String name) { + this.name = name; + return this; + } + + /** + * Get the value property: A value associated with the code within the given clinical coding system. + * + * @return the value value. + */ + public String getValue() { + return this.value; + } + + /** + * Set the value property: A value associated with the code within the given clinical coding system. + * + * @param value the value value to set. + * @return the ClinicalCodedElement object itself. + */ + public ClinicalCodedElement setValue(String value) { + this.value = value; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalDocumentType.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalDocumentType.java new file mode 100644 index 0000000000000..06780e9704a1d --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalDocumentType.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The type of the clinical document. */ +public final class ClinicalDocumentType extends ExpandableStringEnum { + /** Static value consultation for ClinicalDocumentType. */ + public static final ClinicalDocumentType CONSULTATION = fromString("consultation"); + + /** Static value dischargeSummary for ClinicalDocumentType. */ + public static final ClinicalDocumentType DISCHARGE_SUMMARY = fromString("dischargeSummary"); + + /** Static value historyAndPhysical for ClinicalDocumentType. */ + public static final ClinicalDocumentType HISTORY_AND_PHYSICAL = fromString("historyAndPhysical"); + + /** Static value procedure for ClinicalDocumentType. */ + public static final ClinicalDocumentType PROCEDURE = fromString("procedure"); + + /** Static value progress for ClinicalDocumentType. */ + public static final ClinicalDocumentType PROGRESS = fromString("progress"); + + /** Static value imaging for ClinicalDocumentType. */ + public static final ClinicalDocumentType IMAGING = fromString("imaging"); + + /** Static value laboratory for ClinicalDocumentType. */ + public static final ClinicalDocumentType LABORATORY = fromString("laboratory"); + + /** Static value pathology for ClinicalDocumentType. */ + public static final ClinicalDocumentType PATHOLOGY = fromString("pathology"); + + /** + * Creates a new instance of ClinicalDocumentType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalDocumentType() {} + + /** + * Creates or finds a ClinicalDocumentType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalDocumentType. + */ + @JsonCreator + public static ClinicalDocumentType fromString(String name) { + return fromString(name, ClinicalDocumentType.class); + } + + /** + * Gets known ClinicalDocumentType values. + * + * @return known ClinicalDocumentType values. + */ + public static Collection values() { + return values(ClinicalDocumentType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalNoteEvidence.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalNoteEvidence.java new file mode 100644 index 0000000000000..4445d1e692d99 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/ClinicalNoteEvidence.java @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A piece of evidence from a clinical note (text document). */ +@Immutable +public final class ClinicalNoteEvidence { + /* + * The identifier of the document containing the evidence. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * The actual text span which is evidence for the inference. + */ + @JsonProperty(value = "text") + private String text; + + /* + * The start index of the evidence text span in the document (0 based). + */ + @JsonProperty(value = "offset", required = true) + private int offset; + + /* + * The length of the evidence text span. + */ + @JsonProperty(value = "length", required = true) + private int length; + + /** + * Creates an instance of ClinicalNoteEvidence class. + * + * @param id the id value to set. + * @param offset the offset value to set. + * @param length the length value to set. + */ + @JsonCreator + private ClinicalNoteEvidence( + @JsonProperty(value = "id", required = true) String id, + @JsonProperty(value = "offset", required = true) int offset, + @JsonProperty(value = "length", required = true) int length) { + this.id = id; + this.offset = offset; + this.length = length; + } + + /** + * Get the id property: The identifier of the document containing the evidence. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the text property: The actual text span which is evidence for the inference. + * + * @return the text value. + */ + public String getText() { + return this.text; + } + + /** + * Get the offset property: The start index of the evidence text span in the document (0 based). + * + * @return the offset value. + */ + public int getOffset() { + return this.offset; + } + + /** + * Get the length property: The length of the evidence text span. + * + * @return the length value. + */ + public int getLength() { + return this.length; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContent.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContent.java new file mode 100644 index 0000000000000..fdb2d6a84e05c --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContent.java @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The content of the patient document. */ +@Immutable +public final class DocumentContent { + /* + * The type of the content's source. + * In case the source type is 'inline', the content is given as a string (for instance, text). + * In case the source type is 'reference', the content is given as a URI. + */ + @JsonProperty(value = "sourceType", required = true) + private DocumentContentSourceType sourceType; + + /* + * The content of the document, given either inline (as a string) or as a reference (URI). + */ + @JsonProperty(value = "value", required = true) + private String value; + + /** + * Creates an instance of DocumentContent class. + * + * @param sourceType the sourceType value to set. + * @param value the value value to set. + */ + @JsonCreator + public DocumentContent( + @JsonProperty(value = "sourceType", required = true) DocumentContentSourceType sourceType, + @JsonProperty(value = "value", required = true) String value) { + this.sourceType = sourceType; + this.value = value; + } + + /** + * Get the sourceType property: The type of the content's source. In case the source type is 'inline', the content + * is given as a string (for instance, text). In case the source type is 'reference', the content is given as a URI. + * + * @return the sourceType value. + */ + public DocumentContentSourceType getSourceType() { + return this.sourceType; + } + + /** + * Get the value property: The content of the document, given either inline (as a string) or as a reference (URI). + * + * @return the value value. + */ + public String getValue() { + return this.value; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContentSourceType.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContentSourceType.java new file mode 100644 index 0000000000000..8e9b064cccf25 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentContentSourceType.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * The type of the content's source. In case the source type is 'inline', the content is given as a string (for + * instance, text). In case the source type is 'reference', the content is given as a URI. + */ +public final class DocumentContentSourceType extends ExpandableStringEnum { + /** Static value inline for DocumentContentSourceType. */ + public static final DocumentContentSourceType INLINE = fromString("inline"); + + /** Static value reference for DocumentContentSourceType. */ + public static final DocumentContentSourceType REFERENCE = fromString("reference"); + + /** + * Creates a new instance of DocumentContentSourceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public DocumentContentSourceType() {} + + /** + * Creates or finds a DocumentContentSourceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DocumentContentSourceType. + */ + @JsonCreator + public static DocumentContentSourceType fromString(String name) { + return fromString(name, DocumentContentSourceType.class); + } + + /** + * Gets known DocumentContentSourceType values. + * + * @return known DocumentContentSourceType values. + */ + public static Collection values() { + return values(DocumentContentSourceType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentType.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentType.java new file mode 100644 index 0000000000000..8a7fe417617be --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/DocumentType.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The type of the patient document, such as 'note' (text document) or 'fhirBundle' (FHIR JSON document). */ +public final class DocumentType extends ExpandableStringEnum { + /** Static value note for DocumentType. */ + public static final DocumentType NOTE = fromString("note"); + + /** Static value fhirBundle for DocumentType. */ + public static final DocumentType FHIR_BUNDLE = fromString("fhirBundle"); + + /** Static value dicom for DocumentType. */ + public static final DocumentType DICOM = fromString("dicom"); + + /** Static value genomicSequencing for DocumentType. */ + public static final DocumentType GENOMIC_SEQUENCING = fromString("genomicSequencing"); + + /** + * Creates a new instance of DocumentType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public DocumentType() {} + + /** + * Creates or finds a DocumentType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DocumentType. + */ + @JsonCreator + public static DocumentType fromString(String name) { + return fromString(name, DocumentType.class); + } + + /** + * Gets known DocumentType values. + * + * @return known DocumentType values. + */ + public static Collection values() { + return values(DocumentType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/InferenceEvidence.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/InferenceEvidence.java new file mode 100644 index 0000000000000..cfb2a452af0b5 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/InferenceEvidence.java @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A piece of evidence corresponding to an inference. */ +@Immutable +public final class InferenceEvidence { + /* + * A piece of evidence from a clinical note (text document). + */ + @JsonProperty(value = "patientDataEvidence") + private ClinicalNoteEvidence patientDataEvidence; + + /* + * A piece of clinical information, expressed as a code in a clinical coding + * system. + */ + @JsonProperty(value = "patientInfoEvidence") + private ClinicalCodedElement patientInfoEvidence; + + /* + * A value indicating how important this piece of evidence is for the inference. + */ + @JsonProperty(value = "importance") + private Double importance; + + /** Creates an instance of InferenceEvidence class. */ + private InferenceEvidence() {} + + /** + * Get the patientDataEvidence property: A piece of evidence from a clinical note (text document). + * + * @return the patientDataEvidence value. + */ + public ClinicalNoteEvidence getPatientDataEvidence() { + return this.patientDataEvidence; + } + + /** + * Get the patientInfoEvidence property: A piece of clinical information, expressed as a code in a clinical coding + * system. + * + * @return the patientInfoEvidence value. + */ + public ClinicalCodedElement getPatientInfoEvidence() { + return this.patientInfoEvidence; + } + + /** + * Get the importance property: A value indicating how important this piece of evidence is for the inference. + * + * @return the importance value. + */ + public Double getImportance() { + return this.importance; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/JobStatus.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/JobStatus.java new file mode 100644 index 0000000000000..0ba97158b2238 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/JobStatus.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The status of the processing job. */ +public final class JobStatus extends ExpandableStringEnum { + /** Static value notStarted for JobStatus. */ + public static final JobStatus NOT_STARTED = fromString("notStarted"); + + /** Static value running for JobStatus. */ + public static final JobStatus RUNNING = fromString("running"); + + /** Static value succeeded for JobStatus. */ + public static final JobStatus SUCCEEDED = fromString("succeeded"); + + /** Static value failed for JobStatus. */ + public static final JobStatus FAILED = fromString("failed"); + + /** Static value partiallyCompleted for JobStatus. */ + public static final JobStatus PARTIALLY_COMPLETED = fromString("partiallyCompleted"); + + /** + * Creates a new instance of JobStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public JobStatus() {} + + /** + * Creates or finds a JobStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding JobStatus. + */ + @JsonCreator + public static JobStatus fromString(String name) { + return fromString(name, JobStatus.class); + } + + /** + * Gets known JobStatus values. + * + * @return known JobStatus values. + */ + public static Collection values() { + return values(JobStatus.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeData.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeData.java new file mode 100644 index 0000000000000..34683a558141e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeData.java @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The body of the Onco Phenotype request. */ +@Fluent +public final class OncoPhenotypeData { + /* + * The list of patients, including their clinical information and data. + */ + @JsonProperty(value = "patients", required = true) + private List patients; + + /* + * Configuration affecting the Onco Phenotype model's inference. + */ + @JsonProperty(value = "configuration") + private OncoPhenotypeModelConfiguration configuration; + + /** + * Creates an instance of OncoPhenotypeData class. + * + * @param patients the patients value to set. + */ + @JsonCreator + public OncoPhenotypeData(@JsonProperty(value = "patients", required = true) List patients) { + this.patients = patients; + } + + /** + * Get the patients property: The list of patients, including their clinical information and data. + * + * @return the patients value. + */ + public List getPatients() { + return this.patients; + } + + /** + * Get the configuration property: Configuration affecting the Onco Phenotype model's inference. + * + * @return the configuration value. + */ + public OncoPhenotypeModelConfiguration getConfiguration() { + return this.configuration; + } + + /** + * Set the configuration property: Configuration affecting the Onco Phenotype model's inference. + * + * @param configuration the configuration value to set. + * @return the OncoPhenotypeData object itself. + */ + public OncoPhenotypeData setConfiguration(OncoPhenotypeModelConfiguration configuration) { + this.configuration = configuration; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInference.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInference.java new file mode 100644 index 0000000000000..10c2bd1ebf79a --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInference.java @@ -0,0 +1,119 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** An inference made by the Onco Phenotype model regarding a patient. */ +@Immutable +public final class OncoPhenotypeInference { + /* + * The type of the Onco Phenotype inference + */ + @JsonProperty(value = "type", required = true) + private OncoPhenotypeInferenceType type; + + /* + * The value of the inference, as relevant for the given inference type. + */ + @JsonProperty(value = "value", required = true) + private String value; + + /* + * The description corresponding to the inference value. + */ + @JsonProperty(value = "description") + private String description; + + /* + * Confidence score for this inference. + */ + @JsonProperty(value = "confidenceScore") + private Double confidenceScore; + + /* + * The evidence corresponding to the inference value. + */ + @JsonProperty(value = "evidence") + private List evidence; + + /* + * An identifier for a clinical case, if there are multiple clinical cases regarding the same patient. + */ + @JsonProperty(value = "caseId") + private String caseId; + + /** + * Creates an instance of OncoPhenotypeInference class. + * + * @param type the type value to set. + * @param value the value value to set. + */ + @JsonCreator + private OncoPhenotypeInference( + @JsonProperty(value = "type", required = true) OncoPhenotypeInferenceType type, + @JsonProperty(value = "value", required = true) String value) { + this.type = type; + this.value = value; + } + + /** + * Get the type property: The type of the Onco Phenotype inference. + * + * @return the type value. + */ + public OncoPhenotypeInferenceType getType() { + return this.type; + } + + /** + * Get the value property: The value of the inference, as relevant for the given inference type. + * + * @return the value value. + */ + public String getValue() { + return this.value; + } + + /** + * Get the description property: The description corresponding to the inference value. + * + * @return the description value. + */ + public String getDescription() { + return this.description; + } + + /** + * Get the confidenceScore property: Confidence score for this inference. + * + * @return the confidenceScore value. + */ + public Double getConfidenceScore() { + return this.confidenceScore; + } + + /** + * Get the evidence property: The evidence corresponding to the inference value. + * + * @return the evidence value. + */ + public List getEvidence() { + return this.evidence; + } + + /** + * Get the caseId property: An identifier for a clinical case, if there are multiple clinical cases regarding the + * same patient. + * + * @return the caseId value. + */ + public String getCaseId() { + return this.caseId; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInferenceType.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInferenceType.java new file mode 100644 index 0000000000000..a20cd237d07ed --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeInferenceType.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The type of the Onco Phenotype inference. */ +public final class OncoPhenotypeInferenceType extends ExpandableStringEnum { + /** Static value tumorSite for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType TUMOR_SITE = fromString("tumorSite"); + + /** Static value histology for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType HISTOLOGY = fromString("histology"); + + /** Static value clinicalStageT for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType CLINICAL_STAGET = fromString("clinicalStageT"); + + /** Static value clinicalStageN for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType CLINICAL_STAGEN = fromString("clinicalStageN"); + + /** Static value clinicalStageM for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType CLINICAL_STAGEM = fromString("clinicalStageM"); + + /** Static value pathologicStageT for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType PATHOLOGIC_STAGET = fromString("pathologicStageT"); + + /** Static value pathologicStageN for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType PATHOLOGIC_STAGEN = fromString("pathologicStageN"); + + /** Static value pathologicStageM for OncoPhenotypeInferenceType. */ + public static final OncoPhenotypeInferenceType PATHOLOGIC_STAGEM = fromString("pathologicStageM"); + + /** + * Creates a new instance of OncoPhenotypeInferenceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public OncoPhenotypeInferenceType() {} + + /** + * Creates or finds a OncoPhenotypeInferenceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding OncoPhenotypeInferenceType. + */ + @JsonCreator + public static OncoPhenotypeInferenceType fromString(String name) { + return fromString(name, OncoPhenotypeInferenceType.class); + } + + /** + * Gets known OncoPhenotypeInferenceType values. + * + * @return known OncoPhenotypeInferenceType values. + */ + public static Collection values() { + return values(OncoPhenotypeInferenceType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeModelConfiguration.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeModelConfiguration.java new file mode 100644 index 0000000000000..6b633087c50be --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeModelConfiguration.java @@ -0,0 +1,131 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Configuration affecting the Onco Phenotype model's inference. */ +@Fluent +public final class OncoPhenotypeModelConfiguration { + /* + * An indication whether the model should produce verbose output. + */ + @JsonProperty(value = "verbose") + private Boolean verbose; + + /* + * An indication whether the model's output should include evidence for the inferences. + */ + @JsonProperty(value = "includeEvidence") + private Boolean includeEvidence; + + /* + * A list of inference types to be inferred for the current request. + * This could be used if only part of the Onco Phenotype inferences are required. + * If this list is omitted or empty, the model will return all the inference types. + */ + @JsonProperty(value = "inferenceTypes") + private List inferenceTypes; + + /* + * An indication whether to perform a preliminary step on the patient's documents to determine whether they relate + * to a Cancer case. + */ + @JsonProperty(value = "checkForCancerCase") + private Boolean checkForCancerCase; + + /** Creates an instance of OncoPhenotypeModelConfiguration class. */ + public OncoPhenotypeModelConfiguration() {} + + /** + * Get the verbose property: An indication whether the model should produce verbose output. + * + * @return the verbose value. + */ + public Boolean isVerbose() { + return this.verbose; + } + + /** + * Set the verbose property: An indication whether the model should produce verbose output. + * + * @param verbose the verbose value to set. + * @return the OncoPhenotypeModelConfiguration object itself. + */ + public OncoPhenotypeModelConfiguration setVerbose(Boolean verbose) { + this.verbose = verbose; + return this; + } + + /** + * Get the includeEvidence property: An indication whether the model's output should include evidence for the + * inferences. + * + * @return the includeEvidence value. + */ + public Boolean isIncludeEvidence() { + return this.includeEvidence; + } + + /** + * Set the includeEvidence property: An indication whether the model's output should include evidence for the + * inferences. + * + * @param includeEvidence the includeEvidence value to set. + * @return the OncoPhenotypeModelConfiguration object itself. + */ + public OncoPhenotypeModelConfiguration setIncludeEvidence(Boolean includeEvidence) { + this.includeEvidence = includeEvidence; + return this; + } + + /** + * Get the inferenceTypes property: A list of inference types to be inferred for the current request. This could be + * used if only part of the Onco Phenotype inferences are required. If this list is omitted or empty, the model will + * return all the inference types. + * + * @return the inferenceTypes value. + */ + public List getInferenceTypes() { + return this.inferenceTypes; + } + + /** + * Set the inferenceTypes property: A list of inference types to be inferred for the current request. This could be + * used if only part of the Onco Phenotype inferences are required. If this list is omitted or empty, the model will + * return all the inference types. + * + * @param inferenceTypes the inferenceTypes value to set. + * @return the OncoPhenotypeModelConfiguration object itself. + */ + public OncoPhenotypeModelConfiguration setInferenceTypes(List inferenceTypes) { + this.inferenceTypes = inferenceTypes; + return this; + } + + /** + * Get the checkForCancerCase property: An indication whether to perform a preliminary step on the patient's + * documents to determine whether they relate to a Cancer case. + * + * @return the checkForCancerCase value. + */ + public Boolean isCheckForCancerCase() { + return this.checkForCancerCase; + } + + /** + * Set the checkForCancerCase property: An indication whether to perform a preliminary step on the patient's + * documents to determine whether they relate to a Cancer case. + * + * @param checkForCancerCase the checkForCancerCase value to set. + * @return the OncoPhenotypeModelConfiguration object itself. + */ + public OncoPhenotypeModelConfiguration setCheckForCancerCase(Boolean checkForCancerCase) { + this.checkForCancerCase = checkForCancerCase; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypePatientResult.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypePatientResult.java new file mode 100644 index 0000000000000..f80c7c286f772 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypePatientResult.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The results of the model's work for a single patient. */ +@Immutable +public final class OncoPhenotypePatientResult { + /* + * The identifier given for the patient in the request. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * The model's inferences for the given patient. + */ + @JsonProperty(value = "inferences", required = true) + private List inferences; + + /** + * Creates an instance of OncoPhenotypePatientResult class. + * + * @param id the id value to set. + * @param inferences the inferences value to set. + */ + @JsonCreator + private OncoPhenotypePatientResult( + @JsonProperty(value = "id", required = true) String id, + @JsonProperty(value = "inferences", required = true) List inferences) { + this.id = id; + this.inferences = inferences; + } + + /** + * Get the id property: The identifier given for the patient in the request. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the inferences property: The model's inferences for the given patient. + * + * @return the inferences value. + */ + public List getInferences() { + return this.inferences; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResult.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResult.java new file mode 100644 index 0000000000000..c2361f8a5c782 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResult.java @@ -0,0 +1,123 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.models.ResponseError; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.OffsetDateTime; +import java.util.List; + +/** The response for the Onco Phenotype request. */ +@Immutable +public final class OncoPhenotypeResult { + /* + * A processing job identifier. + */ + @JsonProperty(value = "jobId", required = true, access = JsonProperty.Access.WRITE_ONLY) + private String jobId; + + /* + * The date and time when the processing job was created. + */ + @JsonProperty(value = "createdDateTime", required = true, access = JsonProperty.Access.WRITE_ONLY) + private OffsetDateTime createdDateTime; + + /* + * The date and time when the processing job is set to expire. + */ + @JsonProperty(value = "expirationDateTime", required = true, access = JsonProperty.Access.WRITE_ONLY) + private OffsetDateTime expirationDateTime; + + /* + * The date and time when the processing job was last updated. + */ + @JsonProperty(value = "lastUpdateDateTime", required = true, access = JsonProperty.Access.WRITE_ONLY) + private OffsetDateTime lastUpdateDateTime; + + /* + * The status of the processing job. + */ + @JsonProperty(value = "status", required = true, access = JsonProperty.Access.WRITE_ONLY) + private JobStatus status; + + /* + * An array of errors, if any errors occurred during the processing job. + */ + @JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY) + private List errors; + + /* + * The inference results for the Onco Phenotype request. + */ + @JsonProperty(value = "results", access = JsonProperty.Access.WRITE_ONLY) + private OncoPhenotypeResults results; + + /** Creates an instance of OncoPhenotypeResult class. */ + private OncoPhenotypeResult() {} + + /** + * Get the jobId property: A processing job identifier. + * + * @return the jobId value. + */ + public String getJobId() { + return this.jobId; + } + + /** + * Get the createdDateTime property: The date and time when the processing job was created. + * + * @return the createdDateTime value. + */ + public OffsetDateTime getCreatedDateTime() { + return this.createdDateTime; + } + + /** + * Get the expirationDateTime property: The date and time when the processing job is set to expire. + * + * @return the expirationDateTime value. + */ + public OffsetDateTime getExpirationDateTime() { + return this.expirationDateTime; + } + + /** + * Get the lastUpdateDateTime property: The date and time when the processing job was last updated. + * + * @return the lastUpdateDateTime value. + */ + public OffsetDateTime getLastUpdateDateTime() { + return this.lastUpdateDateTime; + } + + /** + * Get the status property: The status of the processing job. + * + * @return the status value. + */ + public JobStatus getStatus() { + return this.status; + } + + /** + * Get the errors property: An array of errors, if any errors occurred during the processing job. + * + * @return the errors value. + */ + public List getErrors() { + return this.errors; + } + + /** + * Get the results property: The inference results for the Onco Phenotype request. + * + * @return the results value. + */ + public OncoPhenotypeResults getResults() { + return this.results; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResults.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResults.java new file mode 100644 index 0000000000000..70bf0da19e7aa --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/OncoPhenotypeResults.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The inference results for the Onco Phenotype request. */ +@Immutable +public final class OncoPhenotypeResults { + /* + * Results for the patients given in the request. + */ + @JsonProperty(value = "patients", required = true) + private List patients; + + /* + * The version of the model used for inference, expressed as the model date. + */ + @JsonProperty(value = "modelVersion", required = true) + private String modelVersion; + + /** + * Creates an instance of OncoPhenotypeResults class. + * + * @param patients the patients value to set. + * @param modelVersion the modelVersion value to set. + */ + @JsonCreator + private OncoPhenotypeResults( + @JsonProperty(value = "patients", required = true) List patients, + @JsonProperty(value = "modelVersion", required = true) String modelVersion) { + this.patients = patients; + this.modelVersion = modelVersion; + } + + /** + * Get the patients property: Results for the patients given in the request. + * + * @return the patients value. + */ + public List getPatients() { + return this.patients; + } + + /** + * Get the modelVersion property: The version of the model used for inference, expressed as the model date. + * + * @return the modelVersion value. + */ + public String getModelVersion() { + return this.modelVersion; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientDocument.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientDocument.java new file mode 100644 index 0000000000000..6bd3e0220f0e9 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientDocument.java @@ -0,0 +1,156 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.OffsetDateTime; + +/** A clinical document related to a patient. Document here is in the wide sense - not just a text document (note). */ +@Fluent +public final class PatientDocument { + /* + * The type of the patient document, such as 'note' (text document) or 'fhirBundle' (FHIR JSON document). + */ + @JsonProperty(value = "type", required = true) + private DocumentType type; + + /* + * The type of the clinical document. + */ + @JsonProperty(value = "clinicalType") + private ClinicalDocumentType clinicalType; + + /* + * A given identifier for the document. Has to be unique across all documents for a single patient. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * A 2 letter ISO 639-1 representation of the language of the document. + */ + @JsonProperty(value = "language") + private String language; + + /* + * The date and time when the document was created. + */ + @JsonProperty(value = "createdDateTime") + private OffsetDateTime createdDateTime; + + /* + * The content of the patient document. + */ + @JsonProperty(value = "content", required = true) + private DocumentContent content; + + /** + * Creates an instance of PatientDocument class. + * + * @param type the type value to set. + * @param id the id value to set. + * @param content the content value to set. + */ + @JsonCreator + public PatientDocument( + @JsonProperty(value = "type", required = true) DocumentType type, + @JsonProperty(value = "id", required = true) String id, + @JsonProperty(value = "content", required = true) DocumentContent content) { + this.type = type; + this.id = id; + this.content = content; + } + + /** + * Get the type property: The type of the patient document, such as 'note' (text document) or 'fhirBundle' (FHIR + * JSON document). + * + * @return the type value. + */ + public DocumentType getType() { + return this.type; + } + + /** + * Get the clinicalType property: The type of the clinical document. + * + * @return the clinicalType value. + */ + public ClinicalDocumentType getClinicalType() { + return this.clinicalType; + } + + /** + * Set the clinicalType property: The type of the clinical document. + * + * @param clinicalType the clinicalType value to set. + * @return the PatientDocument object itself. + */ + public PatientDocument setClinicalType(ClinicalDocumentType clinicalType) { + this.clinicalType = clinicalType; + return this; + } + + /** + * Get the id property: A given identifier for the document. Has to be unique across all documents for a single + * patient. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the language property: A 2 letter ISO 639-1 representation of the language of the document. + * + * @return the language value. + */ + public String getLanguage() { + return this.language; + } + + /** + * Set the language property: A 2 letter ISO 639-1 representation of the language of the document. + * + * @param language the language value to set. + * @return the PatientDocument object itself. + */ + public PatientDocument setLanguage(String language) { + this.language = language; + return this; + } + + /** + * Get the createdDateTime property: The date and time when the document was created. + * + * @return the createdDateTime value. + */ + public OffsetDateTime getCreatedDateTime() { + return this.createdDateTime; + } + + /** + * Set the createdDateTime property: The date and time when the document was created. + * + * @param createdDateTime the createdDateTime value to set. + * @return the PatientDocument object itself. + */ + public PatientDocument setCreatedDateTime(OffsetDateTime createdDateTime) { + this.createdDateTime = createdDateTime; + return this; + } + + /** + * Get the content property: The content of the patient document. + * + * @return the content value. + */ + public DocumentContent getContent() { + return this.content; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfo.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfo.java new file mode 100644 index 0000000000000..89d04f05c3321 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfo.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; +import java.util.List; + +/** Patient structured information, including demographics and known structured clinical information. */ +@Fluent +public final class PatientInfo { + /* + * The patient's sex. + */ + @JsonProperty(value = "sex") + private PatientInfoSex sex; + + /* + * The patient's date of birth. + */ + @JsonProperty(value = "birthDate") + private LocalDate birthDate; + + /* + * Known clinical information for the patient, structured. + */ + @JsonProperty(value = "clinicalInfo") + private List clinicalInfo; + + /** Creates an instance of PatientInfo class. */ + public PatientInfo() {} + + /** + * Get the sex property: The patient's sex. + * + * @return the sex value. + */ + public PatientInfoSex getSex() { + return this.sex; + } + + /** + * Set the sex property: The patient's sex. + * + * @param sex the sex value to set. + * @return the PatientInfo object itself. + */ + public PatientInfo setSex(PatientInfoSex sex) { + this.sex = sex; + return this; + } + + /** + * Get the birthDate property: The patient's date of birth. + * + * @return the birthDate value. + */ + public LocalDate getBirthDate() { + return this.birthDate; + } + + /** + * Set the birthDate property: The patient's date of birth. + * + * @param birthDate the birthDate value to set. + * @return the PatientInfo object itself. + */ + public PatientInfo setBirthDate(LocalDate birthDate) { + this.birthDate = birthDate; + return this; + } + + /** + * Get the clinicalInfo property: Known clinical information for the patient, structured. + * + * @return the clinicalInfo value. + */ + public List getClinicalInfo() { + return this.clinicalInfo; + } + + /** + * Set the clinicalInfo property: Known clinical information for the patient, structured. + * + * @param clinicalInfo the clinicalInfo value to set. + * @return the PatientInfo object itself. + */ + public PatientInfo setClinicalInfo(List clinicalInfo) { + this.clinicalInfo = clinicalInfo; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfoSex.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfoSex.java new file mode 100644 index 0000000000000..9d2ffa0e1d8b3 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientInfoSex.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The patient's sex. */ +public final class PatientInfoSex extends ExpandableStringEnum { + /** Static value female for PatientInfoSex. */ + public static final PatientInfoSex FEMALE = fromString("female"); + + /** Static value male for PatientInfoSex. */ + public static final PatientInfoSex MALE = fromString("male"); + + /** Static value unspecified for PatientInfoSex. */ + public static final PatientInfoSex UNSPECIFIED = fromString("unspecified"); + + /** + * Creates a new instance of PatientInfoSex value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public PatientInfoSex() {} + + /** + * Creates or finds a PatientInfoSex from its string representation. + * + * @param name a name to look for. + * @return the corresponding PatientInfoSex. + */ + @JsonCreator + public static PatientInfoSex fromString(String name) { + return fromString(name, PatientInfoSex.class); + } + + /** + * Gets known PatientInfoSex values. + * + * @return known PatientInfoSex values. + */ + public static Collection values() { + return values(PatientInfoSex.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientRecord.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientRecord.java new file mode 100644 index 0000000000000..71a069487f7b1 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/PatientRecord.java @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.cancerprofiling.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** A patient record, including their clinical information and data. */ +@Fluent +public final class PatientRecord { + /* + * A given identifier for the patient. Has to be unique across all patients in a single request. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * Patient structured information, including demographics and known structured clinical information. + */ + @JsonProperty(value = "info") + private PatientInfo info; + + /* + * Patient unstructured clinical data, given as documents. + */ + @JsonProperty(value = "data") + private List data; + + /** + * Creates an instance of PatientRecord class. + * + * @param id the id value to set. + */ + @JsonCreator + public PatientRecord(@JsonProperty(value = "id", required = true) String id) { + this.id = id; + } + + /** + * Get the id property: A given identifier for the patient. Has to be unique across all patients in a single + * request. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the info property: Patient structured information, including demographics and known structured clinical + * information. + * + * @return the info value. + */ + public PatientInfo getInfo() { + return this.info; + } + + /** + * Set the info property: Patient structured information, including demographics and known structured clinical + * information. + * + * @param info the info value to set. + * @return the PatientRecord object itself. + */ + public PatientRecord setInfo(PatientInfo info) { + this.info = info; + return this; + } + + /** + * Get the data property: Patient unstructured clinical data, given as documents. + * + * @return the data value. + */ + public List getData() { + return this.data; + } + + /** + * Set the data property: Patient unstructured clinical data, given as documents. + * + * @param data the data value to set. + * @return the PatientRecord object itself. + */ + public PatientRecord setData(List data) { + this.data = data; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java new file mode 100644 index 0000000000000..69bf37e5296aa --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the data models for AzureHealthInsights. Azure Health Insights provides an API that serves insight + * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. + */ +package com.azure.health.insights.cancerprofiling.models; diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java new file mode 100644 index 0000000000000..443b2cc5f7515 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the classes for AzureHealthInsights. Azure Health Insights provides an API that serves insight + * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. + */ +package com.azure.health.insights.cancerprofiling; diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/module-info.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/module-info.java new file mode 100644 index 0000000000000..04ec3f09d9b76 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/module-info.java @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +module com.azure.health.insights.cancerprofiling { + requires transitive com.azure.core; + + exports com.azure.health.insights.cancerprofiling; + exports com.azure.health.insights.cancerprofiling.models; + + opens com.azure.health.insights.cancerprofiling.models to + com.azure.core, + com.fasterxml.jackson.databind; +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/resources/azure-health-insights-cancerprofiling.properties b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/resources/azure-health-insights-cancerprofiling.properties new file mode 100644 index 0000000000000..ca812989b4f27 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/resources/azure-health-insights-cancerprofiling.properties @@ -0,0 +1,2 @@ +name=${project.artifactId} +version=${project.version} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md new file mode 100644 index 0000000000000..3f4bbc8f2a46c --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md @@ -0,0 +1,57 @@ +--- +page_type: sample +languages: + - java +products: + - azure + - azure-cognitive-services + - azure-health-insights-cancerprofiling +urlFragment: healthinsights-java-samples +--- + +# Azure Health Insights client library samples for Java + +Azure Health Insights Cancer Profiling samples are a set of self-contained Java programs that demonstrate interacting with Azure self-contained service using the client library. Each sample focuses on a specific scenario and can be executed independently. + +## Key concepts + + +Key concepts are explained in detail [here] +## Getting started + + +Getting started explained in detail [here] + +## Examples + +The following sections provide code samples covering common scenario operations with the Azure Health Insights CancerProfiling client library. + +All of these samples need the endpoint to your Health Insights resource, and your Health Insights API key. + +|**File Name**|**Description**| +|----------------|-------------| +|[SampleInferCancerProfile.java][infer_cancer_profiling]|Get the inferred cancer staging| + +## Troubleshooting + + +Troubleshooting steps can be found [here]. + +## Next steps + + +See [Next steps]. + +## Contributing + +If you would like to become an active contributor to this project please refer to our [Contribution +Guidelines][SDK_README_CONTRIBUTING] for more information. + + diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java new file mode 100644 index 0000000000000..0c92fbabf869c --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java @@ -0,0 +1,172 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.cancerprofiling; + +import java.io.IOException; +import java.time.LocalDate; +import java.time.OffsetDateTime; +import java.util.Arrays; +import java.util.LinkedList; + +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.util.polling.PollerFlux; +import com.azure.health.insights.cancerprofiling.models.PatientInfoSex; +import com.azure.health.insights.cancerprofiling.models.ClinicalCodedElement; +import com.azure.health.insights.cancerprofiling.models.PatientInfo; +import com.azure.health.insights.cancerprofiling.models.PatientRecord; +import com.azure.health.insights.cancerprofiling.models.PatientDocument; +import com.azure.health.insights.cancerprofiling.models.ClinicalDocumentType; +import com.azure.health.insights.cancerprofiling.models.DocumentType; +import com.azure.health.insights.cancerprofiling.models.DocumentContentSourceType; +import com.azure.health.insights.cancerprofiling.models.DocumentContent; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResults; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeModelConfiguration; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeData; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResult; +import com.azure.health.insights.cancerprofiling.models.ClinicalNoteEvidence; + +public class SampleInferCancerProfile { + public static void runSample(String endpoint, String apiKey) throws InterruptedException, IOException { + CancerProfilingAsyncClient asyncClient = new CancerProfilingClientBuilder() + .endpoint(endpoint) + .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .credential(new AzureKeyCredential(apiKey)) + .buildAsyncClient(); + + // construct Patient + PatientRecord patient1 = new PatientRecord("patient_id"); + PatientInfo patientInfo = new PatientInfo(); + patientInfo.setBirthDate(LocalDate.parse("1965-12-26")); + patientInfo.setSex(PatientInfoSex.FEMALE); + patient1.setInfo(patientInfo); + LinkedList patientDocuments = new LinkedList<>(); + patient1.setData(patientDocuments); + + // Add imaging document + final String docContent1 = String.join(System.getProperty("line.separator"), + "15.8.2021", + "Jane Doe 091175-8967", + "42 year old female, married with 3 children, works as a nurse. ", + "Healthy, no medications taken on a regular basis.", + "PMHx is significant for migraines with aura, uses Mirena for contraception.", + "Smoking history of 10 pack years (has stopped and relapsed several times).", + "She is in c/o 2 weeks of productive cough and shortness of breath.", + "She has a fever of 37.8 and general weakness. ", + "Denies night sweats and rash. She denies symptoms of rhinosinusitis, asthma, and heartburn. ", + "On PE:", + "GENERAL: mild pallor, no cyanosis. Regular breathing rate. ", + "LUNGS: decreased breath sounds on the base of the right lung. Vesicular breathing.", + " No crackles, rales, and wheezes. Resonant percussion. ", + "PLAN: ", + "Will be referred for a chest x-ray. ", + "======================================", + "CXR showed mild nonspecific opacities in right lung base. ", + "PLAN:", + "Findings are suggestive of a working diagnosis of pneumonia. The patient is referred to a follow-up CXR in 2 weeks."); + + PatientDocument patientDocument1 = new PatientDocument( + DocumentType.NOTE, + "doc1", + new DocumentContent(DocumentContentSourceType.INLINE, docContent1)); + + patientDocument1.setClinicalType(ClinicalDocumentType.IMAGING); + patientDocument1.setLanguage("en"); + patientDocument1.setCreatedDateTime(OffsetDateTime.parse("2021-08-15T10:15:30+01:00")); + patient1.getData().add(patientDocument1); + + // Add Pathology documents + String docContent2 = String.join(System.getProperty("line.separator"), + "Oncology Clinic ", + "20.10.2021", + "Jane Doe 091175-8967", + "42-year-old healthy female who works as a nurse in the ER of this hospital. ", + "First menstruation at 11 years old. First delivery- 27 years old. She has 3 children.", + "Didn’t breastfeed. ", + "Contraception- Mirena.", + "Smoking- 10 pack years. ", + "Mother- Belarusian. Father- Georgian. ", + "About 3 months prior to admission, she stated she had SOB and was febrile. ", + "She did a CXR as an outpatient which showed a finding in the base of the right lung- possibly an infiltrate.", + "She was treated with antibiotics with partial response. ", + "6 weeks later a repeat CXR was performed- a few solid dense findings in the right lung. ", + "Therefore, she was referred for a PET-CT which demonstrated increased uptake in the right breast, lymph nodes on the right a few areas in the lungs and liver. ", + "On biopsy from the lesion in the right breast- triple negative adenocarcinoma. Genetic testing has not been done thus far. ", + "Genetic counseling- the patient denies a family history of breast, ovary, uterus, and prostate cancer. Her mother has chronic lymphocytic leukemia (CLL). ", + "She is planned to undergo genetic tests because the aggressive course of the disease, and her young age. ", + "Impression:", + "Stage 4 triple negative breast adenocarcinoma. ", + "Could benefit from biological therapy. ", + "Different treatment options were explained- the patient wants to get a second opinion."); + + PatientDocument patientDocument2 = new PatientDocument(DocumentType.NOTE, + "doc2", + new DocumentContent(DocumentContentSourceType.INLINE, docContent2)); + patientDocument2.setClinicalType(ClinicalDocumentType.PATHOLOGY); + patientDocument2.setLanguage("en"); + patientDocument2.setCreatedDateTime(OffsetDateTime.parse("2021-10-20T22:00:00.00Z")); + patient1.getData().add(patientDocument2); + + String docContent3 = String.join(System.getProperty("line.separator"), + "PATHOLOGY REPORT", + " Clinical Information", + "Ultrasound-guided biopsy; A. 18 mm mass; most likely diagnosis based on imaging: IDC", + " Diagnosis", + " A. BREAST, LEFT AT 2:00 4 CM FN; ULTRASOUND-GUIDED NEEDLE CORE BIOPSIES:", + " - Invasive carcinoma of no special type (invasive ductal carcinoma), grade 1", + " Nottingham histologic grade: 1/3 (tubules 2; nuclear grade 2; mitotic rate 1; total score; 5/9)", + " Fragments involved by invasive carcinoma: 2", + " Largest measurement of invasive carcinoma on a single fragment: 7 mm", + " Ductal carcinoma in situ (DCIS): Present", + " Architectural pattern: Cribriform", + " Nuclear grade: 2-", + " -intermediate", + " Necrosis: Not identified", + " Fragments involved by DCIS: 1", + " Largest measurement of DCIS on a single fragment: Span 2 mm", + " Microcalcifications: Present in benign breast tissue and invasive carcinoma", + " Blocks with invasive carcinoma: A1", + " Special studies: Pending"); + + PatientDocument patientDocument3 = new PatientDocument(DocumentType.NOTE, + "doc3", + new DocumentContent(DocumentContentSourceType.INLINE, docContent3)); + patientDocument3.setClinicalType(ClinicalDocumentType.PATHOLOGY); + patientDocument3.setLanguage("en"); + patientDocument3.setCreatedDateTime(OffsetDateTime.parse("2022-01-01T10:15:30+01:00")); + + patient1.getData().add(patientDocument3); + + // Set configuration to include evidence for the cancer staging inferences + OncoPhenotypeModelConfiguration configuration = new OncoPhenotypeModelConfiguration(); + configuration.setIncludeEvidence(true); + + // Construct the request with the patient and configration + OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(Arrays.asList(patient1)); + oncoPhenotypeData.setConfiguration(configuration); + + PollerFlux asyncPoller = asyncClient.beginInferCancerProfile(oncoPhenotypeData); + OncoPhenotypeResult result = asyncPoller.blockLast().getValue(); + printResults(result); + } + + private static void printResults(OncoPhenotypeResult result) { + OncoPhenotypeResults oncoResults = result.getResults(); + oncoResults.getPatients().forEach(patient_result -> { + System.out.println("\n==== Inferences of Patient " + patient_result.getId() + " ===="); + patient_result.getInferences().forEach(onco_inference -> { + System.out.println("\n=== Clinical Type: " + onco_inference.getType() + " Value: " + onco_inference.getValue() + " ConfidenceScore: " + onco_inference.getConfidenceScore() + " ==="); + onco_inference.getEvidence().forEach(evidence -> { + if (evidence.getPatientDataEvidence() != null) { + ClinicalNoteEvidence dataEvidence = evidence.getPatientDataEvidence(); + System.out.println("Evidence " + dataEvidence.getId() + " " + dataEvidence.getOffset() + " " + dataEvidence.getLength() + " " + dataEvidence.getText()); + } + if (evidence.getPatientInfoEvidence() != null) { + ClinicalCodedElement infoEvidence = evidence.getPatientInfoEvidence(); + System.out.println("Evidence " + infoEvidence.getSystem() + " " + infoEvidence.getCode() + " " + infoEvidence.getName() + " " + infoEvidence.getValue()); + } + }); + }); + }); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java new file mode 100644 index 0000000000000..3e200206b4464 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java @@ -0,0 +1,25 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.cancerprofiling; + +import java.io.IOException; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +public class AllSamples { + String endpoint; + String apiKey; + + @BeforeEach + public void init() { + endpoint = System.getenv("SDK_JAVA_HDS_ENDPOINT"); + apiKey = System.getenv("SDK_JAVA_HDS_APIKEY"); + } + + @Test + public void inferCancerProfile() throws InterruptedException, IOException { + SampleInferCancerProfile.runSample(endpoint, apiKey); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java new file mode 100644 index 0000000000000..a36cdd97eb248 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java @@ -0,0 +1,56 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.cancerprofiling; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypePatientResult; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResult; +import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeInference; + +import com.azure.core.util.serializer.TypeReference; + +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import java.util.Arrays; +import java.util.List; + +/** + * Unit tests for {@link CancerProfilingClient}. + */ +public class CancerProfilingClientTest extends CancerProfilingClientTestBase { + + private CancerProfilingClient getClient() { + return getClientBuilder().buildClient(); + } + + @Test + public void test() { + try { + testCancerProfilingWithResponse(request -> { + BinaryData responseValue = getClient().beginInferCancerProfile(request, new RequestOptions()).waitForCompletion().getValue(); + OncoPhenotypeResult respone = responseValue.toObject(TypeReference.createInstance(OncoPhenotypeResult.class)); + + List patients = respone.getResults().getPatients(); + assertEquals(1, patients.size()); + OncoPhenotypePatientResult patient = patients.get(0); + assertEquals(8, patient.getInferences().size()); + OncoPhenotypeInference inference = patient.getInferences().get(0); + assertEquals("BREAST", inference.getDescription()); + assertEquals(0.5563, inference.getEvidence().get(0).getImportance()); + }); + + } catch (Throwable t) { + String message = t.toString() + "\n" + Arrays.toString(t.getStackTrace()); + t.printStackTrace(); + Assertions.fail(message); + return; + } + + System.out.println("Success"); + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTestBase.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTestBase.java new file mode 100644 index 0000000000000..a7df9fd5f10e8 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTestBase.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.cancerprofiling; + +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.AzureKeyCredentialPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; +import com.azure.core.test.TestBase; +import com.azure.core.test.TestMode; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; + +import java.nio.file.Paths; +import java.util.function.Consumer; + + +/** + * Base class for OncoPhenotype clients test. + */ +public class CancerProfilingClientTestBase extends TestBase { + private static final String FAKE_API_KEY = "fakeKeyPlaceholder"; + private static final String OCP_APIM_SUBSCRIPTION_KEY = "Ocp-Apim-Subscription-Key"; + + void testCancerProfilingWithResponse(Consumer testRunner) { + testRunner.accept(getOncoPhenotypeRequest()); + } + + CancerProfilingClientBuilder getClientBuilder() { + String endpoint = getEndpoint(); + + HttpPipelinePolicy authPolicy = new AzureKeyCredentialPolicy(OCP_APIM_SUBSCRIPTION_KEY, + new AzureKeyCredential(getKey())); + HttpClient httpClient; + if (getTestMode() == TestMode.RECORD || getTestMode() == TestMode.LIVE) { + httpClient = HttpClient.createDefault(); + } else { + httpClient = interceptorManager.getPlaybackClient(); + } + HttpPipeline httpPipeline = new HttpPipelineBuilder() + .httpClient(httpClient) + .policies(authPolicy, interceptorManager.getRecordPolicy()).build(); + + return new CancerProfilingClientBuilder() + .pipeline(httpPipeline) + .endpoint(endpoint); + } + + private String getKey() { + if (getTestMode() == TestMode.PLAYBACK) { + return FAKE_API_KEY; + } else { + return Configuration.getGlobalConfiguration().get("AZURE_HEALTHINSIGHTS_API_KEY"); + } + } + + String getEndpoint() { + return interceptorManager.isPlaybackMode() + ? "https://localhost:8080" + : Configuration.getGlobalConfiguration().get("AZURE_HEALTHINSIGHTS_ENDPOINT"); + } + + private BinaryData getOncoPhenotypeRequest() { + BinaryData requestBody = BinaryData.fromFile(Paths.get("target/test-classes/session-records/CancerProfilingClientTest.request.json")); + return requestBody; + } +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.request.json b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.request.json new file mode 100644 index 0000000000000..1144d64c1c3a6 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.request.json @@ -0,0 +1,25 @@ +{ + "configuration": { + "checkForCancerCase": true, + "verbose": false, + "includeEvidence": true + }, + "patients": [ + { + "id": "patient1", + "data": [ + { + "kind": "note", + "clinicalType": "pathology", + "id": "document1", + "language": "en", + "createdDateTime": "2022-01-01T10:15:30+01:00", + "content": { + "sourceType": "inline", + "value": "Laterality: Left \n Tumor type present: Invasive duct carcinoma; duct carcinoma in situ \n Tumor site: Upper inner quadrant \n Invasive carcinoma \n Histologic type: Ductal \n Size of invasive component: 0.9 cm \n Histologic Grade - Nottingham combined histologic score: 1 out of 3 \n In situ carcinoma (DCIS) \n Histologic type of DCIS: Cribriform and solid \n Necrosis in DCIS: Yes \n DCIS component of invasive carcinoma: Extensive \n" + } + } + ] + } + ] +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.test.json b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.test.json new file mode 100644 index 0000000000000..ff9e6d3d39153 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/resources/session-records/CancerProfilingClientTest.test.json @@ -0,0 +1,79 @@ +{ + "networkCallRecords" : [ + { + "Method" : "POST", + "Uri" : "https://REDACTED.cognitiveservices.azure.com/healthinsights/oncophenotype/jobs?api-version=2023-03-01-preview", + "Headers" : { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Length": "776", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000" + }, + "Response" : { + "apim-request-id": "6fe9d49e-abb0-4d34-9b3b-bb1ae44eef3a", + "Content-Length": "0", + "Date": "Sun, 29 Jan 2023 09:11:47 GMT", + "operation-location": "https://fake_ad_resource.cognitiveservices.azure.com//healthinsights/oncophenotype/jobs/7b4841b5-e7d4-4202-a300-6455ff4148de?api-version=2023-03-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "101", + "x-ms-region": "West Europe", + "StatusCode" : "202", + "Body" : null, + "Content-Type" : "application/json", + "Retry-After": "1" + }, + "Exception" : null + }, + { + "Method" : "GET", + "Uri" : "https://REDACTED.cognitiveservices.azure.com/healthinsights/oncophenotype/jobs/7b4841b5-e7d4-4202-a300-6455ff4148de?api-version=2023-03-01-preview", + "Headers" : { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000" + }, + "Response" : { + "apim-request-id": "1012b87e-f033-479d-829f-c74f6077060e", + "Content-Length": "196", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sun, 29 Jan 2023 09:11:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63", + "x-ms-region": "West Europe", + "StatusCode" : "200", + "Body" : "{\n\"jobId\": \"7b4841b5-e7d4-4202-a300-6455ff4148de\",\n\"createdDateTime\": \"2023-01-29T09:16:35Z\",\n\"expirationDateTime\": \"2023-01-30T09:16:35Z\",\n\"lastUpdateDateTime\": \"2023-01-29T09:16:35Z\",\n\"status\": \"running\"\n}", + "Exception" : null + } + }, + { + "Method" : "GET", + "Uri" : "https://REDACTED.cognitiveservices.azure.com/healthinsights/oncophenotype/jobs/7b4841b5-e7d4-4202-a300-6455ff4148de?api-version=2023-03-01-preview", + "Headers" : { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000" + }, + "Response" : { + "apim-request-id": "8fc0d436-b092-42ab-bdf9-bc75af5a7a5a", + "Content-Length": "4462", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sun, 29 Jan 2023 09:11:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63", + "x-ms-region": "West Europe", + "StatusCode" : "200", + "Body" : "{\n\"results\": {\n\"patients\": [\n{\n\"id\": \"patient1\",\n\"inferences\": [\n{\n\"type\": \"tumorSite\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Upper inner\",\n\"offset\": 108,\n\"length\": 11\n},\n\"importance\": 0.5563\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"duct\",\n\"offset\": 68,\n\"length\": 4\n},\n\"importance\": 0.0156\n}\n],\n\"value\": \"C50.2\",\n\"description\": \"BREAST\",\n\"confidenceScore\": 0.9214\n},\n{\n\"type\": \"histology\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Ductal\",\n\"offset\": 174,\n\"length\": 6\n},\n\"importance\": 0.2937\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive duct\",\n\"offset\": 43,\n\"length\": 13\n},\n\"importance\": 0.2439\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive\",\n\"offset\": 193,\n\"length\": 8\n},\n\"importance\": 0.1588\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"duct\",\n\"offset\": 68,\n\"length\": 4\n},\n\"importance\": 0.1483\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"solid\",\n\"offset\": 368,\n\"length\": 5\n},\n\"importance\": 0.0694\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Cribriform\",\n\"offset\": 353,\n\"length\": 10\n},\n\"importance\": 0.043\n}\n],\n\"value\": \"8500\",\n\"confidenceScore\": 0.9973\n},\n{\n\"type\": \"clinicalStageT\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive duct carcinoma; duct\",\n\"offset\": 43,\n\"length\": 29\n},\n\"importance\": 0.2613\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive\",\n\"offset\": 193,\n\"length\": 8\n},\n\"importance\": 0.1341\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Laterality: Left\",\n\"offset\": 0,\n\"length\": 17\n},\n\"importance\": 0.0874\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive\",\n\"offset\": 133,\n\"length\": 8\n},\n\"importance\": 0.0722\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"situ\",\n\"offset\": 86,\n\"length\": 4\n},\n\"importance\": 0.0651\n}\n],\n\"value\": \"T1\",\n\"confidenceScore\": 0.9956\n},\n{\n\"type\": \"clinicalStageN\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive duct carcinoma; duct carcinoma in situ\",\n\"offset\": 43,\n\"length\": 47\n},\n\"importance\": 0.1529\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive carcinoma: Extensive\",\n\"offset\": 423,\n\"length\": 30\n},\n\"importance\": 0.0782\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive\",\n\"offset\": 133,\n\"length\": 8\n},\n\"importance\": 0.0715\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Tumor\",\n\"offset\": 95,\n\"length\": 5\n},\n\"importance\": 0.0513\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Left\",\n\"offset\": 13,\n\"length\": 4\n},\n\"importance\": 0.0325\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Tumor\",\n\"offset\": 22,\n\"length\": 5\n},\n\"importance\": 0.0174\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Histologic\",\n\"offset\": 156,\n\"length\": 10\n},\n\"importance\": 0.0066\n}\n],\n\"value\": \"N0\",\n\"confidenceScore\": 0.9931\n},\n{\n\"type\": \"clinicalStageM\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Laterality: Left\",\n\"offset\": 0,\n\"length\": 17\n},\n\"importance\": 0.1579\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive duct\",\n\"offset\": 43,\n\"length\": 13\n},\n\"importance\": 0.1493\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Histologic Grade - Nottingham\",\n\"offset\": 225,\n\"length\": 29\n},\n\"importance\": 0.1038\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive\",\n\"offset\": 133,\n\"length\": 8\n},\n\"importance\": 0.089\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"duct carcinoma\",\n\"offset\": 68,\n\"length\": 14\n},\n\"importance\": 0.0807\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive\",\n\"offset\": 423,\n\"length\": 8\n},\n\"importance\": 0.057\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Extensive\",\n\"offset\": 444,\n\"length\": 9\n},\n\"importance\": 0.0494\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Tumor\",\n\"offset\": 22,\n\"length\": 5\n},\n\"importance\": 0.0311\n}\n],\n\"value\": \"None\",\n\"confidenceScore\": 0.5217\n},\n{\n\"type\": \"pathologicStageT\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive duct\",\n\"offset\": 43,\n\"length\": 13\n},\n\"importance\": 0.3125\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Left\",\n\"offset\": 13,\n\"length\": 4\n},\n\"importance\": 0.201\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive\",\n\"offset\": 193,\n\"length\": 8\n},\n\"importance\": 0.1244\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive\",\n\"offset\": 423,\n\"length\": 8\n},\n\"importance\": 0.0961\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive\",\n\"offset\": 133,\n\"length\": 8\n},\n\"importance\": 0.0623\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Tumor\",\n\"offset\": 22,\n\"length\": 5\n},\n\"importance\": 0.0583\n}\n],\n\"value\": \"T1\",\n\"confidenceScore\": 0.9477\n},\n{\n\"type\": \"pathologicStageN\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive component:\",\n\"offset\": 193,\n\"length\": 19\n},\n\"importance\": 0.1402\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Nottingham combined histologic score:\",\n\"offset\": 244,\n\"length\": 37\n},\n\"importance\": 0.1096\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive carcinoma\",\n\"offset\": 133,\n\"length\": 18\n},\n\"importance\": 0.1067\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Ductal\",\n\"offset\": 174,\n\"length\": 6\n},\n\"importance\": 0.0896\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive duct carcinoma;\",\n\"offset\": 43,\n\"length\": 24\n},\n\"importance\": 0.0831\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Histologic\",\n\"offset\": 156,\n\"length\": 10\n},\n\"importance\": 0.0447\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"in situ\",\n\"offset\": 83,\n\"length\": 7\n},\n\"importance\": 0.042\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Tumor\",\n\"offset\": 22,\n\"length\": 5\n},\n\"importance\": 0.0092\n}\n],\n\"value\": \"N0\",\n\"confidenceScore\": 0.7927\n},\n{\n\"type\": \"pathologicStageM\",\n\"evidence\": [\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"In situ carcinoma (DCIS)\",\n\"offset\": 298,\n\"length\": 24\n},\n\"importance\": 0.1111\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Nottingham combined histologic\",\n\"offset\": 244,\n\"length\": 30\n},\n\"importance\": 0.0999\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive carcinoma:\",\n\"offset\": 423,\n\"length\": 19\n},\n\"importance\": 0.0787\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"invasive\",\n\"offset\": 193,\n\"length\": 8\n},\n\"importance\": 0.0617\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive duct carcinoma;\",\n\"offset\": 43,\n\"length\": 24\n},\n\"importance\": 0.0594\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Tumor\",\n\"offset\": 22,\n\"length\": 5\n},\n\"importance\": 0.0579\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"of DCIS:\",\n\"offset\": 343,\n\"length\": 8\n},\n\"importance\": 0.0483\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Laterality:\",\n\"offset\": 0,\n\"length\": 11\n},\n\"importance\": 0.0324\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Invasive carcinoma\",\n\"offset\": 133,\n\"length\": 18\n},\n\"importance\": 0.0269\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"carcinoma in\",\n\"offset\": 73,\n\"length\": 12\n},\n\"importance\": 0.0202\n},\n{\n\"patientDataEvidence\": {\n\"id\": \"document1\",\n\"text\": \"Tumor\",\n\"offset\": 95,\n\"length\": 5\n},\n\"importance\": 0.0112\n}\n],\n\"value\": \"M0\",\n\"confidenceScore\": 0.9208\n}\n]\n}\n],\n\"modelVersion\": \"2023-03-01-preview\"\n},\n\"jobId\": \"7b4841b5-e7d4-4202-a300-6455ff4148de\",\n\"createdDateTime\": \"2023-01-29T09:16:35Z\",\n\"expirationDateTime\": \"2023-01-30T09:16:35Z\",\n\"lastUpdateDateTime\": \"2023-01-29T09:16:36Z\",\n\"status\": \"succeeded\"\n}", + "Exception" : null + } + } + + ], + "variables" : [ ] +} diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml b/sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml new file mode 100644 index 0000000000000..d79fef966e6d2 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml @@ -0,0 +1,10 @@ +trigger: none + +stages: + - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml + parameters: + ServiceDirectory: healthinsights + Artifacts: + - name: azure-health-insights-cancerprofiling + groupId: com.azure + safeName: azurehealthinsightscancerprofiling diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md new file mode 100644 index 0000000000000..f887f194c985e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md @@ -0,0 +1,13 @@ +# Release History + +## 1.0.0-beta.1 (Unreleased) + +- Azure AzureHealthInsights client library for Java. This package contains Microsoft Azure AzureHealthInsights client library. + +### Features Added + +### Breaking Changes + +### Bugs Fixed + +### Other Changes diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md new file mode 100644 index 0000000000000..1695d82c359f6 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -0,0 +1,139 @@ +# Azure Azure Health Insights Clinical Matching client library for Java + +## Getting started + +### Prerequisites + +- A [Java Development Kit (JDK)][jdk] with version 8 or above +- [Azure Subscription][azure_subscription] +- An existing Cognitive Services Health Insights instance. + +For more information about creating the resource or how to get the location and sku information see [here][cognitive_resource_cli]. + +### Include the Package + +[//]: # ({x-version-update-start;com.azure:azure-health-insights-clinicalmatching;current}) + +```xml + + com.azure + azure-health-insights-clinicalmatching + 1.0.0-beta.1 + +``` + +[//]: # ({x-version-update-end}) + +### Authenticate the client + +In order to interact with the Health Insighs Clinical Matching service, you'll need to create an instance of the [`ClinicalMatchingClient`][clinical_matching_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. + +#### Get API Key + +You can obtain the endpoint and API key from the resource information in the [Azure Portal][azure_portal]. + +Alternatively, you can use the [Azure CLI][azure_cli] snippet below to get the API key from the Health Insights resource. + +```bash +az cognitiveservices account keys list --resource-group --name +``` + +#### Create a ClinicalMatchingClient with an API Key Credential + +Once you have the value for the API key, you can pass it as a string into an instance of **AzureKeyCredential**. Use the key as the credential parameter +to authenticate the client: + +```Java Snippet: +String endpoint = "endpoint"; +String apiKey = "apiKey"; +ClinicalMatchingAsyncClient asyncClient = new ClinicalMatchingClientBuilder() + .endpoint(endpoint) + .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .httpClient(HttpClient.createDefault(new HttpClientOptions())) + .credential(new AzureKeyCredential(apiKey)) + .buildAsyncClient(); + +``` + +## Key concepts + +Trial Matcher provides the user of the services two main modes of operation: patients centric and clinical trial centric. +- On patient centric mode, the Trial Matcher model bases the patient matching on the clinical condition, location, priorities, eligibility criteria, and other criteria that the patient and/or service users may choose to prioritize. The model helps narrow down and prioritize the set of relevant clinical trials to a smaller set of trials to start with, that the specific patient appears to be qualified for. +- On clinical trial centric, the Trial Matcher is finding a group of patients potentially eligible to a clinical trial. The Trial Matcher narrows down the patients, first filtered on clinical condition and selected clinical observations, and then focuses on those patients who met the baseline criteria, to find the group of patients that appears to be eligible patients to a trial. + +## Examples + +Finding potential eligible trials for a patient. + +```Java readme-sample-MatchTrialsSync +ClinicalMatchingClient syncClient = new ClinicalMatchingClientBuilder() + .endpoint(endpoint) + .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .httpClient(HttpClient.createDefault(new HttpClientOptions())) + .credential(new AzureKeyCredential(apiKey)) + .buildClient(); + +SyncPoller syncPoller = syncClient.beginMatchTrials(BinaryData.fromObject(trialMatcherOptions), null); +PollResponse pollerResponse = syncPoller.waitForCompletion(); + +LongRunningOperationStatus status = pollerResponse.getStatus(); +System.out.println("Status " + status); +TrialMatcherResult tmRespone = pollerResponse.getValue().toObject(TypeReference.createInstance(TrialMatcherResult.class)); +if (status == LongRunningOperationStatus.SUCCESSFULLY_COMPLETED) { + TrialMatcherResults tmResults = tmRespone.getResults(); + tmResults.getPatients().forEach(patientResult -> { + System.out.println("Inferences of Patient " + patientResult.getId()); + patientResult.getInferences().forEach(inference -> { + System.out.println("Trial Id " + inference.getId()); + System.out.println("Type: " + inference.getType() + " Value: " + inference.getValue()); + System.out.println("Description " + inference.getDescription()); + }); + }); +} else if (status == LongRunningOperationStatus.FAILED) { + List errors = tmRespone.getErrors(); + errors.forEach(error -> { + System.out.println(error.getCode() + " : " + error.getMessage()); + }); +} + +``` + +## Troubleshooting + +## Next steps + +To see the full example source files, see: + + +### Additional documentation + + +## Contributing + +This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla]. + +When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA. + +This project has adopted the [Microsoft Open Source Code of Conduct][code_of_conduct]. For more information see the [Code of Conduct FAQ][coc_faq] or contact [opencode@microsoft.com][coc_contact] with any additional questions or comments. + + +[cla]: https://cla.microsoft.com +[code_of_conduct]: https://opensource.microsoft.com/codeofconduct/ +[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/ +[coc_contact]: mailto:opencode@microsoft.com +[azure_subscription]: https://azure.microsoft.com/free/ +[cognitive_resource_cli]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli + +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_portal]: https://portal.azure.com \ No newline at end of file diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/package.json b/sdk/healthinsights/azure-health-insights-clinicalmatching/package.json new file mode 100644 index 0000000000000..ded9535dc3f1e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/package.json @@ -0,0 +1,5 @@ +{ + "dependencies": { + "mvn": "^3.5.0" + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml new file mode 100644 index 0000000000000..651c68874999a --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -0,0 +1,110 @@ + + + 4.0.0 + + com.azure + azure-client-sdk-parent + 1.7.0 + ../../parents/azure-client-sdk-parent + + + com.azure + azure-health-insights-clinicalmatching + 1.0.0-beta.1 + jar + + Microsoft Azure SDK for HealthInsights Management + This package contains Microsoft Azure HealthInsights client library. + https://github.com/Azure/azure-sdk-for-java + + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + + https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + + microsoft + Microsoft + + + + UTF-8 + true + + + + com.azure + azure-core + 1.35.0 + + + com.azure + azure-core-http-netty + 1.12.8 + + + org.junit.jupiter + junit-jupiter-api + 5.9.1 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.9.1 + test + + + org.mockito + mockito-core + 4.5.1 + test + + + com.azure + azure-core-test + 1.14.0 + test + + + com.azure + azure-identity + 1.7.3 + test + + + + + + + com.azure.tools + codesnippet-maven-plugin + 1.0.0-beta.8 + + **/src/samples/java/**/*.java + ${project.basedir}/src/samples/java + **/src/main/java/**/*.java + ${project.basedir}/src/main/java + true + ${project.basedir}/README.md + true + 120 + true + + + + + diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/AzureHealthInsightsServiceVersion.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/AzureHealthInsightsServiceVersion.java new file mode 100644 index 0000000000000..1abf2e3361517 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/AzureHealthInsightsServiceVersion.java @@ -0,0 +1,34 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching; + +import com.azure.core.util.ServiceVersion; + +/** Service version of ClinicalMatchingClient. */ +public enum AzureHealthInsightsServiceVersion implements ServiceVersion { + /** Enum value 2023-03-01-preview. */ + V2023_03_01_PREVIEW("2023-03-01-preview"); + + private final String version; + + AzureHealthInsightsServiceVersion(String version) { + this.version = version; + } + + /** {@inheritDoc} */ + @Override + public String getVersion() { + return this.version; + } + + /** + * Gets the latest service version supported by this client library. + * + * @return The latest {@link AzureHealthInsightsServiceVersion}. + */ + public static AzureHealthInsightsServiceVersion getLatest() { + return V2023_03_01_PREVIEW; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java new file mode 100644 index 0000000000000..3f114f4efe0d4 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java @@ -0,0 +1,319 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.polling.PollerFlux; +import com.azure.health.insights.clinicalmatching.implementation.ClinicalMatchingClientImpl; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherData; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherResult; + +/** Initializes a new instance of the asynchronous ClinicalMatchingClient type. */ +@ServiceClient(builder = ClinicalMatchingClientBuilder.class, isAsync = true) +public final class ClinicalMatchingAsyncClient { + @Generated private final ClinicalMatchingClientImpl serviceClient; + + /** + * Initializes an instance of ClinicalMatchingAsyncClient class. + * + * @param serviceClient the service client implementation. + */ + @Generated + ClinicalMatchingAsyncClient(ClinicalMatchingClientImpl serviceClient) { + this.serviceClient = serviceClient; + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         clinicalTrials (Required): {
+     *             customTrials (Optional): [
+     *                  (Optional){
+     *                     id: String (Required)
+     *                     eligibilityCriteriaText: String (Optional)
+     *                     demographics (Optional): {
+     *                         acceptedSex: String(all/female/male) (Optional)
+     *                         acceptedAgeRange (Optional): {
+     *                             minimumAge (Optional): {
+     *                                 unit: String(years/months/days) (Required)
+     *                                 value: double (Required)
+     *                             }
+     *                             maximumAge (Optional): (recursive schema, see maximumAge above)
+     *                         }
+     *                     }
+     *                     metadata (Required): {
+     *                         phases (Optional): [
+     *                             String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                         ]
+     *                         studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                         recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                         conditions (Required): [
+     *                             String (Required)
+     *                         ]
+     *                         sponsors (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         contacts (Optional): [
+     *                              (Optional){
+     *                                 name: String (Optional)
+     *                                 email: String (Optional)
+     *                                 phone: String (Optional)
+     *                             }
+     *                         ]
+     *                         facilities (Optional): [
+     *                              (Optional){
+     *                                 name: String (Required)
+     *                                 city: String (Optional)
+     *                                 state: String (Optional)
+     *                                 country: String (Required)
+     *                             }
+     *                         ]
+     *                     }
+     *                 }
+     *             ]
+     *             registryFilters (Optional): [
+     *                  (Optional){
+     *                     conditions (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     studyTypes (Optional): [
+     *                         String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                     ]
+     *                     recruitmentStatuses (Optional): [
+     *                         String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                     ]
+     *                     sponsors (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     phases (Optional): [
+     *                         String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                     ]
+     *                     purposes (Optional): [
+     *                         String(notApplicable/screening/diagnostic/prevention/healthServicesResearch/treatment/deviceFeasibility/supportiveCare/basicScience/other) (Optional)
+     *                     ]
+     *                     ids (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     sources (Optional): [
+     *                         String(custom/clinicaltrials.gov) (Optional)
+     *                     ]
+     *                     facilityNames (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     facilityLocations (Optional): [
+     *                          (Optional){
+     *                             city: String (Optional)
+     *                             state: String (Optional)
+     *                             country: String (Required)
+     *                         }
+     *                     ]
+     *                     facilityAreas (Optional): [
+     *                          (Optional){
+     *                             type: String(Feature) (Required)
+     *                             geometry (Required): {
+     *                                 type: String(Point) (Required)
+     *                                 coordinates (Required): [
+     *                                     double (Required)
+     *                                 ]
+     *                             }
+     *                             properties (Required): {
+     *                                 subType: String(Circle) (Required)
+     *                                 radius: double (Required)
+     *                             }
+     *                         }
+     *                     ]
+     *                 }
+     *             ]
+     *         }
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(trialEligibility) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 eligibilityCriteriaEvidence: String (Optional)
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         id: String (Optional)
+     *                         source: String(custom/clinicaltrials.gov) (Optional)
+     *                         metadata (Optional): {
+     *                             phases (Optional): [
+     *                                 String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                             ]
+     *                             studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                             recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                             conditions (Required): [
+     *                                 String (Required)
+     *                             ]
+     *                             sponsors (Optional): [
+     *                                 String (Optional)
+     *                             ]
+     *                             contacts (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Optional)
+     *                                     email: String (Optional)
+     *                                     phone: String (Optional)
+     *                                 }
+     *                             ]
+     *                             facilities (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Required)
+     *                                     city: String (Optional)
+     *                                     state: String (Optional)
+     *                                     country: String (Required)
+     *                                 }
+     *                             ]
+     *                         }
+     *                     }
+     *                 ]
+     *                 neededClinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                         semanticType: String (Optional)
+     *                         category: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *         knowledgeGraphLastUpdateDate: LocalDate (Optional)
+     *     }
+     * }
+     * }
+ * + * @param trialMatcherData The body of the Trial Matcher request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link PollerFlux} for polling of the response for the Trial Matcher request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginMatchTrials( + BinaryData trialMatcherData, RequestOptions requestOptions) { + return this.serviceClient.beginMatchTrialsAsync(trialMatcherData, requestOptions); + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + * @param trialMatcherData The body of the Trial Matcher request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link PollerFlux} for polling of the response for the Trial Matcher request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginMatchTrials(TrialMatcherData trialMatcherData) { + // Generated convenience method for beginMatchTrialsWithModel + RequestOptions requestOptions = new RequestOptions(); + return serviceClient.beginMatchTrialsWithModelAsync(BinaryData.fromObject(trialMatcherData), requestOptions); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java new file mode 100644 index 0000000000000..84409ccc394c1 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java @@ -0,0 +1,317 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceClient; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; +import com.azure.core.util.polling.SyncPoller; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherData; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherResult; + +/** Initializes a new instance of the synchronous ClinicalMatchingClient type. */ +@ServiceClient(builder = ClinicalMatchingClientBuilder.class) +public final class ClinicalMatchingClient { + @Generated private final ClinicalMatchingAsyncClient client; + + /** + * Initializes an instance of ClinicalMatchingClient class. + * + * @param client the async client. + */ + @Generated + ClinicalMatchingClient(ClinicalMatchingAsyncClient client) { + this.client = client; + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         clinicalTrials (Required): {
+     *             customTrials (Optional): [
+     *                  (Optional){
+     *                     id: String (Required)
+     *                     eligibilityCriteriaText: String (Optional)
+     *                     demographics (Optional): {
+     *                         acceptedSex: String(all/female/male) (Optional)
+     *                         acceptedAgeRange (Optional): {
+     *                             minimumAge (Optional): {
+     *                                 unit: String(years/months/days) (Required)
+     *                                 value: double (Required)
+     *                             }
+     *                             maximumAge (Optional): (recursive schema, see maximumAge above)
+     *                         }
+     *                     }
+     *                     metadata (Required): {
+     *                         phases (Optional): [
+     *                             String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                         ]
+     *                         studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                         recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                         conditions (Required): [
+     *                             String (Required)
+     *                         ]
+     *                         sponsors (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         contacts (Optional): [
+     *                              (Optional){
+     *                                 name: String (Optional)
+     *                                 email: String (Optional)
+     *                                 phone: String (Optional)
+     *                             }
+     *                         ]
+     *                         facilities (Optional): [
+     *                              (Optional){
+     *                                 name: String (Required)
+     *                                 city: String (Optional)
+     *                                 state: String (Optional)
+     *                                 country: String (Required)
+     *                             }
+     *                         ]
+     *                     }
+     *                 }
+     *             ]
+     *             registryFilters (Optional): [
+     *                  (Optional){
+     *                     conditions (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     studyTypes (Optional): [
+     *                         String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                     ]
+     *                     recruitmentStatuses (Optional): [
+     *                         String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                     ]
+     *                     sponsors (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     phases (Optional): [
+     *                         String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                     ]
+     *                     purposes (Optional): [
+     *                         String(notApplicable/screening/diagnostic/prevention/healthServicesResearch/treatment/deviceFeasibility/supportiveCare/basicScience/other) (Optional)
+     *                     ]
+     *                     ids (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     sources (Optional): [
+     *                         String(custom/clinicaltrials.gov) (Optional)
+     *                     ]
+     *                     facilityNames (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     facilityLocations (Optional): [
+     *                          (Optional){
+     *                             city: String (Optional)
+     *                             state: String (Optional)
+     *                             country: String (Required)
+     *                         }
+     *                     ]
+     *                     facilityAreas (Optional): [
+     *                          (Optional){
+     *                             type: String(Feature) (Required)
+     *                             geometry (Required): {
+     *                                 type: String(Point) (Required)
+     *                                 coordinates (Required): [
+     *                                     double (Required)
+     *                                 ]
+     *                             }
+     *                             properties (Required): {
+     *                                 subType: String(Circle) (Required)
+     *                                 radius: double (Required)
+     *                             }
+     *                         }
+     *                     ]
+     *                 }
+     *             ]
+     *         }
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(trialEligibility) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 eligibilityCriteriaEvidence: String (Optional)
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         id: String (Optional)
+     *                         source: String(custom/clinicaltrials.gov) (Optional)
+     *                         metadata (Optional): {
+     *                             phases (Optional): [
+     *                                 String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                             ]
+     *                             studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                             recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                             conditions (Required): [
+     *                                 String (Required)
+     *                             ]
+     *                             sponsors (Optional): [
+     *                                 String (Optional)
+     *                             ]
+     *                             contacts (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Optional)
+     *                                     email: String (Optional)
+     *                                     phone: String (Optional)
+     *                                 }
+     *                             ]
+     *                             facilities (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Required)
+     *                                     city: String (Optional)
+     *                                     state: String (Optional)
+     *                                     country: String (Required)
+     *                                 }
+     *                             ]
+     *                         }
+     *                     }
+     *                 ]
+     *                 neededClinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                         semanticType: String (Optional)
+     *                         category: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *         knowledgeGraphLastUpdateDate: LocalDate (Optional)
+     *     }
+     * }
+     * }
+ * + * @param trialMatcherData The body of the Trial Matcher request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link SyncPoller} for polling of the response for the Trial Matcher request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginMatchTrials( + BinaryData trialMatcherData, RequestOptions requestOptions) { + return this.client.beginMatchTrials(trialMatcherData, requestOptions).getSyncPoller(); + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + * @param trialMatcherData The body of the Trial Matcher request. + * @throws IllegalArgumentException thrown if parameters fail the validation. + * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent. + * @return the {@link SyncPoller} for polling of the response for the Trial Matcher request. + */ + @Generated + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginMatchTrials(TrialMatcherData trialMatcherData) { + // Generated convenience method for beginMatchTrialsWithModel + return client.beginMatchTrials(trialMatcherData).getSyncPoller(); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java new file mode 100644 index 0000000000000..d94f2f6ee68ff --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java @@ -0,0 +1,290 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching; + +import com.azure.core.annotation.Generated; +import com.azure.core.annotation.ServiceClientBuilder; +import com.azure.core.client.traits.AzureKeyCredentialTrait; +import com.azure.core.client.traits.ConfigurationTrait; +import com.azure.core.client.traits.EndpointTrait; +import com.azure.core.client.traits.HttpTrait; +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpHeaders; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.HttpPipelinePosition; +import com.azure.core.http.policy.AddDatePolicy; +import com.azure.core.http.policy.AddHeadersFromContextPolicy; +import com.azure.core.http.policy.AddHeadersPolicy; +import com.azure.core.http.policy.AzureKeyCredentialPolicy; +import com.azure.core.http.policy.CookiePolicy; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; +import com.azure.core.http.policy.HttpPolicyProviders; +import com.azure.core.http.policy.RequestIdPolicy; +import com.azure.core.http.policy.RetryOptions; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.util.ClientOptions; +import com.azure.core.util.Configuration; +import com.azure.core.util.CoreUtils; +import com.azure.core.util.builder.ClientBuilderUtil; +import com.azure.core.util.serializer.JacksonAdapter; +import com.azure.health.insights.clinicalmatching.implementation.ClinicalMatchingClientImpl; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; +import java.util.Objects; + +/** A builder for creating a new instance of the ClinicalMatchingClient type. */ +@ServiceClientBuilder(serviceClients = {ClinicalMatchingClient.class, ClinicalMatchingAsyncClient.class}) +public final class ClinicalMatchingClientBuilder + implements HttpTrait, + ConfigurationTrait, + AzureKeyCredentialTrait, + EndpointTrait { + @Generated private static final String SDK_NAME = "name"; + + @Generated private static final String SDK_VERSION = "version"; + + @Generated + private static final Map PROPERTIES = + CoreUtils.getProperties("azure-health-insights-clinicalmatching.properties"); + + @Generated private final List pipelinePolicies; + + /** Create an instance of the ClinicalMatchingClientBuilder. */ + @Generated + public ClinicalMatchingClientBuilder() { + this.pipelinePolicies = new ArrayList<>(); + } + + /* + * The HTTP pipeline to send requests through. + */ + @Generated private HttpPipeline pipeline; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder pipeline(HttpPipeline pipeline) { + this.pipeline = pipeline; + return this; + } + + /* + * The HTTP client used to send the request. + */ + @Generated private HttpClient httpClient; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder httpClient(HttpClient httpClient) { + this.httpClient = httpClient; + return this; + } + + /* + * The logging configuration for HTTP requests and responses. + */ + @Generated private HttpLogOptions httpLogOptions; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder httpLogOptions(HttpLogOptions httpLogOptions) { + this.httpLogOptions = httpLogOptions; + return this; + } + + /* + * The client options such as application ID and custom headers to set on a request. + */ + @Generated private ClientOptions clientOptions; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder clientOptions(ClientOptions clientOptions) { + this.clientOptions = clientOptions; + return this; + } + + /* + * The retry options to configure retry policy for failed requests. + */ + @Generated private RetryOptions retryOptions; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder retryOptions(RetryOptions retryOptions) { + this.retryOptions = retryOptions; + return this; + } + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder addPolicy(HttpPipelinePolicy customPolicy) { + Objects.requireNonNull(customPolicy, "'customPolicy' cannot be null."); + pipelinePolicies.add(customPolicy); + return this; + } + + /* + * The configuration store that is used during construction of the service client. + */ + @Generated private Configuration configuration; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder configuration(Configuration configuration) { + this.configuration = configuration; + return this; + } + + /* + * The AzureKeyCredential used for authentication. + */ + @Generated private AzureKeyCredential azureKeyCredential; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder credential(AzureKeyCredential azureKeyCredential) { + this.azureKeyCredential = azureKeyCredential; + return this; + } + + /* + * The service endpoint + */ + @Generated private String endpoint; + + /** {@inheritDoc}. */ + @Generated + @Override + public ClinicalMatchingClientBuilder endpoint(String endpoint) { + this.endpoint = endpoint; + return this; + } + + /* + * Service version + */ + @Generated private AzureHealthInsightsServiceVersion serviceVersion; + + /** + * Sets Service version. + * + * @param serviceVersion the serviceVersion value. + * @return the ClinicalMatchingClientBuilder. + */ + @Generated + public ClinicalMatchingClientBuilder serviceVersion(AzureHealthInsightsServiceVersion serviceVersion) { + this.serviceVersion = serviceVersion; + return this; + } + + /* + * The retry policy that will attempt to retry failed requests, if applicable. + */ + @Generated private RetryPolicy retryPolicy; + + /** + * Sets The retry policy that will attempt to retry failed requests, if applicable. + * + * @param retryPolicy the retryPolicy value. + * @return the ClinicalMatchingClientBuilder. + */ + @Generated + public ClinicalMatchingClientBuilder retryPolicy(RetryPolicy retryPolicy) { + this.retryPolicy = retryPolicy; + return this; + } + + /** + * Builds an instance of ClinicalMatchingClientImpl with the provided parameters. + * + * @return an instance of ClinicalMatchingClientImpl. + */ + @Generated + private ClinicalMatchingClientImpl buildInnerClient() { + HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline(); + AzureHealthInsightsServiceVersion localServiceVersion = + (serviceVersion != null) ? serviceVersion : AzureHealthInsightsServiceVersion.getLatest(); + ClinicalMatchingClientImpl client = + new ClinicalMatchingClientImpl( + localPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, localServiceVersion); + return client; + } + + @Generated + private HttpPipeline createHttpPipeline() { + Configuration buildConfiguration = + (configuration == null) ? Configuration.getGlobalConfiguration() : configuration; + HttpLogOptions localHttpLogOptions = this.httpLogOptions == null ? new HttpLogOptions() : this.httpLogOptions; + ClientOptions localClientOptions = this.clientOptions == null ? new ClientOptions() : this.clientOptions; + List policies = new ArrayList<>(); + String clientName = PROPERTIES.getOrDefault(SDK_NAME, "UnknownName"); + String clientVersion = PROPERTIES.getOrDefault(SDK_VERSION, "UnknownVersion"); + String applicationId = CoreUtils.getApplicationId(localClientOptions, localHttpLogOptions); + policies.add(new UserAgentPolicy(applicationId, clientName, clientVersion, buildConfiguration)); + policies.add(new RequestIdPolicy()); + policies.add(new AddHeadersFromContextPolicy()); + HttpHeaders headers = new HttpHeaders(); + localClientOptions.getHeaders().forEach(header -> headers.set(header.getName(), header.getValue())); + if (headers.getSize() > 0) { + policies.add(new AddHeadersPolicy(headers)); + } + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_CALL) + .forEach(p -> policies.add(p)); + HttpPolicyProviders.addBeforeRetryPolicies(policies); + policies.add(ClientBuilderUtil.validateAndGetRetryPolicy(retryPolicy, retryOptions, new RetryPolicy())); + policies.add(new AddDatePolicy()); + policies.add(new CookiePolicy()); + if (azureKeyCredential != null) { + policies.add(new AzureKeyCredentialPolicy("Ocp-Apim-Subscription-Key", azureKeyCredential)); + } + this.pipelinePolicies.stream() + .filter(p -> p.getPipelinePosition() == HttpPipelinePosition.PER_RETRY) + .forEach(p -> policies.add(p)); + HttpPolicyProviders.addAfterRetryPolicies(policies); + policies.add(new HttpLoggingPolicy(httpLogOptions)); + HttpPipeline httpPipeline = + new HttpPipelineBuilder() + .policies(policies.toArray(new HttpPipelinePolicy[0])) + .httpClient(httpClient) + .clientOptions(localClientOptions) + .build(); + return httpPipeline; + } + + /** + * Builds an instance of ClinicalMatchingAsyncClient class. + * + * @return an instance of ClinicalMatchingAsyncClient. + */ + @Generated + public ClinicalMatchingAsyncClient buildAsyncClient() { + return new ClinicalMatchingAsyncClient(buildInnerClient()); + } + + /** + * Builds an instance of ClinicalMatchingClient class. + * + * @return an instance of ClinicalMatchingClient. + */ + @Generated + public ClinicalMatchingClient buildClient() { + return new ClinicalMatchingClient(new ClinicalMatchingAsyncClient(buildInnerClient())); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java new file mode 100644 index 0000000000000..8d1c768d75560 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java @@ -0,0 +1,1519 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.implementation; + +import com.azure.core.annotation.BodyParam; +import com.azure.core.annotation.ExpectedResponses; +import com.azure.core.annotation.HeaderParam; +import com.azure.core.annotation.Host; +import com.azure.core.annotation.HostParam; +import com.azure.core.annotation.Post; +import com.azure.core.annotation.QueryParam; +import com.azure.core.annotation.ReturnType; +import com.azure.core.annotation.ServiceInterface; +import com.azure.core.annotation.ServiceMethod; +import com.azure.core.annotation.UnexpectedResponseExceptionType; +import com.azure.core.exception.ClientAuthenticationException; +import com.azure.core.exception.HttpResponseException; +import com.azure.core.exception.ResourceModifiedException; +import com.azure.core.exception.ResourceNotFoundException; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.CookiePolicy; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.http.rest.Response; +import com.azure.core.http.rest.RestProxy; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Context; +import com.azure.core.util.DateTimeRfc1123; +import com.azure.core.util.FluxUtil; +import com.azure.core.util.polling.DefaultPollingStrategy; +import com.azure.core.util.polling.PollerFlux; +import com.azure.core.util.polling.SyncPoller; +import com.azure.core.util.serializer.JacksonAdapter; +import com.azure.core.util.serializer.SerializerAdapter; +import com.azure.core.util.serializer.TypeReference; +import com.azure.health.insights.clinicalmatching.AzureHealthInsightsServiceVersion; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherResult; +import java.time.Duration; +import java.time.OffsetDateTime; +import java.util.UUID; +import reactor.core.publisher.Mono; + +/** Initializes a new instance of the ClinicalMatchingClient type. */ +public final class ClinicalMatchingClientImpl { + /** The proxy service used to perform REST calls. */ + private final ClinicalMatchingClientService service; + + /** + * Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + */ + private final String endpoint; + + /** + * Gets Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * + * @return the endpoint value. + */ + public String getEndpoint() { + return this.endpoint; + } + + /** Service version. */ + private final AzureHealthInsightsServiceVersion serviceVersion; + + /** + * Gets Service version. + * + * @return the serviceVersion value. + */ + public AzureHealthInsightsServiceVersion getServiceVersion() { + return this.serviceVersion; + } + + /** The HTTP pipeline to send requests through. */ + private final HttpPipeline httpPipeline; + + /** + * Gets The HTTP pipeline to send requests through. + * + * @return the httpPipeline value. + */ + public HttpPipeline getHttpPipeline() { + return this.httpPipeline; + } + + /** The serializer to serialize an object into a string. */ + private final SerializerAdapter serializerAdapter; + + /** + * Gets The serializer to serialize an object into a string. + * + * @return the serializerAdapter value. + */ + public SerializerAdapter getSerializerAdapter() { + return this.serializerAdapter; + } + + /** + * Initializes an instance of ClinicalMatchingClient client. + * + * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * @param serviceVersion Service version. + */ + public ClinicalMatchingClientImpl(String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + this( + new HttpPipelineBuilder() + .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) + .build(), + JacksonAdapter.createDefaultSerializerAdapter(), + endpoint, + serviceVersion); + } + + /** + * Initializes an instance of ClinicalMatchingClient client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * @param serviceVersion Service version. + */ + public ClinicalMatchingClientImpl( + HttpPipeline httpPipeline, String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); + } + + /** + * Initializes an instance of ClinicalMatchingClient client. + * + * @param httpPipeline The HTTP pipeline to send requests through. + * @param serializerAdapter The serializer to serialize an object into a string. + * @param endpoint Supported Cognitive Services endpoints (protocol and hostname, for example: + * https://westus2.api.cognitive.microsoft.com). + * @param serviceVersion Service version. + */ + public ClinicalMatchingClientImpl( + HttpPipeline httpPipeline, + SerializerAdapter serializerAdapter, + String endpoint, + AzureHealthInsightsServiceVersion serviceVersion) { + this.httpPipeline = httpPipeline; + this.serializerAdapter = serializerAdapter; + this.endpoint = endpoint; + this.serviceVersion = serviceVersion; + this.service = + RestProxy.create(ClinicalMatchingClientService.class, this.httpPipeline, this.getSerializerAdapter()); + } + + /** + * The interface defining all the services for ClinicalMatchingClient to be used by the proxy service to perform + * REST calls. + */ + @Host("{endpoint}/healthinsights") + @ServiceInterface(name = "ClinicalMatchingClie") + public interface ClinicalMatchingClientService { + @Post("/trialmatcher/jobs") + @ExpectedResponses({200, 202}) + @UnexpectedResponseExceptionType( + value = ClientAuthenticationException.class, + code = {401}) + @UnexpectedResponseExceptionType( + value = ResourceNotFoundException.class, + code = {404}) + @UnexpectedResponseExceptionType( + value = ResourceModifiedException.class, + code = {409}) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> matchTrials( + @HostParam("endpoint") String endpoint, + @QueryParam("api-version") String apiVersion, + @HeaderParam("accept") String accept, + @BodyParam("application/json") BinaryData trialMatcherData, + RequestOptions requestOptions, + Context context); + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         clinicalTrials (Required): {
+     *             customTrials (Optional): [
+     *                  (Optional){
+     *                     id: String (Required)
+     *                     eligibilityCriteriaText: String (Optional)
+     *                     demographics (Optional): {
+     *                         acceptedSex: String(all/female/male) (Optional)
+     *                         acceptedAgeRange (Optional): {
+     *                             minimumAge (Optional): {
+     *                                 unit: String(years/months/days) (Required)
+     *                                 value: double (Required)
+     *                             }
+     *                             maximumAge (Optional): (recursive schema, see maximumAge above)
+     *                         }
+     *                     }
+     *                     metadata (Required): {
+     *                         phases (Optional): [
+     *                             String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                         ]
+     *                         studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                         recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                         conditions (Required): [
+     *                             String (Required)
+     *                         ]
+     *                         sponsors (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         contacts (Optional): [
+     *                              (Optional){
+     *                                 name: String (Optional)
+     *                                 email: String (Optional)
+     *                                 phone: String (Optional)
+     *                             }
+     *                         ]
+     *                         facilities (Optional): [
+     *                              (Optional){
+     *                                 name: String (Required)
+     *                                 city: String (Optional)
+     *                                 state: String (Optional)
+     *                                 country: String (Required)
+     *                             }
+     *                         ]
+     *                     }
+     *                 }
+     *             ]
+     *             registryFilters (Optional): [
+     *                  (Optional){
+     *                     conditions (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     studyTypes (Optional): [
+     *                         String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                     ]
+     *                     recruitmentStatuses (Optional): [
+     *                         String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                     ]
+     *                     sponsors (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     phases (Optional): [
+     *                         String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                     ]
+     *                     purposes (Optional): [
+     *                         String(notApplicable/screening/diagnostic/prevention/healthServicesResearch/treatment/deviceFeasibility/supportiveCare/basicScience/other) (Optional)
+     *                     ]
+     *                     ids (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     sources (Optional): [
+     *                         String(custom/clinicaltrials.gov) (Optional)
+     *                     ]
+     *                     facilityNames (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     facilityLocations (Optional): [
+     *                          (Optional){
+     *                             city: String (Optional)
+     *                             state: String (Optional)
+     *                             country: String (Required)
+     *                         }
+     *                     ]
+     *                     facilityAreas (Optional): [
+     *                          (Optional){
+     *                             type: String(Feature) (Required)
+     *                             geometry (Required): {
+     *                                 type: String(Point) (Required)
+     *                                 coordinates (Required): [
+     *                                     double (Required)
+     *                                 ]
+     *                             }
+     *                             properties (Required): {
+     *                                 subType: String(Circle) (Required)
+     *                                 radius: double (Required)
+     *                             }
+     *                         }
+     *                     ]
+     *                 }
+     *             ]
+     *         }
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(trialEligibility) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 eligibilityCriteriaEvidence: String (Optional)
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         id: String (Optional)
+     *                         source: String(custom/clinicaltrials.gov) (Optional)
+     *                         metadata (Optional): {
+     *                             phases (Optional): [
+     *                                 String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                             ]
+     *                             studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                             recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                             conditions (Required): [
+     *                                 String (Required)
+     *                             ]
+     *                             sponsors (Optional): [
+     *                                 String (Optional)
+     *                             ]
+     *                             contacts (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Optional)
+     *                                     email: String (Optional)
+     *                                     phone: String (Optional)
+     *                                 }
+     *                             ]
+     *                             facilities (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Required)
+     *                                     city: String (Optional)
+     *                                     state: String (Optional)
+     *                                     country: String (Required)
+     *                                 }
+     *                             ]
+     *                         }
+     *                     }
+     *                 ]
+     *                 neededClinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                         semanticType: String (Optional)
+     *                         category: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *         knowledgeGraphLastUpdateDate: LocalDate (Optional)
+     *     }
+     * }
+     * }
+ * + * @param trialMatcherData The body of the Trial Matcher request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the response for the Trial Matcher request along with {@link Response} on successful completion of {@link + * Mono}. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + private Mono> matchTrialsWithResponseAsync( + BinaryData trialMatcherData, RequestOptions requestOptions) { + final String accept = "application/json"; + RequestOptions requestOptionsLocal = requestOptions == null ? new RequestOptions() : requestOptions; + requestOptionsLocal.setHeader("repeatability-request-id", UUID.randomUUID().toString()); + requestOptionsLocal.setHeader( + "repeatability-first-sent", DateTimeRfc1123.toRfc1123String(OffsetDateTime.now())); + return FluxUtil.withContext( + context -> + service.matchTrials( + this.getEndpoint(), + this.getServiceVersion().getVersion(), + accept, + trialMatcherData, + requestOptionsLocal, + context)); + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         clinicalTrials (Required): {
+     *             customTrials (Optional): [
+     *                  (Optional){
+     *                     id: String (Required)
+     *                     eligibilityCriteriaText: String (Optional)
+     *                     demographics (Optional): {
+     *                         acceptedSex: String(all/female/male) (Optional)
+     *                         acceptedAgeRange (Optional): {
+     *                             minimumAge (Optional): {
+     *                                 unit: String(years/months/days) (Required)
+     *                                 value: double (Required)
+     *                             }
+     *                             maximumAge (Optional): (recursive schema, see maximumAge above)
+     *                         }
+     *                     }
+     *                     metadata (Required): {
+     *                         phases (Optional): [
+     *                             String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                         ]
+     *                         studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                         recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                         conditions (Required): [
+     *                             String (Required)
+     *                         ]
+     *                         sponsors (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         contacts (Optional): [
+     *                              (Optional){
+     *                                 name: String (Optional)
+     *                                 email: String (Optional)
+     *                                 phone: String (Optional)
+     *                             }
+     *                         ]
+     *                         facilities (Optional): [
+     *                              (Optional){
+     *                                 name: String (Required)
+     *                                 city: String (Optional)
+     *                                 state: String (Optional)
+     *                                 country: String (Required)
+     *                             }
+     *                         ]
+     *                     }
+     *                 }
+     *             ]
+     *             registryFilters (Optional): [
+     *                  (Optional){
+     *                     conditions (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     studyTypes (Optional): [
+     *                         String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                     ]
+     *                     recruitmentStatuses (Optional): [
+     *                         String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                     ]
+     *                     sponsors (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     phases (Optional): [
+     *                         String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                     ]
+     *                     purposes (Optional): [
+     *                         String(notApplicable/screening/diagnostic/prevention/healthServicesResearch/treatment/deviceFeasibility/supportiveCare/basicScience/other) (Optional)
+     *                     ]
+     *                     ids (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     sources (Optional): [
+     *                         String(custom/clinicaltrials.gov) (Optional)
+     *                     ]
+     *                     facilityNames (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     facilityLocations (Optional): [
+     *                          (Optional){
+     *                             city: String (Optional)
+     *                             state: String (Optional)
+     *                             country: String (Required)
+     *                         }
+     *                     ]
+     *                     facilityAreas (Optional): [
+     *                          (Optional){
+     *                             type: String(Feature) (Required)
+     *                             geometry (Required): {
+     *                                 type: String(Point) (Required)
+     *                                 coordinates (Required): [
+     *                                     double (Required)
+     *                                 ]
+     *                             }
+     *                             properties (Required): {
+     *                                 subType: String(Circle) (Required)
+     *                                 radius: double (Required)
+     *                             }
+     *                         }
+     *                     ]
+     *                 }
+     *             ]
+     *         }
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(trialEligibility) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 eligibilityCriteriaEvidence: String (Optional)
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         id: String (Optional)
+     *                         source: String(custom/clinicaltrials.gov) (Optional)
+     *                         metadata (Optional): {
+     *                             phases (Optional): [
+     *                                 String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                             ]
+     *                             studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                             recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                             conditions (Required): [
+     *                                 String (Required)
+     *                             ]
+     *                             sponsors (Optional): [
+     *                                 String (Optional)
+     *                             ]
+     *                             contacts (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Optional)
+     *                                     email: String (Optional)
+     *                                     phone: String (Optional)
+     *                                 }
+     *                             ]
+     *                             facilities (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Required)
+     *                                     city: String (Optional)
+     *                                     state: String (Optional)
+     *                                     country: String (Required)
+     *                                 }
+     *                             ]
+     *                         }
+     *                     }
+     *                 ]
+     *                 neededClinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                         semanticType: String (Optional)
+     *                         category: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *         knowledgeGraphLastUpdateDate: LocalDate (Optional)
+     *     }
+     * }
+     * }
+ * + * @param trialMatcherData The body of the Trial Matcher request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link PollerFlux} for polling of the response for the Trial Matcher request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginMatchTrialsAsync( + BinaryData trialMatcherData, RequestOptions requestOptions) { + return PollerFlux.create( + Duration.ofSeconds(1), + () -> this.matchTrialsWithResponseAsync(trialMatcherData, requestOptions), + new DefaultPollingStrategy<>( + this.getHttpPipeline(), + "{endpoint}/healthinsights".replace("{endpoint}", this.getEndpoint()), + null, + requestOptions != null && requestOptions.getContext() != null + ? requestOptions.getContext() + : Context.NONE), + TypeReference.createInstance(BinaryData.class), + TypeReference.createInstance(BinaryData.class)); + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         clinicalTrials (Required): {
+     *             customTrials (Optional): [
+     *                  (Optional){
+     *                     id: String (Required)
+     *                     eligibilityCriteriaText: String (Optional)
+     *                     demographics (Optional): {
+     *                         acceptedSex: String(all/female/male) (Optional)
+     *                         acceptedAgeRange (Optional): {
+     *                             minimumAge (Optional): {
+     *                                 unit: String(years/months/days) (Required)
+     *                                 value: double (Required)
+     *                             }
+     *                             maximumAge (Optional): (recursive schema, see maximumAge above)
+     *                         }
+     *                     }
+     *                     metadata (Required): {
+     *                         phases (Optional): [
+     *                             String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                         ]
+     *                         studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                         recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                         conditions (Required): [
+     *                             String (Required)
+     *                         ]
+     *                         sponsors (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         contacts (Optional): [
+     *                              (Optional){
+     *                                 name: String (Optional)
+     *                                 email: String (Optional)
+     *                                 phone: String (Optional)
+     *                             }
+     *                         ]
+     *                         facilities (Optional): [
+     *                              (Optional){
+     *                                 name: String (Required)
+     *                                 city: String (Optional)
+     *                                 state: String (Optional)
+     *                                 country: String (Required)
+     *                             }
+     *                         ]
+     *                     }
+     *                 }
+     *             ]
+     *             registryFilters (Optional): [
+     *                  (Optional){
+     *                     conditions (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     studyTypes (Optional): [
+     *                         String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                     ]
+     *                     recruitmentStatuses (Optional): [
+     *                         String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                     ]
+     *                     sponsors (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     phases (Optional): [
+     *                         String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                     ]
+     *                     purposes (Optional): [
+     *                         String(notApplicable/screening/diagnostic/prevention/healthServicesResearch/treatment/deviceFeasibility/supportiveCare/basicScience/other) (Optional)
+     *                     ]
+     *                     ids (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     sources (Optional): [
+     *                         String(custom/clinicaltrials.gov) (Optional)
+     *                     ]
+     *                     facilityNames (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     facilityLocations (Optional): [
+     *                          (Optional){
+     *                             city: String (Optional)
+     *                             state: String (Optional)
+     *                             country: String (Required)
+     *                         }
+     *                     ]
+     *                     facilityAreas (Optional): [
+     *                          (Optional){
+     *                             type: String(Feature) (Required)
+     *                             geometry (Required): {
+     *                                 type: String(Point) (Required)
+     *                                 coordinates (Required): [
+     *                                     double (Required)
+     *                                 ]
+     *                             }
+     *                             properties (Required): {
+     *                                 subType: String(Circle) (Required)
+     *                                 radius: double (Required)
+     *                             }
+     *                         }
+     *                     ]
+     *                 }
+     *             ]
+     *         }
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(trialEligibility) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 eligibilityCriteriaEvidence: String (Optional)
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         id: String (Optional)
+     *                         source: String(custom/clinicaltrials.gov) (Optional)
+     *                         metadata (Optional): {
+     *                             phases (Optional): [
+     *                                 String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                             ]
+     *                             studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                             recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                             conditions (Required): [
+     *                                 String (Required)
+     *                             ]
+     *                             sponsors (Optional): [
+     *                                 String (Optional)
+     *                             ]
+     *                             contacts (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Optional)
+     *                                     email: String (Optional)
+     *                                     phone: String (Optional)
+     *                                 }
+     *                             ]
+     *                             facilities (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Required)
+     *                                     city: String (Optional)
+     *                                     state: String (Optional)
+     *                                     country: String (Required)
+     *                                 }
+     *                             ]
+     *                         }
+     *                     }
+     *                 ]
+     *                 neededClinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                         semanticType: String (Optional)
+     *                         category: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *         knowledgeGraphLastUpdateDate: LocalDate (Optional)
+     *     }
+     * }
+     * }
+ * + * @param trialMatcherData The body of the Trial Matcher request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link SyncPoller} for polling of the response for the Trial Matcher request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginMatchTrials( + BinaryData trialMatcherData, RequestOptions requestOptions) { + return this.beginMatchTrialsAsync(trialMatcherData, requestOptions).getSyncPoller(); + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         clinicalTrials (Required): {
+     *             customTrials (Optional): [
+     *                  (Optional){
+     *                     id: String (Required)
+     *                     eligibilityCriteriaText: String (Optional)
+     *                     demographics (Optional): {
+     *                         acceptedSex: String(all/female/male) (Optional)
+     *                         acceptedAgeRange (Optional): {
+     *                             minimumAge (Optional): {
+     *                                 unit: String(years/months/days) (Required)
+     *                                 value: double (Required)
+     *                             }
+     *                             maximumAge (Optional): (recursive schema, see maximumAge above)
+     *                         }
+     *                     }
+     *                     metadata (Required): {
+     *                         phases (Optional): [
+     *                             String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                         ]
+     *                         studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                         recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                         conditions (Required): [
+     *                             String (Required)
+     *                         ]
+     *                         sponsors (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         contacts (Optional): [
+     *                              (Optional){
+     *                                 name: String (Optional)
+     *                                 email: String (Optional)
+     *                                 phone: String (Optional)
+     *                             }
+     *                         ]
+     *                         facilities (Optional): [
+     *                              (Optional){
+     *                                 name: String (Required)
+     *                                 city: String (Optional)
+     *                                 state: String (Optional)
+     *                                 country: String (Required)
+     *                             }
+     *                         ]
+     *                     }
+     *                 }
+     *             ]
+     *             registryFilters (Optional): [
+     *                  (Optional){
+     *                     conditions (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     studyTypes (Optional): [
+     *                         String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                     ]
+     *                     recruitmentStatuses (Optional): [
+     *                         String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                     ]
+     *                     sponsors (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     phases (Optional): [
+     *                         String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                     ]
+     *                     purposes (Optional): [
+     *                         String(notApplicable/screening/diagnostic/prevention/healthServicesResearch/treatment/deviceFeasibility/supportiveCare/basicScience/other) (Optional)
+     *                     ]
+     *                     ids (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     sources (Optional): [
+     *                         String(custom/clinicaltrials.gov) (Optional)
+     *                     ]
+     *                     facilityNames (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     facilityLocations (Optional): [
+     *                          (Optional){
+     *                             city: String (Optional)
+     *                             state: String (Optional)
+     *                             country: String (Required)
+     *                         }
+     *                     ]
+     *                     facilityAreas (Optional): [
+     *                          (Optional){
+     *                             type: String(Feature) (Required)
+     *                             geometry (Required): {
+     *                                 type: String(Point) (Required)
+     *                                 coordinates (Required): [
+     *                                     double (Required)
+     *                                 ]
+     *                             }
+     *                             properties (Required): {
+     *                                 subType: String(Circle) (Required)
+     *                                 radius: double (Required)
+     *                             }
+     *                         }
+     *                     ]
+     *                 }
+     *             ]
+     *         }
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(trialEligibility) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 eligibilityCriteriaEvidence: String (Optional)
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         id: String (Optional)
+     *                         source: String(custom/clinicaltrials.gov) (Optional)
+     *                         metadata (Optional): {
+     *                             phases (Optional): [
+     *                                 String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                             ]
+     *                             studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                             recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                             conditions (Required): [
+     *                                 String (Required)
+     *                             ]
+     *                             sponsors (Optional): [
+     *                                 String (Optional)
+     *                             ]
+     *                             contacts (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Optional)
+     *                                     email: String (Optional)
+     *                                     phone: String (Optional)
+     *                                 }
+     *                             ]
+     *                             facilities (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Required)
+     *                                     city: String (Optional)
+     *                                     state: String (Optional)
+     *                                     country: String (Required)
+     *                                 }
+     *                             ]
+     *                         }
+     *                     }
+     *                 ]
+     *                 neededClinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                         semanticType: String (Optional)
+     *                         category: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *         knowledgeGraphLastUpdateDate: LocalDate (Optional)
+     *     }
+     * }
+     * }
+ * + * @param trialMatcherData The body of the Trial Matcher request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link PollerFlux} for polling of the response for the Trial Matcher request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public PollerFlux beginMatchTrialsWithModelAsync( + BinaryData trialMatcherData, RequestOptions requestOptions) { + return PollerFlux.create( + Duration.ofSeconds(1), + () -> this.matchTrialsWithResponseAsync(trialMatcherData, requestOptions), + new DefaultPollingStrategy<>( + this.getHttpPipeline(), + "{endpoint}/healthinsights".replace("{endpoint}", this.getEndpoint()), + null, + requestOptions != null && requestOptions.getContext() != null + ? requestOptions.getContext() + : Context.NONE), + TypeReference.createInstance(TrialMatcherResult.class), + TypeReference.createInstance(TrialMatcherResult.class)); + } + + /** + * Create Trial Matcher job + * + *

Creates a Trial Matcher job with the given request body. + * + *

Header Parameters + * + * + * + * + * + * + *
Header Parameters
NameTypeRequiredDescription
repeatability-request-idStringNoRepeatability request ID header
repeatability-first-sentStringNoRepeatability first sent header as HTTP-date
+ * + * You can add these to a request with {@link RequestOptions#addHeader} + * + *

Request Body Schema + * + *

{@code
+     * {
+     *     patients (Required): [
+     *          (Required){
+     *             id: String (Required)
+     *             info (Optional): {
+     *                 sex: String(female/male/unspecified) (Optional)
+     *                 birthDate: LocalDate (Optional)
+     *                 clinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *             data (Optional): [
+     *                  (Optional){
+     *                     type: String(note/fhirBundle/dicom/genomicSequencing) (Required)
+     *                     clinicalType: String(consultation/dischargeSummary/historyAndPhysical/procedure/progress/imaging/laboratory/pathology) (Optional)
+     *                     id: String (Required)
+     *                     language: String (Optional)
+     *                     createdDateTime: OffsetDateTime (Optional)
+     *                     content (Required): {
+     *                         sourceType: String(inline/reference) (Required)
+     *                         value: String (Required)
+     *                     }
+     *                 }
+     *             ]
+     *         }
+     *     ]
+     *     configuration (Optional): {
+     *         verbose: Boolean (Optional)
+     *         includeEvidence: Boolean (Optional)
+     *         clinicalTrials (Required): {
+     *             customTrials (Optional): [
+     *                  (Optional){
+     *                     id: String (Required)
+     *                     eligibilityCriteriaText: String (Optional)
+     *                     demographics (Optional): {
+     *                         acceptedSex: String(all/female/male) (Optional)
+     *                         acceptedAgeRange (Optional): {
+     *                             minimumAge (Optional): {
+     *                                 unit: String(years/months/days) (Required)
+     *                                 value: double (Required)
+     *                             }
+     *                             maximumAge (Optional): (recursive schema, see maximumAge above)
+     *                         }
+     *                     }
+     *                     metadata (Required): {
+     *                         phases (Optional): [
+     *                             String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                         ]
+     *                         studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                         recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                         conditions (Required): [
+     *                             String (Required)
+     *                         ]
+     *                         sponsors (Optional): [
+     *                             String (Optional)
+     *                         ]
+     *                         contacts (Optional): [
+     *                              (Optional){
+     *                                 name: String (Optional)
+     *                                 email: String (Optional)
+     *                                 phone: String (Optional)
+     *                             }
+     *                         ]
+     *                         facilities (Optional): [
+     *                              (Optional){
+     *                                 name: String (Required)
+     *                                 city: String (Optional)
+     *                                 state: String (Optional)
+     *                                 country: String (Required)
+     *                             }
+     *                         ]
+     *                     }
+     *                 }
+     *             ]
+     *             registryFilters (Optional): [
+     *                  (Optional){
+     *                     conditions (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     studyTypes (Optional): [
+     *                         String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                     ]
+     *                     recruitmentStatuses (Optional): [
+     *                         String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                     ]
+     *                     sponsors (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     phases (Optional): [
+     *                         String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                     ]
+     *                     purposes (Optional): [
+     *                         String(notApplicable/screening/diagnostic/prevention/healthServicesResearch/treatment/deviceFeasibility/supportiveCare/basicScience/other) (Optional)
+     *                     ]
+     *                     ids (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     sources (Optional): [
+     *                         String(custom/clinicaltrials.gov) (Optional)
+     *                     ]
+     *                     facilityNames (Optional): [
+     *                         String (Optional)
+     *                     ]
+     *                     facilityLocations (Optional): [
+     *                          (Optional){
+     *                             city: String (Optional)
+     *                             state: String (Optional)
+     *                             country: String (Required)
+     *                         }
+     *                     ]
+     *                     facilityAreas (Optional): [
+     *                          (Optional){
+     *                             type: String(Feature) (Required)
+     *                             geometry (Required): {
+     *                                 type: String(Point) (Required)
+     *                                 coordinates (Required): [
+     *                                     double (Required)
+     *                                 ]
+     *                             }
+     *                             properties (Required): {
+     *                                 subType: String(Circle) (Required)
+     *                                 radius: double (Required)
+     *                             }
+     *                         }
+     *                     ]
+     *                 }
+     *             ]
+     *         }
+     *     }
+     * }
+     * }
+ * + *

Response Body Schema + * + *

{@code
+     * {
+     *     jobId: String (Required)
+     *     createdDateTime: OffsetDateTime (Required)
+     *     expirationDateTime: OffsetDateTime (Required)
+     *     lastUpdateDateTime: OffsetDateTime (Required)
+     *     status: String(notStarted/running/succeeded/failed/partiallyCompleted) (Required)
+     *     errors (Optional): [
+     *         ResponseError (Optional)
+     *     ]
+     *     results (Optional): {
+     *         patients (Required): [
+     *              (Required){
+     *                 id: String (Required)
+     *                 inferences (Required): [
+     *                      (Required){
+     *                         type: String(trialEligibility) (Required)
+     *                         value: String (Required)
+     *                         description: String (Optional)
+     *                         confidenceScore: Double (Optional)
+     *                         evidence (Optional): [
+     *                              (Optional){
+     *                                 eligibilityCriteriaEvidence: String (Optional)
+     *                                 patientDataEvidence (Optional): {
+     *                                     id: String (Required)
+     *                                     text: String (Optional)
+     *                                     offset: int (Required)
+     *                                     length: int (Required)
+     *                                 }
+     *                                 patientInfoEvidence (Optional): {
+     *                                     system: String (Required)
+     *                                     code: String (Required)
+     *                                     name: String (Optional)
+     *                                     value: String (Optional)
+     *                                 }
+     *                                 importance: Double (Optional)
+     *                             }
+     *                         ]
+     *                         id: String (Optional)
+     *                         source: String(custom/clinicaltrials.gov) (Optional)
+     *                         metadata (Optional): {
+     *                             phases (Optional): [
+     *                                 String(notApplicable/earlyPhase1/phase1/phase2/phase3/phase4) (Optional)
+     *                             ]
+     *                             studyType: String(interventional/observational/expandedAccess/patientRegistries) (Optional)
+     *                             recruitmentStatus: String(unknownStatus/notYetRecruiting/recruiting/enrollingByInvitation) (Optional)
+     *                             conditions (Required): [
+     *                                 String (Required)
+     *                             ]
+     *                             sponsors (Optional): [
+     *                                 String (Optional)
+     *                             ]
+     *                             contacts (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Optional)
+     *                                     email: String (Optional)
+     *                                     phone: String (Optional)
+     *                                 }
+     *                             ]
+     *                             facilities (Optional): [
+     *                                  (Optional){
+     *                                     name: String (Required)
+     *                                     city: String (Optional)
+     *                                     state: String (Optional)
+     *                                     country: String (Required)
+     *                                 }
+     *                             ]
+     *                         }
+     *                     }
+     *                 ]
+     *                 neededClinicalInfo (Optional): [
+     *                      (Optional){
+     *                         system: String (Required)
+     *                         code: String (Required)
+     *                         name: String (Optional)
+     *                         value: String (Optional)
+     *                         semanticType: String (Optional)
+     *                         category: String (Optional)
+     *                     }
+     *                 ]
+     *             }
+     *         ]
+     *         modelVersion: String (Required)
+     *         knowledgeGraphLastUpdateDate: LocalDate (Optional)
+     *     }
+     * }
+     * }
+ * + * @param trialMatcherData The body of the Trial Matcher request. + * @param requestOptions The options to configure the HTTP request before HTTP client sends it. + * @throws HttpResponseException thrown if the request is rejected by server. + * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. + * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. + * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. + * @return the {@link SyncPoller} for polling of the response for the Trial Matcher request. + */ + @ServiceMethod(returns = ReturnType.LONG_RUNNING_OPERATION) + public SyncPoller beginMatchTrialsWithModel( + BinaryData trialMatcherData, RequestOptions requestOptions) { + return this.beginMatchTrialsWithModelAsync(trialMatcherData, requestOptions).getSyncPoller(); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java new file mode 100644 index 0000000000000..d4bea9038803b --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java @@ -0,0 +1,10 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the implementations for AzureHealthInsights. Azure Health Insights provides an API that serves + * insight models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a + * human. + */ +package com.azure.health.insights.clinicalmatching.implementation; diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAge.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAge.java new file mode 100644 index 0000000000000..d077c6d5be573 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAge.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A person's age, given as a number (value) and a unit (e.g. years, months). */ +@Immutable +public final class AcceptedAge { + /* + * Possible units for a person's age. + */ + @JsonProperty(value = "unit", required = true) + private AgeUnit unit; + + /* + * The number of years/months/days that represents the person's age. + */ + @JsonProperty(value = "value", required = true) + private double value; + + /** + * Creates an instance of AcceptedAge class. + * + * @param unit the unit value to set. + * @param value the value value to set. + */ + @JsonCreator + public AcceptedAge( + @JsonProperty(value = "unit", required = true) AgeUnit unit, + @JsonProperty(value = "value", required = true) double value) { + this.unit = unit; + this.value = value; + } + + /** + * Get the unit property: Possible units for a person's age. + * + * @return the unit value. + */ + public AgeUnit getUnit() { + return this.unit; + } + + /** + * Get the value property: The number of years/months/days that represents the person's age. + * + * @return the value value. + */ + public double getValue() { + return this.value; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAgeRange.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAgeRange.java new file mode 100644 index 0000000000000..f524e1aea2509 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AcceptedAgeRange.java @@ -0,0 +1,67 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A definition of the range of ages accepted by a clinical trial. Contains a minimum age and/or a maximum age. */ +@Fluent +public final class AcceptedAgeRange { + /* + * A person's age, given as a number (value) and a unit (e.g. years, months) + */ + @JsonProperty(value = "minimumAge") + private AcceptedAge minimumAge; + + /* + * A person's age, given as a number (value) and a unit (e.g. years, months) + */ + @JsonProperty(value = "maximumAge") + private AcceptedAge maximumAge; + + /** Creates an instance of AcceptedAgeRange class. */ + public AcceptedAgeRange() {} + + /** + * Get the minimumAge property: A person's age, given as a number (value) and a unit (e.g. years, months). + * + * @return the minimumAge value. + */ + public AcceptedAge getMinimumAge() { + return this.minimumAge; + } + + /** + * Set the minimumAge property: A person's age, given as a number (value) and a unit (e.g. years, months). + * + * @param minimumAge the minimumAge value to set. + * @return the AcceptedAgeRange object itself. + */ + public AcceptedAgeRange setMinimumAge(AcceptedAge minimumAge) { + this.minimumAge = minimumAge; + return this; + } + + /** + * Get the maximumAge property: A person's age, given as a number (value) and a unit (e.g. years, months). + * + * @return the maximumAge value. + */ + public AcceptedAge getMaximumAge() { + return this.maximumAge; + } + + /** + * Set the maximumAge property: A person's age, given as a number (value) and a unit (e.g. years, months). + * + * @param maximumAge the maximumAge value to set. + * @return the AcceptedAgeRange object itself. + */ + public AcceptedAgeRange setMaximumAge(AcceptedAge maximumAge) { + this.maximumAge = maximumAge; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AgeUnit.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AgeUnit.java new file mode 100644 index 0000000000000..4e56d838ebc16 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AgeUnit.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Possible units for a person's age. */ +public final class AgeUnit extends ExpandableStringEnum { + /** Static value years for AgeUnit. */ + public static final AgeUnit YEARS = fromString("years"); + + /** Static value months for AgeUnit. */ + public static final AgeUnit MONTHS = fromString("months"); + + /** Static value days for AgeUnit. */ + public static final AgeUnit DAYS = fromString("days"); + + /** + * Creates a new instance of AgeUnit value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public AgeUnit() {} + + /** + * Creates or finds a AgeUnit from its string representation. + * + * @param name a name to look for. + * @return the corresponding AgeUnit. + */ + @JsonCreator + public static AgeUnit fromString(String name) { + return fromString(name, AgeUnit.class); + } + + /** + * Gets known AgeUnit values. + * + * @return known AgeUnit values. + */ + public static Collection values() { + return values(AgeUnit.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaGeometry.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaGeometry.java new file mode 100644 index 0000000000000..4f789cc09f030 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaGeometry.java @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** `GeoJSON` geometry, representing the area circle's center. */ +@Immutable +public final class AreaGeometry { + /* + * `GeoJSON` geometry type. + */ + @JsonProperty(value = "type", required = true) + private GeoJsonGeometryType type; + + /* + * Coordinates of the area circle's center, represented according to the `GeoJSON` standard. + * This is an array of 2 decimal numbers, longitude and latitude (precisely in this order). + */ + @JsonProperty(value = "coordinates", required = true) + private List coordinates; + + /** + * Creates an instance of AreaGeometry class. + * + * @param type the type value to set. + * @param coordinates the coordinates value to set. + */ + @JsonCreator + public AreaGeometry( + @JsonProperty(value = "type", required = true) GeoJsonGeometryType type, + @JsonProperty(value = "coordinates", required = true) List coordinates) { + this.type = type; + this.coordinates = coordinates; + } + + /** + * Get the type property: `GeoJSON` geometry type. + * + * @return the type value. + */ + public GeoJsonGeometryType getType() { + return this.type; + } + + /** + * Get the coordinates property: Coordinates of the area circle's center, represented according to the `GeoJSON` + * standard. This is an array of 2 decimal numbers, longitude and latitude (precisely in this order). + * + * @return the coordinates value. + */ + public List getCoordinates() { + return this.coordinates; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaProperties.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaProperties.java new file mode 100644 index 0000000000000..61932f79d7897 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/AreaProperties.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** `GeoJSON` object properties. */ +@Immutable +public final class AreaProperties { + /* + * `GeoJSON` object sub-type. + */ + @JsonProperty(value = "subType", required = true) + private GeoJsonPropertiesSubType subType; + + /* + * The radius of the area's circle, in meters. + */ + @JsonProperty(value = "radius", required = true) + private double radius; + + /** + * Creates an instance of AreaProperties class. + * + * @param subType the subType value to set. + * @param radius the radius value to set. + */ + @JsonCreator + public AreaProperties( + @JsonProperty(value = "subType", required = true) GeoJsonPropertiesSubType subType, + @JsonProperty(value = "radius", required = true) double radius) { + this.subType = subType; + this.radius = radius; + } + + /** + * Get the subType property: `GeoJSON` object sub-type. + * + * @return the subType value. + */ + public GeoJsonPropertiesSubType getSubType() { + return this.subType; + } + + /** + * Get the radius property: The radius of the area's circle, in meters. + * + * @return the radius value. + */ + public double getRadius() { + return this.radius; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalCodedElement.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalCodedElement.java new file mode 100644 index 0000000000000..79b7008a65226 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalCodedElement.java @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A piece of clinical information, expressed as a code in a clinical coding system. */ +@Fluent +public final class ClinicalCodedElement { + /* + * The clinical coding system, e.g. ICD-10, SNOMED-CT, UMLS. + */ + @JsonProperty(value = "system", required = true) + private String system; + + /* + * The code within the given clinical coding system. + */ + @JsonProperty(value = "code", required = true) + private String code; + + /* + * The name of this coded concept in the coding system. + */ + @JsonProperty(value = "name") + private String name; + + /* + * A value associated with the code within the given clinical coding system. + */ + @JsonProperty(value = "value") + private String value; + + /** + * Creates an instance of ClinicalCodedElement class. + * + * @param system the system value to set. + * @param code the code value to set. + */ + @JsonCreator + public ClinicalCodedElement( + @JsonProperty(value = "system", required = true) String system, + @JsonProperty(value = "code", required = true) String code) { + this.system = system; + this.code = code; + } + + /** + * Get the system property: The clinical coding system, e.g. ICD-10, SNOMED-CT, UMLS. + * + * @return the system value. + */ + public String getSystem() { + return this.system; + } + + /** + * Get the code property: The code within the given clinical coding system. + * + * @return the code value. + */ + public String getCode() { + return this.code; + } + + /** + * Get the name property: The name of this coded concept in the coding system. + * + * @return the name value. + */ + public String getName() { + return this.name; + } + + /** + * Set the name property: The name of this coded concept in the coding system. + * + * @param name the name value to set. + * @return the ClinicalCodedElement object itself. + */ + public ClinicalCodedElement setName(String name) { + this.name = name; + return this; + } + + /** + * Get the value property: A value associated with the code within the given clinical coding system. + * + * @return the value value. + */ + public String getValue() { + return this.value; + } + + /** + * Set the value property: A value associated with the code within the given clinical coding system. + * + * @param value the value value to set. + * @return the ClinicalCodedElement object itself. + */ + public ClinicalCodedElement setValue(String value) { + this.value = value; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalDocumentType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalDocumentType.java new file mode 100644 index 0000000000000..d0ad8ed1dc955 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalDocumentType.java @@ -0,0 +1,64 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The type of the clinical document. */ +public final class ClinicalDocumentType extends ExpandableStringEnum { + /** Static value consultation for ClinicalDocumentType. */ + public static final ClinicalDocumentType CONSULTATION = fromString("consultation"); + + /** Static value dischargeSummary for ClinicalDocumentType. */ + public static final ClinicalDocumentType DISCHARGE_SUMMARY = fromString("dischargeSummary"); + + /** Static value historyAndPhysical for ClinicalDocumentType. */ + public static final ClinicalDocumentType HISTORY_AND_PHYSICAL = fromString("historyAndPhysical"); + + /** Static value procedure for ClinicalDocumentType. */ + public static final ClinicalDocumentType PROCEDURE = fromString("procedure"); + + /** Static value progress for ClinicalDocumentType. */ + public static final ClinicalDocumentType PROGRESS = fromString("progress"); + + /** Static value imaging for ClinicalDocumentType. */ + public static final ClinicalDocumentType IMAGING = fromString("imaging"); + + /** Static value laboratory for ClinicalDocumentType. */ + public static final ClinicalDocumentType LABORATORY = fromString("laboratory"); + + /** Static value pathology for ClinicalDocumentType. */ + public static final ClinicalDocumentType PATHOLOGY = fromString("pathology"); + + /** + * Creates a new instance of ClinicalDocumentType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalDocumentType() {} + + /** + * Creates or finds a ClinicalDocumentType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalDocumentType. + */ + @JsonCreator + public static ClinicalDocumentType fromString(String name) { + return fromString(name, ClinicalDocumentType.class); + } + + /** + * Gets known ClinicalDocumentType values. + * + * @return known ClinicalDocumentType values. + */ + public static Collection values() { + return values(ClinicalDocumentType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalNoteEvidence.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalNoteEvidence.java new file mode 100644 index 0000000000000..567c6025e9556 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalNoteEvidence.java @@ -0,0 +1,90 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A piece of evidence from a clinical note (text document). */ +@Immutable +public final class ClinicalNoteEvidence { + /* + * The identifier of the document containing the evidence. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * The actual text span which is evidence for the inference. + */ + @JsonProperty(value = "text") + private String text; + + /* + * The start index of the evidence text span in the document (0 based). + */ + @JsonProperty(value = "offset", required = true) + private int offset; + + /* + * The length of the evidence text span. + */ + @JsonProperty(value = "length", required = true) + private int length; + + /** + * Creates an instance of ClinicalNoteEvidence class. + * + * @param id the id value to set. + * @param offset the offset value to set. + * @param length the length value to set. + */ + @JsonCreator + private ClinicalNoteEvidence( + @JsonProperty(value = "id", required = true) String id, + @JsonProperty(value = "offset", required = true) int offset, + @JsonProperty(value = "length", required = true) int length) { + this.id = id; + this.offset = offset; + this.length = length; + } + + /** + * Get the id property: The identifier of the document containing the evidence. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the text property: The actual text span which is evidence for the inference. + * + * @return the text value. + */ + public String getText() { + return this.text; + } + + /** + * Get the offset property: The start index of the evidence text span in the document (0 based). + * + * @return the offset value. + */ + public int getOffset() { + return this.offset; + } + + /** + * Get the length property: The length of the evidence text span. + * + * @return the length value. + */ + public int getLength() { + return this.length; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialAcceptedSex.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialAcceptedSex.java new file mode 100644 index 0000000000000..eda0f5c084e2e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialAcceptedSex.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * Possible values for the Sex eligibility criterion as accepted by clinical trials, which indicates the sex of people + * who may participate in a clinical study. + */ +public final class ClinicalTrialAcceptedSex extends ExpandableStringEnum { + /** Static value all for ClinicalTrialAcceptedSex. */ + public static final ClinicalTrialAcceptedSex ALL = fromString("all"); + + /** Static value female for ClinicalTrialAcceptedSex. */ + public static final ClinicalTrialAcceptedSex FEMALE = fromString("female"); + + /** Static value male for ClinicalTrialAcceptedSex. */ + public static final ClinicalTrialAcceptedSex MALE = fromString("male"); + + /** + * Creates a new instance of ClinicalTrialAcceptedSex value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalTrialAcceptedSex() {} + + /** + * Creates or finds a ClinicalTrialAcceptedSex from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalTrialAcceptedSex. + */ + @JsonCreator + public static ClinicalTrialAcceptedSex fromString(String name) { + return fromString(name, ClinicalTrialAcceptedSex.class); + } + + /** + * Gets known ClinicalTrialAcceptedSex values. + * + * @return known ClinicalTrialAcceptedSex values. + */ + public static Collection values() { + return values(ClinicalTrialAcceptedSex.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDemographics.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDemographics.java new file mode 100644 index 0000000000000..d83c5c94cdb2a --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDemographics.java @@ -0,0 +1,69 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Demographic criteria for a clinical trial. */ +@Fluent +public final class ClinicalTrialDemographics { + /* + * Indication of the sex of people who may participate in the clinical trial. + */ + @JsonProperty(value = "acceptedSex") + private ClinicalTrialAcceptedSex acceptedSex; + + /* + * A definition of the range of ages accepted by a clinical trial. Contains a minimum age and/or a maximum age. + */ + @JsonProperty(value = "acceptedAgeRange") + private AcceptedAgeRange acceptedAgeRange; + + /** Creates an instance of ClinicalTrialDemographics class. */ + public ClinicalTrialDemographics() {} + + /** + * Get the acceptedSex property: Indication of the sex of people who may participate in the clinical trial. + * + * @return the acceptedSex value. + */ + public ClinicalTrialAcceptedSex getAcceptedSex() { + return this.acceptedSex; + } + + /** + * Set the acceptedSex property: Indication of the sex of people who may participate in the clinical trial. + * + * @param acceptedSex the acceptedSex value to set. + * @return the ClinicalTrialDemographics object itself. + */ + public ClinicalTrialDemographics setAcceptedSex(ClinicalTrialAcceptedSex acceptedSex) { + this.acceptedSex = acceptedSex; + return this; + } + + /** + * Get the acceptedAgeRange property: A definition of the range of ages accepted by a clinical trial. Contains a + * minimum age and/or a maximum age. + * + * @return the acceptedAgeRange value. + */ + public AcceptedAgeRange getAcceptedAgeRange() { + return this.acceptedAgeRange; + } + + /** + * Set the acceptedAgeRange property: A definition of the range of ages accepted by a clinical trial. Contains a + * minimum age and/or a maximum age. + * + * @param acceptedAgeRange the acceptedAgeRange value to set. + * @return the ClinicalTrialDemographics object itself. + */ + public ClinicalTrialDemographics setAcceptedAgeRange(AcceptedAgeRange acceptedAgeRange) { + this.acceptedAgeRange = acceptedAgeRange; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDetails.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDetails.java new file mode 100644 index 0000000000000..dc657ae468945 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialDetails.java @@ -0,0 +1,112 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A description of a clinical trial. */ +@Fluent +public final class ClinicalTrialDetails { + /* + * A given identifier for the clinical trial. Has to be unique within a list of clinical trials. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * The eligibility criteria of the clinical trial (inclusion and exclusion), given as text. + */ + @JsonProperty(value = "eligibilityCriteriaText") + private String eligibilityCriteriaText; + + /* + * Demographic criteria for a clinical trial. + */ + @JsonProperty(value = "demographics") + private ClinicalTrialDemographics demographics; + + /* + * Trial data which is of interest to the potential participant. + */ + @JsonProperty(value = "metadata", required = true) + private ClinicalTrialMetadata metadata; + + /** + * Creates an instance of ClinicalTrialDetails class. + * + * @param id the id value to set. + * @param metadata the metadata value to set. + */ + @JsonCreator + public ClinicalTrialDetails( + @JsonProperty(value = "id", required = true) String id, + @JsonProperty(value = "metadata", required = true) ClinicalTrialMetadata metadata) { + this.id = id; + this.metadata = metadata; + } + + /** + * Get the id property: A given identifier for the clinical trial. Has to be unique within a list of clinical + * trials. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the eligibilityCriteriaText property: The eligibility criteria of the clinical trial (inclusion and + * exclusion), given as text. + * + * @return the eligibilityCriteriaText value. + */ + public String getEligibilityCriteriaText() { + return this.eligibilityCriteriaText; + } + + /** + * Set the eligibilityCriteriaText property: The eligibility criteria of the clinical trial (inclusion and + * exclusion), given as text. + * + * @param eligibilityCriteriaText the eligibilityCriteriaText value to set. + * @return the ClinicalTrialDetails object itself. + */ + public ClinicalTrialDetails setEligibilityCriteriaText(String eligibilityCriteriaText) { + this.eligibilityCriteriaText = eligibilityCriteriaText; + return this; + } + + /** + * Get the demographics property: Demographic criteria for a clinical trial. + * + * @return the demographics value. + */ + public ClinicalTrialDemographics getDemographics() { + return this.demographics; + } + + /** + * Set the demographics property: Demographic criteria for a clinical trial. + * + * @param demographics the demographics value to set. + * @return the ClinicalTrialDetails object itself. + */ + public ClinicalTrialDetails setDemographics(ClinicalTrialDemographics demographics) { + this.demographics = demographics; + return this; + } + + /** + * Get the metadata property: Trial data which is of interest to the potential participant. + * + * @return the metadata value. + */ + public ClinicalTrialMetadata getMetadata() { + return this.metadata; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialMetadata.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialMetadata.java new file mode 100644 index 0000000000000..1914368e010a9 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialMetadata.java @@ -0,0 +1,201 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** Trial data which is of interest to the potential participant. */ +@Fluent +public final class ClinicalTrialMetadata { + /* + * Phases which are relevant for the clinical trial. + * Each clinical trial can be in a certain phase or in multiple phases. + */ + @JsonProperty(value = "phases") + private List phases; + + /* + * Possible study types of a clinical trial. + */ + @JsonProperty(value = "studyType") + private ClinicalTrialStudyType studyType; + + /* + * Possible recruitment status of a clinical trial. + */ + @JsonProperty(value = "recruitmentStatus") + private ClinicalTrialRecruitmentStatus recruitmentStatus; + + /* + * Medical conditions and their synonyms which are relevant for the clinical trial, given as strings. + */ + @JsonProperty(value = "conditions", required = true) + private List conditions; + + /* + * Sponsors/collaborators involved with the trial. + */ + @JsonProperty(value = "sponsors") + private List sponsors; + + /* + * Contact details of the trial administrators, for patients that want to participate in the trial. + */ + @JsonProperty(value = "contacts") + private List contacts; + + /* + * Research facilities where the clinical trial is conducted. + */ + @JsonProperty(value = "facilities") + private List facilities; + + /** + * Creates an instance of ClinicalTrialMetadata class. + * + * @param conditions the conditions value to set. + */ + @JsonCreator + public ClinicalTrialMetadata(@JsonProperty(value = "conditions", required = true) List conditions) { + this.conditions = conditions; + } + + /** + * Get the phases property: Phases which are relevant for the clinical trial. Each clinical trial can be in a + * certain phase or in multiple phases. + * + * @return the phases value. + */ + public List getPhases() { + return this.phases; + } + + /** + * Set the phases property: Phases which are relevant for the clinical trial. Each clinical trial can be in a + * certain phase or in multiple phases. + * + * @param phases the phases value to set. + * @return the ClinicalTrialMetadata object itself. + */ + public ClinicalTrialMetadata setPhases(List phases) { + this.phases = phases; + return this; + } + + /** + * Get the studyType property: Possible study types of a clinical trial. + * + * @return the studyType value. + */ + public ClinicalTrialStudyType getStudyType() { + return this.studyType; + } + + /** + * Set the studyType property: Possible study types of a clinical trial. + * + * @param studyType the studyType value to set. + * @return the ClinicalTrialMetadata object itself. + */ + public ClinicalTrialMetadata setStudyType(ClinicalTrialStudyType studyType) { + this.studyType = studyType; + return this; + } + + /** + * Get the recruitmentStatus property: Possible recruitment status of a clinical trial. + * + * @return the recruitmentStatus value. + */ + public ClinicalTrialRecruitmentStatus getRecruitmentStatus() { + return this.recruitmentStatus; + } + + /** + * Set the recruitmentStatus property: Possible recruitment status of a clinical trial. + * + * @param recruitmentStatus the recruitmentStatus value to set. + * @return the ClinicalTrialMetadata object itself. + */ + public ClinicalTrialMetadata setRecruitmentStatus(ClinicalTrialRecruitmentStatus recruitmentStatus) { + this.recruitmentStatus = recruitmentStatus; + return this; + } + + /** + * Get the conditions property: Medical conditions and their synonyms which are relevant for the clinical trial, + * given as strings. + * + * @return the conditions value. + */ + public List getConditions() { + return this.conditions; + } + + /** + * Get the sponsors property: Sponsors/collaborators involved with the trial. + * + * @return the sponsors value. + */ + public List getSponsors() { + return this.sponsors; + } + + /** + * Set the sponsors property: Sponsors/collaborators involved with the trial. + * + * @param sponsors the sponsors value to set. + * @return the ClinicalTrialMetadata object itself. + */ + public ClinicalTrialMetadata setSponsors(List sponsors) { + this.sponsors = sponsors; + return this; + } + + /** + * Get the contacts property: Contact details of the trial administrators, for patients that want to participate in + * the trial. + * + * @return the contacts value. + */ + public List getContacts() { + return this.contacts; + } + + /** + * Set the contacts property: Contact details of the trial administrators, for patients that want to participate in + * the trial. + * + * @param contacts the contacts value to set. + * @return the ClinicalTrialMetadata object itself. + */ + public ClinicalTrialMetadata setContacts(List contacts) { + this.contacts = contacts; + return this; + } + + /** + * Get the facilities property: Research facilities where the clinical trial is conducted. + * + * @return the facilities value. + */ + public List getFacilities() { + return this.facilities; + } + + /** + * Set the facilities property: Research facilities where the clinical trial is conducted. + * + * @param facilities the facilities value to set. + * @return the ClinicalTrialMetadata object itself. + */ + public ClinicalTrialMetadata setFacilities(List facilities) { + this.facilities = facilities; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPhase.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPhase.java new file mode 100644 index 0000000000000..e8593e819f9b1 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPhase.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Possible phases of a clinical trial. */ +public final class ClinicalTrialPhase extends ExpandableStringEnum { + /** Static value notApplicable for ClinicalTrialPhase. */ + public static final ClinicalTrialPhase NOT_APPLICABLE = fromString("notApplicable"); + + /** Static value earlyPhase1 for ClinicalTrialPhase. */ + public static final ClinicalTrialPhase EARLY_PHASE1 = fromString("earlyPhase1"); + + /** Static value phase1 for ClinicalTrialPhase. */ + public static final ClinicalTrialPhase PHASE1 = fromString("phase1"); + + /** Static value phase2 for ClinicalTrialPhase. */ + public static final ClinicalTrialPhase PHASE2 = fromString("phase2"); + + /** Static value phase3 for ClinicalTrialPhase. */ + public static final ClinicalTrialPhase PHASE3 = fromString("phase3"); + + /** Static value phase4 for ClinicalTrialPhase. */ + public static final ClinicalTrialPhase PHASE4 = fromString("phase4"); + + /** + * Creates a new instance of ClinicalTrialPhase value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalTrialPhase() {} + + /** + * Creates or finds a ClinicalTrialPhase from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalTrialPhase. + */ + @JsonCreator + public static ClinicalTrialPhase fromString(String name) { + return fromString(name, ClinicalTrialPhase.class); + } + + /** + * Gets known ClinicalTrialPhase values. + * + * @return known ClinicalTrialPhase values. + */ + public static Collection values() { + return values(ClinicalTrialPhase.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPurpose.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPurpose.java new file mode 100644 index 0000000000000..6934d763ecc9f --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialPurpose.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Possible purposes of a clinical trial. */ +public final class ClinicalTrialPurpose extends ExpandableStringEnum { + /** Static value notApplicable for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose NOT_APPLICABLE = fromString("notApplicable"); + + /** Static value screening for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose SCREENING = fromString("screening"); + + /** Static value diagnostic for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose DIAGNOSTIC = fromString("diagnostic"); + + /** Static value prevention for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose PREVENTION = fromString("prevention"); + + /** Static value healthServicesResearch for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose HEALTH_SERVICES_RESEARCH = fromString("healthServicesResearch"); + + /** Static value treatment for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose TREATMENT = fromString("treatment"); + + /** Static value deviceFeasibility for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose DEVICE_FEASIBILITY = fromString("deviceFeasibility"); + + /** Static value supportiveCare for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose SUPPORTIVE_CARE = fromString("supportiveCare"); + + /** Static value basicScience for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose BASIC_SCIENCE = fromString("basicScience"); + + /** Static value other for ClinicalTrialPurpose. */ + public static final ClinicalTrialPurpose OTHER = fromString("other"); + + /** + * Creates a new instance of ClinicalTrialPurpose value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalTrialPurpose() {} + + /** + * Creates or finds a ClinicalTrialPurpose from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalTrialPurpose. + */ + @JsonCreator + public static ClinicalTrialPurpose fromString(String name) { + return fromString(name, ClinicalTrialPurpose.class); + } + + /** + * Gets known ClinicalTrialPurpose values. + * + * @return known ClinicalTrialPurpose values. + */ + public static Collection values() { + return values(ClinicalTrialPurpose.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRecruitmentStatus.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRecruitmentStatus.java new file mode 100644 index 0000000000000..c75612c177bcc --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRecruitmentStatus.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Possible recruitment status of a clinical trial. */ +public final class ClinicalTrialRecruitmentStatus extends ExpandableStringEnum { + /** Static value unknownStatus for ClinicalTrialRecruitmentStatus. */ + public static final ClinicalTrialRecruitmentStatus UNKNOWN_STATUS = fromString("unknownStatus"); + + /** Static value notYetRecruiting for ClinicalTrialRecruitmentStatus. */ + public static final ClinicalTrialRecruitmentStatus NOT_YET_RECRUITING = fromString("notYetRecruiting"); + + /** Static value recruiting for ClinicalTrialRecruitmentStatus. */ + public static final ClinicalTrialRecruitmentStatus RECRUITING = fromString("recruiting"); + + /** Static value enrollingByInvitation for ClinicalTrialRecruitmentStatus. */ + public static final ClinicalTrialRecruitmentStatus ENROLLING_BY_INVITATION = fromString("enrollingByInvitation"); + + /** + * Creates a new instance of ClinicalTrialRecruitmentStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalTrialRecruitmentStatus() {} + + /** + * Creates or finds a ClinicalTrialRecruitmentStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalTrialRecruitmentStatus. + */ + @JsonCreator + public static ClinicalTrialRecruitmentStatus fromString(String name) { + return fromString(name, ClinicalTrialRecruitmentStatus.class); + } + + /** + * Gets known ClinicalTrialRecruitmentStatus values. + * + * @return known ClinicalTrialRecruitmentStatus values. + */ + public static Collection values() { + return values(ClinicalTrialRecruitmentStatus.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRegistryFilter.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRegistryFilter.java new file mode 100644 index 0000000000000..d218381a4f5ea --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialRegistryFilter.java @@ -0,0 +1,353 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** A filter defining a subset of clinical trials from a given clinical trial registry (e.g. clinicaltrials.gov). */ +@Fluent +public final class ClinicalTrialRegistryFilter { + /* + * Trials with any of the given medical conditions will be included in the selection (provided that other + * limitations are satisfied). + * Leaving this list empty will not limit the medical conditions. + */ + @JsonProperty(value = "conditions") + private List conditions; + + /* + * Trials with any of the given study types will be included in the selection (provided that other limitations are + * satisfied). + * Leaving this list empty will not limit the study types. + */ + @JsonProperty(value = "studyTypes") + private List studyTypes; + + /* + * Trials with any of the given recruitment statuses will be included in the selection (provided that other + * limitations are satisfied). + * Leaving this list empty will not limit the recruitment statuses. + */ + @JsonProperty(value = "recruitmentStatuses") + private List recruitmentStatuses; + + /* + * Trials with any of the given sponsors will be included in the selection (provided that other limitations are + * satisfied). + * Leaving this list empty will not limit the sponsors. + */ + @JsonProperty(value = "sponsors") + private List sponsors; + + /* + * Trials with any of the given phases will be included in the selection (provided that other limitations are + * satisfied). + * Leaving this list empty will not limit the phases. + */ + @JsonProperty(value = "phases") + private List phases; + + /* + * Trials with any of the given purposes will be included in the selection (provided that other limitations are + * satisfied). + * Leaving this list empty will not limit the purposes. + */ + @JsonProperty(value = "purposes") + private List purposes; + + /* + * Trials with any of the given identifiers will be included in the selection (provided that other limitations are + * satisfied). + * Leaving this list empty will not limit the trial identifiers. + */ + @JsonProperty(value = "ids") + private List ids; + + /* + * Trials with any of the given sources will be included in the selection (provided that other limitations are + * satisfied). + * Leaving this list empty will not limit the sources. + */ + @JsonProperty(value = "sources") + private List sources; + + /* + * Trials with any of the given facility names will be included in the selection (provided that other limitations + * are satisfied). + * Leaving this list empty will not limit the trial facility names. + */ + @JsonProperty(value = "facilityNames") + private List facilityNames; + + /* + * Trials with any of the given facility locations will be included in the selection (provided that other + * limitations are satisfied). + * Leaving this list empty will not limit the trial facility locations. + */ + @JsonProperty(value = "facilityLocations") + private List facilityLocations; + + /* + * Trials with any of the given facility area boundaries will be included in the selection (provided that other + * limitations are satisfied). + * Leaving this list empty will not limit the trial facility area boundaries. + */ + @JsonProperty(value = "facilityAreas") + private List facilityAreas; + + /** Creates an instance of ClinicalTrialRegistryFilter class. */ + public ClinicalTrialRegistryFilter() {} + + /** + * Get the conditions property: Trials with any of the given medical conditions will be included in the selection + * (provided that other limitations are satisfied). Leaving this list empty will not limit the medical conditions. + * + * @return the conditions value. + */ + public List getConditions() { + return this.conditions; + } + + /** + * Set the conditions property: Trials with any of the given medical conditions will be included in the selection + * (provided that other limitations are satisfied). Leaving this list empty will not limit the medical conditions. + * + * @param conditions the conditions value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setConditions(List conditions) { + this.conditions = conditions; + return this; + } + + /** + * Get the studyTypes property: Trials with any of the given study types will be included in the selection (provided + * that other limitations are satisfied). Leaving this list empty will not limit the study types. + * + * @return the studyTypes value. + */ + public List getStudyTypes() { + return this.studyTypes; + } + + /** + * Set the studyTypes property: Trials with any of the given study types will be included in the selection (provided + * that other limitations are satisfied). Leaving this list empty will not limit the study types. + * + * @param studyTypes the studyTypes value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setStudyTypes(List studyTypes) { + this.studyTypes = studyTypes; + return this; + } + + /** + * Get the recruitmentStatuses property: Trials with any of the given recruitment statuses will be included in the + * selection (provided that other limitations are satisfied). Leaving this list empty will not limit the recruitment + * statuses. + * + * @return the recruitmentStatuses value. + */ + public List getRecruitmentStatuses() { + return this.recruitmentStatuses; + } + + /** + * Set the recruitmentStatuses property: Trials with any of the given recruitment statuses will be included in the + * selection (provided that other limitations are satisfied). Leaving this list empty will not limit the recruitment + * statuses. + * + * @param recruitmentStatuses the recruitmentStatuses value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setRecruitmentStatuses( + List recruitmentStatuses) { + this.recruitmentStatuses = recruitmentStatuses; + return this; + } + + /** + * Get the sponsors property: Trials with any of the given sponsors will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the sponsors. + * + * @return the sponsors value. + */ + public List getSponsors() { + return this.sponsors; + } + + /** + * Set the sponsors property: Trials with any of the given sponsors will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the sponsors. + * + * @param sponsors the sponsors value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setSponsors(List sponsors) { + this.sponsors = sponsors; + return this; + } + + /** + * Get the phases property: Trials with any of the given phases will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the phases. + * + * @return the phases value. + */ + public List getPhases() { + return this.phases; + } + + /** + * Set the phases property: Trials with any of the given phases will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the phases. + * + * @param phases the phases value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setPhases(List phases) { + this.phases = phases; + return this; + } + + /** + * Get the purposes property: Trials with any of the given purposes will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the purposes. + * + * @return the purposes value. + */ + public List getPurposes() { + return this.purposes; + } + + /** + * Set the purposes property: Trials with any of the given purposes will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the purposes. + * + * @param purposes the purposes value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setPurposes(List purposes) { + this.purposes = purposes; + return this; + } + + /** + * Get the ids property: Trials with any of the given identifiers will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the trial identifiers. + * + * @return the ids value. + */ + public List getIds() { + return this.ids; + } + + /** + * Set the ids property: Trials with any of the given identifiers will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the trial identifiers. + * + * @param ids the ids value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setIds(List ids) { + this.ids = ids; + return this; + } + + /** + * Get the sources property: Trials with any of the given sources will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the sources. + * + * @return the sources value. + */ + public List getSources() { + return this.sources; + } + + /** + * Set the sources property: Trials with any of the given sources will be included in the selection (provided that + * other limitations are satisfied). Leaving this list empty will not limit the sources. + * + * @param sources the sources value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setSources(List sources) { + this.sources = sources; + return this; + } + + /** + * Get the facilityNames property: Trials with any of the given facility names will be included in the selection + * (provided that other limitations are satisfied). Leaving this list empty will not limit the trial facility names. + * + * @return the facilityNames value. + */ + public List getFacilityNames() { + return this.facilityNames; + } + + /** + * Set the facilityNames property: Trials with any of the given facility names will be included in the selection + * (provided that other limitations are satisfied). Leaving this list empty will not limit the trial facility names. + * + * @param facilityNames the facilityNames value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setFacilityNames(List facilityNames) { + this.facilityNames = facilityNames; + return this; + } + + /** + * Get the facilityLocations property: Trials with any of the given facility locations will be included in the + * selection (provided that other limitations are satisfied). Leaving this list empty will not limit the trial + * facility locations. + * + * @return the facilityLocations value. + */ + public List getFacilityLocations() { + return this.facilityLocations; + } + + /** + * Set the facilityLocations property: Trials with any of the given facility locations will be included in the + * selection (provided that other limitations are satisfied). Leaving this list empty will not limit the trial + * facility locations. + * + * @param facilityLocations the facilityLocations value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setFacilityLocations(List facilityLocations) { + this.facilityLocations = facilityLocations; + return this; + } + + /** + * Get the facilityAreas property: Trials with any of the given facility area boundaries will be included in the + * selection (provided that other limitations are satisfied). Leaving this list empty will not limit the trial + * facility area boundaries. + * + * @return the facilityAreas value. + */ + public List getFacilityAreas() { + return this.facilityAreas; + } + + /** + * Set the facilityAreas property: Trials with any of the given facility area boundaries will be included in the + * selection (provided that other limitations are satisfied). Leaving this list empty will not limit the trial + * facility area boundaries. + * + * @param facilityAreas the facilityAreas value to set. + * @return the ClinicalTrialRegistryFilter object itself. + */ + public ClinicalTrialRegistryFilter setFacilityAreas(List facilityAreas) { + this.facilityAreas = facilityAreas; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java new file mode 100644 index 0000000000000..627b9ef2234fc --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java @@ -0,0 +1,109 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Details of a research facility where a clinical trial is conducted. */ +@Fluent +public final class ClinicalTrialResearchFacility { + /* + * The facility's name. + */ + @JsonProperty(value = "name", required = true) + private String name; + + /* + * City name. + */ + @JsonProperty(value = "city") + private String city; + + /* + * State name. + */ + @JsonProperty(value = "state") + private String state; + + /* + * Country name. + */ + @JsonProperty(value = "country", required = true) + private String country; + + /** + * Creates an instance of ClinicalTrialResearchFacility class. + * + * @param name the name value to set. + * @param country the country value to set. + */ + @JsonCreator + public ClinicalTrialResearchFacility( + @JsonProperty(value = "name", required = true) String name, + @JsonProperty(value = "country", required = true) String country) { + this.name = name; + this.country = country; + } + + /** + * Get the name property: The facility's name. + * + * @return the name value. + */ + public String getName() { + return this.name; + } + + /** + * Get the city property: City name. + * + * @return the city value. + */ + public String getCity() { + return this.city; + } + + /** + * Set the city property: City name. + * + * @param city the city value to set. + * @return the ClinicalTrialResearchFacility object itself. + */ + public ClinicalTrialResearchFacility setCity(String city) { + this.city = city; + return this; + } + + /** + * Get the state property: State name. + * + * @return the state value. + */ + public String getState() { + return this.state; + } + + /** + * Set the state property: State name. + * + * @param state the state value to set. + * @return the ClinicalTrialResearchFacility object itself. + */ + public ClinicalTrialResearchFacility setState(String state) { + this.state = state; + return this; + } + + /** + * Get the country property: Country name. + * + * @return the country value. + */ + public String getCountry() { + return this.country; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialSource.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialSource.java new file mode 100644 index 0000000000000..36497c06fc146 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialSource.java @@ -0,0 +1,46 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Possible sources of a clinical trial. */ +public final class ClinicalTrialSource extends ExpandableStringEnum { + /** Static value custom for ClinicalTrialSource. */ + public static final ClinicalTrialSource CUSTOM = fromString("custom"); + + /** Static value clinicaltrials.gov for ClinicalTrialSource. */ + public static final ClinicalTrialSource CLINICALTRIALS_GOV = fromString("clinicaltrials.gov"); + + /** + * Creates a new instance of ClinicalTrialSource value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalTrialSource() {} + + /** + * Creates or finds a ClinicalTrialSource from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalTrialSource. + */ + @JsonCreator + public static ClinicalTrialSource fromString(String name) { + return fromString(name, ClinicalTrialSource.class); + } + + /** + * Gets known ClinicalTrialSource values. + * + * @return known ClinicalTrialSource values. + */ + public static Collection values() { + return values(ClinicalTrialSource.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialStudyType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialStudyType.java new file mode 100644 index 0000000000000..f1bd739b9f819 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialStudyType.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** Possible study types of a clinical trial. */ +public final class ClinicalTrialStudyType extends ExpandableStringEnum { + /** Static value interventional for ClinicalTrialStudyType. */ + public static final ClinicalTrialStudyType INTERVENTIONAL = fromString("interventional"); + + /** Static value observational for ClinicalTrialStudyType. */ + public static final ClinicalTrialStudyType OBSERVATIONAL = fromString("observational"); + + /** Static value expandedAccess for ClinicalTrialStudyType. */ + public static final ClinicalTrialStudyType EXPANDED_ACCESS = fromString("expandedAccess"); + + /** Static value patientRegistries for ClinicalTrialStudyType. */ + public static final ClinicalTrialStudyType PATIENT_REGISTRIES = fromString("patientRegistries"); + + /** + * Creates a new instance of ClinicalTrialStudyType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public ClinicalTrialStudyType() {} + + /** + * Creates or finds a ClinicalTrialStudyType from its string representation. + * + * @param name a name to look for. + * @return the corresponding ClinicalTrialStudyType. + */ + @JsonCreator + public static ClinicalTrialStudyType fromString(String name) { + return fromString(name, ClinicalTrialStudyType.class); + } + + /** + * Gets known ClinicalTrialStudyType values. + * + * @return known ClinicalTrialStudyType values. + */ + public static Collection values() { + return values(ClinicalTrialStudyType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrials.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrials.java new file mode 100644 index 0000000000000..ea9d0bc2778ef --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrials.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** + * The clinical trials that the patient(s) should be matched to. The trial selection can be given as a list of custom + * clinical trials and/or a list of filters to known clinical trial registries. In case both are given, the resulting + * trial set is a union of the two sets. + */ +@Fluent +public final class ClinicalTrials { + /* + * A list of clinical trials. + */ + @JsonProperty(value = "customTrials") + private List customTrials; + + /* + * A list of filters, each one creating a selection of trials from a given + * clinical trial registry. + */ + @JsonProperty(value = "registryFilters") + private List registryFilters; + + /** Creates an instance of ClinicalTrials class. */ + public ClinicalTrials() {} + + /** + * Get the customTrials property: A list of clinical trials. + * + * @return the customTrials value. + */ + public List getCustomTrials() { + return this.customTrials; + } + + /** + * Set the customTrials property: A list of clinical trials. + * + * @param customTrials the customTrials value to set. + * @return the ClinicalTrials object itself. + */ + public ClinicalTrials setCustomTrials(List customTrials) { + this.customTrials = customTrials; + return this; + } + + /** + * Get the registryFilters property: A list of filters, each one creating a selection of trials from a given + * clinical trial registry. + * + * @return the registryFilters value. + */ + public List getRegistryFilters() { + return this.registryFilters; + } + + /** + * Set the registryFilters property: A list of filters, each one creating a selection of trials from a given + * clinical trial registry. + * + * @param registryFilters the registryFilters value to set. + * @return the ClinicalTrials object itself. + */ + public ClinicalTrials setRegistryFilters(List registryFilters) { + this.registryFilters = registryFilters; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ContactDetails.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ContactDetails.java new file mode 100644 index 0000000000000..bb9d0acac9a12 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ContactDetails.java @@ -0,0 +1,93 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A person's contact details. */ +@Fluent +public final class ContactDetails { + /* + * The person's name. + */ + @JsonProperty(value = "name") + private String name; + + /* + * The person's email. + */ + @JsonProperty(value = "email") + private String email; + + /* + * A person's phone number. + */ + @JsonProperty(value = "phone") + private String phone; + + /** Creates an instance of ContactDetails class. */ + public ContactDetails() {} + + /** + * Get the name property: The person's name. + * + * @return the name value. + */ + public String getName() { + return this.name; + } + + /** + * Set the name property: The person's name. + * + * @param name the name value to set. + * @return the ContactDetails object itself. + */ + public ContactDetails setName(String name) { + this.name = name; + return this; + } + + /** + * Get the email property: The person's email. + * + * @return the email value. + */ + public String getEmail() { + return this.email; + } + + /** + * Set the email property: The person's email. + * + * @param email the email value to set. + * @return the ContactDetails object itself. + */ + public ContactDetails setEmail(String email) { + this.email = email; + return this; + } + + /** + * Get the phone property: A person's phone number. + * + * @return the phone value. + */ + public String getPhone() { + return this.phone; + } + + /** + * Set the phone property: A person's phone number. + * + * @param phone the phone value to set. + * @return the ContactDetails object itself. + */ + public ContactDetails setPhone(String phone) { + this.phone = phone; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContent.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContent.java new file mode 100644 index 0000000000000..fd0d84d288155 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContent.java @@ -0,0 +1,60 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** The content of the patient document. */ +@Immutable +public final class DocumentContent { + /* + * The type of the content's source. + * In case the source type is 'inline', the content is given as a string (for instance, text). + * In case the source type is 'reference', the content is given as a URI. + */ + @JsonProperty(value = "sourceType", required = true) + private DocumentContentSourceType sourceType; + + /* + * The content of the document, given either inline (as a string) or as a reference (URI). + */ + @JsonProperty(value = "value", required = true) + private String value; + + /** + * Creates an instance of DocumentContent class. + * + * @param sourceType the sourceType value to set. + * @param value the value value to set. + */ + @JsonCreator + public DocumentContent( + @JsonProperty(value = "sourceType", required = true) DocumentContentSourceType sourceType, + @JsonProperty(value = "value", required = true) String value) { + this.sourceType = sourceType; + this.value = value; + } + + /** + * Get the sourceType property: The type of the content's source. In case the source type is 'inline', the content + * is given as a string (for instance, text). In case the source type is 'reference', the content is given as a URI. + * + * @return the sourceType value. + */ + public DocumentContentSourceType getSourceType() { + return this.sourceType; + } + + /** + * Get the value property: The content of the document, given either inline (as a string) or as a reference (URI). + * + * @return the value value. + */ + public String getValue() { + return this.value; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContentSourceType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContentSourceType.java new file mode 100644 index 0000000000000..42f1aff66fb20 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentContentSourceType.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** + * The type of the content's source. In case the source type is 'inline', the content is given as a string (for + * instance, text). In case the source type is 'reference', the content is given as a URI. + */ +public final class DocumentContentSourceType extends ExpandableStringEnum { + /** Static value inline for DocumentContentSourceType. */ + public static final DocumentContentSourceType INLINE = fromString("inline"); + + /** Static value reference for DocumentContentSourceType. */ + public static final DocumentContentSourceType REFERENCE = fromString("reference"); + + /** + * Creates a new instance of DocumentContentSourceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public DocumentContentSourceType() {} + + /** + * Creates or finds a DocumentContentSourceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DocumentContentSourceType. + */ + @JsonCreator + public static DocumentContentSourceType fromString(String name) { + return fromString(name, DocumentContentSourceType.class); + } + + /** + * Gets known DocumentContentSourceType values. + * + * @return known DocumentContentSourceType values. + */ + public static Collection values() { + return values(DocumentContentSourceType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentType.java new file mode 100644 index 0000000000000..591b3a4416d51 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/DocumentType.java @@ -0,0 +1,52 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The type of the patient document, such as 'note' (text document) or 'fhirBundle' (FHIR JSON document). */ +public final class DocumentType extends ExpandableStringEnum { + /** Static value note for DocumentType. */ + public static final DocumentType NOTE = fromString("note"); + + /** Static value fhirBundle for DocumentType. */ + public static final DocumentType FHIR_BUNDLE = fromString("fhirBundle"); + + /** Static value dicom for DocumentType. */ + public static final DocumentType DICOM = fromString("dicom"); + + /** Static value genomicSequencing for DocumentType. */ + public static final DocumentType GENOMIC_SEQUENCING = fromString("genomicSequencing"); + + /** + * Creates a new instance of DocumentType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public DocumentType() {} + + /** + * Creates or finds a DocumentType from its string representation. + * + * @param name a name to look for. + * @return the corresponding DocumentType. + */ + @JsonCreator + public static DocumentType fromString(String name) { + return fromString(name, DocumentType.class); + } + + /** + * Gets known DocumentType values. + * + * @return known DocumentType values. + */ + public static Collection values() { + return values(DocumentType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ExtendedClinicalCodedElement.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ExtendedClinicalCodedElement.java new file mode 100644 index 0000000000000..9ca2af7285615 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ExtendedClinicalCodedElement.java @@ -0,0 +1,122 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A piece of clinical information, expressed as a code in a clinical coding system, extended by semantic information. + */ +@Immutable +public final class ExtendedClinicalCodedElement { + /* + * The clinical coding system, e.g. ICD-10, SNOMED-CT, UMLS. + */ + @JsonProperty(value = "system", required = true) + private String system; + + /* + * The code within the given clinical coding system. + */ + @JsonProperty(value = "code", required = true) + private String code; + + /* + * The name of this coded concept in the coding system. + */ + @JsonProperty(value = "name") + private String name; + + /* + * A value associated with the code within the given clinical coding system. + */ + @JsonProperty(value = "value") + private String value; + + /* + * The [UMLS semantic type](https://www.nlm.nih.gov/research/umls/META3_current_semantic_types.html) associated + * with the coded concept. + */ + @JsonProperty(value = "semanticType") + private String semanticType; + + /* + * The bio-medical category related to the coded concept, e.g. Diagnosis, Symptom, Medication, Examination. + */ + @JsonProperty(value = "category") + private String category; + + /** + * Creates an instance of ExtendedClinicalCodedElement class. + * + * @param system the system value to set. + * @param code the code value to set. + */ + @JsonCreator + private ExtendedClinicalCodedElement( + @JsonProperty(value = "system", required = true) String system, + @JsonProperty(value = "code", required = true) String code) { + this.system = system; + this.code = code; + } + + /** + * Get the system property: The clinical coding system, e.g. ICD-10, SNOMED-CT, UMLS. + * + * @return the system value. + */ + public String getSystem() { + return this.system; + } + + /** + * Get the code property: The code within the given clinical coding system. + * + * @return the code value. + */ + public String getCode() { + return this.code; + } + + /** + * Get the name property: The name of this coded concept in the coding system. + * + * @return the name value. + */ + public String getName() { + return this.name; + } + + /** + * Get the value property: A value associated with the code within the given clinical coding system. + * + * @return the value value. + */ + public String getValue() { + return this.value; + } + + /** + * Get the semanticType property: The [UMLS semantic + * type](https://www.nlm.nih.gov/research/umls/META3_current_semantic_types.html) associated with the coded concept. + * + * @return the semanticType value. + */ + public String getSemanticType() { + return this.semanticType; + } + + /** + * Get the category property: The bio-medical category related to the coded concept, e.g. Diagnosis, Symptom, + * Medication, Examination. + * + * @return the category value. + */ + public String getCategory() { + return this.category; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonGeometryType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonGeometryType.java new file mode 100644 index 0000000000000..e450453618974 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonGeometryType.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** `GeoJSON` geometry type. */ +public final class GeoJsonGeometryType extends ExpandableStringEnum { + /** Static value Point for GeoJsonGeometryType. */ + public static final GeoJsonGeometryType POINT = fromString("Point"); + + /** + * Creates a new instance of GeoJsonGeometryType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public GeoJsonGeometryType() {} + + /** + * Creates or finds a GeoJsonGeometryType from its string representation. + * + * @param name a name to look for. + * @return the corresponding GeoJsonGeometryType. + */ + @JsonCreator + public static GeoJsonGeometryType fromString(String name) { + return fromString(name, GeoJsonGeometryType.class); + } + + /** + * Gets known GeoJsonGeometryType values. + * + * @return known GeoJsonGeometryType values. + */ + public static Collection values() { + return values(GeoJsonGeometryType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonPropertiesSubType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonPropertiesSubType.java new file mode 100644 index 0000000000000..24474c20caa43 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonPropertiesSubType.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** `GeoJSON` object sub-type. */ +public final class GeoJsonPropertiesSubType extends ExpandableStringEnum { + /** Static value Circle for GeoJsonPropertiesSubType. */ + public static final GeoJsonPropertiesSubType CIRCLE = fromString("Circle"); + + /** + * Creates a new instance of GeoJsonPropertiesSubType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public GeoJsonPropertiesSubType() {} + + /** + * Creates or finds a GeoJsonPropertiesSubType from its string representation. + * + * @param name a name to look for. + * @return the corresponding GeoJsonPropertiesSubType. + */ + @JsonCreator + public static GeoJsonPropertiesSubType fromString(String name) { + return fromString(name, GeoJsonPropertiesSubType.class); + } + + /** + * Gets known GeoJsonPropertiesSubType values. + * + * @return known GeoJsonPropertiesSubType values. + */ + public static Collection values() { + return values(GeoJsonPropertiesSubType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonType.java new file mode 100644 index 0000000000000..e5e204ac3272b --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeoJsonType.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** `GeoJSON` type. */ +public final class GeoJsonType extends ExpandableStringEnum { + /** Static value Feature for GeoJsonType. */ + public static final GeoJsonType FEATURE = fromString("Feature"); + + /** + * Creates a new instance of GeoJsonType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public GeoJsonType() {} + + /** + * Creates or finds a GeoJsonType from its string representation. + * + * @param name a name to look for. + * @return the corresponding GeoJsonType. + */ + @JsonCreator + public static GeoJsonType fromString(String name) { + return fromString(name, GeoJsonType.class); + } + + /** + * Gets known GeoJsonType values. + * + * @return known GeoJsonType values. + */ + public static Collection values() { + return values(GeoJsonType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicArea.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicArea.java new file mode 100644 index 0000000000000..cc54a3c9b393c --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicArea.java @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A geographic area, expressed as a `Circle` geometry represented using a `GeoJSON Feature` (see [GeoJSON + * spec](https://tools.ietf.org/html/rfc7946)). + */ +@Immutable +public final class GeographicArea { + /* + * `GeoJSON` type. + */ + @JsonProperty(value = "type", required = true) + private GeoJsonType type; + + /* + * `GeoJSON` geometry, representing the area circle's center. + */ + @JsonProperty(value = "geometry", required = true) + private AreaGeometry geometry; + + /* + * `GeoJSON` object properties. + */ + @JsonProperty(value = "properties", required = true) + private AreaProperties properties; + + /** + * Creates an instance of GeographicArea class. + * + * @param type the type value to set. + * @param geometry the geometry value to set. + * @param properties the properties value to set. + */ + @JsonCreator + public GeographicArea( + @JsonProperty(value = "type", required = true) GeoJsonType type, + @JsonProperty(value = "geometry", required = true) AreaGeometry geometry, + @JsonProperty(value = "properties", required = true) AreaProperties properties) { + this.type = type; + this.geometry = geometry; + this.properties = properties; + } + + /** + * Get the type property: `GeoJSON` type. + * + * @return the type value. + */ + public GeoJsonType getType() { + return this.type; + } + + /** + * Get the geometry property: `GeoJSON` geometry, representing the area circle's center. + * + * @return the geometry value. + */ + public AreaGeometry getGeometry() { + return this.geometry; + } + + /** + * Get the properties property: `GeoJSON` object properties. + * + * @return the properties value. + */ + public AreaProperties getProperties() { + return this.properties; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java new file mode 100644 index 0000000000000..8f400447a6bf1 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * A location given as a combination of city/state/country. It could specify a city, a state or a country.<br />In + * case a city is specified, either state + country or country (for countries where there are no states) should be + * added. In case a state is specified (without a city), country should be added. + */ +@Fluent +public final class GeographicLocation { + /* + * City name. + */ + @JsonProperty(value = "city") + private String city; + + /* + * State name. + */ + @JsonProperty(value = "state") + private String state; + + /* + * Country name. + */ + @JsonProperty(value = "country", required = true) + private String country; + + /** + * Creates an instance of GeographicLocation class. + * + * @param country the country value to set. + */ + @JsonCreator + public GeographicLocation(@JsonProperty(value = "country", required = true) String country) { + this.country = country; + } + + /** + * Get the city property: City name. + * + * @return the city value. + */ + public String getCity() { + return this.city; + } + + /** + * Set the city property: City name. + * + * @param city the city value to set. + * @return the GeographicLocation object itself. + */ + public GeographicLocation setCity(String city) { + this.city = city; + return this; + } + + /** + * Get the state property: State name. + * + * @return the state value. + */ + public String getState() { + return this.state; + } + + /** + * Set the state property: State name. + * + * @param state the state value to set. + * @return the GeographicLocation object itself. + */ + public GeographicLocation setState(String state) { + this.state = state; + return this; + } + + /** + * Get the country property: Country name. + * + * @return the country value. + */ + public String getCountry() { + return this.country; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/JobStatus.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/JobStatus.java new file mode 100644 index 0000000000000..dc898cf4caa9d --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/JobStatus.java @@ -0,0 +1,55 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The status of the processing job. */ +public final class JobStatus extends ExpandableStringEnum { + /** Static value notStarted for JobStatus. */ + public static final JobStatus NOT_STARTED = fromString("notStarted"); + + /** Static value running for JobStatus. */ + public static final JobStatus RUNNING = fromString("running"); + + /** Static value succeeded for JobStatus. */ + public static final JobStatus SUCCEEDED = fromString("succeeded"); + + /** Static value failed for JobStatus. */ + public static final JobStatus FAILED = fromString("failed"); + + /** Static value partiallyCompleted for JobStatus. */ + public static final JobStatus PARTIALLY_COMPLETED = fromString("partiallyCompleted"); + + /** + * Creates a new instance of JobStatus value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public JobStatus() {} + + /** + * Creates or finds a JobStatus from its string representation. + * + * @param name a name to look for. + * @return the corresponding JobStatus. + */ + @JsonCreator + public static JobStatus fromString(String name) { + return fromString(name, JobStatus.class); + } + + /** + * Gets known JobStatus values. + * + * @return known JobStatus values. + */ + public static Collection values() { + return values(JobStatus.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientDocument.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientDocument.java new file mode 100644 index 0000000000000..152f5e33973af --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientDocument.java @@ -0,0 +1,156 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.OffsetDateTime; + +/** A clinical document related to a patient. Document here is in the wide sense - not just a text document (note). */ +@Fluent +public final class PatientDocument { + /* + * The type of the patient document, such as 'note' (text document) or 'fhirBundle' (FHIR JSON document). + */ + @JsonProperty(value = "type", required = true) + private DocumentType type; + + /* + * The type of the clinical document. + */ + @JsonProperty(value = "clinicalType") + private ClinicalDocumentType clinicalType; + + /* + * A given identifier for the document. Has to be unique across all documents for a single patient. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * A 2 letter ISO 639-1 representation of the language of the document. + */ + @JsonProperty(value = "language") + private String language; + + /* + * The date and time when the document was created. + */ + @JsonProperty(value = "createdDateTime") + private OffsetDateTime createdDateTime; + + /* + * The content of the patient document. + */ + @JsonProperty(value = "content", required = true) + private DocumentContent content; + + /** + * Creates an instance of PatientDocument class. + * + * @param type the type value to set. + * @param id the id value to set. + * @param content the content value to set. + */ + @JsonCreator + public PatientDocument( + @JsonProperty(value = "type", required = true) DocumentType type, + @JsonProperty(value = "id", required = true) String id, + @JsonProperty(value = "content", required = true) DocumentContent content) { + this.type = type; + this.id = id; + this.content = content; + } + + /** + * Get the type property: The type of the patient document, such as 'note' (text document) or 'fhirBundle' (FHIR + * JSON document). + * + * @return the type value. + */ + public DocumentType getType() { + return this.type; + } + + /** + * Get the clinicalType property: The type of the clinical document. + * + * @return the clinicalType value. + */ + public ClinicalDocumentType getClinicalType() { + return this.clinicalType; + } + + /** + * Set the clinicalType property: The type of the clinical document. + * + * @param clinicalType the clinicalType value to set. + * @return the PatientDocument object itself. + */ + public PatientDocument setClinicalType(ClinicalDocumentType clinicalType) { + this.clinicalType = clinicalType; + return this; + } + + /** + * Get the id property: A given identifier for the document. Has to be unique across all documents for a single + * patient. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the language property: A 2 letter ISO 639-1 representation of the language of the document. + * + * @return the language value. + */ + public String getLanguage() { + return this.language; + } + + /** + * Set the language property: A 2 letter ISO 639-1 representation of the language of the document. + * + * @param language the language value to set. + * @return the PatientDocument object itself. + */ + public PatientDocument setLanguage(String language) { + this.language = language; + return this; + } + + /** + * Get the createdDateTime property: The date and time when the document was created. + * + * @return the createdDateTime value. + */ + public OffsetDateTime getCreatedDateTime() { + return this.createdDateTime; + } + + /** + * Set the createdDateTime property: The date and time when the document was created. + * + * @param createdDateTime the createdDateTime value to set. + * @return the PatientDocument object itself. + */ + public PatientDocument setCreatedDateTime(OffsetDateTime createdDateTime) { + this.createdDateTime = createdDateTime; + return this; + } + + /** + * Get the content property: The content of the patient document. + * + * @return the content value. + */ + public DocumentContent getContent() { + return this.content; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfo.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfo.java new file mode 100644 index 0000000000000..e0b7dad72969d --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfo.java @@ -0,0 +1,95 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; +import java.util.List; + +/** Patient structured information, including demographics and known structured clinical information. */ +@Fluent +public final class PatientInfo { + /* + * The patient's sex. + */ + @JsonProperty(value = "sex") + private PatientInfoSex sex; + + /* + * The patient's date of birth. + */ + @JsonProperty(value = "birthDate") + private LocalDate birthDate; + + /* + * Known clinical information for the patient, structured. + */ + @JsonProperty(value = "clinicalInfo") + private List clinicalInfo; + + /** Creates an instance of PatientInfo class. */ + public PatientInfo() {} + + /** + * Get the sex property: The patient's sex. + * + * @return the sex value. + */ + public PatientInfoSex getSex() { + return this.sex; + } + + /** + * Set the sex property: The patient's sex. + * + * @param sex the sex value to set. + * @return the PatientInfo object itself. + */ + public PatientInfo setSex(PatientInfoSex sex) { + this.sex = sex; + return this; + } + + /** + * Get the birthDate property: The patient's date of birth. + * + * @return the birthDate value. + */ + public LocalDate getBirthDate() { + return this.birthDate; + } + + /** + * Set the birthDate property: The patient's date of birth. + * + * @param birthDate the birthDate value to set. + * @return the PatientInfo object itself. + */ + public PatientInfo setBirthDate(LocalDate birthDate) { + this.birthDate = birthDate; + return this; + } + + /** + * Get the clinicalInfo property: Known clinical information for the patient, structured. + * + * @return the clinicalInfo value. + */ + public List getClinicalInfo() { + return this.clinicalInfo; + } + + /** + * Set the clinicalInfo property: Known clinical information for the patient, structured. + * + * @param clinicalInfo the clinicalInfo value to set. + * @return the PatientInfo object itself. + */ + public PatientInfo setClinicalInfo(List clinicalInfo) { + this.clinicalInfo = clinicalInfo; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfoSex.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfoSex.java new file mode 100644 index 0000000000000..623a9f7edb4b6 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientInfoSex.java @@ -0,0 +1,49 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The patient's sex. */ +public final class PatientInfoSex extends ExpandableStringEnum { + /** Static value female for PatientInfoSex. */ + public static final PatientInfoSex FEMALE = fromString("female"); + + /** Static value male for PatientInfoSex. */ + public static final PatientInfoSex MALE = fromString("male"); + + /** Static value unspecified for PatientInfoSex. */ + public static final PatientInfoSex UNSPECIFIED = fromString("unspecified"); + + /** + * Creates a new instance of PatientInfoSex value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public PatientInfoSex() {} + + /** + * Creates or finds a PatientInfoSex from its string representation. + * + * @param name a name to look for. + * @return the corresponding PatientInfoSex. + */ + @JsonCreator + public static PatientInfoSex fromString(String name) { + return fromString(name, PatientInfoSex.class); + } + + /** + * Gets known PatientInfoSex values. + * + * @return known PatientInfoSex values. + */ + public static Collection values() { + return values(PatientInfoSex.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientRecord.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientRecord.java new file mode 100644 index 0000000000000..3565397624e19 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/PatientRecord.java @@ -0,0 +1,94 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** A patient record, including their clinical information and data. */ +@Fluent +public final class PatientRecord { + /* + * A given identifier for the patient. Has to be unique across all patients in a single request. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * Patient structured information, including demographics and known structured clinical information. + */ + @JsonProperty(value = "info") + private PatientInfo info; + + /* + * Patient unstructured clinical data, given as documents. + */ + @JsonProperty(value = "data") + private List data; + + /** + * Creates an instance of PatientRecord class. + * + * @param id the id value to set. + */ + @JsonCreator + public PatientRecord(@JsonProperty(value = "id", required = true) String id) { + this.id = id; + } + + /** + * Get the id property: A given identifier for the patient. Has to be unique across all patients in a single + * request. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the info property: Patient structured information, including demographics and known structured clinical + * information. + * + * @return the info value. + */ + public PatientInfo getInfo() { + return this.info; + } + + /** + * Set the info property: Patient structured information, including demographics and known structured clinical + * information. + * + * @param info the info value to set. + * @return the PatientRecord object itself. + */ + public PatientRecord setInfo(PatientInfo info) { + this.info = info; + return this; + } + + /** + * Get the data property: Patient unstructured clinical data, given as documents. + * + * @return the data value. + */ + public List getData() { + return this.data; + } + + /** + * Set the data property: Patient unstructured clinical data, given as documents. + * + * @param data the data value to set. + * @return the PatientRecord object itself. + */ + public PatientRecord setData(List data) { + this.data = data; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherData.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherData.java new file mode 100644 index 0000000000000..c4103726a0e02 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherData.java @@ -0,0 +1,65 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The body of the Trial Matcher request. */ +@Fluent +public final class TrialMatcherData { + /* + * The list of patients, including their clinical information and data. + */ + @JsonProperty(value = "patients", required = true) + private List patients; + + /* + * Configuration affecting the Trial Matcher model's inference. + */ + @JsonProperty(value = "configuration") + private TrialMatcherModelConfiguration configuration; + + /** + * Creates an instance of TrialMatcherData class. + * + * @param patients the patients value to set. + */ + @JsonCreator + public TrialMatcherData(@JsonProperty(value = "patients", required = true) List patients) { + this.patients = patients; + } + + /** + * Get the patients property: The list of patients, including their clinical information and data. + * + * @return the patients value. + */ + public List getPatients() { + return this.patients; + } + + /** + * Get the configuration property: Configuration affecting the Trial Matcher model's inference. + * + * @return the configuration value. + */ + public TrialMatcherModelConfiguration getConfiguration() { + return this.configuration; + } + + /** + * Set the configuration property: Configuration affecting the Trial Matcher model's inference. + * + * @param configuration the configuration value to set. + * @return the TrialMatcherData object itself. + */ + public TrialMatcherData setConfiguration(TrialMatcherModelConfiguration configuration) { + this.configuration = configuration; + return this; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInference.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInference.java new file mode 100644 index 0000000000000..2b029458e5b1a --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInference.java @@ -0,0 +1,148 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** An inference made by the Trial Matcher model regarding a patient. */ +@Immutable +public final class TrialMatcherInference { + /* + * The type of the Trial Matcher inference. + */ + @JsonProperty(value = "type", required = true) + private TrialMatcherInferenceType type; + + /* + * The value of the inference, as relevant for the given inference type. + */ + @JsonProperty(value = "value", required = true) + private String value; + + /* + * The description corresponding to the inference value. + */ + @JsonProperty(value = "description") + private String description; + + /* + * Confidence score for this inference. + */ + @JsonProperty(value = "confidenceScore") + private Double confidenceScore; + + /* + * The evidence corresponding to the inference value. + */ + @JsonProperty(value = "evidence") + private List evidence; + + /* + * The identifier of the clinical trial. + */ + @JsonProperty(value = "id") + private String id; + + /* + * Possible sources of a clinical trial. + */ + @JsonProperty(value = "source") + private ClinicalTrialSource source; + + /* + * Trial data which is of interest to the potential participant. + */ + @JsonProperty(value = "metadata") + private ClinicalTrialMetadata metadata; + + /** + * Creates an instance of TrialMatcherInference class. + * + * @param type the type value to set. + * @param value the value value to set. + */ + @JsonCreator + private TrialMatcherInference( + @JsonProperty(value = "type", required = true) TrialMatcherInferenceType type, + @JsonProperty(value = "value", required = true) String value) { + this.type = type; + this.value = value; + } + + /** + * Get the type property: The type of the Trial Matcher inference. + * + * @return the type value. + */ + public TrialMatcherInferenceType getType() { + return this.type; + } + + /** + * Get the value property: The value of the inference, as relevant for the given inference type. + * + * @return the value value. + */ + public String getValue() { + return this.value; + } + + /** + * Get the description property: The description corresponding to the inference value. + * + * @return the description value. + */ + public String getDescription() { + return this.description; + } + + /** + * Get the confidenceScore property: Confidence score for this inference. + * + * @return the confidenceScore value. + */ + public Double getConfidenceScore() { + return this.confidenceScore; + } + + /** + * Get the evidence property: The evidence corresponding to the inference value. + * + * @return the evidence value. + */ + public List getEvidence() { + return this.evidence; + } + + /** + * Get the id property: The identifier of the clinical trial. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the source property: Possible sources of a clinical trial. + * + * @return the source value. + */ + public ClinicalTrialSource getSource() { + return this.source; + } + + /** + * Get the metadata property: Trial data which is of interest to the potential participant. + * + * @return the metadata value. + */ + public ClinicalTrialMetadata getMetadata() { + return this.metadata; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceEvidence.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceEvidence.java new file mode 100644 index 0000000000000..6a54c200e7588 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceEvidence.java @@ -0,0 +1,78 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** A piece of evidence corresponding to a Trial Matcher inference. */ +@Immutable +public final class TrialMatcherInferenceEvidence { + /* + * A piece of evidence from the eligibility criteria text of a clinical trial. + */ + @JsonProperty(value = "eligibilityCriteriaEvidence") + private String eligibilityCriteriaEvidence; + + /* + * A piece of evidence from a clinical note (text document). + */ + @JsonProperty(value = "patientDataEvidence") + private ClinicalNoteEvidence patientDataEvidence; + + /* + * A piece of clinical information, expressed as a code in a clinical coding + * system. + */ + @JsonProperty(value = "patientInfoEvidence") + private ClinicalCodedElement patientInfoEvidence; + + /* + * A value indicating how important this piece of evidence is for the inference. + */ + @JsonProperty(value = "importance") + private Double importance; + + /** Creates an instance of TrialMatcherInferenceEvidence class. */ + private TrialMatcherInferenceEvidence() {} + + /** + * Get the eligibilityCriteriaEvidence property: A piece of evidence from the eligibility criteria text of a + * clinical trial. + * + * @return the eligibilityCriteriaEvidence value. + */ + public String getEligibilityCriteriaEvidence() { + return this.eligibilityCriteriaEvidence; + } + + /** + * Get the patientDataEvidence property: A piece of evidence from a clinical note (text document). + * + * @return the patientDataEvidence value. + */ + public ClinicalNoteEvidence getPatientDataEvidence() { + return this.patientDataEvidence; + } + + /** + * Get the patientInfoEvidence property: A piece of clinical information, expressed as a code in a clinical coding + * system. + * + * @return the patientInfoEvidence value. + */ + public ClinicalCodedElement getPatientInfoEvidence() { + return this.patientInfoEvidence; + } + + /** + * Get the importance property: A value indicating how important this piece of evidence is for the inference. + * + * @return the importance value. + */ + public Double getImportance() { + return this.importance; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceType.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceType.java new file mode 100644 index 0000000000000..a18eec386cddf --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherInferenceType.java @@ -0,0 +1,43 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.util.ExpandableStringEnum; +import com.fasterxml.jackson.annotation.JsonCreator; +import java.util.Collection; + +/** The type of the Trial Matcher inference. */ +public final class TrialMatcherInferenceType extends ExpandableStringEnum { + /** Static value trialEligibility for TrialMatcherInferenceType. */ + public static final TrialMatcherInferenceType TRIAL_ELIGIBILITY = fromString("trialEligibility"); + + /** + * Creates a new instance of TrialMatcherInferenceType value. + * + * @deprecated Use the {@link #fromString(String)} factory method. + */ + @Deprecated + public TrialMatcherInferenceType() {} + + /** + * Creates or finds a TrialMatcherInferenceType from its string representation. + * + * @param name a name to look for. + * @return the corresponding TrialMatcherInferenceType. + */ + @JsonCreator + public static TrialMatcherInferenceType fromString(String name) { + return fromString(name, TrialMatcherInferenceType.class); + } + + /** + * Gets known TrialMatcherInferenceType values. + * + * @return known TrialMatcherInferenceType values. + */ + public static Collection values() { + return values(TrialMatcherInferenceType.class); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherModelConfiguration.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherModelConfiguration.java new file mode 100644 index 0000000000000..9c289067e2fa7 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherModelConfiguration.java @@ -0,0 +1,98 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Fluent; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** Configuration affecting the Trial Matcher model's inference. */ +@Fluent +public final class TrialMatcherModelConfiguration { + /* + * An indication whether the model should produce verbose output. + */ + @JsonProperty(value = "verbose") + private Boolean verbose; + + /* + * An indication whether the model's output should include evidence for the inferences. + */ + @JsonProperty(value = "includeEvidence") + private Boolean includeEvidence; + + /* + * The clinical trials that the patient(s) should be matched to.
The trial + * selection can be given as a list of custom clinical trials and/or a list of + * filters to known clinical trial registries. In case both are given, the + * resulting trial set is a union of the two sets. + */ + @JsonProperty(value = "clinicalTrials", required = true) + private ClinicalTrials clinicalTrials; + + /** + * Creates an instance of TrialMatcherModelConfiguration class. + * + * @param clinicalTrials the clinicalTrials value to set. + */ + @JsonCreator + public TrialMatcherModelConfiguration( + @JsonProperty(value = "clinicalTrials", required = true) ClinicalTrials clinicalTrials) { + this.clinicalTrials = clinicalTrials; + } + + /** + * Get the verbose property: An indication whether the model should produce verbose output. + * + * @return the verbose value. + */ + public Boolean isVerbose() { + return this.verbose; + } + + /** + * Set the verbose property: An indication whether the model should produce verbose output. + * + * @param verbose the verbose value to set. + * @return the TrialMatcherModelConfiguration object itself. + */ + public TrialMatcherModelConfiguration setVerbose(Boolean verbose) { + this.verbose = verbose; + return this; + } + + /** + * Get the includeEvidence property: An indication whether the model's output should include evidence for the + * inferences. + * + * @return the includeEvidence value. + */ + public Boolean isIncludeEvidence() { + return this.includeEvidence; + } + + /** + * Set the includeEvidence property: An indication whether the model's output should include evidence for the + * inferences. + * + * @param includeEvidence the includeEvidence value to set. + * @return the TrialMatcherModelConfiguration object itself. + */ + public TrialMatcherModelConfiguration setIncludeEvidence(Boolean includeEvidence) { + this.includeEvidence = includeEvidence; + return this; + } + + /** + * Get the clinicalTrials property: The clinical trials that the patient(s) should be matched to. <br />The + * trial selection can be given as a list of custom clinical trials and/or a list of filters to known clinical trial + * registries. In case both are given, the resulting trial set is a union of the two sets. + * + * @return the clinicalTrials value. + */ + public ClinicalTrials getClinicalTrials() { + return this.clinicalTrials; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherPatientResult.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherPatientResult.java new file mode 100644 index 0000000000000..24c645590170f --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherPatientResult.java @@ -0,0 +1,74 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.util.List; + +/** The results of the model's work for a single patient. */ +@Immutable +public final class TrialMatcherPatientResult { + /* + * The identifier given for the patient in the request. + */ + @JsonProperty(value = "id", required = true) + private String id; + + /* + * The model's inferences for the given patient. + */ + @JsonProperty(value = "inferences", required = true) + private List inferences; + + /* + * Clinical information which is needed to provide better trial matching results for the patient. + */ + @JsonProperty(value = "neededClinicalInfo") + private List neededClinicalInfo; + + /** + * Creates an instance of TrialMatcherPatientResult class. + * + * @param id the id value to set. + * @param inferences the inferences value to set. + */ + @JsonCreator + private TrialMatcherPatientResult( + @JsonProperty(value = "id", required = true) String id, + @JsonProperty(value = "inferences", required = true) List inferences) { + this.id = id; + this.inferences = inferences; + } + + /** + * Get the id property: The identifier given for the patient in the request. + * + * @return the id value. + */ + public String getId() { + return this.id; + } + + /** + * Get the inferences property: The model's inferences for the given patient. + * + * @return the inferences value. + */ + public List getInferences() { + return this.inferences; + } + + /** + * Get the neededClinicalInfo property: Clinical information which is needed to provide better trial matching + * results for the patient. + * + * @return the neededClinicalInfo value. + */ + public List getNeededClinicalInfo() { + return this.neededClinicalInfo; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResult.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResult.java new file mode 100644 index 0000000000000..8f40e378f2d8f --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResult.java @@ -0,0 +1,123 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.azure.core.models.ResponseError; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.OffsetDateTime; +import java.util.List; + +/** The response for the Trial Matcher request. */ +@Immutable +public final class TrialMatcherResult { + /* + * A processing job identifier. + */ + @JsonProperty(value = "jobId", required = true, access = JsonProperty.Access.WRITE_ONLY) + private String jobId; + + /* + * The date and time when the processing job was created. + */ + @JsonProperty(value = "createdDateTime", required = true, access = JsonProperty.Access.WRITE_ONLY) + private OffsetDateTime createdDateTime; + + /* + * The date and time when the processing job is set to expire. + */ + @JsonProperty(value = "expirationDateTime", required = true, access = JsonProperty.Access.WRITE_ONLY) + private OffsetDateTime expirationDateTime; + + /* + * The date and time when the processing job was last updated. + */ + @JsonProperty(value = "lastUpdateDateTime", required = true, access = JsonProperty.Access.WRITE_ONLY) + private OffsetDateTime lastUpdateDateTime; + + /* + * The status of the processing job. + */ + @JsonProperty(value = "status", required = true, access = JsonProperty.Access.WRITE_ONLY) + private JobStatus status; + + /* + * An array of errors, if any errors occurred during the processing job. + */ + @JsonProperty(value = "errors", access = JsonProperty.Access.WRITE_ONLY) + private List errors; + + /* + * The inference results for the Trial Matcher request. + */ + @JsonProperty(value = "results", access = JsonProperty.Access.WRITE_ONLY) + private TrialMatcherResults results; + + /** Creates an instance of TrialMatcherResult class. */ + private TrialMatcherResult() {} + + /** + * Get the jobId property: A processing job identifier. + * + * @return the jobId value. + */ + public String getJobId() { + return this.jobId; + } + + /** + * Get the createdDateTime property: The date and time when the processing job was created. + * + * @return the createdDateTime value. + */ + public OffsetDateTime getCreatedDateTime() { + return this.createdDateTime; + } + + /** + * Get the expirationDateTime property: The date and time when the processing job is set to expire. + * + * @return the expirationDateTime value. + */ + public OffsetDateTime getExpirationDateTime() { + return this.expirationDateTime; + } + + /** + * Get the lastUpdateDateTime property: The date and time when the processing job was last updated. + * + * @return the lastUpdateDateTime value. + */ + public OffsetDateTime getLastUpdateDateTime() { + return this.lastUpdateDateTime; + } + + /** + * Get the status property: The status of the processing job. + * + * @return the status value. + */ + public JobStatus getStatus() { + return this.status; + } + + /** + * Get the errors property: An array of errors, if any errors occurred during the processing job. + * + * @return the errors value. + */ + public List getErrors() { + return this.errors; + } + + /** + * Get the results property: The inference results for the Trial Matcher request. + * + * @return the results value. + */ + public TrialMatcherResults getResults() { + return this.results; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResults.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResults.java new file mode 100644 index 0000000000000..151b7cadbc078 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/TrialMatcherResults.java @@ -0,0 +1,75 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +package com.azure.health.insights.clinicalmatching.models; + +import com.azure.core.annotation.Immutable; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.fasterxml.jackson.annotation.JsonProperty; +import java.time.LocalDate; +import java.util.List; + +/** The inference results for the Trial Matcher request. */ +@Immutable +public final class TrialMatcherResults { + /* + * Results for the patients given in the request. + */ + @JsonProperty(value = "patients", required = true) + private List patients; + + /* + * The version of the model used for inference, expressed as the model date. + */ + @JsonProperty(value = "modelVersion", required = true) + private String modelVersion; + + /* + * The date when the clinical trials knowledge graph was last updated. + */ + @JsonProperty(value = "knowledgeGraphLastUpdateDate") + private LocalDate knowledgeGraphLastUpdateDate; + + /** + * Creates an instance of TrialMatcherResults class. + * + * @param patients the patients value to set. + * @param modelVersion the modelVersion value to set. + */ + @JsonCreator + private TrialMatcherResults( + @JsonProperty(value = "patients", required = true) List patients, + @JsonProperty(value = "modelVersion", required = true) String modelVersion) { + this.patients = patients; + this.modelVersion = modelVersion; + } + + /** + * Get the patients property: Results for the patients given in the request. + * + * @return the patients value. + */ + public List getPatients() { + return this.patients; + } + + /** + * Get the modelVersion property: The version of the model used for inference, expressed as the model date. + * + * @return the modelVersion value. + */ + public String getModelVersion() { + return this.modelVersion; + } + + /** + * Get the knowledgeGraphLastUpdateDate property: The date when the clinical trials knowledge graph was last + * updated. + * + * @return the knowledgeGraphLastUpdateDate value. + */ + public LocalDate getKnowledgeGraphLastUpdateDate() { + return this.knowledgeGraphLastUpdateDate; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java new file mode 100644 index 0000000000000..f40be2cc64470 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the data models for AzureHealthInsights. Azure Health Insights provides an API that serves insight + * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. + */ +package com.azure.health.insights.clinicalmatching.models; diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java new file mode 100644 index 0000000000000..b6d8a6dea6a4e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java @@ -0,0 +1,9 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * Package containing the classes for AzureHealthInsights. Azure Health Insights provides an API that serves insight + * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. + */ +package com.azure.health.insights.clinicalmatching; diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/module-info.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/module-info.java new file mode 100644 index 0000000000000..943a11dfab9be --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/module-info.java @@ -0,0 +1,14 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +// Code generated by Microsoft (R) AutoRest Code Generator. + +module com.azure.health.insights.clinicalmatching { + requires transitive com.azure.core; + + exports com.azure.health.insights.clinicalmatching; + exports com.azure.health.insights.clinicalmatching.models; + + opens com.azure.health.insights.clinicalmatching.models to + com.azure.core, + com.fasterxml.jackson.databind; +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/resources/azure-health-insights-clinicalmatching.properties b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/resources/azure-health-insights-clinicalmatching.properties new file mode 100644 index 0000000000000..ca812989b4f27 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/resources/azure-health-insights-clinicalmatching.properties @@ -0,0 +1,2 @@ +name=${project.artifactId} +version=${project.version} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md new file mode 100644 index 0000000000000..dc54c217b0b2c --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md @@ -0,0 +1,68 @@ +--- +page_type: sample +languages: + - java +products: + - azure + - azure-cognitive-services + - azure-health-insights-clinicalmatching +urlFragment: healthinsights-java-samples +--- + +# Azure Health Insights client library samples for Java + +Azure Health Insights Clinical Matching samples are a set of self-contained Java programs that demonstrate interacting with Azure self-contained service using the client library. Each sample focuses on a specific scenario and can be executed independently. + +## Key concepts + + +Key concepts are explained in detail [here] +## Getting started + + +Getting started explained in detail [here] + +## Examples + +The following sections provide code samples covering common scenario operations with the Azure Health Insights ClinicalMatching client library. + +All of these samples need the endpoint to your Health Insights resource, and your Health Insights API key. + +|**File Name**|**Description**| +|----------------|-------------| + + +## Troubleshooting + + +Troubleshooting steps can be found [here]. + +## Next steps + + +See [Next steps]. + +## Contributing + +If you would like to become an active contributor to this project please refer to our [Contribution +Guidelines][SDK_README_CONTRIBUTING] for more information. + + diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java new file mode 100644 index 0000000000000..4edffd98ffd0e --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java @@ -0,0 +1,117 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.clinicalmatching; + +import java.io.IOException; +import java.time.LocalDate; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.List; + +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.HttpClient; +import com.azure.core.util.HttpClientOptions; +import com.azure.core.util.polling.PollerFlux; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherData; +import com.azure.health.insights.clinicalmatching.models.GeographicLocation; +import com.azure.health.insights.clinicalmatching.models.ClinicalTrials; +import com.azure.health.insights.clinicalmatching.models.ClinicalTrialSource; +import com.azure.health.insights.clinicalmatching.models.ClinicalTrialRegistryFilter; +import com.azure.health.insights.clinicalmatching.models.PatientInfoSex; +import com.azure.health.insights.clinicalmatching.models.ClinicalCodedElement; +import com.azure.health.insights.clinicalmatching.models.PatientInfo; +import com.azure.health.insights.clinicalmatching.models.PatientRecord; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherModelConfiguration; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherResults; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherResult; +import com.azure.health.insights.clinicalmatching.models.ClinicalTrialStudyType; +import com.azure.health.insights.clinicalmatching.models.ClinicalTrialPhase; + +/* + * This example demonstrates Finding potential eligible trials for a patient, + * based on patient’s structured medical information. + * + * It looks for structured clinical trials that were taken from ClinicalTrials.gov + * Trial Matcher model matches a single patient to a set of relevant clinical trials, + * that this patient appears to be qualified for. This use case will demonstrate: + * a. How to use the trial matcher when patient clinical health information is provided to the + * Trial Matcher in a key-value structure with coded elements. + * b. How to use the clinical trial configuration to narrow down the trial condition, + * recruitment status, location and other criteria that the service users may choose to prioritize. + */ +public class SampleMatchTrialAsync { + public static void runSample(String endpoint, String apiKey) throws InterruptedException, IOException { + + ClinicalMatchingAsyncClient asyncClient = new ClinicalMatchingClientBuilder() + .endpoint(endpoint) + .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .httpClient(HttpClient.createDefault(new HttpClientOptions())) + .credential(new AzureKeyCredential(apiKey)) + .buildAsyncClient(); + + // construct Patient + PatientRecord patient1 = new PatientRecord("patient_1"); + PatientInfo patientInfo = new PatientInfo(); + patientInfo.setBirthDate(LocalDate.parse("1965-12-26")); + patientInfo.setSex(PatientInfoSex.MALE); + final List clinicalInfo = new ArrayList(); + patientInfo.setClinicalInfo(clinicalInfo); + patient1.setInfo(patientInfo); + + final String system = "http://www.nlm.nih.gov/research/umls"; + // Attach clinical info to the patient + clinicalInfo.add(createClinicalCodedElement(system, "C0006826", "Malignant Neoplasms", "true")); + clinicalInfo.add(createClinicalCodedElement(system, "C1522449", "Therapeutic radiology procedure", "true")); + clinicalInfo.add(createClinicalCodedElement(system, "C1512162", "Eastern Cooperative Oncology Group", "1")); + clinicalInfo.add(createClinicalCodedElement(system, "C0019693", "HIV Infections", "false")); + clinicalInfo.add(createClinicalCodedElement(system, "C1300072", "Tumor stage", "2")); + + // Create registry filter + ClinicalTrialRegistryFilter registryFilters = new ClinicalTrialRegistryFilter(); + // Limit the trial to a specific patient condition ("Non-small cell lung cancer") + registryFilters.setConditions(Arrays.asList("Non-small cell lung cancer")); + // Limit the clinical trial to a certain phase, phase 1 + registryFilters.setPhases(Arrays.asList(ClinicalTrialPhase.PHASE1)); + // Specify the clinical trial registry source as ClinicalTrials.Gov + registryFilters.setSources(Arrays.asList(ClinicalTrialSource.CLINICALTRIALS_GOV)); + // Limit the clinical trial to a certain location, in this case California, USA + registryFilters.setFacilityLocations(Arrays.asList(new GeographicLocation("United States"))); + // Limit the trial to a specific study type, interventional + registryFilters.setStudyTypes(Arrays.asList(ClinicalTrialStudyType.INTERVENTIONAL)); + + // Construct ClinicalTrial instance and attach the registry filter to it. + ClinicalTrials clinicalTrials = new ClinicalTrials(); + clinicalTrials.setRegistryFilters(Arrays.asList(registryFilters)); + + // Create TrialMatcherData + TrialMatcherModelConfiguration configuration = new TrialMatcherModelConfiguration(clinicalTrials); + TrialMatcherData trialMatcherData = new TrialMatcherData(Arrays.asList(patient1)); + trialMatcherData.setConfiguration(configuration); + + PollerFlux asyncPoller = asyncClient.beginMatchTrials(trialMatcherData); + + TrialMatcherResult response = asyncPoller.blockLast().getValue(); + printResults(response); + } + + private static void printResults(TrialMatcherResult tmRespone) { + TrialMatcherResults tmResults = tmRespone.getResults(); + + tmResults.getPatients().forEach(patientResult -> { + System.out.println("Inferences of Patient " + patientResult.getId()); + patientResult.getInferences().forEach(inference -> { + System.out.println("Trial Id " + inference.getId()); + System.out.println("Type: " + inference.getType() + " Value: " + inference.getValue()); + System.out.println("Description " + inference.getDescription()); + }); + }); + } + + private static ClinicalCodedElement createClinicalCodedElement(String system, String code, String name, String value) { + ClinicalCodedElement element = new ClinicalCodedElement(system, code); + element.setName(name); + element.setValue(value); + return element; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java new file mode 100644 index 0000000000000..6a13f23c5d44a --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java @@ -0,0 +1,51 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.clinicalmatching; + +import java.io.IOException; + +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +public class AllSamples { + String endpoint; + String apiKey; + + @BeforeEach + public void init() { + endpoint = System.getenv("SDK_JAVA_HDS_ENDPOINT"); + apiKey = System.getenv("SDK_JAVA_HDS_APIKEY"); + } + + @Test + public void matchTrialCustomTrial() throws InterruptedException, IOException { + SampleMatchTrialCustomTrial.runSample(endpoint, apiKey); + } + + // @Test + public void matchTrialGradualMatching() throws InterruptedException, IOException { + SampleMatchTrialGradualMatching.runSample(endpoint, apiKey); + } + + // @Test + public void matchTrialPatientFhir() throws InterruptedException, IOException { + SampleMatchTrialPatientFhir.runSample(endpoint, apiKey); + } + + // @Test + public void matchTrialsSync() throws InterruptedException, IOException { + SampleMatchTrialSync.runSample(endpoint, apiKey); + } + + // @Test + public void matchTrialAsync() throws InterruptedException, IOException { + SampleMatchTrialAsync.runSample(endpoint, apiKey); + } + + // @Test + public void matchTrialUnstructuredClinicalNote() throws InterruptedException, IOException { + SampleMatchTrialUnstructuredClinicalNote.runSample(endpoint, apiKey); + } + +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java new file mode 100644 index 0000000000000..c07e78683854b --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java @@ -0,0 +1,58 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.clinicalmatching; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherResult; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherInference; +import com.azure.health.insights.clinicalmatching.models.TrialMatcherPatientResult; +import com.azure.core.util.serializer.TypeReference; + +import com.azure.core.http.rest.RequestOptions; +import com.azure.core.util.BinaryData; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; + +import java.util.Arrays; +import java.util.List; + +/** + * Unit tests for {@link ClinicalMatchingClient}. + */ +public class ClinicalMatchingClientTest extends ClinicalMatchingClientTestBase { + + private ClinicalMatchingClient getClient() { + return getClientBuilder().buildClient(); + } + + @Test + public void test() { + // playback + try { + testTMWithResponse(request -> { + + BinaryData responseValue = getClient().beginMatchTrials(request, new RequestOptions()).waitForCompletion().getValue(); + + TrialMatcherResult tmRespone = responseValue.toObject(TypeReference.createInstance(TrialMatcherResult.class)); + List patients = tmRespone.getResults().getPatients(); + assertEquals(1, patients.size()); + TrialMatcherPatientResult patient = patients.get(0); + assertEquals(17, patient.getInferences().size()); + TrialMatcherInference inference = patient.getInferences().get(0); + assertEquals("NCT05428943", inference.getId()); + assertEquals(0.0, inference.getConfidenceScore()); + assertEquals("C0006826", inference.getEvidence().get(0).getPatientInfoEvidence().getCode()); + }); + + } catch (Throwable t) { + String message = t.toString() + "\n" + Arrays.toString(t.getStackTrace()); + t.printStackTrace(); + Assertions.fail(message); + return; + } + + System.out.println("Success"); + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTestBase.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTestBase.java new file mode 100644 index 0000000000000..e2bebcaaaad72 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTestBase.java @@ -0,0 +1,70 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.health.insights.clinicalmatching; + +import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.http.HttpClient; +import com.azure.core.http.HttpPipeline; +import com.azure.core.http.HttpPipelineBuilder; +import com.azure.core.http.policy.AzureKeyCredentialPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; +import com.azure.core.test.TestBase; +import com.azure.core.test.TestMode; +import com.azure.core.util.BinaryData; +import com.azure.core.util.Configuration; + +import java.nio.file.Paths; +import java.util.function.Consumer; + + +/** + * Base class for TM clients test. + */ +public class ClinicalMatchingClientTestBase extends TestBase { + private static final String FAKE_API_KEY = "fakeKeyPlaceholder"; + private static final String OCP_APIM_SUBSCRIPTION_KEY = "Ocp-Apim-Subscription-Key"; + + void testTMWithResponse(Consumer testRunner) { + testRunner.accept(getTMRequest()); + } + + ClinicalMatchingClientBuilder getClientBuilder() { + String endpoint = getEndpoint(); + + HttpPipelinePolicy authPolicy = new AzureKeyCredentialPolicy(OCP_APIM_SUBSCRIPTION_KEY, + new AzureKeyCredential(getKey())); + HttpClient httpClient; + if (getTestMode() == TestMode.RECORD || getTestMode() == TestMode.LIVE) { + httpClient = HttpClient.createDefault(); + } else { + httpClient = interceptorManager.getPlaybackClient(); + } + HttpPipeline httpPipeline = new HttpPipelineBuilder() + .httpClient(httpClient) + .policies(authPolicy, interceptorManager.getRecordPolicy()).build(); + + return new ClinicalMatchingClientBuilder() + .pipeline(httpPipeline) + .endpoint(endpoint); + } + + private String getKey() { + if (getTestMode() == TestMode.PLAYBACK) { + return FAKE_API_KEY; + } else { + return Configuration.getGlobalConfiguration().get("AZURE_HEALTHINSIGHTS_API_KEY"); + } + } + + String getEndpoint() { + return interceptorManager.isPlaybackMode() + ? "https://localhost:8080" + : Configuration.getGlobalConfiguration().get("AZURE_HEALTHINSIGHTS_ENDPOINT"); + } + + private BinaryData getTMRequest() { + BinaryData requestBody = BinaryData.fromFile(Paths.get("target/test-classes/session-records/ClinicalMatchingClientTest.request.json")); + return requestBody; + } +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/Sample_MatchTrial_PatientFhir.json b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/Sample_MatchTrial_PatientFhir.json new file mode 100644 index 0000000000000..9623f459c83ab --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/Sample_MatchTrial_PatientFhir.json @@ -0,0 +1,37509 @@ +{ + "resourceType": "Bundle", + "id": "1ca45d61-eb04-4c7d-9784-05e31e03e3c6", + "meta": { + "profile": [ + "http://hl7.org/fhir/4.0.1/StructureDefinition/Bundle" + ] + }, + "identifier": { + "system": "urn:ietf:rfc:3986", + "value": "urn:uuid:1ca45d61-eb04-4c7d-9784-05e31e03e3c6" + }, + "type": "document", + "entry": [ + { + "fullUrl": "Composition/baff5da4-0b29-4a57-906d-0e23d6d49eea", + "resource": { + "resourceType": "Composition", + "id": "baff5da4-0b29-4a57-906d-0e23d6d49eea", + "status": "final", + "type": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11488-4", + "display": "Consult note" + } + ], + "text": "Consult note" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "date": "2022-08-16", + "author": [ + { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + ], + "title": "Consult note", + "section": [ + { + "title": "Chief Complaint", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "46239-0", + "display": "Reason for visit and chief complaint" + } + ], + "text": "Chief Complaint" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Chief Complaint

\r\n\t\t\t\t\t\t\t

\"swelling of tongue and difficulty breathing and swallowing\"

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/a7ba1fc8-7544-4f1a-ac4e-c0430159001f", + "type": "List", + "display": "Chief Complaint" + } + ] + }, + { + "title": "History of Present Illness", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "10164-2", + "display": "History of present illness" + } + ], + "text": "History of Present Illness" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

History of Present Illness

\r\n\t\t\t\t\t\t\t

77 y o woman in NAD with a h/o CAD, DM2, asthma and HTN on altace for 8 years awoke from sleep around 2:30 am this morning of a sore throat and swelling of tongue. She came immediately to the ED b/c she was having difficulty swallowing and some trouble breathing due to obstruction caused by the swelling. She has never had a similar reaction ever before and she did not have any associated SOB, chest pain, itching, or nausea. She has not noticed any rashes, and has been afebrile. She says that she feels like it is swollen down in her esophagus as well. In the ED she was given 25mg benadryl IV, 125 mg solumedrol IV and pepcid 20 mg IV. This has helped the swelling some but her throat still hurts and it hurts to swallow. Nothing else was able to relieve the pain and nothing make it worse though she has not tried to drink any fluids because of trouble swallowing. She denies any recent travel, recent exposure to unusual plants or animals or other allergens. She has not started any new medications, has not used any new lotions or perfumes and has not eaten any unusual foods. Patient has not taken any of her oral medications today.

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/c1c10373-6325-4339-b962-c3c114969ccd", + "type": "List", + "display": "History of Present Illness" + } + ] + }, + { + "title": "Surgical History", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "10164-2", + "display": "History of present illness" + } + ], + "text": "Surgical History" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Surgical History

\r\n\t\t\t\t\t\t\t

s/p Cardiac stent in 1999 \r\ns/p hystarectomy in 1970s \r\ns/p kidney stone retrieval 1960s

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/1d5dcbe4-7206-4a27-b3a8-52e4d30dacfe", + "type": "List", + "display": "Surgical History" + } + ] + }, + { + "title": "Medical History", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "11348-0", + "display": "Past medical history" + } + ], + "text": "Medical History" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Medical History

\r\n\t\t\t\t\t\t\t

+ CAD w/ Left heart cath in 2005 showing 40% LAD, 50% small D2, 40% RCA and 30% large OM; 2006 TTE showing LVEF 60-65% with diastolic dysfunction, LVH, mild LA dilation \r\n+ Hyperlipidemia \r\n+ HTN \r\n+ DM 2, last A1c 6.7 in 9/2005 \r\n+ Asthma/COPD \r\n+ GERD \r\n+ h/o iron deficiency anemia

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/e0ed81ae-184e-44ce-b45a-2da9cd2eba9c", + "type": "List", + "display": "Medical History" + } + ] + }, + { + "title": "Social History", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29762-2", + "display": "Social History" + } + ], + "text": "Social History" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Social History

\r\n\t\t\t\t\t\t\t

Patient lives in _______ with daughter _____ (919) _______. Patient does all ADLs and IADLs with no/little assistance. She does own finances and drives. Patient has 4 daughters that all live in the area. Patient does not use tobacco, alcohol, illicit drugs.

\r\n\t\t\t\t\t
" + } + }, + { + "title": "Family History", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "10157-6", + "display": "Family History" + } + ], + "text": "Family History" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Family History

\r\n\t\t\t\t\t\t\t

Patient's Dad died of liver cirrhosis at age 57, mom died of heart attack at age 60. She has 6 siblings who most died of cardiac disease. There is no family history of cancer.

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/22ec7727-c4ca-4477-a42b-51d34a935da6", + "type": "List", + "display": "Family History" + } + ] + }, + { + "title": "Allergies", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "48765-2", + "display": "Allergies and adverse reactions" + } + ], + "text": "Allergies" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Allergies

\r\n\t\t\t\t\t\t\t

Sulfa drugs - rash \r\nCipro - rash \r\nBenadryl – causes mild dystonic reaction

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/ef6382f6-5089-4eda-9145-d44be736d451", + "type": "List", + "display": "Allergies" + } + ] + }, + { + "title": "Medications", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "10160-0", + "display": "Medications" + } + ], + "text": "Medications" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Medications

\r\n\t\t\t\t\t\t\t

Theophyline (Uniphyl) 600 mg qhs – bronchodilator by increasing cAMP used for \r\ntreating asthma \r\nDiltiazem 300 mg qhs – Ca channel blocker used to control hypertension \r\nSimvistatin (Zocor) 20 mg qhs- HMGCo Reductase inhibitor for hypercholesterolemia \r\nRamipril (Altace) 10 mg BID – ACEI for hypertension and diabetes for renal protective \r\neffect \r\nGlipizide 5 mg BID (diabetes) – sulfonylurea for treatment of diabetes \r\nOmecprazole (Prilosec) 20 mg daily (reflux) – PPI for treatment of ulcers \r\nGabapentin (Neurontin) 100 mg qhs – modulates release of neurotransmitters to treat \r\ndiabetic neuropathy \r\nMetformin 500 mg qam – biguanide used to treat diabetes \r\nAspirin 81 mg qam - prophylaxis for MI and TIA \r\nFluticasone (Flovent) 2 puff bid - corticosteroid to treat airways in asthma/copd \r\nxoperex 1.25mg and Ipratropium 2.5 ml nebulized qam - anticholinergic to treat airways \r\nin COPD

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/c5490e7d-7447-4f89-8a7d-9871439d55e7", + "type": "List", + "display": "Medications" + } + ] + }, + { + "title": "Review of Systems", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "10187-3", + "display": "Review of systems" + } + ], + "text": "Review of Systems" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Review of Systems

\r\n\t\t\t\t\t\t\t

Constitutional - NAD, has been generally feeling well the last couple of weeks \r\nEyes - no changes in vision, double vision, blurry vision, wears glasses \r\nENT - No congestion, changes in hearing, does not wear hearing aids \r\nSkin/Breast - no rashes \r\nCardiovascular - No SOB, chest pain, heart palpitations \r\nPulmonary - hard to get a breath in but not short of breath, no cough \r\nEndocrine - No changes in appetite \r\nGastro Intestinal - No n/v/d or constipation. Has not eaten because can't swallow solid \r\nfoods. \r\nGenito Urinary - No increased frequency or pain on urination. Some urge incontinence \r\nwith history of prolapse.

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/cd98589b-54af-4d9f-8fa7-f0ac32bd4df0", + "type": "List", + "display": "Review of Systems" + } + ] + }, + { + "title": "Physical Examination", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "29545-1", + "display": "Physical findings" + } + ], + "text": "Physical Examination" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Physical Examination

\r\n\t\t\t\t\t\t\t

Vitals: \r\nTemp 35.9 \r\nPulse 76 \r\nO2 98% RA \r\nRR 20 \r\nBP 159/111 \r\n\r\nGeneral - NAD, sitting up in bed, well groomed and in nightgown \r\nEyes - PERRLA, EOM intact \r\nENT - Large swollen tounge and cheek on left side, tounge was large and obscured the view of the posterior oropharynx \r\nNeck - No noticeable or palpable swelling, redness or rash around throat or on face \r\nLymph Nodes - No lymphadenopathy \r\nCardiovascular - RRR no m/r/g, no JVD, no carotid bruits \r\nLungs - Clear to auscltation, no use of acessory muscles, no crackles or wheezes. \r\nSkin - No rashes, skin warm and dry, no erythematous areas \r\nAbdomen - Normal bowel sounds, abdomen soft and nontender \r\nExtremeties - No edema, cyanosis or clubbing \r\nMusculo Skeletal - 5/5 strength, normal range of motion, no swollen or erythematous \r\njoints. \r\nNeurological – Alert and oriented x 3, CN 2-12 grossly intact.

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/4353769c-64cc-4659-a239-efea24311f2e", + "type": "List", + "display": "Physical Examination" + } + ] + }, + { + "title": "Pertinent Diagnostic Tests", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "22636-5", + "display": "Pathology report relevant history" + } + ], + "text": "Pertinent Diagnostic Tests" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Pertinent Diagnostic Tests

\r\n\t\t\t\t\t\t\t

Na 140 \r\nK 4.5 \r\nCl 109 \r\nCo2 23 \r\nBUN 29 \r\nCr 1.0 \r\nCa 9.9 \r\nMg 1.4 \r\nPhos 3.6 \r\n\r\nPTT 26.7 \r\n\r\nWBC 9.9 \r\nHgb 10.0 \r\nHct 30.3 \r\nPlt 373 \r\n\r\nEKG - no signs of ischemia

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/6bbdb74b-0263-4e3f-9cf0-e3f44dfe1210", + "type": "List", + "display": "Pertinent Diagnostic Tests" + } + ] + }, + { + "title": "Assessment and Plan", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "51847-2", + "display": "Assessment and Plan" + } + ], + "text": "Assessment and Plan" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Assessment and Plan

\r\n\t\t\t\t\t\t\t

77 yo woman presents with significant angioedema in left side of tongue and inner cheek. Possible causes of angioedema include allergic anaphylaxis reaction, drug induced, allergic contact dermatitis, viral infection, drug induced, or a C1 inhibitor deficiency disorder acquired or hereditary. Laryngeal edema can also be caused by tonsillitis, peritonsilar abscess or pharyngeal foreign body.\r\n\r\nIt is unlikely that the patient has edema caused by abscess or tonsillitis since she does not have any associated fever or other signs of infection and the sudden onset of her swelling also argues against this. It is not likely a foreign body since ENT did not find anything when they scoped her.

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/affbdb9c-c8d0-4774-89e9-e8486fd5379a", + "type": "List", + "display": "Assessment and Plan" + } + ] + }, + { + "title": "Plan", + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "18776-5", + "display": "Plan of care" + } + ], + "text": "Plan" + }, + "text": { + "div": "
\r\n\t\t\t\t\t\t\t

Plan

\r\n\t\t\t\t\t\t\t

++ Swollen tongue: \r\n- Give patient corticosteroid to decrease inflammation and to protect against relapse after initial improvement. 4 days of Dexamethasone 10 mg IV tid. \r\n- Give patient antihistamine to block inflammation as well. 4 days of Diphenhydramine 25 mg bid. \r\n- ENT consult to rule out abscess or foreign object \r\n- Check C1 and C4 levels that would be decreased if the patient had C1 inhibitory complement deficiency \r\n- TSH level to check for hypo/hyper thyroid \r\n- Hold all oral home meds and keep patient NPO until airway swelling is reduced and patient can swallow easily \r\n\r\n++ Asthma/COPD \r\n- continue albuterol and ipratropium nebs prn \r\n- resume theophylline when patient can take oral meds \r\n\r\n++ DM \r\n- Patient is on corticosteroids that increase blood glucose levels, so put patient on sliding scale normal insulin to adjust for high sugars \r\n- Resume neurontin for neuropathy when oral meds can be taken \r\n\r\n++ HTN \r\n- Continue patient’s BP control with Diltiazem drip 5mg/hour \r\n- HOLD altace (ACEI) that is most likely the cause of angioedema \r\n- Consider an alternative HTN medication to replace the ACEI. Can’t use a HCTZ because of sulfa allergy. Also has asthma/COPD picture so beta blocker may not work well either. \r\n\r\n++ CAD s/p PCI in 1999 \r\n- Resume simvastatin and aspirin when patient is able to take oral meds \r\n++ GERD \r\n- famotidine when oral meds are resumed

\r\n\t\t\t\t\t
" + }, + "entry": [ + { + "reference": "List/6f292c58-8a59-44d9-9efe-7d8968684466", + "type": "List", + "display": "Plan" + } + ] + } + ] + } + }, + { + "fullUrl": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "resource": { + "resourceType": "Practitioner", + "id": "082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": -1 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "name": [ + { + "text": "Unknown", + "family": "Unknown" + } + ] + } + }, + { + "fullUrl": "Patient/894a042e-625c-48b3-a710-759e09454897", + "resource": { + "resourceType": "Patient", + "id": "894a042e-625c-48b3-a710-759e09454897", + "gender": "female", + "birthDate": "1945-09" + } + }, + { + "fullUrl": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "resource": { + "resourceType": "Encounter", + "id": "d6535404-17da-4282-82c2-2eb7b9b86a47", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-encounter" + ] + }, + "status": "finished", + "class": { + "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", + "display": "unknown" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + } + } + }, + { + "fullUrl": "Condition/5a63461d-0a7a-49a2-ba18-2aeed20b2994", + "resource": { + "resourceType": "Condition", + "id": "5a63461d-0a7a-49a2-ba18-2aeed20b2994", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 22 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0236068", + "display": "Tongue swelling" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000023674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U004073" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "D20022" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10042727" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "205" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU073264" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "421262002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1485" + } + ], + "text": "swelling of tongue" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/ffc8e2ea-6767-47cd-a72f-fe0909330027", + "resource": { + "resourceType": "Condition", + "id": "ffc8e2ea-6767-47cd-a72f-fe0909330027", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 45 + }, + { + "url": "length", + "valueInteger": 20 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0013404", + "display": "Dyspnea" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005442" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015304" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "266" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2596-2296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DYSPNEA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002094" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R06.02" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10029433" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R02" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU024507" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R02007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85040344" + }, + { + "system": "http://loinc.org", + "code": "LP115812-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013968" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "115876" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00495" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1816" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000046183" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "042109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU037132" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000598319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "15680" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qq" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0qq" + }, + { + "system": "http://snomed.info/sct", + "code": "F-75040" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-20040" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "267036007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0514" + } + ], + "text": "difficulty breathing" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/7b0a8ae4-7fda-4b4a-8e2e-97ad78372243", + "resource": { + "resourceType": "Condition", + "id": "7b0a8ae4-7fda-4b4a-8e2e-97ad78372243", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 70 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0740170", + "display": "Does swallow" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000047036" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "091308" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa4JX" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "288937009" + } + ], + "text": "swallowing" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/a7ba1fc8-7544-4f1a-ac4e-c0430159001f", + "resource": { + "resourceType": "List", + "id": "a7ba1fc8-7544-4f1a-ac4e-c0430159001f", + "status": "current", + "mode": "snapshot", + "title": "Chief Complaint", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/5a63461d-0a7a-49a2-ba18-2aeed20b2994", + "type": "Condition", + "display": "swelling of tongue" + } + }, + { + "item": { + "reference": "Condition/ffc8e2ea-6767-47cd-a72f-fe0909330027", + "type": "Condition", + "display": "difficulty breathing" + } + }, + { + "item": { + "reference": "Condition/7b0a8ae4-7fda-4b4a-8e2e-97ad78372243", + "type": "Condition", + "display": "swallowing" + } + } + ] + } + }, + { + "fullUrl": "Condition/8c143a3a-957b-4ad0-8ceb-08fb8e351cb3", + "resource": { + "resourceType": "Condition", + "id": "8c143a3a-957b-4ad0-8ceb-08fb8e351cb3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 147 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1956346", + "display": "Coronary Artery Disease" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005327" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0037465" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1393-3397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CORONARY ART DIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000871" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001677" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I25.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU019520" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K76003" + }, + { + "system": "http://loinc.org", + "code": "LP90122-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10011078" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "35988" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1276" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003324" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C26732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C26732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000439400" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002067" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE2uV" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-13000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "414024009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0426" + } + ], + "text": "CAD" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/973f06cf-d831-4c00-baed-e408420e5d77", + "resource": { + "resourceType": "Condition", + "id": "973f06cf-d831-4c00-baed-e408420e5d77", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 152 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0011860", + "display": "Diabetes Mellitus, Non-Insulin-Dependent" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00336" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0045504" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "END005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "END005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003837" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000225" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0862-7250" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0005978" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "E11" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "E11" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "E11" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "T90" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU022755" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "T90007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85092226" + }, + { + "system": "http://loinc.org", + "code": "LA10552-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10067585" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "30480" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "5930" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003924" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047504" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X40J5" + }, + { + "system": "http://snomed.info/sct", + "code": "D-241Y" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DB-61030" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "44054006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0371" + } + ], + "text": "DM2" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/590bd19b-78d7-415b-bdb4-72f3f8ce0e1a", + "resource": { + "resourceType": "Condition", + "id": "590bd19b-78d7-415b-bdb4-72f3f8ce0e1a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 157 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0004096", + "display": "Asthma" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "8.3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "RSP009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "RSP009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001541" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "080" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1525-2157" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ASTHMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002099" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "J45.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "J45.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "J45" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R96" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R96" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU008836" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R96001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000405" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85008860" + }, + { + "system": "http://loinc.org", + "code": "MTHU020815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10003553" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "32881" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001249" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "493.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01919" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1726" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000440101" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU003537" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "04190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "R0121533" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "H33.." + }, + { + "system": "http://snomed.info/sct", + "code": "D-4790" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D2-51000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "195967001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1367" + } + ], + "text": "asthma" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/b91e08d1-2c9f-4b49-839c-37951b141d08", + "resource": { + "resourceType": "Condition", + "id": "b91e08d1-2c9f-4b49-839c-37951b141d08", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 168 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "Hypertensive disease" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "HTN" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Procedure/47836826-796c-4bd3-9a4e-ef5021413df3", + "resource": { + "resourceType": "Procedure", + "id": "47836826-796c-4bd3-9a4e-ef5021413df3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 939 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "not-done", + "code": { + "text": "drink any fluids" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_performedDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + }, + { + "fullUrl": "Procedure/6fb3eab0-4bda-4627-919c-083a757f11fa", + "resource": { + "resourceType": "Procedure", + "id": "6fb3eab0-4bda-4627-919c-083a757f11fa", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1106 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "not-done", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1718097", + "display": "New medications" + }, + { + "system": "http://loinc.org", + "code": "LP75169-0" + } + ], + "text": "new medications" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_performedDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + }, + { + "fullUrl": "Procedure/cb4aabfc-7754-4bad-b072-65c155ca8df7", + "resource": { + "resourceType": "Procedure", + "id": "cb4aabfc-7754-4bad-b072-65c155ca8df7", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1144 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "not-done", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0544341", + "display": "Lotion" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000038694" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v3.0", + "code": "LTN" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29167" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C29167" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "C29167" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ncpdp", + "code": "C29167" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "SK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "142222" + }, + { + "system": "http://snomed.info/sct", + "code": "E-806Y" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-50640" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "739000003" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4023113" + } + ], + "text": "lotions" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_performedDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + }, + { + "fullUrl": "Procedure/3f61932c-89fc-4ff6-a153-6590f3f2eabe", + "resource": { + "resourceType": "Procedure", + "id": "3f61932c-89fc-4ff6-a153-6590f3f2eabe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1155 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "not-done", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0031000", + "display": "Perfume" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000021311" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85099839" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010476" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "016110" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XC08J" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-31105" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "95998000" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4020187" + } + ], + "text": "perfumes" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_performedDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + }, + { + "fullUrl": "Procedure/9496b625-423f-4ef0-a511-9dc1f63752ca", + "resource": { + "resourceType": "Procedure", + "id": "9496b625-423f-4ef0-a511-9dc1f63752ca", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1234 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "not-done", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0175795", + "display": "Oral Medication" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000018213" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U005123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85095244" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C102246" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C102246" + } + ], + "text": "oral medications" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_performedDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + }, + { + "fullUrl": "Condition/d7071c07-a763-4618-9232-05e326abf745", + "resource": { + "resourceType": "Condition", + "id": "d7071c07-a763-4618-9232-05e326abf745", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 132 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C2051415", + "display": "patient appears in no acute distress (physical finding)" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "10024" + } + ], + "text": "NAD" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/bb21dcfc-46d8-4c4b-b2a3-0dee9b8435e1", + "resource": { + "resourceType": "Condition", + "id": "bb21dcfc-46d8-4c4b-b2a3-0dee9b8435e1", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 244 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0242429", + "display": "Sore Throat" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00661" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0036874" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000024822" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "695" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2139-2226" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PHARYNGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U003750" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R07.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R07.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R07.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "784.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041000" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R21005" + }, + { + "system": "http://loinc.org", + "code": "LA30867-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10043524" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "219" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "4748" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010612" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "462" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C50747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13575" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "000709" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa9zW" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-51724" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "162397003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0523" + } + ], + "text": "sore throat" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "onsetString": "2:30 am this morning" + } + }, + { + "fullUrl": "Condition/63a92b3f-e4eb-4f50-9959-c996c888b546", + "resource": { + "resourceType": "Condition", + "id": "63a92b3f-e4eb-4f50-9959-c996c888b546", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 260 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0236068", + "display": "Tongue swelling" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000023674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U004073" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "D20022" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10042727" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "205" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU073264" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "421262002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1485" + } + ], + "text": "swelling of tongue" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "onsetString": "2:30 am this morning" + } + }, + { + "fullUrl": "Condition/39bcd405-255f-428a-ac88-aab689f31b87", + "resource": { + "resourceType": "Condition", + "id": "39bcd405-255f-428a-ac88-aab689f31b87", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 330 + }, + { + "url": "length", + "valueInteger": 21 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0011168", + "display": "Deglutition Disorders" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005507" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00239" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014574" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "9.12.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003662" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "265" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "5000-0052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DYSPHAGIA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002015" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R13" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R13" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R13.10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "787.20" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU024378" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "D21004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85036477" + }, + { + "system": "http://loinc.org", + "code": "MTHU029874" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013950" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "312702" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1309" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003680" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "787.20" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthmst", + "code": "MT160004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00412" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2980" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10621" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C2980" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044666" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2980" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "211613" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU036443" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000524080" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "15654" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM08J" + }, + { + "system": "http://snomed.info/sct", + "code": "F-61020" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D5-30250" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "40739000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0280" + } + ], + "text": "difficulty swallowing" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/10850a14-8dd5-4978-8bc2-357247cb5cc2", + "resource": { + "resourceType": "Condition", + "id": "10850a14-8dd5-4978-8bc2-357247cb5cc2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 361 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0013404", + "display": "Dyspnea" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005442" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015304" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "266" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2596-2296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DYSPNEA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002094" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R06.02" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10029433" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R02" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU024507" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R02007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85040344" + }, + { + "system": "http://loinc.org", + "code": "LP115812-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013968" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "115876" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00495" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1816" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000046183" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "042109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU037132" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000598319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "15680" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qq" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0qq" + }, + { + "system": "http://snomed.info/sct", + "code": "F-75040" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-20040" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "267036007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0514" + } + ], + "text": "trouble breathing" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/64e41fc9-a70e-42c9-965b-de94fd5a5c2d", + "resource": { + "resourceType": "Condition", + "id": "64e41fc9-a70e-42c9-965b-de94fd5a5c2d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 386 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0028778", + "display": "Obstruction" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004470" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1002744" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008870" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU053672" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006537" + }, + { + "system": "http://loinc.org", + "code": "LP222112-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10061876" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003467" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3284" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C3284" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044954" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3284" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X79q0" + }, + { + "system": "http://snomed.info/sct", + "code": "M-34000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-34000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "26036001" + } + ], + "text": "obstruction" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/8db12eea-31d5-44ad-a0f7-7fa8ed70f370", + "resource": { + "resourceType": "Condition", + "id": "8db12eea-31d5-44ad-a0f7-7fa8ed70f370", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 412 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0038999", + "display": "Swelling" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004456" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1000701" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000011957" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "715" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A08" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A08" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A08003" + }, + { + "system": "http://loinc.org", + "code": "LA22440-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10042674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1229" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3399" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "191325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU067007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76Eu" + }, + { + "system": "http://snomed.info/sct", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "442672001" + } + ], + "text": "swelling" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/2dcdac99-7c88-4cca-ac3b-081cf6900fe6", + "resource": { + "resourceType": "Condition", + "id": "2dcdac99-7c88-4cca-ac3b-081cf6900fe6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 442 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "text": "similar reaction" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/4aec7002-282f-419b-b9bc-8c331ea955be", + "resource": { + "resourceType": "Condition", + "id": "4aec7002-282f-419b-b9bc-8c331ea955be", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 507 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0013404", + "display": "Dyspnea" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005442" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015304" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "266" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2596-2296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DYSPNEA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002094" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R06.02" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10029433" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R02" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU024507" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R02007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85040344" + }, + { + "system": "http://loinc.org", + "code": "LP115812-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013968" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "115876" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00495" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1816" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000046183" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "042109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU037132" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000598319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "15680" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qq" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0qq" + }, + { + "system": "http://snomed.info/sct", + "code": "F-75040" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-20040" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "267036007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0514" + } + ], + "text": "SOB" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/d5c638e2-1802-4173-84b4-ae71a2d057ff", + "resource": { + "resourceType": "Condition", + "id": "d5c638e2-1802-4173-84b4-ae71a2d057ff", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 512 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0008031", + "display": "Chest Pain" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017850" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.2.5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "CIR012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "CIR012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002750" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "171" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PAIN CHEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000673" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0100749" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R07.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R07.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R07.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.50" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "b28011" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "b28011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A11" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU059497" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A11001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000942" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85023146" + }, + { + "system": "http://loinc.org", + "code": "LP98885-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10008479" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33722" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "4744" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002637" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "172" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00204" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C38665" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000467223" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C38665" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU025178" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "182.." + }, + { + "system": "http://snomed.info/sct", + "code": "F-71400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-37000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "29857009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0718" + } + ], + "text": "chest pain" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/5c9866ec-2e71-492f-994b-9dce0247882e", + "resource": { + "resourceType": "Condition", + "id": "5c9866ec-2e71-492f-994b-9dce0247882e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 524 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0033774", + "display": "Pruritus" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005226" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00607" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014802" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000010273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "619" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2716-6790" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PRURITUS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U003248" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000989" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "L29.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "L29.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "L29.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "698.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "S02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "S02" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU062220" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "S02007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003889" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85108048" + }, + { + "system": "http://loinc.org", + "code": "LA20641-9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037087" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "1113" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3067" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D011537" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "619" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "698.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01266" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3344" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1943" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000446534" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3344" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3344" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "080316" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU037280" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_17010.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000042504" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "41260" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200232" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM00q" + }, + { + "system": "http://snomed.info/sct", + "code": "F-82300" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-A2300" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "418290006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0024" + } + ], + "text": "itching" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/3150feb9-23a3-4d8a-95c6-95058ee4effb", + "resource": { + "resourceType": "Condition", + "id": "3150feb9-23a3-4d8a-95c6-95058ee4effb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 536 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027497", + "display": "Nausea" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005505" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00280" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "B04.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014479" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008525" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "508" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1249-7728" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "NAUSEA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002745" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002018" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R11.0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10000859" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "D09" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "D09" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU049523" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "D09002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003135" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85090324" + }, + { + "system": "http://loinc.org", + "code": "LP36327-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10028813" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "411" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00134" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3258" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10878" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1970" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000390302" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3258" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "040016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002455" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "33080" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X75qw" + }, + { + "system": "http://snomed.info/sct", + "code": "F-61560" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-52760" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "422587007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0308" + } + ], + "text": "nausea" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/5fbaaaa3-316b-411f-b583-bcd504ab5b29", + "resource": { + "resourceType": "Condition", + "id": "5fbaaaa3-316b-411f-b583-bcd504ab5b29", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 568 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015230", + "display": "Exanthema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000022958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00609" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014681" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "RASH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000988" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU027334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001699" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046091" + }, + { + "system": "http://loinc.org", + "code": "LA29194-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037844" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "273176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005076" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01533" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM07J" + }, + { + "system": "http://snomed.info/sct", + "code": "M-48400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-01710" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "271807003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0028" + } + ], + "text": "rashes" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/6d0fe82f-7cf1-49dc-b74d-22930dc74342", + "resource": { + "resourceType": "Condition", + "id": "6d0fe82f-7cf1-49dc-b74d-22930dc74342", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 589 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0277797", + "display": "Apyrexial" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000027018" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa1kS" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03005" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "86699002" + } + ], + "text": "afebrile" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/aa9f0e80-7b4a-4ccc-b02a-bf2969f4462a", + "resource": { + "resourceType": "Condition", + "id": "aa9f0e80-7b4a-4ccc-b02a-bf2969f4462a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 634 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "text": "swollen down" + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 654 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0014876", + "display": "Esophagus" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005531" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000038776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1250-0527" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7131" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "ESO" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s520" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s520" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001661" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85044855" + }, + { + "system": "http://loinc.org", + "code": "LP29941-9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004947" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U001901" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthmst", + "code": "MT010002" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000046408" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "17920" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "7N300" + }, + { + "system": "http://snomed.info/sct", + "code": "T-62000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-56000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "32849002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7131" + } + ], + "text": "esophagus" + } + ], + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/6668ff37-4d5d-4022-82a1-ee619ecb41d2", + "resource": { + "resourceType": "Condition", + "id": "6668ff37-4d5d-4022-82a1-ee619ecb41d2", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 777 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0038999", + "display": "Swelling" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004456" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1000701" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000011957" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "715" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A08" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A08" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A08003" + }, + { + "system": "http://loinc.org", + "code": "LA22440-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10042674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1229" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3399" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "191325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU067007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76Eu" + }, + { + "system": "http://snomed.info/sct", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "442672001" + } + ], + "text": "swelling" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "note": [ + { + "text": "helped" + } + ] + } + }, + { + "fullUrl": "Condition/d7852009-616f-4021-941c-2a06f2cd3e0d", + "resource": { + "resourceType": "Condition", + "id": "d7852009-616f-4021-941c-2a06f2cd3e0d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 799 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "text": "throat still hurts" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/718e9908-53a6-45d5-9713-0091a03a42e5", + "resource": { + "resourceType": "Condition", + "id": "718e9908-53a6-45d5-9713-0091a03a42e5", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 825 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "text": "hurts to swallow" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/a681cf02-0a4a-4ce1-94cb-d61b044ef814", + "resource": { + "resourceType": "Condition", + "id": "a681cf02-0a4a-4ce1-94cb-d61b044ef814", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 880 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "clinicalStatus": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 905 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "worse" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030193", + "display": "Pain" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002779" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00754" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "Q63.0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0035760" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "548" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65336" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2683-4824" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PAIN" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0012531" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R52.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R52.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R52" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "338-338.99" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "b280-b289" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "b280-b289" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10023130" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU059479" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A29020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003436" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85096617" + }, + { + "system": "http://loinc.org", + "code": "MTHU029813" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10033371" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "283263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "351" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010146" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "306" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.96" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01394" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11167" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "200714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU033713" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "24" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_17010.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000041399" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pnds", + "code": "NP.405" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "36150" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa07F" + }, + { + "system": "http://snomed.info/sct", + "code": "F-82600" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-A2600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "22253000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0730" + } + ], + "text": "pain" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "note": [ + { + "text": "relieve" + } + ] + } + }, + { + "fullUrl": "Condition/11f071eb-055c-4eb4-a740-4bed1cddc64e", + "resource": { + "resourceType": "Condition", + "id": "11f071eb-055c-4eb4-a740-4bed1cddc64e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 967 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "text": "trouble swallowing" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/342af4ab-c83f-4bac-953d-253ff8639754", + "resource": { + "resourceType": "MedicationStatement", + "id": "342af4ab-c83f-4bac-953d-253ff8639754", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 175 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0878061", + "display": "Altace" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000045298" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "315" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D017257" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29411" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02tS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "262418" + } + ], + "text": "altace" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "timing": { + "repeat": { + "duration": 8, + "durationUnit": "a" + }, + "code": { + "text": "8 years" + } + } + } + ] + } + }, + { + "fullUrl": "MedicationStatement/cd1b0d06-2086-4732-a1e4-38a2505f9691", + "resource": { + "resourceType": "MedicationStatement", + "id": "cd1b0d06-2086-4732-a1e4-38a2505f9691", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 702 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0700899", + "display": "Benadryl" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000044903" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "899" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004155" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0033299" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000039163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "05760" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "203457" + } + ], + "text": "benadryl" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "25mg", + "route": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 711 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "IV" + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 25 + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/89ea5b4d-10c5-41f0-ace9-63098b3ef0be", + "resource": { + "resourceType": "MedicationStatement", + "id": "89ea5b4d-10c5-41f0-ace9-63098b3ef0be", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 722 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0701466", + "display": "Solu-Medrol" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000045008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0059-7979" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "1325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008776" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C48004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0048989" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "203856" + } + ], + "text": "solumedrol" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "125 mg", + "route": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 733 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "IV" + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 125, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/ad89c0fd-dbb2-450e-a5e7-fcc6f2713630", + "resource": { + "resourceType": "MedicationStatement", + "id": "ad89c0fd-dbb2-450e-a5e7-fcc6f2713630", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 740 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0678119", + "display": "Pepcid" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000042727" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "2232" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D015738" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29045" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000574268" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02nB" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "196458" + } + ], + "text": "pepcid" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "20 mg", + "route": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 753 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "IV" + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 20, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "AllergyIntolerance/91d485ea-a664-426a-97d5-d94da1e422c8", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "91d485ea-a664-426a-97d5-d94da1e422c8", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1054 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "refuted", + "display": "Refuted" + } + ], + "text": "Refuted" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3540698", + "display": "animal allergen extracts" + }, + { + "system": "http://www.whocc.no/atc", + "code": "V01AA11" + } + ], + "text": "animals" + }, + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/c1c10373-6325-4339-b962-c3c114969ccd", + "resource": { + "resourceType": "List", + "id": "c1c10373-6325-4339-b962-c3c114969ccd", + "status": "current", + "mode": "snapshot", + "title": "History of Present Illness", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/8c143a3a-957b-4ad0-8ceb-08fb8e351cb3", + "type": "Condition", + "display": "CAD" + } + }, + { + "item": { + "reference": "Condition/973f06cf-d831-4c00-baed-e408420e5d77", + "type": "Condition", + "display": "DM2" + } + }, + { + "item": { + "reference": "Condition/590bd19b-78d7-415b-bdb4-72f3f8ce0e1a", + "type": "Condition", + "display": "asthma" + } + }, + { + "item": { + "reference": "Condition/b91e08d1-2c9f-4b49-839c-37951b141d08", + "type": "Condition", + "display": "HTN" + } + }, + { + "item": { + "reference": "Procedure/47836826-796c-4bd3-9a4e-ef5021413df3", + "type": "Procedure", + "display": "drink any fluids" + } + }, + { + "item": { + "reference": "Procedure/6fb3eab0-4bda-4627-919c-083a757f11fa", + "type": "Procedure", + "display": "new medications" + } + }, + { + "item": { + "reference": "Procedure/cb4aabfc-7754-4bad-b072-65c155ca8df7", + "type": "Procedure", + "display": "lotions" + } + }, + { + "item": { + "reference": "Procedure/3f61932c-89fc-4ff6-a153-6590f3f2eabe", + "type": "Procedure", + "display": "perfumes" + } + }, + { + "item": { + "reference": "Procedure/9496b625-423f-4ef0-a511-9dc1f63752ca", + "type": "Procedure", + "display": "oral medications" + } + }, + { + "item": { + "reference": "Condition/d7071c07-a763-4618-9232-05e326abf745", + "type": "Condition", + "display": "NAD" + } + }, + { + "item": { + "reference": "Condition/bb21dcfc-46d8-4c4b-b2a3-0dee9b8435e1", + "type": "Condition", + "display": "sore throat" + } + }, + { + "item": { + "reference": "Condition/63a92b3f-e4eb-4f50-9959-c996c888b546", + "type": "Condition", + "display": "swelling of tongue" + } + }, + { + "item": { + "reference": "Condition/39bcd405-255f-428a-ac88-aab689f31b87", + "type": "Condition", + "display": "difficulty swallowing" + } + }, + { + "item": { + "reference": "Condition/10850a14-8dd5-4978-8bc2-357247cb5cc2", + "type": "Condition", + "display": "trouble breathing" + } + }, + { + "item": { + "reference": "Condition/64e41fc9-a70e-42c9-965b-de94fd5a5c2d", + "type": "Condition", + "display": "obstruction" + } + }, + { + "item": { + "reference": "Condition/8db12eea-31d5-44ad-a0f7-7fa8ed70f370", + "type": "Condition", + "display": "swelling" + } + }, + { + "item": { + "reference": "Condition/2dcdac99-7c88-4cca-ac3b-081cf6900fe6", + "type": "Condition", + "display": "similar reaction" + } + }, + { + "item": { + "reference": "Condition/4aec7002-282f-419b-b9bc-8c331ea955be", + "type": "Condition", + "display": "SOB" + } + }, + { + "item": { + "reference": "Condition/d5c638e2-1802-4173-84b4-ae71a2d057ff", + "type": "Condition", + "display": "chest pain" + } + }, + { + "item": { + "reference": "Condition/5c9866ec-2e71-492f-994b-9dce0247882e", + "type": "Condition", + "display": "itching" + } + }, + { + "item": { + "reference": "Condition/3150feb9-23a3-4d8a-95c6-95058ee4effb", + "type": "Condition", + "display": "nausea" + } + }, + { + "item": { + "reference": "Condition/5fbaaaa3-316b-411f-b583-bcd504ab5b29", + "type": "Condition", + "display": "rashes" + } + }, + { + "item": { + "reference": "Condition/6d0fe82f-7cf1-49dc-b74d-22930dc74342", + "type": "Condition", + "display": "afebrile" + } + }, + { + "item": { + "reference": "Condition/aa9f0e80-7b4a-4ccc-b02a-bf2969f4462a", + "type": "Condition", + "display": "swollen down" + } + }, + { + "item": { + "reference": "Condition/6668ff37-4d5d-4022-82a1-ee619ecb41d2", + "type": "Condition", + "display": "swelling" + } + }, + { + "item": { + "reference": "Condition/d7852009-616f-4021-941c-2a06f2cd3e0d", + "type": "Condition", + "display": "throat still hurts" + } + }, + { + "item": { + "reference": "Condition/718e9908-53a6-45d5-9713-0091a03a42e5", + "type": "Condition", + "display": "hurts to swallow" + } + }, + { + "item": { + "reference": "Condition/a681cf02-0a4a-4ce1-94cb-d61b044ef814", + "type": "Condition", + "display": "pain" + } + }, + { + "item": { + "reference": "Condition/11f071eb-055c-4eb4-a740-4bed1cddc64e", + "type": "Condition", + "display": "trouble swallowing" + } + }, + { + "item": { + "reference": "MedicationStatement/342af4ab-c83f-4bac-953d-253ff8639754", + "type": "MedicationStatement", + "display": "altace" + } + }, + { + "item": { + "reference": "MedicationStatement/cd1b0d06-2086-4732-a1e4-38a2505f9691", + "type": "MedicationStatement", + "display": "benadryl" + } + }, + { + "item": { + "reference": "MedicationStatement/89ea5b4d-10c5-41f0-ace9-63098b3ef0be", + "type": "MedicationStatement", + "display": "solumedrol" + } + }, + { + "item": { + "reference": "MedicationStatement/ad89c0fd-dbb2-450e-a5e7-fcc6f2713630", + "type": "MedicationStatement", + "display": "pepcid" + } + }, + { + "item": { + "reference": "AllergyIntolerance/91d485ea-a664-426a-97d5-d94da1e422c8", + "type": "AllergyIntolerance", + "display": "animals" + } + } + ] + } + }, + { + "fullUrl": "Procedure/f92472c0-9e90-4b74-8c51-0aa9882645ae", + "resource": { + "resourceType": "Procedure", + "id": "f92472c0-9e90-4b74-8c51-0aa9882645ae", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1286 + }, + { + "url": "length", + "valueInteger": 13 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "code": { + "text": "Cardiac stent" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "performedDateTime": "1999" + } + }, + { + "fullUrl": "Procedure/376dee02-e507-4e65-9bb6-802e8fb81905", + "resource": { + "resourceType": "Procedure", + "id": "376dee02-e507-4e65-9bb6-802e8fb81905", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1314 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "code": { + "text": "hystarectomy" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "performedDateTime": "1970" + } + }, + { + "fullUrl": "Procedure/d055da89-5dac-4eb3-a1ec-47b368ace8c3", + "resource": { + "resourceType": "Procedure", + "id": "d055da89-5dac-4eb3-a1ec-47b368ace8c3", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1349 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "code": { + "text": "stone retrieval" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "performedDateTime": "1960", + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1342 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0022646", + "display": "Kidney" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002574" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0041470" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007085" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1679-5191" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7203" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "KIDN" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s6100" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s6100" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002584" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85072254" + }, + { + "system": "http://loinc.org", + "code": "LP7380-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007668" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000046325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "U000107" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "27360" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N500" + }, + { + "system": "http://snomed.info/sct", + "code": "T-71000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-71000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "64033007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ult", + "code": "269" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7203" + } + ], + "text": "kidney" + } + ] + } + }, + { + "fullUrl": "List/1d5dcbe4-7206-4a27-b3a8-52e4d30dacfe", + "resource": { + "resourceType": "List", + "id": "1d5dcbe4-7206-4a27-b3a8-52e4d30dacfe", + "status": "current", + "mode": "snapshot", + "title": "Surgical History", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Procedure/f92472c0-9e90-4b74-8c51-0aa9882645ae", + "type": "Procedure", + "display": "Cardiac stent" + } + }, + { + "item": { + "reference": "Procedure/376dee02-e507-4e65-9bb6-802e8fb81905", + "type": "Procedure", + "display": "hystarectomy" + } + }, + { + "item": { + "reference": "Procedure/d055da89-5dac-4eb3-a1ec-47b368ace8c3", + "type": "Procedure", + "display": "stone retrieval" + } + } + ] + } + }, + { + "fullUrl": "Condition/b42befa0-2949-4ed8-a418-075252ecb31f", + "resource": { + "resourceType": "Condition", + "id": "b42befa0-2949-4ed8-a418-075252ecb31f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1396 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1956346", + "display": "Coronary Artery Disease" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005327" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0037465" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1393-3397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CORONARY ART DIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000871" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001677" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I25.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU019520" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K76003" + }, + { + "system": "http://loinc.org", + "code": "LP90122-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10011078" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "35988" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1276" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003324" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C26732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C26732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000439400" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002067" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE2uV" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-13000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "414024009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0426" + } + ], + "text": "CAD" + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1439 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0226032", + "display": "Anterior descending branch of left coronary artery" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000021990" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "LD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "3862" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpcs", + "code": "LD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000482" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C32089" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C32089" + }, + { + "system": "http://snomed.info/sct", + "code": "T-43110" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-43110" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "59438005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "3862" + } + ], + "text": "LAD" + } + ], + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/beb71351-99e3-4fe3-ac44-132dcc9f4d78", + "resource": { + "resourceType": "Condition", + "id": "beb71351-99e3-4fe3-ac44-132dcc9f4d78", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1541 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0149721", + "display": "Left Ventricular Hypertrophy" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1003974" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000016665" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000407" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U004374" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001712" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K84039" + }, + { + "system": "http://loinc.org", + "code": "LP156346-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10049773" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "38318" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D017379" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C50631" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1949" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU011914" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X776j" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-16172" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "55827005" + } + ], + "text": "LVH" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/9c19cb96-cd62-4a16-a9a0-11706e5abe5e", + "resource": { + "resourceType": "Condition", + "id": "9c19cb96-cd62-4a16-a9a0-11706e5abe5e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1567 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020473", + "display": "Hyperlipidemia" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1006712" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006419" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "395" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1744-2444" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERLIPEM" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0003077" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "E78.5" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "E78.5" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "E78.5" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "E78.5" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "E78.5" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU036253" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "T93008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002308" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063704" + }, + { + "system": "http://loinc.org", + "code": "LP266259-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10062060" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "4277" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006949" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "272.4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02489" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C34707" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C34707" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002043" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X40Wy" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "X40Wy" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D6-60010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "55822004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0820" + } + ], + "text": "Hyperlipidemia" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/fd2978f9-471c-4408-819b-f0b9ee848d2c", + "resource": { + "resourceType": "Condition", + "id": "fd2978f9-471c-4408-819b-f0b9ee848d2c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1586 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020538", + "display": "Hypertensive disease" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-5243" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "HYPERTENS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002034" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000822" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I10-I15.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I10" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "997.91" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035456" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85063723" + }, + { + "system": "http://loinc.org", + "code": "LA14293-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10020772" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "34" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "997.91" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00905" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1908" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0Ub" + }, + { + "system": "http://snomed.info/sct", + "code": "F-70700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-02000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38341003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0210" + } + ], + "text": "HTN" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/173a4d80-fe7b-4162-bc21-c71f4ae86dea", + "resource": { + "resourceType": "Condition", + "id": "173a4d80-fe7b-4162-bc21-c71f4ae86dea", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1594 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0011860", + "display": "Diabetes Mellitus, Non-Insulin-Dependent" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00336" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0045504" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "END005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "END005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003837" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000225" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0862-7250" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0005978" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "E11" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "E11" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "E11" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "T90" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU022755" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "T90007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85092226" + }, + { + "system": "http://loinc.org", + "code": "LA10552-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10067585" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "30480" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "5930" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003924" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26747" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047504" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X40J5" + }, + { + "system": "http://snomed.info/sct", + "code": "D-241Y" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DB-61030" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "44054006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0371" + } + ], + "text": "DM 2" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/d61038c0-b579-4a89-a292-417798dfdba4", + "resource": { + "resourceType": "Condition", + "id": "d61038c0-b579-4a89-a292-417798dfdba4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1627 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0004096", + "display": "Asthma" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "8.3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "RSP009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "RSP009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001541" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "080" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1525-2157" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ASTHMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002099" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "J45.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "J45.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "J45" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "493" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R96" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R96" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU008836" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R96001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000405" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85008860" + }, + { + "system": "http://loinc.org", + "code": "MTHU020815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10003553" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "32881" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001249" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "493.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01919" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1726" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000440101" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C28397" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU003537" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "04190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "R0121533" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "H33.." + }, + { + "system": "http://snomed.info/sct", + "code": "D-4790" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D2-51000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "195967001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1367" + } + ], + "text": "Asthma" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/5c02b389-3f56-4680-a2d5-e0bdd386d38d", + "resource": { + "resourceType": "Condition", + "id": "5c02b389-3f56-4680-a2d5-e0bdd386d38d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1634 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024117", + "display": "Chronic Obstructive Airway Disease" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00031" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0059967" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "8.2.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007570" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "184" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "4004-0004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000363" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0006510" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "J44.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "J44.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "J44.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R95" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU053770" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R95009" + }, + { + "system": "http://loinc.org", + "code": "LP90123-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10009033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "34122" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "27" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D029424" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003398" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "496" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "02022" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2237" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000524193" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU042800" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "H3..." + }, + { + "system": "http://snomed.info/sct", + "code": "D-7651" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D2-60000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "13645005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1493" + } + ], + "text": "COPD" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/17d2ac39-1b15-44be-baee-f145745123e4", + "resource": { + "resourceType": "Condition", + "id": "17d2ac39-1b15-44be-baee-f145745123e4", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1643 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0017168", + "display": "Gastroesophageal reflux disease" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00251" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1001976" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005382" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "GI DIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002020" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "K21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "K21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "K21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "K21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "K21.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "530.81" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU063996" + }, + { + "system": "http://loinc.org", + "code": "LP100601-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10017885" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "38250" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "512" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005764" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "530.81" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthmst", + "code": "MT160014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01172" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26781" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10739" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C26781" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C26781" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26781" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26781" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU001906" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000737473" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X3003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "X3003" + }, + { + "system": "http://snomed.info/sct", + "code": "F-61340" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D5-30140" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "235595009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1149" + } + ], + "text": "GERD" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/acfa27bf-1135-4a9c-835f-b30588b00803", + "resource": { + "resourceType": "Condition", + "id": "acfa27bf-1135-4a9c-835f-b30588b00803", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1656 + }, + { + "url": "length", + "valueInteger": 22 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0162316", + "display": "Iron deficiency anemia" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005902" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00294" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017779" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "4.1.3.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000017791" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "428" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0427-2389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ANEMIA IRON DEFIC" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000099" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001891" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "D50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "D50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "D50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "D50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "D50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "280.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "B80" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "B80" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU021534" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "B80002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85068186" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10022972" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "30322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "139" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D018798" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "280.9" + }, + { + "system": "http://hl7.org/fhir/sid/mthicpc2eae", + "code": "B80" + }, + { + "system": "http://hl7.org/fhir/sid/mthicpc2icd10ae", + "code": "MTHU037482" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C84484" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C84484" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C84484" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU036458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "R0121654" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ram", + "code": "U000082" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE13c" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE13c" + }, + { + "system": "http://snomed.info/sct", + "code": "D-4072" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DC-13010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "87522002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0553" + } + ], + "text": "iron deficiency anemia" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/fffb2e79-8ceb-40a8-be04-a21de4609649", + "resource": { + "resourceType": "Observation", + "id": "fffb2e79-8ceb-40a8-be04-a21de4609649", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1448 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0700321", + "display": "Small" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000044733" + }, + { + "system": "http://loinc.org", + "code": "LA8983-4" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25376" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C25376" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25376" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X7919" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "G-A217" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "255507004" + } + ], + "text": "small" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "valueQuantity": { + "value": 50, + "unit": "%" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1454 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "D2" + } + } + }, + { + "fullUrl": "Observation/8fa5bdd2-c1d2-4566-9426-c0d2496576d6", + "resource": { + "resourceType": "Observation", + "id": "8fa5bdd2-c1d2-4566-9426-c0d2496576d6", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1474 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0549177", + "display": "Large" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "U000601" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000038944" + }, + { + "system": "http://loinc.org", + "code": "LA8981-8" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C49508" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C49508" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X791B" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "G-A216" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "255509001" + } + ], + "text": "large" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "valueRange": { + "low": { + "value": 30, + "comparator": ">=", + "unit": "%" + }, + "high": { + "value": 40, + "comparator": "<=", + "unit": "%" + } + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1462 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1261316", + "display": "Right coronary artery structure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000056439" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "RC" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1398-9631" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "50039" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpcs", + "code": "RC" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12875" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12875" + }, + { + "system": "http://snomed.info/sct", + "code": "T-43200" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-43200" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "13647002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "50039" + } + ], + "text": "RCA" + } + } + }, + { + "fullUrl": "Condition/5d4ba796-9697-4c60-8f90-b63793733336", + "resource": { + "resourceType": "Condition", + "id": "5d4ba796-9697-4c60-8f90-b63793733336", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1518 + }, + { + "url": "length", + "valueInteger": 21 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0520863", + "display": "Diastolic dysfunction" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1000320" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037795" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10052337" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "276344" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C79547" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-32012" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "3545003" + } + ], + "text": "diastolic dysfunction" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/16507bda-bfd1-4ac6-b380-b7a3a4a2cd8f", + "resource": { + "resourceType": "Condition", + "id": "16507bda-bfd1-4ac6-b380-b7a3a4a2cd8f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1551 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "severity": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1546 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://snomed.info/sct", + "code": "255604002", + "display": "Mild" + } + ], + "text": "mild" + }, + "code": { + "text": "LA dilation" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/e129a075-d004-484b-84ca-3244a2aab4fd", + "resource": { + "resourceType": "Observation", + "id": "e129a075-d004-484b-84ca-3244a2aab4fd", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1403 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "text": "Left heart cath" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "effectiveDateTime": "2005", + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/b1e27b84-c819-4db9-b134-f7dbc82cf3c2", + "resource": { + "resourceType": "Observation", + "id": "b1e27b84-c819-4db9-b134-f7dbc82cf3c2", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1489 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0430462", + "display": "Transthoracic echocardiography" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000034101" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10053368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "323994" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C80404" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C80404" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000759349" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X77c2" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "433236007" + } + ], + "text": "TTE" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "effectiveDateTime": "2006", + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/78a6df46-a421-4f84-b627-0749762e47e5", + "resource": { + "resourceType": "Observation", + "id": "78a6df46-a421-4f84-b627-0749762e47e5", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1501 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0428772", + "display": "Left ventricular ejection fraction" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10069170" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C99524" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-CVTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C99524" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X776M" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "250908004" + } + ], + "text": "LVEF" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueRange": { + "low": { + "value": 60, + "comparator": ">=", + "unit": "%" + }, + "high": { + "value": 65, + "comparator": "<=", + "unit": "%" + } + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/64ec679e-bb68-4f0a-b285-2128902aff04", + "resource": { + "resourceType": "Observation", + "id": "64ec679e-bb68-4f0a-b285-2128902aff04", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1605 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0474680", + "display": "Hemoglobin A1c measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037062" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "60231" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "83036" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "83037" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "6308" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-72982" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "43396009" + } + ], + "text": "A1c" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "effectiveDateTime": "2005-09", + "valueQuantity": { + "value": 6.7 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "List/e0ed81ae-184e-44ce-b45a-2da9cd2eba9c", + "resource": { + "resourceType": "List", + "id": "e0ed81ae-184e-44ce-b45a-2da9cd2eba9c", + "status": "current", + "mode": "snapshot", + "title": "Medical History", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/b42befa0-2949-4ed8-a418-075252ecb31f", + "type": "Condition", + "display": "CAD" + } + }, + { + "item": { + "reference": "Condition/beb71351-99e3-4fe3-ac44-132dcc9f4d78", + "type": "Condition", + "display": "LVH" + } + }, + { + "item": { + "reference": "Condition/9c19cb96-cd62-4a16-a9a0-11706e5abe5e", + "type": "Condition", + "display": "Hyperlipidemia" + } + }, + { + "item": { + "reference": "Condition/fd2978f9-471c-4408-819b-f0b9ee848d2c", + "type": "Condition", + "display": "HTN" + } + }, + { + "item": { + "reference": "Condition/173a4d80-fe7b-4162-bc21-c71f4ae86dea", + "type": "Condition", + "display": "DM 2" + } + }, + { + "item": { + "reference": "Condition/d61038c0-b579-4a89-a292-417798dfdba4", + "type": "Condition", + "display": "Asthma" + } + }, + { + "item": { + "reference": "Condition/5c02b389-3f56-4680-a2d5-e0bdd386d38d", + "type": "Condition", + "display": "COPD" + } + }, + { + "item": { + "reference": "Condition/17d2ac39-1b15-44be-baee-f145745123e4", + "type": "Condition", + "display": "GERD" + } + }, + { + "item": { + "reference": "Condition/acfa27bf-1135-4a9c-835f-b30588b00803", + "type": "Condition", + "display": "iron deficiency anemia" + } + }, + { + "item": { + "reference": "Observation/fffb2e79-8ceb-40a8-be04-a21de4609649", + "type": "Observation", + "display": "small" + } + }, + { + "item": { + "reference": "Observation/8fa5bdd2-c1d2-4566-9426-c0d2496576d6", + "type": "Observation", + "display": "large" + } + }, + { + "item": { + "reference": "Condition/5d4ba796-9697-4c60-8f90-b63793733336", + "type": "Condition", + "display": "diastolic dysfunction" + } + }, + { + "item": { + "reference": "Condition/16507bda-bfd1-4ac6-b380-b7a3a4a2cd8f", + "type": "Condition", + "display": "LA dilation" + } + }, + { + "item": { + "reference": "Observation/e129a075-d004-484b-84ca-3244a2aab4fd", + "type": "Observation", + "display": "Left heart cath" + } + }, + { + "item": { + "reference": "Observation/b1e27b84-c819-4db9-b134-f7dbc82cf3c2", + "type": "Observation", + "display": "TTE" + } + }, + { + "item": { + "reference": "Observation/78a6df46-a421-4f84-b627-0749762e47e5", + "type": "Observation", + "display": "LVEF" + } + }, + { + "item": { + "reference": "Observation/64ec679e-bb68-4f0a-b285-2128902aff04", + "type": "Observation", + "display": "A1c" + } + } + ] + } + }, + { + "fullUrl": "FamilyMemberHistory/db83c46f-b9d2-492d-a10c-80b3518087fb", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "db83c46f-b9d2-492d-a10c-80b3518087fb", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1995 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1991 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Dad" + }, + "deceasedBoolean": true + } + }, + { + "fullUrl": "FamilyMemberHistory/59139311-df79-467c-9c47-c767e5769364", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "59139311-df79-467c-9c47-c767e5769364", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1995 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2030 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0026591", + "display": "Mother (person)" + } + ], + "text": "mom" + }, + "deceasedBoolean": true + } + }, + { + "fullUrl": "FamilyMemberHistory/b8cefdb1-79b4-4bbd-a18a-274f3831205d", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "b8cefdb1-79b4-4bbd-a18a-274f3831205d", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2003 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1991 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Dad" + }, + "condition": [ + { + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0023890", + "display": "Liver Cirrhosis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005672" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00223" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015140" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "186" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1754-7664" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "LIVER CIRRHO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000764" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001394" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "K74.60" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU016850" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "D97005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85077754" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10019641" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "30052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008103" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthmst", + "code": "MT240030" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU018550" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "09260" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X307L" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D5-80600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "19943007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0347" + } + ], + "text": "liver cirrhosis" + } + } + ] + } + }, + { + "fullUrl": "FamilyMemberHistory/1c54eba0-5e0d-4a0d-95b3-bd904a3a4151", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "1c54eba0-5e0d-4a0d-95b3-bd904a3a4151", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2003 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2030 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0026591", + "display": "Mother (person)" + } + ], + "text": "mom" + }, + "condition": [ + { + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0023890", + "display": "Liver Cirrhosis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005672" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00223" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015140" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "186" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1754-7664" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "LIVER CIRRHO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000764" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001394" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "K74.60" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU016850" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "D97005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85077754" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10019641" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "30052" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008103" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthmst", + "code": "MT240030" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU018550" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "09260" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X307L" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D5-80600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "19943007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0347" + } + ], + "text": "liver cirrhosis" + } + } + ] + } + }, + { + "fullUrl": "FamilyMemberHistory/d9be7fe0-1301-4f61-8d0c-6d6f834098dc", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "d9be7fe0-1301-4f61-8d0c-6d6f834098dc", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2034 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1991 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Dad" + }, + "deceasedBoolean": true + } + }, + { + "fullUrl": "FamilyMemberHistory/4a099ce3-6a5d-4b08-bb90-f548971437b9", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "4a099ce3-6a5d-4b08-bb90-f548971437b9", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2034 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2030 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0026591", + "display": "Mother (person)" + } + ], + "text": "mom" + }, + "deceasedBoolean": true + } + }, + { + "fullUrl": "FamilyMemberHistory/b849a150-496b-49bb-ba1b-20253133f297", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "b849a150-496b-49bb-ba1b-20253133f297", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2042 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 1991 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Dad" + }, + "condition": [ + { + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027051", + "display": "Myocardial Infarction" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "MYCNF" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005332" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018028" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "505" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1393-3417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "INFARCT MYOCARD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001658" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I21" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU037952" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K75013" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85059683" + }, + { + "system": "http://loinc.org", + "code": "LP98884-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10028596" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "353001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009203" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "410.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01329" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10152" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1969" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU008101" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "32820" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X200E" + }, + { + "system": "http://snomed.info/sct", + "code": "M-54700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-15000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "22298006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0428" + } + ], + "text": "heart attack" + } + } + ] + } + }, + { + "fullUrl": "FamilyMemberHistory/15f890cb-810d-4a4d-9f08-61443e912795", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "15f890cb-810d-4a4d-9f08-61443e912795", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2042 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2030 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0026591", + "display": "Mother (person)" + } + ], + "text": "mom" + }, + "condition": [ + { + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027051", + "display": "Myocardial Infarction" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "MYCNF" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005332" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018028" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "505" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1393-3417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "INFARCT MYOCARD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001658" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I21" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU037952" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K75013" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85059683" + }, + { + "system": "http://loinc.org", + "code": "LP98884-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10028596" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "353001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009203" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "410.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01329" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10152" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1969" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C27996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU008101" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "32820" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X200E" + }, + { + "system": "http://snomed.info/sct", + "code": "M-54700" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-15000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "22298006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0428" + } + ], + "text": "heart attack" + } + } + ] + } + }, + { + "fullUrl": "FamilyMemberHistory/39d8cf44-3604-473b-996d-54576f9c91d1", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "39d8cf44-3604-473b-996d-54576f9c91d1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2094 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2076 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0037047", + "display": "Sibling" + } + ], + "text": "siblings" + }, + "deceasedBoolean": true + } + }, + { + "fullUrl": "FamilyMemberHistory/a784b752-2414-4bef-a741-5b10e7358864", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "a784b752-2414-4bef-a741-5b10e7358864", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2102 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2076 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0037047", + "display": "Sibling" + } + ], + "text": "siblings" + }, + "condition": [ + { + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0018799", + "display": "Heart Diseases" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023339" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0046242" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005875" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000028" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1393-3247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CARDIOVASC DIS" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "I51.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "I51.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "I51.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "429.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU019359" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K84009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85059651" + }, + { + "system": "http://loinc.org", + "code": "LA10523-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10061024" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33161" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "277" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006331" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "429.9" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cellosaurus", + "code": "C3079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C3079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "4454" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "22480" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X2003" + }, + { + "system": "http://snomed.info/sct", + "code": "D-7030" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D3-10000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "56265001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0504" + } + ], + "text": "cardiac disease" + } + } + ] + } + }, + { + "fullUrl": "FamilyMemberHistory/0041b176-c842-4d40-800a-f25fc51e10d6", + "resource": { + "resourceType": "FamilyMemberHistory", + "id": "0041b176-c842-4d40-800a-f25fc51e10d6", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2149 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "relationship": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2131 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015576", + "display": "Family" + } + ], + "text": "family" + }, + "condition": [ + { + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0006826", + "display": "Malignant Neoplasms" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "MALIG" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000023015" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00731" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1001968" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "2.13" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002337" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "465" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2000-0173" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CARCINOMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000537" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002664" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "C80" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "M8000/3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "C80.1" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "199" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A79" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU077094" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A79001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006339" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85019492" + }, + { + "system": "http://loinc.org", + "code": "LA25513-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10028997" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "99725" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "25" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009369" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "199.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01968" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C9305" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C9305" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C9305" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C9305" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "3262" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C9305" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C9305" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C9305" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU070317" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000041060" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "29280" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X78ef" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "X78ef" + }, + { + "system": "http://snomed.info/sct", + "code": "M-8000/3" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-80003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "363346000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1345" + } + ], + "text": "cancer" + } + } + ] + } + }, + { + "fullUrl": "List/22ec7727-c4ca-4477-a42b-51d34a935da6", + "resource": { + "resourceType": "List", + "id": "22ec7727-c4ca-4477-a42b-51d34a935da6", + "status": "current", + "mode": "snapshot", + "title": "Family History", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "FamilyMemberHistory/db83c46f-b9d2-492d-a10c-80b3518087fb", + "type": "FamilyMemberHistory", + "display": "" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/59139311-df79-467c-9c47-c767e5769364", + "type": "FamilyMemberHistory", + "display": "" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/b8cefdb1-79b4-4bbd-a18a-274f3831205d", + "type": "FamilyMemberHistory", + "display": "liver cirrhosis" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/1c54eba0-5e0d-4a0d-95b3-bd904a3a4151", + "type": "FamilyMemberHistory", + "display": "liver cirrhosis" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/d9be7fe0-1301-4f61-8d0c-6d6f834098dc", + "type": "FamilyMemberHistory", + "display": "" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/4a099ce3-6a5d-4b08-bb90-f548971437b9", + "type": "FamilyMemberHistory", + "display": "" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/b849a150-496b-49bb-ba1b-20253133f297", + "type": "FamilyMemberHistory", + "display": "heart attack" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/15f890cb-810d-4a4d-9f08-61443e912795", + "type": "FamilyMemberHistory", + "display": "heart attack" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/39d8cf44-3604-473b-996d-54576f9c91d1", + "type": "FamilyMemberHistory", + "display": "" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/a784b752-2414-4bef-a741-5b10e7358864", + "type": "FamilyMemberHistory", + "display": "cardiac disease" + } + }, + { + "item": { + "reference": "FamilyMemberHistory/0041b176-c842-4d40-800a-f25fc51e10d6", + "type": "FamilyMemberHistory", + "display": "cancer" + } + } + ] + } + }, + { + "fullUrl": "AllergyIntolerance/fa04ef10-13ef-4c01-88e4-077eb0d97610", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "fa04ef10-13ef-4c01-88e4-077eb0d97610", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2172 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0599503", + "display": "Sulfonamide Anti-Infective Agents" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000020188" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0036579" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000042025" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2832-5379" + }, + { + "system": "http://loinc.org", + "code": "LP16283-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40345" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29739" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000367474" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01IA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "x01IA" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7170" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-55900" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "59255006" + } + ], + "text": "Sulfa drugs" + }, + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "reaction": [ + { + "manifestation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2186 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015230", + "display": "Exanthema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000022958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00609" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014681" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "RASH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000988" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU027334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001699" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046091" + }, + { + "system": "http://loinc.org", + "code": "LA29194-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037844" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "273176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005076" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01533" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM07J" + }, + { + "system": "http://snomed.info/sct", + "code": "M-48400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-01710" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "271807003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0028" + } + ], + "text": "rash" + } + ] + } + ] + } + }, + { + "fullUrl": "AllergyIntolerance/e599fa16-c9ee-4ebf-a934-4520ac23745c", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "e599fa16-c9ee-4ebf-a934-4520ac23745c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2193 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0701042", + "display": "Cipro" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000044930" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "5004-0016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "112" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002939" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C375" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000354472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000040784" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "203563" + } + ], + "text": "Cipro" + }, + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "reaction": [ + { + "manifestation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2201 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015230", + "display": "Exanthema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000022958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00609" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014681" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "RASH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000988" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU027334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001699" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046091" + }, + { + "system": "http://loinc.org", + "code": "LA29194-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037844" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "273176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005076" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01533" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM07J" + }, + { + "system": "http://snomed.info/sct", + "code": "M-48400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-01710" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "271807003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0028" + } + ], + "text": "rash" + } + ] + } + ] + } + }, + { + "fullUrl": "AllergyIntolerance/945e5c10-ada6-464e-8985-dbdf540d3160", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "945e5c10-ada6-464e-8985-dbdf540d3160", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2208 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0700899", + "display": "Benadryl" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000044903" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "899" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004155" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0033299" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000039163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "05760" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "203457" + } + ], + "text": "Benadryl" + }, + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "reaction": [ + { + "manifestation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2231 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0541919", + "display": "Dystonic reaction" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0058133" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000038540" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DYSTONIA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013986" + } + ], + "text": "dystonic reaction" + } + ] + } + ] + } + }, + { + "fullUrl": "List/ef6382f6-5089-4eda-9145-d44be736d451", + "resource": { + "resourceType": "List", + "id": "ef6382f6-5089-4eda-9145-d44be736d451", + "status": "current", + "mode": "snapshot", + "title": "Allergies", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "AllergyIntolerance/fa04ef10-13ef-4c01-88e4-077eb0d97610", + "type": "AllergyIntolerance", + "display": "Sulfa drugs" + } + }, + { + "item": { + "reference": "AllergyIntolerance/e599fa16-c9ee-4ebf-a934-4520ac23745c", + "type": "AllergyIntolerance", + "display": "Cipro" + } + }, + { + "item": { + "reference": "AllergyIntolerance/945e5c10-ada6-464e-8985-dbdf540d3160", + "type": "AllergyIntolerance", + "display": "Benadryl" + } + } + ] + } + }, + { + "fullUrl": "MedicationStatement/0696ae07-5bb9-41c1-88d8-742cadc02a77", + "resource": { + "resourceType": "MedicationStatement", + "id": "0696ae07-5bb9-41c1-88d8-742cadc02a77", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2268 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ], + "text": "Theophyline" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "600 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "qhs" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 600, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/1896181a-2e1c-4d04-a301-15bd59774671", + "resource": { + "resourceType": "MedicationStatement", + "id": "1896181a-2e1c-4d04-a301-15bd59774671", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2281 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0700814", + "display": "Uniphyl" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000044888" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "3344" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D013806" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C872" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000041340" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "203377" + } + ], + "text": "Uniphyl" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "600 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "qhs" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 600, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/94b47859-467e-413b-a235-37e2e97081e2", + "resource": { + "resourceType": "MedicationStatement", + "id": "94b47859-467e-413b-a235-37e2e97081e2", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2303 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0006280", + "display": "Bronchodilator Agents" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019284" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2599-2967" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000693" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85017084" + }, + { + "system": "http://loinc.org", + "code": "LP31460-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001993" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000476099" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa7kI" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "353866001" + } + ], + "text": "bronchodilator" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/da88a9d9-cebc-4c35-b759-a64405a0030a", + "resource": { + "resourceType": "MedicationStatement", + "id": "da88a9d9-cebc-4c35-b759-a64405a0030a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2332 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0001455", + "display": "cyclic AMP" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000029018" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000721" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2502-9637" + }, + { + "system": "http://loinc.org", + "code": "LP15327-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000242" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "E0399OZS9N" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00446" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0094017" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "E0399OZS9N" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "12875" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X80N5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1314330" + }, + { + "system": "http://snomed.info/sct", + "code": "F-15910" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-65980" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "84835006" + } + ], + "text": "cAMP" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/91c26c2a-1ca6-4784-968e-e7cecebe7aa0", + "resource": { + "resourceType": "MedicationStatement", + "id": "91c26c2a-1ca6-4784-968e-e7cecebe7aa0", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2366 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0012373", + "display": "diltiazem" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000020881" + }, + { + "system": "http://www.whocc.no/atc", + "code": "C08DB01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003959" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0314-7897" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00343" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4148" + }, + { + "system": "http://loinc.org", + "code": "LP17238-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "197220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00045" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004110" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "EE92BBP03H" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61725" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "30307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "EE92BBP03H" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01CU" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "3443" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7719" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-803A0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372793000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000928" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019722" + } + ], + "text": "Diltiazem" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "300 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "qhs" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 300, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/ed4fe972-3cf5-428d-9e45-792eb0c66d36", + "resource": { + "resourceType": "MedicationStatement", + "id": "ed4fe972-3cf5-428d-9e45-792eb0c66d36", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2389 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0006684", + "display": "Calcium Channel Blockers" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019255" + }, + { + "system": "http://www.whocc.no/atc", + "code": "C08" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002294" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0530-2776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85018769" + }, + { + "system": "http://loinc.org", + "code": "LP31438-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40586" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002121" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07250" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x001i" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7716" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-80160" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "373304005" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021566" + } + ], + "text": "Ca channel blocker" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/b85f49ef-0f04-4f3a-a914-bb0b9a3aa799", + "resource": { + "resourceType": "MedicationStatement", + "id": "b85f49ef-0f04-4f3a-a914-bb0b9a3aa799", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2439 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ], + "text": "Simvistatin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "20 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "qhs" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 20, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/2a086b6f-8266-43f7-911b-3bd0f04975f0", + "resource": { + "resourceType": "MedicationStatement", + "id": "2a086b6f-8266-43f7-911b-3bd0f04975f0", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2452 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0678181", + "display": "Zocor" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000042766" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "5001-0024" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "1546" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D019821" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29454" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000455226" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x03d7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "196503" + } + ], + "text": "Zocor" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "20 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "qhs" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 20, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/5b20883f-b21a-4e6c-83bd-d88d1503d31c", + "resource": { + "resourceType": "MedicationStatement", + "id": "5b20883f-b21a-4e6c-83bd-d88d1503d31c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2470 + }, + { + "url": "length", + "valueInteger": 25 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ], + "text": "HMGCo Reductase inhibitor" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/11912426-8c67-4987-8653-cd6875ae966e", + "resource": { + "resourceType": "MedicationStatement", + "id": "11912426-8c67-4987-8653-cd6875ae966e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2523 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0072973", + "display": "ramipril" + }, + { + "system": "http://www.whocc.no/atc", + "code": "C09AA05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000014736" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00178" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "2347" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh2001004824" + }, + { + "system": "http://loinc.org", + "code": "LP171634-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "48822" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00728" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D017257" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "L35JN3I7SJ" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29411" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C29411" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "32054" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "L35JN3I7SJ" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "003585" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "bi6.." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "35296" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386872004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m73030" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001035" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019562" + } + ], + "text": "Ramipril" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "10 mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "BID" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 10, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/fed47e52-7ce4-4e79-a2c1-2944e811fbb5", + "resource": { + "resourceType": "MedicationStatement", + "id": "fed47e52-7ce4-4e79-a2c1-2944e811fbb5", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2533 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0878061", + "display": "Altace" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000045298" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "315" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D017257" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29411" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02tS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "262418" + } + ], + "text": "Altace" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "10 mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "BID" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 10, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/ef37d1da-0981-4096-83d8-82393c9d53f4", + "resource": { + "resourceType": "MedicationStatement", + "id": "ef37d1da-0981-4096-83d8-82393c9d53f4", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2553 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0003015", + "display": "Angiotensin-Converting Enzyme Inhibitors" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0063008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1037-0850" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85005040" + }, + { + "system": "http://loinc.org", + "code": "LP31444-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41889" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000806" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000335481" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "bi..." + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-80150" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372733002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001019" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021577" + } + ], + "text": "ACEI" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/800f5220-c18e-46d7-b580-949ec90e6c76", + "resource": { + "resourceType": "MedicationStatement", + "id": "800f5220-c18e-46d7-b580-949ec90e6c76", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2620 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0017642", + "display": "glipizide" + }, + { + "system": "http://www.whocc.no/atc", + "code": "A10BB07" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005526" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "4001-0060" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01067" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "588" + }, + { + "system": "http://loinc.org", + "code": "LP14719-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "4783" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005913" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "X7WDT95N5C" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29074" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "X7WDT95N5C" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "000913" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775361" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "f36.." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "4821" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-A2430" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387143009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m35030" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000833" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4018508" + } + ], + "text": "Glipizide" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "5 mg", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "BID" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 5, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/3b1cf1c9-edc0-4937-8994-db7965d87aee", + "resource": { + "resourceType": "MedicationStatement", + "id": "3b1cf1c9-edc0-4937-8994-db7965d87aee", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2652 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0038766", + "display": "Sulfonylurea Compounds" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019645" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000011871" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2841-3410" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh2007001704" + }, + { + "system": "http://loinc.org", + "code": "LP18787-9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "194714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D013453" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM0lF" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XM0lF" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-A2400" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372711004" + } + ], + "text": "sulfonylurea" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/39b88099-2ac9-4c27-ab8f-840fa17a216a", + "resource": { + "resourceType": "MedicationStatement", + "id": "39b88099-2ac9-4c27-ab8f-840fa17a216a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2693 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ], + "text": "Omecprazole" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "20 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 20, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/6d9c9574-a165-4dbe-aa25-1c4f035c3208", + "resource": { + "resourceType": "MedicationStatement", + "id": "6d9c9574-a165-4dbe-aa25-1c4f035c3208", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2706 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0700777", + "display": "Prilosec" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000044880" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "4007-0093" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "363" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009853" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C716" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000042309" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "203345" + } + ], + "text": "Prilosec" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "20 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "daily" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 20, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/355554d3-c37a-4ac1-b128-eab1b84d5339", + "resource": { + "resourceType": "MedicationStatement", + "id": "355554d3-c37a-4ac1-b128-eab1b84d5339", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2739 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0358591", + "display": "Proton Pump Inhibitors" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000031384" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh98006912" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "78902" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D054328" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29723" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C29723" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C29723" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C29723" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C29723" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x00A8" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372525000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001202" + } + ], + "text": "PPI" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/2aa112cf-cfbd-41c6-a5d9-7fc29e0ed998", + "resource": { + "resourceType": "MedicationStatement", + "id": "2aa112cf-cfbd-41c6-a5d9-7fc29e0ed998", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2769 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0060926", + "display": "gabapentin" + }, + { + "system": "http://www.whocc.no/atc", + "code": "N03AX12" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000014062" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "5004-0033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1404" + }, + { + "system": "http://loinc.org", + "code": "LP17989-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "45939" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d03182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000077206" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "6CW7F3G59X" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C1108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "20519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "6CW7F3G59X" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045039" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000038402" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "dnj.." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "25480" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386845007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m34587" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000260" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4020833" + } + ], + "text": "Gabapentin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "qhs" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/80d36574-127d-4d6e-80e8-3107a09254f0", + "resource": { + "resourceType": "MedicationStatement", + "id": "80d36574-127d-4d6e-80e8-3107a09254f0", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2781 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0678176", + "display": "Neurontin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000042761" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "2269" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000077206" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000038402" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02ko" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "196498" + } + ], + "text": "Neurontin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "100 mg", + "timing": { + "repeat": { + "frequency": 1, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "qhs" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 100, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/78f6e05d-ad85-4017-981e-bff1ab2b0050", + "resource": { + "resourceType": "MedicationStatement", + "id": "78f6e05d-ad85-4017-981e-bff1ab2b0050", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2826 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027908", + "display": "Neurotransmitters" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000001930" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008668" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2061-1462" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "302832" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U005833" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85091183" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D018377" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C687" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000458085" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "33924" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-A0306" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "35069000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "67161" + } + ], + "text": "neurotransmitters" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/a61b7774-3f79-4dc7-95bd-e77ecb6c2190", + "resource": { + "resourceType": "MedicationStatement", + "id": "a61b7774-3f79-4dc7-95bd-e77ecb6c2190", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2877 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0025598", + "display": "metformin" + }, + { + "system": "http://www.whocc.no/atc", + "code": "A10BA02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "4007-0083" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00331" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4442" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh2007006278" + }, + { + "system": "http://loinc.org", + "code": "LP33332-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d03807" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008687" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "9100L32L2N" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61612" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C61612" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "9100L32L2N" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000631043" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004534" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01Li" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "6809" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372567009" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4023979" + } + ], + "text": "Metformin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "500 mg", + "timing": { + "code": { + "text": "qam" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 500, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/a9fec74e-aba2-4ff6-bb25-e7b168ce8bd2", + "resource": { + "resourceType": "MedicationStatement", + "id": "a9fec74e-aba2-4ff6-bb25-e7b168ce8bd2", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2900 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3537187", + "display": "Biguanide [EPC]" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/med-rt", + "code": "N0000175565" + } + ], + "text": "biguanide" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/120e90bd-ed25-4cac-856f-179b5c65170f", + "resource": { + "resourceType": "MedicationStatement", + "id": "120e90bd-ed25-4cac-856f-179b5c65170f", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2935 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0004057", + "display": "aspirin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000028840" + }, + { + "system": "http://www.whocc.no/atc", + "code": "B01AC06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0061721" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001530" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2387" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00945" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "181" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85008731" + }, + { + "system": "http://loinc.org", + "code": "LA26702-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40170" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00170" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001241" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000320" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "R16CO5Y76E" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00739" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0406186" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "R16CO5Y76E" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "001587" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000039152" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "04050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02LX" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1191" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7771" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-60320" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387458008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m6240" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017536" + } + ], + "text": "Aspirin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "81 mg", + "timing": { + "code": { + "text": "qam" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 81, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/0bdc0029-b6bf-4889-b74a-f560f015f0a4", + "resource": { + "resourceType": "MedicationStatement", + "id": "0bdc0029-b6bf-4889-b74a-f560f015f0a4", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2955 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0199176", + "display": "Prophylactic treatment" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000007872" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000019720" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "4006-0079" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v3.0", + "code": "IND03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A49004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006559" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10036898" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "344890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1597" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U002727" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C15843" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "PROT-SPURPRS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc-gloss", + "code": "C15843" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C15843" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C15843" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000439419" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-hl7", + "code": "C15843" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000572422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pnds", + "code": "Im.260" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "40290" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X74V4" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P2-00120" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "169443000" + } + ], + "text": "prophylaxis" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/ef9816de-4406-42e4-8256-f0e08e55673a", + "resource": { + "resourceType": "MedicationStatement", + "id": "ef9816de-4406-42e4-8256-f0e08e55673a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2984 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0082607", + "display": "fluticasone" + }, + { + "system": "http://www.whocc.no/atc", + "code": "R01AD08" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000015373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB13867" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d01296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000068298" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "CUT2W21N7U" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61767" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "CUT2W21N7U" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004952" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01NN" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "41126" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "397192001" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4020529" + } + ], + "text": "Fluticasone" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "2 puff", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "bid" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 2 + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/47c9f435-7105-4bf4-a91f-5fe2b1531ddf", + "resource": { + "resourceType": "MedicationStatement", + "id": "47c9f435-7105-4bf4-a91f-5fe2b1531ddf", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 2997 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0720466", + "display": "Flovent" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000045741" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "6201" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000068298" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29061" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000682628" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "217152" + } + ], + "text": "Flovent" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "2 puff", + "timing": { + "repeat": { + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "bid" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 2 + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/3b60bc7b-d89a-4217-a156-7e0a4c58a17d", + "resource": { + "resourceType": "MedicationStatement", + "id": "3b60bc7b-d89a-4217-a156-7e0a4c58a17d", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3019 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0001617", + "display": "Adrenal Cortex Hormones" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000018706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000762" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0059-5614" + }, + { + "system": "http://loinc.org", + "code": "LP31653-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "4557" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000305" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045658" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "00990" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x002V" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8510" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-B2400" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "21568003" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021625" + } + ], + "text": "corticosteroid" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationStatement/f5a42dd7-e1aa-4549-afd4-652408f71ad4", + "resource": { + "resourceType": "MedicationStatement", + "id": "f5a42dd7-e1aa-4549-afd4-652408f71ad4", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3068 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ], + "text": "xoperex" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "1.25mg", + "doseAndRate": [ + { + "doseQuantity": { + "value": 1.25 + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/09d88421-e13a-483b-b248-69ec48ea62e8", + "resource": { + "resourceType": "MedicationStatement", + "id": "09d88421-e13a-483b-b248-69ec48ea62e8", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3087 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027235", + "display": "ipratropium" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008455" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00332" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4326" + }, + { + "system": "http://loinc.org", + "code": "LP171404-9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00265" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009241" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "GR88G0I6UL" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61794" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "GR88G0I6UL" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004943" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01Db" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "7213" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372518007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019791" + } + ], + "text": "Ipratropium" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosage": [ + { + "text": "2.5 ml", + "timing": { + "code": { + "text": "qam" + } + }, + "route": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3106 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "nebulized" + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 2.5, + "unit": "ml" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationStatement/576842f8-f7bd-44e1-93f0-a154ae649784", + "resource": { + "resourceType": "MedicationStatement", + "id": "576842f8-f7bd-44e1-93f0-a154ae649784", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3122 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0242896", + "display": "Anticholinergic Agents" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000028632" + }, + { + "system": "http://www.whocc.no/atc", + "code": "N04A" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000025026" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2059-1068" + }, + { + "system": "http://loinc.org", + "code": "LP31390-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41065" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D018680" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C66880" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "03070" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01DM" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7540" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-67300" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "373246003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU002579" + } + ], + "text": "anticholinergic" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "context": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/c5490e7d-7447-4f89-8a7d-9871439d55e7", + "resource": { + "resourceType": "List", + "id": "c5490e7d-7447-4f89-8a7d-9871439d55e7", + "status": "current", + "mode": "snapshot", + "title": "Medications", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationStatement/0696ae07-5bb9-41c1-88d8-742cadc02a77", + "type": "MedicationStatement", + "display": "Theophyline" + } + }, + { + "item": { + "reference": "MedicationStatement/1896181a-2e1c-4d04-a301-15bd59774671", + "type": "MedicationStatement", + "display": "Uniphyl" + } + }, + { + "item": { + "reference": "MedicationStatement/94b47859-467e-413b-a235-37e2e97081e2", + "type": "MedicationStatement", + "display": "bronchodilator" + } + }, + { + "item": { + "reference": "MedicationStatement/da88a9d9-cebc-4c35-b759-a64405a0030a", + "type": "MedicationStatement", + "display": "cAMP" + } + }, + { + "item": { + "reference": "MedicationStatement/91c26c2a-1ca6-4784-968e-e7cecebe7aa0", + "type": "MedicationStatement", + "display": "Diltiazem" + } + }, + { + "item": { + "reference": "MedicationStatement/ed4fe972-3cf5-428d-9e45-792eb0c66d36", + "type": "MedicationStatement", + "display": "Ca channel blocker" + } + }, + { + "item": { + "reference": "MedicationStatement/b85f49ef-0f04-4f3a-a914-bb0b9a3aa799", + "type": "MedicationStatement", + "display": "Simvistatin" + } + }, + { + "item": { + "reference": "MedicationStatement/2a086b6f-8266-43f7-911b-3bd0f04975f0", + "type": "MedicationStatement", + "display": "Zocor" + } + }, + { + "item": { + "reference": "MedicationStatement/5b20883f-b21a-4e6c-83bd-d88d1503d31c", + "type": "MedicationStatement", + "display": "HMGCo Reductase inhibitor" + } + }, + { + "item": { + "reference": "MedicationStatement/11912426-8c67-4987-8653-cd6875ae966e", + "type": "MedicationStatement", + "display": "Ramipril" + } + }, + { + "item": { + "reference": "MedicationStatement/fed47e52-7ce4-4e79-a2c1-2944e811fbb5", + "type": "MedicationStatement", + "display": "Altace" + } + }, + { + "item": { + "reference": "MedicationStatement/ef37d1da-0981-4096-83d8-82393c9d53f4", + "type": "MedicationStatement", + "display": "ACEI" + } + }, + { + "item": { + "reference": "MedicationStatement/800f5220-c18e-46d7-b580-949ec90e6c76", + "type": "MedicationStatement", + "display": "Glipizide" + } + }, + { + "item": { + "reference": "MedicationStatement/3b1cf1c9-edc0-4937-8994-db7965d87aee", + "type": "MedicationStatement", + "display": "sulfonylurea" + } + }, + { + "item": { + "reference": "MedicationStatement/39b88099-2ac9-4c27-ab8f-840fa17a216a", + "type": "MedicationStatement", + "display": "Omecprazole" + } + }, + { + "item": { + "reference": "MedicationStatement/6d9c9574-a165-4dbe-aa25-1c4f035c3208", + "type": "MedicationStatement", + "display": "Prilosec" + } + }, + { + "item": { + "reference": "MedicationStatement/355554d3-c37a-4ac1-b128-eab1b84d5339", + "type": "MedicationStatement", + "display": "PPI" + } + }, + { + "item": { + "reference": "MedicationStatement/2aa112cf-cfbd-41c6-a5d9-7fc29e0ed998", + "type": "MedicationStatement", + "display": "Gabapentin" + } + }, + { + "item": { + "reference": "MedicationStatement/80d36574-127d-4d6e-80e8-3107a09254f0", + "type": "MedicationStatement", + "display": "Neurontin" + } + }, + { + "item": { + "reference": "MedicationStatement/78f6e05d-ad85-4017-981e-bff1ab2b0050", + "type": "MedicationStatement", + "display": "neurotransmitters" + } + }, + { + "item": { + "reference": "MedicationStatement/a61b7774-3f79-4dc7-95bd-e77ecb6c2190", + "type": "MedicationStatement", + "display": "Metformin" + } + }, + { + "item": { + "reference": "MedicationStatement/a9fec74e-aba2-4ff6-bb25-e7b168ce8bd2", + "type": "MedicationStatement", + "display": "biguanide" + } + }, + { + "item": { + "reference": "MedicationStatement/120e90bd-ed25-4cac-856f-179b5c65170f", + "type": "MedicationStatement", + "display": "Aspirin" + } + }, + { + "item": { + "reference": "MedicationStatement/0bdc0029-b6bf-4889-b74a-f560f015f0a4", + "type": "MedicationStatement", + "display": "prophylaxis" + } + }, + { + "item": { + "reference": "MedicationStatement/ef9816de-4406-42e4-8256-f0e08e55673a", + "type": "MedicationStatement", + "display": "Fluticasone" + } + }, + { + "item": { + "reference": "MedicationStatement/47c9f435-7105-4bf4-a91f-5fe2b1531ddf", + "type": "MedicationStatement", + "display": "Flovent" + } + }, + { + "item": { + "reference": "MedicationStatement/3b60bc7b-d89a-4217-a156-7e0a4c58a17d", + "type": "MedicationStatement", + "display": "corticosteroid" + } + }, + { + "item": { + "reference": "MedicationStatement/f5a42dd7-e1aa-4549-afd4-652408f71ad4", + "type": "MedicationStatement", + "display": "xoperex" + } + }, + { + "item": { + "reference": "MedicationStatement/09d88421-e13a-483b-b248-69ec48ea62e8", + "type": "MedicationStatement", + "display": "Ipratropium" + } + }, + { + "item": { + "reference": "MedicationStatement/576842f8-f7bd-44e1-93f0-a154ae649784", + "type": "MedicationStatement", + "display": "anticholinergic" + } + } + ] + } + }, + { + "fullUrl": "Observation/3e34ed2e-c918-436e-a335-5b6a75fe70aa", + "resource": { + "resourceType": "Observation", + "id": "3e34ed2e-c918-436e-a335-5b6a75fe70aa", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3207 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C2051415", + "display": "patient appears in no acute distress (physical finding)" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "10024" + } + ], + "text": "NAD" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/253cebde-c965-442b-87f3-0af428fc5148", + "resource": { + "resourceType": "Observation", + "id": "253cebde-c965-442b-87f3-0af428fc5148", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3231 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0424578", + "display": "Psychological Well Being" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000033352" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10038430" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A29003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "200803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76AV" + }, + { + "system": "http://snomed.info/sct", + "code": "F-90100" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-90001" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "17326005" + } + ], + "text": "feeling well" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "effectiveTiming": { + "repeat": { + "duration": 1, + "durationUnit": "wk" + }, + "code": { + "text": "last couple of weeks" + } + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Procedure/551e9b17-9ec7-4573-81f0-1814fe19b546", + "resource": { + "resourceType": "Procedure", + "id": "551e9b17-9ec7-4573-81f0-1814fe19b546", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3336 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "completed", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015421", + "display": "Eyeglasses" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004833" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1114-9182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001718" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046700" + }, + { + "system": "http://loinc.org", + "code": "LA14749-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "201" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005139" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C87148" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XC0Sy" + }, + { + "system": "http://snomed.info/sct", + "code": "E-9076" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "A-04242" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "50121007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/umd", + "code": "11-667" + } + ], + "text": "glasses" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_performedDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3271 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015392", + "display": "Eye" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0057369" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004810" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1107-6922" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "12513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "EYE" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s220" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "F" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046642" + }, + { + "system": "http://loinc.org", + "code": "LP7218-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003284" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000350235" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "18890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X74in" + }, + { + "system": "http://snomed.info/sct", + "code": "T-XX000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-AA000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "81745001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "12513" + } + ], + "text": "Eyes" + } + ] + } + }, + { + "fullUrl": "Observation/86c3eb9a-e737-4568-ad49-2550f35dc12c", + "resource": { + "resourceType": "Observation", + "id": "86c3eb9a-e737-4568-ad49-2550f35dc12c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3281 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0750280", + "display": "Visual changes" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1016186" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000048290" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C157424" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C157424" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C157424" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU023886" + } + ], + "text": "changes in vision" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3271 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015392", + "display": "Eye" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0057369" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004810" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1107-6922" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "12513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "EYE" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s220" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "F" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046642" + }, + { + "system": "http://loinc.org", + "code": "LP7218-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003284" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000350235" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "18890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X74in" + }, + { + "system": "http://snomed.info/sct", + "code": "T-XX000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-AA000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "81745001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "12513" + } + ], + "text": "Eyes" + } + } + }, + { + "fullUrl": "Observation/d7bc83e8-0908-41c3-abae-3c338f0ed859", + "resource": { + "resourceType": "Observation", + "id": "d7bc83e8-0908-41c3-abae-3c338f0ed859", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3300 + }, + { + "url": "length", + "valueInteger": 13 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0012569", + "display": "Diplopia" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015206" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "240" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1114-9612" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DIPLOPIA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000977" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000651" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "H53.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "H53.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "H53.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "368.2" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU023244" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "F05002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001412" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85038207" + }, + { + "system": "http://loinc.org", + "code": "LA15082-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013036" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004172" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "368.2" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C37941" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C37941" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "061815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000786" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "F482." + }, + { + "system": "http://snomed.info/sct", + "code": "F-X0910" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-74510" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "24982008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0241" + } + ], + "text": "double vision" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3271 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015392", + "display": "Eye" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0057369" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004810" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1107-6922" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "12513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "EYE" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s220" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "F" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046642" + }, + { + "system": "http://loinc.org", + "code": "LP7218-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003284" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000350235" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "18890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X74in" + }, + { + "system": "http://snomed.info/sct", + "code": "T-XX000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-AA000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "81745001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "12513" + } + ], + "text": "Eyes" + } + } + }, + { + "fullUrl": "Observation/376f221f-bc87-476e-b170-75da91f2f1d1", + "resource": { + "resourceType": "Observation", + "id": "376f221f-bc87-476e-b170-75da91f2f1d1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3315 + }, + { + "url": "length", + "valueInteger": 13 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0344232", + "display": "Blurred vision" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004409" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015212" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000030921" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "114" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "AMBLYOPIA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U004389" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000622" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU081137" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "F05011" + }, + { + "system": "http://loinc.org", + "code": "LA15105-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10047513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "111364" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "368.8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00154" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C27123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10346" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2137" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C27123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "211107" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000785" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X75bT" + }, + { + "system": "http://snomed.info/sct", + "code": "F-X0230" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DA-74404" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "246636008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0257" + } + ], + "text": "blurry vision" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3271 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015392", + "display": "Eye" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0057369" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004810" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1107-6922" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "12513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "EYE" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s220" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "F" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046642" + }, + { + "system": "http://loinc.org", + "code": "LP7218-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003284" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000350235" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "18890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X74in" + }, + { + "system": "http://snomed.info/sct", + "code": "T-XX000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-AA000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "81745001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "12513" + } + ], + "text": "Eyes" + } + } + }, + { + "fullUrl": "Procedure/5f1910e3-8f69-4406-bf18-52114fa9da49", + "resource": { + "resourceType": "Procedure", + "id": "5f1910e3-8f69-4406-bf18-52114fa9da49", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-procedure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3401 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "not-done", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0018768", + "display": "Hearing Aids" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1003291" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005855" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0977-5562" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85059616" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "74541" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "5216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "003359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "22430" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X79ms" + }, + { + "system": "http://snomed.info/sct", + "code": "E-9078" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "A-04236" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "6012004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/umd", + "code": "11-967" + } + ], + "text": "hearing aids" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_performedDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + } + } + }, + { + "fullUrl": "Observation/d2519fed-9fec-4625-84c1-4158e3c30c03", + "resource": { + "resourceType": "Observation", + "id": "d2519fed-9fec-4625-84c1-4158e3c30c03", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3355 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0700148", + "display": "Congestion" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0059352" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000044675" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006373" + }, + { + "system": "http://snomed.info/sct", + "code": "M-36100" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-36100" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "85804007" + } + ], + "text": "congestion" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ] + } + }, + { + "fullUrl": "Observation/6d5b8757-7d34-48f6-899b-a2ddb23e143b", + "resource": { + "resourceType": "Observation", + "id": "6d5b8757-7d34-48f6-899b-a2ddb23e143b", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3367 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0429199", + "display": "Hearing change" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000033984" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C5037" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X77Ga" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "251358005" + } + ], + "text": "changes in hearing" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ] + } + }, + { + "fullUrl": "Observation/e133ef4e-1c5a-4547-aec6-438d9b23d436", + "resource": { + "resourceType": "Observation", + "id": "e133ef4e-1c5a-4547-aec6-438d9b23d436", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3433 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015230", + "display": "Exanthema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000022958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00609" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014681" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "RASH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000988" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU027334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001699" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046091" + }, + { + "system": "http://loinc.org", + "code": "LA29194-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037844" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "273176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005076" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01533" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM07J" + }, + { + "system": "http://snomed.info/sct", + "code": "M-48400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-01710" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "271807003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0028" + } + ], + "text": "rashes" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3416 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1123023", + "display": "Skin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0012516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000054821" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2716-0373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "S" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85123164" + }, + { + "system": "http://loinc.org", + "code": "LP76007-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012867" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "47720" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N7.." + }, + { + "system": "http://snomed.info/sct", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39937001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7163" + } + ], + "text": "Skin" + } + } + }, + { + "fullUrl": "Observation/e76cf3ad-8865-48a9-a98f-b5b407ac13dc", + "resource": { + "resourceType": "Observation", + "id": "e76cf3ad-8865-48a9-a98f-b5b407ac13dc", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3462 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0013404", + "display": "Dyspnea" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005442" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015304" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "266" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2596-2296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DYSPNEA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002094" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R06.02" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10029433" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R02" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU024507" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R02007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85040344" + }, + { + "system": "http://loinc.org", + "code": "LP115812-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013968" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "115876" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00495" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1816" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000046183" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "042109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU037132" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000598319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "15680" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qq" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0qq" + }, + { + "system": "http://snomed.info/sct", + "code": "F-75040" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-20040" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "267036007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0514" + } + ], + "text": "SOB" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3442 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007226", + "display": "Cardiovascular system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0581-0263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7161" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s4109" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s4109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "K" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85020226" + }, + { + "system": "http://loinc.org", + "code": "LP7118-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044194" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07650" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0eK" + }, + { + "system": "http://snomed.info/sct", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113257007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7161" + } + ], + "text": "Cardiovascular" + } + } + }, + { + "fullUrl": "Observation/90b731c6-65b4-4d7b-9606-dafad24a3ae7", + "resource": { + "resourceType": "Observation", + "id": "90b731c6-65b4-4d7b-9606-dafad24a3ae7", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3467 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0008031", + "display": "Chest Pain" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017850" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "7.2.5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "CIR012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "CIR012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002750" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "171" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PAIN CHEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000673" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0100749" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R07.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R07.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R07.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.50" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "b28011" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "b28011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A11" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU059497" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A11001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000942" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85023146" + }, + { + "system": "http://loinc.org", + "code": "LP98885-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10008479" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "33722" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "4744" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002637" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "172" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00204" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C38665" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000467223" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C38665" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU025178" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "182.." + }, + { + "system": "http://snomed.info/sct", + "code": "F-71400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-37000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "29857009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0718" + } + ], + "text": "chest pain" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3442 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007226", + "display": "Cardiovascular system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0581-0263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7161" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s4109" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s4109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "K" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85020226" + }, + { + "system": "http://loinc.org", + "code": "LP7118-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044194" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07650" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0eK" + }, + { + "system": "http://snomed.info/sct", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113257007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7161" + } + ], + "text": "Cardiovascular" + } + } + }, + { + "fullUrl": "Observation/8583135b-71e0-45d3-a63b-35dd2cc109a3", + "resource": { + "resourceType": "Observation", + "id": "8583135b-71e0-45d3-a63b-35dd2cc109a3", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3479 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030252", + "display": "Palpitations" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005344" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00127" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015583" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009205" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "549" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PALPITAT" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U003002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001962" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R00.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R00.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R00.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "785.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU057058" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K04013" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006546" + }, + { + "system": "http://loinc.org", + "code": "LA16997-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10033557" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "341" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00866" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C37999" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2467" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000476561" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C37999" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "211304" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005271" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200190" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qv" + }, + { + "system": "http://snomed.info/sct", + "code": "F-71550" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-37150" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "80313002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0221" + } + ], + "text": "heart palpitations" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3442 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007226", + "display": "Cardiovascular system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0581-0263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7161" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s4109" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s4109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "K" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85020226" + }, + { + "system": "http://loinc.org", + "code": "LP7118-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044194" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07650" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0eK" + }, + { + "system": "http://snomed.info/sct", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113257007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7161" + } + ], + "text": "Cardiovascular" + } + } + }, + { + "fullUrl": "Observation/78ff086b-a716-4df7-b433-71bb2afe7b9a", + "resource": { + "resourceType": "Observation", + "id": "78ff086b-a716-4df7-b433-71bb2afe7b9a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3512 + }, + { + "url": "length", + "valueInteger": 20 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "hard to get a breath" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3500 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024109", + "display": "Lung" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2612-7088" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7195" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "LUNG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s43019" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s43019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85078891" + }, + { + "system": "http://loinc.org", + "code": "LP7407-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008168" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000270740" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU016106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "28960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N225" + }, + { + "system": "http://snomed.info/sct", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39607008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7195" + } + ], + "text": "Pulmonary" + } + } + }, + { + "fullUrl": "Observation/7f974b47-3247-4f24-84db-d01683103ffd", + "resource": { + "resourceType": "Observation", + "id": "7f974b47-3247-4f24-84db-d01683103ffd", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3544 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0013404", + "display": "Dyspnea" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005442" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015304" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "266" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2596-2296" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "DYSPNEA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002094" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "R06.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R06.02" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10029433" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R02" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU024507" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R02007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85040344" + }, + { + "system": "http://loinc.org", + "code": "LP115812-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10013968" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "115876" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3077" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000486" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00495" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1816" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000046183" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "042109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU037132" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000598319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "15680" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qq" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0qq" + }, + { + "system": "http://snomed.info/sct", + "code": "F-75040" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-20040" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "267036007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0514" + } + ], + "text": "short of breath" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3500 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024109", + "display": "Lung" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2612-7088" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7195" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "LUNG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s43019" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s43019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85078891" + }, + { + "system": "http://loinc.org", + "code": "LP7407-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008168" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000270740" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU016106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "28960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N225" + }, + { + "system": "http://snomed.info/sct", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39607008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7195" + } + ], + "text": "Pulmonary" + } + } + }, + { + "fullUrl": "Observation/f9495fde-c9f1-463b-a0a7-fd5d8df105db", + "resource": { + "resourceType": "Observation", + "id": "f9495fde-c9f1-463b-a0a7-fd5d8df105db", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3564 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0010200", + "display": "Coughing" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000000620" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00179" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017295" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003404" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "212" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2616-8354" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "COUGH INC" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000880" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0012735" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R05" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R05" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R05" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10047143" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R05" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU035357" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R05004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001180" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85033394" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10011224" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1543" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003371" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00259" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C37935" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13364" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "4457" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C37935" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C37935" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "101020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU015709" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "28.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200085" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qn" + }, + { + "system": "http://snomed.info/sct", + "code": "F-75860" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-24100" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "263731006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0513" + } + ], + "text": "cough" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3500 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024109", + "display": "Lung" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2612-7088" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7195" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "LUNG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s43019" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s43019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85078891" + }, + { + "system": "http://loinc.org", + "code": "LP7407-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008168" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000270740" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU016106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "28960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N225" + }, + { + "system": "http://snomed.info/sct", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39607008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7195" + } + ], + "text": "Pulmonary" + } + } + }, + { + "fullUrl": "Observation/9b2916fd-6254-4175-84f9-980b53c1a581", + "resource": { + "resourceType": "Observation", + "id": "9b2916fd-6254-4175-84f9-980b53c1a581", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3587 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0426587", + "display": "Altered appetite" + }, + { + "system": "http://loinc.org", + "code": "LP149971-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "283428" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00120" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "210814" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76cN" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "249473004" + } + ], + "text": "changes in appetite" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3572 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0014136", + "display": "Endocrine system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004451" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1025-5280" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ENDO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "9668" + }, + { + "system": "http://loinc.org", + "code": "LP7203-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "23" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004703" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12705" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000468796" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12705" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "17360" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0sd" + }, + { + "system": "http://snomed.info/sct", + "code": "T-90000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-B0000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113331007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "9668" + } + ], + "text": "Endocrine" + } + } + }, + { + "fullUrl": "Observation/92f5d484-e6e2-4698-bb3e-63d89a9d2e33", + "resource": { + "resourceType": "Observation", + "id": "92f5d484-e6e2-4698-bb3e-63d89a9d2e33", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3632 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "n/v" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3609 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0521362", + "display": "gastrointestinal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00029" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0003081" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037933" + }, + { + "system": "http://loinc.org", + "code": "LP89777-4" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_edqm-hc", + "code": "0107" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045692" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000224" + }, + { + "system": "http://snomed.info/sct", + "code": "T-63950" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-50100" + } + ], + "text": "Gastro Intestinal" + } + } + }, + { + "fullUrl": "Observation/79d799ad-f74d-46a3-929e-0090d6984d1a", + "resource": { + "resourceType": "Observation", + "id": "79d799ad-f74d-46a3-929e-0090d6984d1a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3636 + }, + { + "url": "length", + "valueInteger": 1 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "d" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3609 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0521362", + "display": "gastrointestinal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00029" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0003081" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037933" + }, + { + "system": "http://loinc.org", + "code": "LP89777-4" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_edqm-hc", + "code": "0107" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045692" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000224" + }, + { + "system": "http://snomed.info/sct", + "code": "T-63950" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-50100" + } + ], + "text": "Gastro Intestinal" + } + } + }, + { + "fullUrl": "Observation/5ffe685d-99e6-4f20-ac90-25ad471da47b", + "resource": { + "resourceType": "Observation", + "id": "5ffe685d-99e6-4f20-ac90-25ad471da47b", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3641 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0009806", + "display": "Constipation" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00230" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "B03.6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015408" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "9.12.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "200" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65231" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1248-3977" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CONSTIP" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000845" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002019" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "K59.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "K59.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "K59.00" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "564.00" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10000567" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "D12" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "D12" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU018925" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "D12001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001143" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85031314" + }, + { + "system": "http://loinc.org", + "code": "MTHU020768" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10010774" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "230057" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "200" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003248" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00011" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C37930" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E10562" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "3274" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000407757" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C37930" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060708" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU001907" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_01000.06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "11440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200081" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0rD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0rD" + }, + { + "system": "http://snomed.info/sct", + "code": "F-62350" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D5-44010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "14760008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0204" + } + ], + "text": "constipation" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3609 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0521362", + "display": "gastrointestinal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00029" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0003081" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037933" + }, + { + "system": "http://loinc.org", + "code": "LP89777-4" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_edqm-hc", + "code": "0107" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045692" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000224" + }, + { + "system": "http://snomed.info/sct", + "code": "T-63950" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-50100" + } + ], + "text": "Gastro Intestinal" + } + } + }, + { + "fullUrl": "Observation/8f7c069c-f87b-42ac-96d4-654755030629", + "resource": { + "resourceType": "Observation", + "id": "8f7c069c-f87b-42ac-96d4-654755030629", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3683 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0566355", + "display": "Ability to swallow" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000039992" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "230310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa4JU" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "288935001" + } + ], + "text": "swallow" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3609 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0521362", + "display": "gastrointestinal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00029" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0003081" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037933" + }, + { + "system": "http://loinc.org", + "code": "LP89777-4" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_edqm-hc", + "code": "0107" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045692" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C13359" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000224" + }, + { + "system": "http://snomed.info/sct", + "code": "T-63950" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-50100" + } + ], + "text": "Gastro Intestinal" + } + } + }, + { + "fullUrl": "Condition/39be6604-7644-4c14-abb0-afdf13bc42dd", + "resource": { + "resourceType": "Condition", + "id": "39be6604-7644-4c14-abb0-afdf13bc42dd", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3775 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0150045", + "display": "Urge Incontinence" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "T49.5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0035383" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000016767" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65360" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "N39.41" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "788.31" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10026811" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU037816" + }, + { + "system": "http://loinc.org", + "code": "MTHU013458" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10046494" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "37679" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D053202" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "050335" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU065978" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_20000.05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "1A26." + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-0A670" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "87557004" + } + ], + "text": "urge incontinence" + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3708 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3887515", + "display": "Genitourinary" + }, + { + "system": "http://loinc.org", + "code": "LP89778-2" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000003" + } + ], + "text": "Genito Urinary" + } + ], + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "note": [ + { + "text": "Some" + } + ] + } + }, + { + "fullUrl": "Condition/f29183a3-bc63-4c6d-9994-057343f0566f", + "resource": { + "resourceType": "Condition", + "id": "f29183a3-bc63-4c6d-9994-057343f0566f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3811 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0033377", + "display": "Ptosis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1015620" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000010175" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "627" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U003258" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU062684" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006562" + }, + { + "system": "http://loinc.org", + "code": "LA9244-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10076708" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D011391" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000308" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C36173" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C36173" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C36173" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XC0Au" + }, + { + "system": "http://snomed.info/sct", + "code": "M-31050" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-31050" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "29696001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0142" + } + ], + "text": "prolapse" + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3708 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3887515", + "display": "Genitourinary" + }, + { + "system": "http://loinc.org", + "code": "LP89778-2" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000003" + } + ], + "text": "Genito Urinary" + } + ], + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/2f75e452-014c-4d08-87db-036d02aa4612", + "resource": { + "resourceType": "Observation", + "id": "2f75e452-014c-4d08-87db-036d02aa4612", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3728 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "increased frequency" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3708 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3887515", + "display": "Genitourinary" + }, + { + "system": "http://loinc.org", + "code": "LP89778-2" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000003" + } + ], + "text": "Genito Urinary" + } + } + }, + { + "fullUrl": "Observation/f50e8925-4c59-498a-b26d-8cdd24611fba", + "resource": { + "resourceType": "Observation", + "id": "f50e8925-4c59-498a-b26d-8cdd24611fba", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3751 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030193", + "display": "Pain" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002779" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00754" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "Q63.0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0035760" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "548" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65336" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2683-4824" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PAIN" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0012531" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R52.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R52.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R52" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "338-338.99" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "b280-b289" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "b280-b289" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10023130" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU059479" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A29020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003436" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85096617" + }, + { + "system": "http://loinc.org", + "code": "MTHU029813" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10033371" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "283263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "351" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010146" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "306" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.96" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01394" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11167" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1994" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "200714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU033713" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "24" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_17010.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000041399" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pnds", + "code": "NP.405" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "36150" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa07F" + }, + { + "system": "http://snomed.info/sct", + "code": "F-82600" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-A2600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "22253000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0730" + } + ], + "text": "pain" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3708 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3887515", + "display": "Genitourinary" + }, + { + "system": "http://loinc.org", + "code": "LP89778-2" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25350" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000003" + } + ], + "text": "Genito Urinary" + } + } + }, + { + "fullUrl": "List/cd98589b-54af-4d9f-8fa7-f0ac32bd4df0", + "resource": { + "resourceType": "List", + "id": "cd98589b-54af-4d9f-8fa7-f0ac32bd4df0", + "status": "current", + "mode": "snapshot", + "title": "Review of Systems", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/3e34ed2e-c918-436e-a335-5b6a75fe70aa", + "type": "Observation", + "display": "NAD" + } + }, + { + "item": { + "reference": "Observation/253cebde-c965-442b-87f3-0af428fc5148", + "type": "Observation", + "display": "feeling well" + } + }, + { + "item": { + "reference": "Procedure/551e9b17-9ec7-4573-81f0-1814fe19b546", + "type": "Procedure", + "display": "glasses" + } + }, + { + "item": { + "reference": "Observation/86c3eb9a-e737-4568-ad49-2550f35dc12c", + "type": "Observation", + "display": "changes in vision" + } + }, + { + "item": { + "reference": "Observation/d7bc83e8-0908-41c3-abae-3c338f0ed859", + "type": "Observation", + "display": "double vision" + } + }, + { + "item": { + "reference": "Observation/376f221f-bc87-476e-b170-75da91f2f1d1", + "type": "Observation", + "display": "blurry vision" + } + }, + { + "item": { + "reference": "Procedure/5f1910e3-8f69-4406-bf18-52114fa9da49", + "type": "Procedure", + "display": "hearing aids" + } + }, + { + "item": { + "reference": "Observation/d2519fed-9fec-4625-84c1-4158e3c30c03", + "type": "Observation", + "display": "congestion" + } + }, + { + "item": { + "reference": "Observation/6d5b8757-7d34-48f6-899b-a2ddb23e143b", + "type": "Observation", + "display": "changes in hearing" + } + }, + { + "item": { + "reference": "Observation/e133ef4e-1c5a-4547-aec6-438d9b23d436", + "type": "Observation", + "display": "rashes" + } + }, + { + "item": { + "reference": "Observation/e76cf3ad-8865-48a9-a98f-b5b407ac13dc", + "type": "Observation", + "display": "SOB" + } + }, + { + "item": { + "reference": "Observation/90b731c6-65b4-4d7b-9606-dafad24a3ae7", + "type": "Observation", + "display": "chest pain" + } + }, + { + "item": { + "reference": "Observation/8583135b-71e0-45d3-a63b-35dd2cc109a3", + "type": "Observation", + "display": "heart palpitations" + } + }, + { + "item": { + "reference": "Observation/78ff086b-a716-4df7-b433-71bb2afe7b9a", + "type": "Observation", + "display": "hard to get a breath" + } + }, + { + "item": { + "reference": "Observation/7f974b47-3247-4f24-84db-d01683103ffd", + "type": "Observation", + "display": "short of breath" + } + }, + { + "item": { + "reference": "Observation/f9495fde-c9f1-463b-a0a7-fd5d8df105db", + "type": "Observation", + "display": "cough" + } + }, + { + "item": { + "reference": "Observation/9b2916fd-6254-4175-84f9-980b53c1a581", + "type": "Observation", + "display": "changes in appetite" + } + }, + { + "item": { + "reference": "Observation/92f5d484-e6e2-4698-bb3e-63d89a9d2e33", + "type": "Observation", + "display": "n/v" + } + }, + { + "item": { + "reference": "Observation/79d799ad-f74d-46a3-929e-0090d6984d1a", + "type": "Observation", + "display": "d" + } + }, + { + "item": { + "reference": "Observation/5ffe685d-99e6-4f20-ac90-25ad471da47b", + "type": "Observation", + "display": "constipation" + } + }, + { + "item": { + "reference": "Observation/8f7c069c-f87b-42ac-96d4-654755030629", + "type": "Observation", + "display": "swallow" + } + }, + { + "item": { + "reference": "Condition/39be6604-7644-4c14-abb0-afdf13bc42dd", + "type": "Condition", + "display": "urge incontinence" + } + }, + { + "item": { + "reference": "Condition/f29183a3-bc63-4c6d-9994-057343f0566f", + "type": "Condition", + "display": "prolapse" + } + }, + { + "item": { + "reference": "Observation/2f75e452-014c-4d08-87db-036d02aa4612", + "type": "Observation", + "display": "increased frequency" + } + }, + { + "item": { + "reference": "Observation/f50e8925-4c59-498a-b26d-8cdd24611fba", + "type": "Observation", + "display": "pain" + } + } + ] + } + }, + { + "fullUrl": "Observation/6d6344e6-464a-4652-a6dc-f20c2a3869d6", + "resource": { + "resourceType": "Observation", + "id": "6d6344e6-464a-4652-a6dc-f20c2a3869d6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-body-temperature" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3859 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0005903", + "display": "Body Temperature" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000001730" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1009832" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "32861" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4249" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "b5500" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "b5500" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU073659" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000633" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85015255" + }, + { + "system": "http://loinc.org", + "code": "MTHU061731" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "6288" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001831" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U001749" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C174446" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-VSTESTCD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "200704" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "06500" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa085" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386725007" + }, + { + "system": "http://loinc.org", + "code": "8310-5", + "display": "Body temperature" + } + ], + "text": "Temp" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 35.9, + "unit": "celsius", + "system": "http://unitsofmeasure.org", + "code": "Cel" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/38f84639-0240-4b1e-a6da-22f079a5dc3d", + "resource": { + "resourceType": "Observation", + "id": "38f84639-0240-4b1e-a6da-22f079a5dc3d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-heart-rate" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3871 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0034107", + "display": "Pulse taking" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K33.3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000010407" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85109028" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "306388" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D011674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003399" + }, + { + "system": "http://snomed.info/sct", + "code": "P-Y101" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "PA-00510" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "65653002" + }, + { + "system": "http://loinc.org", + "code": "8867-4", + "display": "Heart rate" + } + ], + "text": "Pulse" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 76, + "unit": "per minute", + "system": "http://unitsofmeasure.org", + "code": "/min" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/accba11a-ad34-462f-b16a-174afe057995", + "resource": { + "resourceType": "Observation", + "id": "accba11a-ad34-462f-b16a-174afe057995", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-pulse-oximetry" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3882 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030054", + "display": "oxygen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000001289" + }, + { + "system": "http://www.whocc.no/atc", + "code": "V03AN01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009153" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "32041" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2189-1281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB09140" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "5214" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003425" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85096329" + }, + { + "system": "http://loinc.org", + "code": "LP14536-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d06860" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010100" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000131" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "S88TT14065" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C722" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "S88TT14065" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000538149" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "000826" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "36090" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM0l9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "7806" + }, + { + "system": "http://snomed.info/sct", + "code": "F-10470" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-10110" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "24099007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m59550" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019105" + }, + { + "system": "http://loinc.org", + "code": "59408-5", + "display": "Oxygen saturation in Arterial blood by Pulse oximetry" + }, + { + "system": "http://loinc.org", + "code": "2708-6", + "display": "Oxygen saturation in Arterial blood" + } + ], + "text": "O2" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3150-0", + "display": "Inhaled oxygen concentration" + } + ], + "text": "Inhaled oxygen concentration" + }, + "valueQuantity": { + "value": 98, + "unit": "% ra", + "system": "http://unitsofmeasure.org", + "code": "%" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "3151-8", + "display": "Inhaled oxygen flow rate" + } + ], + "text": "Inhaled oxygen flow rate" + }, + "dataAbsentReason": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/data-absent-reason", + "code": "unknown", + "display": "unknown" + } + ], + "text": "unknown" + } + } + ] + } + }, + { + "fullUrl": "Observation/93d28e03-64b7-404e-8c4c-8497a3c1f244", + "resource": { + "resourceType": "Observation", + "id": "93d28e03-64b7-404e-8c4c-8497a3c1f244", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3894 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3498181", + "display": "retrorubral area" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/neu", + "code": "1049" + } + ], + "text": "RR" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 20 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/c6dab3c6-9e14-40ab-9cbd-f7f70b23400b", + "resource": { + "resourceType": "Observation", + "id": "c6dab3c6-9e14-40ab-9cbd-f7f70b23400b", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-blood-pressure" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3902 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0005824", + "display": "Blood pressure determination" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000007392" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K33.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10031996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85015011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10076581" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6045" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001795" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C167233" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C167233" + }, + { + "system": "http://snomed.info/sct", + "code": "P-Y107" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "PA-00540" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "46973005" + }, + { + "system": "http://loinc.org", + "code": "85354-9", + "display": "Blood pressure panel with all children optional" + } + ], + "text": "BP" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ], + "component": [ + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8480-6", + "display": "Systolic blood pressure" + } + ], + "text": "Systolic blood pressure" + }, + "valueQuantity": { + "value": 159, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + }, + { + "code": { + "coding": [ + { + "system": "http://loinc.org", + "code": "8462-4", + "display": "Diastolic blood pressure" + } + ], + "text": "Diastolic blood pressure" + }, + "valueQuantity": { + "value": 111, + "unit": "mmHg", + "system": "http://unitsofmeasure.org", + "code": "mm[Hg]" + } + } + ] + } + }, + { + "fullUrl": "Observation/001ef1a6-ed67-4758-8c01-3d7ab54382c9", + "resource": { + "resourceType": "Observation", + "id": "001ef1a6-ed67-4758-8c01-3d7ab54382c9", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3927 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C2051415", + "display": "patient appears in no acute distress (physical finding)" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "10024" + } + ], + "text": "NAD" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/ba2453b5-c68c-4d75-8eb6-d5b73de8a578", + "resource": { + "resourceType": "Observation", + "id": "ba2453b5-c68c-4d75-8eb6-d5b73de8a578", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3940 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "text": "up in bed" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/92e2a522-850e-402e-a13c-c8d6a33a79c8", + "resource": { + "resourceType": "Observation", + "id": "92e2a522-850e-402e-a13c-c8d6a33a79c8", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3951 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "text": "well groomed" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/0305a72e-1be6-4b63-b418-1d641ebd106d", + "resource": { + "resourceType": "Observation", + "id": "0305a72e-1be6-4b63-b418-1d641ebd106d", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3971 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "vital-signs", + "display": "Vital Signs" + } + ], + "text": "Vital Signs" + } + ], + "code": { + "text": "nightgown" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/c006ed4f-e3e5-43da-9e47-cea7525a28d1", + "resource": { + "resourceType": "Observation", + "id": "c006ed4f-e3e5-43da-9e47-cea7525a28d1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3990 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C2143306", + "display": "PERRLA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "206277" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C87108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C87108" + } + ], + "text": "PERRLA" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3983 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015392", + "display": "Eye" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0057369" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004810" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1107-6922" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "12513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "EYE" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s220" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "F" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046642" + }, + { + "system": "http://loinc.org", + "code": "LP7218-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003284" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000350235" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "18890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X74in" + }, + { + "system": "http://snomed.info/sct", + "code": "T-XX000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-AA000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "81745001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "12513" + } + ], + "text": "Eyes" + } + } + }, + { + "fullUrl": "Observation/2062769e-4713-4ebd-a1b2-1c98429361dc", + "resource": { + "resourceType": "Observation", + "id": "2062769e-4713-4ebd-a1b2-1c98429361dc", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3998 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "EOM intact" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 3983 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015392", + "display": "Eye" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0057369" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004810" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1107-6922" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "12513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "EYE" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s220" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "F" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046642" + }, + { + "system": "http://loinc.org", + "code": "LP7218-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005123" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003284" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000350235" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000020" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "18890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X74in" + }, + { + "system": "http://snomed.info/sct", + "code": "T-XX000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-AA000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "81745001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "12513" + } + ], + "text": "Eyes" + } + } + }, + { + "fullUrl": "Observation/b27f0400-9139-47cd-a5c4-837f19cb8aaa", + "resource": { + "resourceType": "Observation", + "id": "b27f0400-9139-47cd-a5c4-837f19cb8aaa", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4023 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "swollen tounge" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4017 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Large" + }, + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4042 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007966", + "display": "Cheek structure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000016962" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002727" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2139-1459" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "46476" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "CHEEK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000928" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85022839" + }, + { + "system": "http://loinc.org", + "code": "LP76299-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002610" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13070" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C13070" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa2E3" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y0300" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D1206" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "60819002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "46476" + } + ], + "text": "cheek" + } + } + }, + { + "fullUrl": "Observation/69c84ffd-5600-4890-b0bc-d61a2a446fd6", + "resource": { + "resourceType": "Observation", + "id": "69c84ffd-5600-4890-b0bc-d61a2a446fd6", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4062 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "tounge was large" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/69471b6b-abc4-457b-bfcd-33911b31a7ee", + "resource": { + "resourceType": "Observation", + "id": "69471b6b-abc4-457b-bfcd-33911b31a7ee", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4083 + }, + { + "url": "length", + "valueInteger": 17 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "obscured the view" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/f73baecf-902d-4d27-96a6-a27baa41d1bc", + "resource": { + "resourceType": "Observation", + "id": "f73baecf-902d-4d27-96a6-a27baa41d1bc", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4164 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0038999", + "display": "Swelling" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004456" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1000701" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000011957" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "715" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A08" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A08" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A08003" + }, + { + "system": "http://loinc.org", + "code": "LA22440-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10042674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1229" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3399" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "191325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU067007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76Eu" + }, + { + "system": "http://snomed.info/sct", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "442672001" + } + ], + "text": "swelling" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4141 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "noticeable" + }, + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4155 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "palpable" + }, + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4131 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027530", + "display": "Neck" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004571" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008531" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0468-5952" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "BODY/NECK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7155" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "NECK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003138" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85090554" + }, + { + "system": "http://loinc.org", + "code": "LP7440-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009333" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "33120" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa8T4" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y0600" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D1600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "45048000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7155" + } + ], + "text": "Neck" + } + } + }, + { + "fullUrl": "Observation/b769bf15-c1ce-4e99-a16b-497a4717a1a5", + "resource": { + "resourceType": "Observation", + "id": "b769bf15-c1ce-4e99-a16b-497a4717a1a5", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4174 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0332575", + "display": "Redness" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029494" + }, + { + "system": "http://loinc.org", + "code": "LA22439-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10038198" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "03695" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "040747" + }, + { + "system": "http://snomed.info/sct", + "code": "M-04040" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-04040" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386713009" + } + ], + "text": "redness" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4141 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "noticeable" + }, + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4155 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "palpable" + }, + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4131 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027530", + "display": "Neck" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004571" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008531" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0468-5952" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "BODY/NECK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7155" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "NECK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003138" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85090554" + }, + { + "system": "http://loinc.org", + "code": "LP7440-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009333" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "33120" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa8T4" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y0600" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D1600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "45048000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7155" + } + ], + "text": "Neck" + } + } + }, + { + "fullUrl": "Observation/c54a60b0-0a04-4f17-8ac3-ea1ea7ce40ab", + "resource": { + "resourceType": "Observation", + "id": "c54a60b0-0a04-4f17-8ac3-ea1ea7ce40ab", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4185 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015230", + "display": "Exanthema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000022958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00609" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014681" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "RASH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000988" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU027334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001699" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046091" + }, + { + "system": "http://loinc.org", + "code": "LA29194-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037844" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "273176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005076" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01533" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM07J" + }, + { + "system": "http://snomed.info/sct", + "code": "M-48400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-01710" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "271807003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0028" + } + ], + "text": "rash" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4141 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "noticeable" + }, + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4155 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "palpable" + }, + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4131 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027530", + "display": "Neck" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004571" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008531" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0468-5952" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "BODY/NECK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7155" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "NECK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U003138" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85090554" + }, + { + "system": "http://loinc.org", + "code": "LP7440-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009333" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C13063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000513" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "33120" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa8T4" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y0600" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D1600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "45048000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7155" + } + ], + "text": "Neck" + } + } + }, + { + "fullUrl": "Observation/f7f0c8c0-b473-4df7-aa3b-2f0b425a5342", + "resource": { + "resourceType": "Observation", + "id": "f7f0c8c0-b473-4df7-aa3b-2f0b425a5342", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4234 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0497156", + "display": "Lymphadenopathy" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "LYMPH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00319" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017733" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007601" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0427-7757" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "LYMPHADENO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0002716" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R59.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU046563" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "B02006" + }, + { + "system": "http://loinc.org", + "code": "LP247924-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10025197" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "277693" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000072281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "785.6" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C50764" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2092" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044313" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C50764" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU002630" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0Vr" + }, + { + "system": "http://snomed.info/sct", + "code": "M-71000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DC-72130" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "30746006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0577" + } + ], + "text": "lymphadenopathy" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ] + } + }, + { + "fullUrl": "Observation/ce0ef48b-7d52-446f-a501-d398c070c0e9", + "resource": { + "resourceType": "Observation", + "id": "ce0ef48b-7d52-446f-a501-d398c070c0e9", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4269 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C2712143", + "display": "Normal heart rate" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1011151" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000022883" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10029229" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10019306" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa7s1" + }, + { + "system": "http://snomed.info/sct", + "code": "F-73121" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-33121" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "76863003" + } + ], + "text": "RRR" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4252 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007226", + "display": "Cardiovascular system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0581-0263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7161" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s4109" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s4109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "K" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85020226" + }, + { + "system": "http://loinc.org", + "code": "LP7118-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044194" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07650" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0eK" + }, + { + "system": "http://snomed.info/sct", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113257007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7161" + } + ], + "text": "Cardiovascular" + } + } + }, + { + "fullUrl": "Observation/23a08c8f-5293-4761-b144-d8b4776ea4e6", + "resource": { + "resourceType": "Observation", + "id": "23a08c8f-5293-4761-b144-d8b4776ea4e6", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4276 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "m/r/g" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4252 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007226", + "display": "Cardiovascular system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0581-0263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7161" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s4109" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s4109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "K" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85020226" + }, + { + "system": "http://loinc.org", + "code": "LP7118-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044194" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07650" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0eK" + }, + { + "system": "http://snomed.info/sct", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113257007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7161" + } + ], + "text": "Cardiovascular" + } + } + }, + { + "fullUrl": "Observation/e134033b-7d5a-41eb-bb13-0e9cd149fe2a", + "resource": { + "resourceType": "Observation", + "id": "e134033b-7d5a-41eb-bb13-0e9cd149fe2a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4286 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0425687", + "display": "Jugular venous engorgement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0014861" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000024345" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002232" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM02b" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "271653008" + } + ], + "text": "JVD" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4252 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007226", + "display": "Cardiovascular system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0581-0263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7161" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s4109" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s4109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "K" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85020226" + }, + { + "system": "http://loinc.org", + "code": "LP7118-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044194" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07650" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0eK" + }, + { + "system": "http://snomed.info/sct", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113257007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7161" + } + ], + "text": "Cardiovascular" + } + } + }, + { + "fullUrl": "Observation/8bb175d9-7a0d-434b-a62d-bf97a49bb261", + "resource": { + "resourceType": "Observation", + "id": "8bb175d9-7a0d-434b-a62d-bf97a49bb261", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4294 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007280", + "display": "Carotid bruit" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00085" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0061183" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002481" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "157" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000557" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K81006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10048777" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "7330" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C168039" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "040604" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU071454" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "419642000" + } + ], + "text": "carotid bruits" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4252 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007226", + "display": "Cardiovascular system" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00027" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060472" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0581-0263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7161" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s4109" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s4109" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "K" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000808" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85020226" + }, + { + "system": "http://loinc.org", + "code": "LP7118-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044194" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "07650" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0eK" + }, + { + "system": "http://snomed.info/sct", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "113257007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7161" + } + ], + "text": "Cardiovascular" + } + } + }, + { + "fullUrl": "Observation/ef9a50ee-6b56-45c2-9769-04e2fc7e1052", + "resource": { + "resourceType": "Observation", + "id": "ef9a50ee-6b56-45c2-9769-04e2fc7e1052", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4319 + }, + { + "url": "length", + "valueInteger": 20 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "Clear to auscltation" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4311 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024109", + "display": "Lung" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2612-7088" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7195" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "LUNG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s43019" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s43019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85078891" + }, + { + "system": "http://loinc.org", + "code": "LP7407-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008168" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000270740" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU016106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "28960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N225" + }, + { + "system": "http://snomed.info/sct", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39607008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7195" + } + ], + "text": "Lungs" + } + } + }, + { + "fullUrl": "Observation/62c4a367-4b79-4e4f-b6cd-f6063d41b0b1", + "resource": { + "resourceType": "Observation", + "id": "62c4a367-4b79-4e4f-b6cd-f6063d41b0b1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4344 + }, + { + "url": "length", + "valueInteger": 23 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "use of acessory muscles" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4311 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024109", + "display": "Lung" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2612-7088" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7195" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "LUNG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s43019" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s43019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85078891" + }, + { + "system": "http://loinc.org", + "code": "LP7407-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008168" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000270740" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU016106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "28960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N225" + }, + { + "system": "http://snomed.info/sct", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39607008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7195" + } + ], + "text": "Lungs" + } + } + }, + { + "fullUrl": "Observation/b0e3e645-fdfe-4e2e-9e1f-e3af0f99580a", + "resource": { + "resourceType": "Observation", + "id": "b0e3e645-fdfe-4e2e-9e1f-e3af0f99580a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4372 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0034642", + "display": "Rales" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000010564" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "LUNG DIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U003311" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0030830" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R09.89" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU064770" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R04004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037833" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "7058" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012135" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "786.7" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C119216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C119216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "060310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU054375" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM08B" + }, + { + "system": "http://snomed.info/sct", + "code": "F-76000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-23200" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "48409008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "1141" + } + ], + "text": "crackles" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4311 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024109", + "display": "Lung" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2612-7088" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7195" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "LUNG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s43019" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s43019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85078891" + }, + { + "system": "http://loinc.org", + "code": "LP7407-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008168" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000270740" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU016106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "28960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N225" + }, + { + "system": "http://snomed.info/sct", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39607008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7195" + } + ], + "text": "Lungs" + } + } + }, + { + "fullUrl": "Observation/08fd4874-bbd6-447e-b65d-6ef0541b9be8", + "resource": { + "resourceType": "Observation", + "id": "08fd4874-bbd6-447e-b65d-6ef0541b9be8", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4384 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0043144", + "display": "Wheezing" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000013155" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000732" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ASTHMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U004468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0030828" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R06.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R06.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R06.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "786.07" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10030128" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "R03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "R03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU082431" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R03002" + }, + { + "system": "http://loinc.org", + "code": "MTHU013532" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10047924" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012135" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01783" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C78718" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13605" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "4463" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C78718" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070603" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU038722" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qs" + }, + { + "system": "http://snomed.info/sct", + "code": "F-76110" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-23310" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "56018004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0511" + } + ], + "text": "wheezes" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4311 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0024109", + "display": "Lung" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2612-7088" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7195" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "LUNG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s43019" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s43019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85078891" + }, + { + "system": "http://loinc.org", + "code": "LP7407-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D008168" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000270740" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12468" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU016106" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "28960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N225" + }, + { + "system": "http://snomed.info/sct", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-28000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39607008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7195" + } + ], + "text": "Lungs" + } + } + }, + { + "fullUrl": "Observation/b6a7c561-40cd-4f4c-9e3d-4010424f7dcd", + "resource": { + "resourceType": "Observation", + "id": "b6a7c561-40cd-4f4c-9e3d-4010424f7dcd", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4405 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015230", + "display": "Exanthema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000022958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00609" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014681" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "RASH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000988" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R21" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.1" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU027334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001699" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85046091" + }, + { + "system": "http://loinc.org", + "code": "LA29194-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10037844" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "273176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005076" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "638" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01533" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C111884" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C39594" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070301" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU047706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM07J" + }, + { + "system": "http://snomed.info/sct", + "code": "M-48400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-01710" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "271807003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0028" + } + ], + "text": "rashes" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4395 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1123023", + "display": "Skin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0012516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000054821" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2716-0373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "S" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85123164" + }, + { + "system": "http://loinc.org", + "code": "LP76007-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012867" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "47720" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N7.." + }, + { + "system": "http://snomed.info/sct", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39937001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7163" + } + ], + "text": "Skin" + } + } + }, + { + "fullUrl": "Observation/b903e342-8eb1-4d0a-9f10-a9a7a1f371f1", + "resource": { + "resourceType": "Observation", + "id": "b903e342-8eb1-4d0a-9f10-a9a7a1f371f1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4413 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0235218", + "display": "Warm skin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000023475" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "VASODILAT" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10040952" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-44078" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "102599008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0207" + } + ], + "text": "skin warm" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4395 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1123023", + "display": "Skin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0012516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000054821" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2716-0373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "S" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85123164" + }, + { + "system": "http://loinc.org", + "code": "LP76007-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012867" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "47720" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N7.." + }, + { + "system": "http://snomed.info/sct", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39937001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7163" + } + ], + "text": "Skin" + } + } + }, + { + "fullUrl": "Observation/f725aee3-ee72-4bad-b12c-0e1d757da440", + "resource": { + "resourceType": "Observation", + "id": "f725aee3-ee72-4bad-b12c-0e1d757da440", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4427 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0205222", + "display": "Dry" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000020415" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X78yG" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "G-A325" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "13880007" + } + ], + "text": "dry" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4395 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1123023", + "display": "Skin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0012516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000054821" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2716-0373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "S" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85123164" + }, + { + "system": "http://loinc.org", + "code": "LP76007-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012867" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "47720" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N7.." + }, + { + "system": "http://snomed.info/sct", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39937001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7163" + } + ], + "text": "Skin" + } + } + }, + { + "fullUrl": "Observation/e0baed06-518a-49b1-9ef3-938c45d2f488", + "resource": { + "resourceType": "Observation", + "id": "e0baed06-518a-49b1-9ef3-938c45d2f488", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4435 + }, + { + "url": "length", + "valueInteger": 18 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "erythematous areas" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4395 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1123023", + "display": "Skin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0012516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000054821" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2716-0373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "7163" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "S" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85123164" + }, + { + "system": "http://loinc.org", + "code": "LP76007-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012867" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "26" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "47720" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N7.." + }, + { + "system": "http://snomed.info/sct", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-01000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39937001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "7163" + } + ], + "text": "Skin" + } + } + }, + { + "fullUrl": "Observation/fe9c86ab-fef0-43fc-8556-f687a90461be", + "resource": { + "resourceType": "Observation", + "id": "fe9c86ab-fef0-43fc-8556-f687a90461be", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4466 + }, + { + "url": "length", + "valueInteger": 19 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0278005", + "display": "Normal bowel sounds" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000027079" + }, + { + "system": "http://loinc.org", + "code": "LA25030-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10070940" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa7W9" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-54201" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "61539000" + } + ], + "text": "Normal bowel sounds" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4456 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0000726", + "display": "Abdomen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000016974" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000528" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0468-2204" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "BODY/ABDO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "9577" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "ADB" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85000091" + }, + { + "system": "http://loinc.org", + "code": "LP6990-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000219" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "00010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa8T7" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y4100" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D4000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "818983003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "9577" + } + ], + "text": "Abdomen" + } + } + }, + { + "fullUrl": "Observation/d1aae4cd-1487-466a-bda3-75a3b0750c4a", + "resource": { + "resourceType": "Observation", + "id": "d1aae4cd-1487-466a-bda3-75a3b0750c4a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4487 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0426663", + "display": "Abdomen soft" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "206271" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76dh" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "249543005" + } + ], + "text": "abdomen soft" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4456 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0000726", + "display": "Abdomen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000016974" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000528" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0468-2204" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "BODY/ABDO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "9577" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "ADB" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85000091" + }, + { + "system": "http://loinc.org", + "code": "LP6990-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000219" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "00010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa8T7" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y4100" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D4000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "818983003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "9577" + } + ], + "text": "Abdomen" + } + } + }, + { + "fullUrl": "Observation/7d63cc6f-00ca-4410-b282-d1bc92d9d569", + "resource": { + "resourceType": "Observation", + "id": "7d63cc6f-00ca-4410-b282-d1bc92d9d569", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4504 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0520960", + "display": "Non-tender" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037818" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU038385" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa7ig" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-A2615" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "300821004" + } + ], + "text": "nontender" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4456 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0000726", + "display": "Abdomen" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000016974" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000528" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0468-2204" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "BODY/ABDO" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "9577" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "ADB" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85000091" + }, + { + "system": "http://loinc.org", + "code": "LP6990-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000219" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "00010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa8T7" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y4100" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D4000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "818983003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "9577" + } + ], + "text": "Abdomen" + } + } + }, + { + "fullUrl": "Observation/8e788834-864f-4331-a51e-a5b2709af6c0", + "resource": { + "resourceType": "Observation", + "id": "8e788834-864f-4331-a51e-a5b2709af6c0", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4533 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0013604", + "display": "Edema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005462" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00114" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014846" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029664" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0465-4760" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "EDEMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000969" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.3" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU053978" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K07003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001504" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85040948" + }, + { + "system": "http://loinc.org", + "code": "MTHU019803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10030095" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "7268" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1229" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004487" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "715" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00501" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C3002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1820" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045676" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "250905" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "29.01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qw" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0qw" + }, + { + "system": "http://snomed.info/sct", + "code": "M-36500" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-36300" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "267038008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "66941" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0398" + } + ], + "text": "edema" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4516 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Extremeties" + } + } + }, + { + "fullUrl": "Observation/c4114093-1e0e-42d3-a1a7-053cda0021e1", + "resource": { + "resourceType": "Observation", + "id": "c4114093-1e0e-42d3-a1a7-053cda0021e1", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4540 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0010520", + "display": "Cyanosis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004378" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1003234" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2604-4949" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "CYANOSIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000918" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000961" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R23.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R23.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R23.0" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.5" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU020248" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "S08011" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001228" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85035033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10011703" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "11139" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003490" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00267" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26737" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1798" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26737" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "040032" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU036837" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "28.05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM07N" + }, + { + "system": "http://snomed.info/sct", + "code": "M-04120" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-04100" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "3415004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0501" + } + ], + "text": "cyanosis" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4516 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Extremeties" + } + } + }, + { + "fullUrl": "Observation/76abe39a-811d-4457-8a34-77a18666157f", + "resource": { + "resourceType": "Observation", + "id": "76abe39a-811d-4457-8a34-77a18666157f", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4552 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0149651", + "display": "Clubbing" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00177" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0055338" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000016640" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000140" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000972" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001217" + }, + { + "system": "http://loinc.org", + "code": "LA19080-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10009691" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C85489" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU006479" + }, + { + "system": "http://snomed.info/sct", + "code": "M-71530" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-78050" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "367004" + } + ], + "text": "clubbing" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4516 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "Extremeties" + } + } + }, + { + "fullUrl": "Observation/44f87849-ec09-4f87-94e0-010f7cdcb7e8", + "resource": { + "resourceType": "Observation", + "id": "44f87849-ec09-4f87-94e0-010f7cdcb7e8", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4596 + }, + { + "url": "length", + "valueInteger": 22 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "normal range of motion" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4563 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0497254", + "display": "Musculoskeletal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0047159" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037430" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "L" + }, + { + "system": "http://loinc.org", + "code": "LP89781-6" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25348" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044938" + } + ], + "text": "Musculo Skeletal" + } + } + }, + { + "fullUrl": "Observation/ae964a2a-ae2e-4d80-82e3-4ec52bed2587", + "resource": { + "resourceType": "Observation", + "id": "ae964a2a-ae2e-4d80-82e3-4ec52bed2587", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4623 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0038999", + "display": "Swelling" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004456" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1000701" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000011957" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "715" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A08" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A08" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A08003" + }, + { + "system": "http://loinc.org", + "code": "LA22440-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10042674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1229" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3399" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "191325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU067007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76Eu" + }, + { + "system": "http://snomed.info/sct", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "442672001" + } + ], + "text": "swollen" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4563 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0497254", + "display": "Musculoskeletal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0047159" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037430" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "L" + }, + { + "system": "http://loinc.org", + "code": "LP89781-6" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25348" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044938" + } + ], + "text": "Musculo Skeletal" + } + } + }, + { + "fullUrl": "Observation/ee352509-095a-4c0b-b37a-1ed1080b62a2", + "resource": { + "resourceType": "Observation", + "id": "ee352509-095a-4c0b-b37a-1ed1080b62a2", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4634 + }, + { + "url": "length", + "valueInteger": 21 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0240085", + "display": "JOINT ERYTHEMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002215" + } + ], + "text": "erythematous joints" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4563 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0497254", + "display": "Musculoskeletal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0047159" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037430" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "L" + }, + { + "system": "http://loinc.org", + "code": "LP89781-6" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25348" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044938" + } + ], + "text": "Musculo Skeletal" + } + } + }, + { + "fullUrl": "Observation/d404a332-dcfa-4fe6-9f50-5323c3d78013", + "resource": { + "resourceType": "Observation", + "id": "d404a332-dcfa-4fe6-9f50-5323c3d78013", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4586 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0451362", + "display": "Oxford grading scale for muscle strength" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000036033" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XM0gn" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "273677009" + } + ], + "text": "strength" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueString": "5/5", + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4563 + }, + { + "url": "length", + "valueInteger": 16 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0497254", + "display": "Musculoskeletal" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00516" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0047159" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037430" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "L" + }, + { + "system": "http://loinc.org", + "code": "LP89781-6" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25348" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044938" + } + ], + "text": "Musculo Skeletal" + } + } + }, + { + "fullUrl": "Observation/337c4352-fe91-4c00-8b75-ede0f8d09e3c", + "resource": { + "resourceType": "Observation", + "id": "337c4352-fe91-4c00-8b75-ede0f8d09e3c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4674 + }, + { + "url": "length", + "valueInteger": 22 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "Alert and oriented x 3" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4659 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0205494", + "display": "Neurologic (qualifier value)" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0045754" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000020628" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "N" + }, + { + "system": "http://loinc.org", + "code": "LA16973-2" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25262" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25262" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000057" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "G-B119" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "1199008" + } + ], + "text": "Neurological" + } + } + }, + { + "fullUrl": "Observation/ef257aa0-740c-41f3-be98-dfae30ce099c", + "resource": { + "resourceType": "Observation", + "id": "ef257aa0-740c-41f3-be98-dfae30ce099c", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4706 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "text": "grossly intact" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ], + "bodySite": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4659 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0205494", + "display": "Neurologic (qualifier value)" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0045754" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000020628" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "N" + }, + { + "system": "http://loinc.org", + "code": "LA16973-2" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25262" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044117" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25262" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000057" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "G-B119" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "1199008" + } + ], + "text": "Neurological" + } + } + }, + { + "fullUrl": "List/4353769c-64cc-4659-a239-efea24311f2e", + "resource": { + "resourceType": "List", + "id": "4353769c-64cc-4659-a239-efea24311f2e", + "status": "current", + "mode": "snapshot", + "title": "Physical Examination", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Observation/6d6344e6-464a-4652-a6dc-f20c2a3869d6", + "type": "Observation", + "display": "Temp" + } + }, + { + "item": { + "reference": "Observation/38f84639-0240-4b1e-a6da-22f079a5dc3d", + "type": "Observation", + "display": "Pulse" + } + }, + { + "item": { + "reference": "Observation/accba11a-ad34-462f-b16a-174afe057995", + "type": "Observation", + "display": "O2" + } + }, + { + "item": { + "reference": "Observation/93d28e03-64b7-404e-8c4c-8497a3c1f244", + "type": "Observation", + "display": "RR" + } + }, + { + "item": { + "reference": "Observation/c6dab3c6-9e14-40ab-9cbd-f7f70b23400b", + "type": "Observation", + "display": "BP" + } + }, + { + "item": { + "reference": "Observation/001ef1a6-ed67-4758-8c01-3d7ab54382c9", + "type": "Observation", + "display": "NAD" + } + }, + { + "item": { + "reference": "Observation/ba2453b5-c68c-4d75-8eb6-d5b73de8a578", + "type": "Observation", + "display": "up in bed" + } + }, + { + "item": { + "reference": "Observation/92e2a522-850e-402e-a13c-c8d6a33a79c8", + "type": "Observation", + "display": "well groomed" + } + }, + { + "item": { + "reference": "Observation/0305a72e-1be6-4b63-b418-1d641ebd106d", + "type": "Observation", + "display": "nightgown" + } + }, + { + "item": { + "reference": "Observation/c006ed4f-e3e5-43da-9e47-cea7525a28d1", + "type": "Observation", + "display": "PERRLA" + } + }, + { + "item": { + "reference": "Observation/2062769e-4713-4ebd-a1b2-1c98429361dc", + "type": "Observation", + "display": "EOM intact" + } + }, + { + "item": { + "reference": "Observation/b27f0400-9139-47cd-a5c4-837f19cb8aaa", + "type": "Observation", + "display": "swollen tounge" + } + }, + { + "item": { + "reference": "Observation/69c84ffd-5600-4890-b0bc-d61a2a446fd6", + "type": "Observation", + "display": "tounge was large" + } + }, + { + "item": { + "reference": "Observation/69471b6b-abc4-457b-bfcd-33911b31a7ee", + "type": "Observation", + "display": "obscured the view" + } + }, + { + "item": { + "reference": "Observation/f73baecf-902d-4d27-96a6-a27baa41d1bc", + "type": "Observation", + "display": "swelling" + } + }, + { + "item": { + "reference": "Observation/b769bf15-c1ce-4e99-a16b-497a4717a1a5", + "type": "Observation", + "display": "redness" + } + }, + { + "item": { + "reference": "Observation/c54a60b0-0a04-4f17-8ac3-ea1ea7ce40ab", + "type": "Observation", + "display": "rash" + } + }, + { + "item": { + "reference": "Observation/f7f0c8c0-b473-4df7-aa3b-2f0b425a5342", + "type": "Observation", + "display": "lymphadenopathy" + } + }, + { + "item": { + "reference": "Observation/ce0ef48b-7d52-446f-a501-d398c070c0e9", + "type": "Observation", + "display": "RRR" + } + }, + { + "item": { + "reference": "Observation/23a08c8f-5293-4761-b144-d8b4776ea4e6", + "type": "Observation", + "display": "m/r/g" + } + }, + { + "item": { + "reference": "Observation/e134033b-7d5a-41eb-bb13-0e9cd149fe2a", + "type": "Observation", + "display": "JVD" + } + }, + { + "item": { + "reference": "Observation/8bb175d9-7a0d-434b-a62d-bf97a49bb261", + "type": "Observation", + "display": "carotid bruits" + } + }, + { + "item": { + "reference": "Observation/ef9a50ee-6b56-45c2-9769-04e2fc7e1052", + "type": "Observation", + "display": "Clear to auscltation" + } + }, + { + "item": { + "reference": "Observation/62c4a367-4b79-4e4f-b6cd-f6063d41b0b1", + "type": "Observation", + "display": "use of acessory muscles" + } + }, + { + "item": { + "reference": "Observation/b0e3e645-fdfe-4e2e-9e1f-e3af0f99580a", + "type": "Observation", + "display": "crackles" + } + }, + { + "item": { + "reference": "Observation/08fd4874-bbd6-447e-b65d-6ef0541b9be8", + "type": "Observation", + "display": "wheezes" + } + }, + { + "item": { + "reference": "Observation/b6a7c561-40cd-4f4c-9e3d-4010424f7dcd", + "type": "Observation", + "display": "rashes" + } + }, + { + "item": { + "reference": "Observation/b903e342-8eb1-4d0a-9f10-a9a7a1f371f1", + "type": "Observation", + "display": "skin warm" + } + }, + { + "item": { + "reference": "Observation/f725aee3-ee72-4bad-b12c-0e1d757da440", + "type": "Observation", + "display": "dry" + } + }, + { + "item": { + "reference": "Observation/e0baed06-518a-49b1-9ef3-938c45d2f488", + "type": "Observation", + "display": "erythematous areas" + } + }, + { + "item": { + "reference": "Observation/fe9c86ab-fef0-43fc-8556-f687a90461be", + "type": "Observation", + "display": "Normal bowel sounds" + } + }, + { + "item": { + "reference": "Observation/d1aae4cd-1487-466a-bda3-75a3b0750c4a", + "type": "Observation", + "display": "abdomen soft" + } + }, + { + "item": { + "reference": "Observation/7d63cc6f-00ca-4410-b282-d1bc92d9d569", + "type": "Observation", + "display": "nontender" + } + }, + { + "item": { + "reference": "Observation/8e788834-864f-4331-a51e-a5b2709af6c0", + "type": "Observation", + "display": "edema" + } + }, + { + "item": { + "reference": "Observation/c4114093-1e0e-42d3-a1a7-053cda0021e1", + "type": "Observation", + "display": "cyanosis" + } + }, + { + "item": { + "reference": "Observation/76abe39a-811d-4457-8a34-77a18666157f", + "type": "Observation", + "display": "clubbing" + } + }, + { + "item": { + "reference": "Observation/44f87849-ec09-4f87-94e0-010f7cdcb7e8", + "type": "Observation", + "display": "normal range of motion" + } + }, + { + "item": { + "reference": "Observation/ae964a2a-ae2e-4d80-82e3-4ec52bed2587", + "type": "Observation", + "display": "swollen" + } + }, + { + "item": { + "reference": "Observation/ee352509-095a-4c0b-b37a-1ed1080b62a2", + "type": "Observation", + "display": "erythematous joints" + } + }, + { + "item": { + "reference": "Observation/d404a332-dcfa-4fe6-9f50-5323c3d78013", + "type": "Observation", + "display": "strength" + } + }, + { + "item": { + "reference": "Observation/337c4352-fe91-4c00-8b75-ede0f8d09e3c", + "type": "Observation", + "display": "Alert and oriented x 3" + } + }, + { + "item": { + "reference": "Observation/ef257aa0-740c-41f3-be98-dfae30ce099c", + "type": "Observation", + "display": "grossly intact" + } + } + ] + } + }, + { + "fullUrl": "Condition/30a28633-ff5a-466e-a0a9-73de181c594c", + "resource": { + "resourceType": "Condition", + "id": "30a28633-ff5a-466e-a0a9-73de181c594c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4917 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "unconfirmed", + "display": "Unconfirmed" + } + ], + "text": "Unconfirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "problem-list-item", + "display": "Problem List Item" + } + ], + "text": "Problem List Item" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0022116", + "display": "Ischemia" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005321" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0042499" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006936" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000392" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0571-6706" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU040398" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002515" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85068338" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10061255" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "351304" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003303" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "03400" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C34738" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1942" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000630922" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "26660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X79pz" + }, + { + "system": "http://snomed.info/sct", + "code": "F-72240" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-39340" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "52674009" + } + ], + "text": "ischemia" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/d4ec6ca7-6c61-486c-9b41-6197805c977b", + "resource": { + "resourceType": "Observation", + "id": "d4ec6ca7-6c61-486c-9b41-6197805c977b", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4758 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0037473", + "display": "sodium" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005817" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0024754" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000011478" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "32070" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2730-2702" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "2082" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004374" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85124249" + }, + { + "system": "http://loinc.org", + "code": "LP15099-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3666" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "5467" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D012964" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "9NEZ333N27" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C830" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "31090" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "9NEZ333N27" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044731" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "000755" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "48590" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X80D5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "9853" + }, + { + "system": "http://snomed.info/sct", + "code": "F-10580" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-15500" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "39972003" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4018159" + } + ], + "text": "Na" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 140 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/00e92723-a0db-48c2-ba13-306ccaae8c6b", + "resource": { + "resourceType": "Observation", + "id": "00e92723-a0db-48c2-ba13-306ccaae8c6b", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4767 + }, + { + "url": "length", + "valueInteger": 1 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0202194", + "display": "Potassium measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/alt", + "code": "DEBAG" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000020017" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "80048" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A34014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10036439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "324291" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64853" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_crch", + "code": "C68280" + }, + { + "system": "http://snomed.info/sct", + "code": "P-4020" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-73850" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "59573005" + } + ], + "text": "K" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 4.5 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/c0c43185-02f2-4e7c-97e7-88cec0c161ce", + "resource": { + "resourceType": "Observation", + "id": "c0c43185-02f2-4e7c-97e7-88cec0c161ce", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4775 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0201952", + "display": "Chloride measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/alt", + "code": "DEBAC" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000019962" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "80053" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10008572" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64495" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-72420" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "46511006" + } + ], + "text": "Cl" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 109 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/777735eb-1122-4e71-9bae-2a6687fbb970", + "resource": { + "resourceType": "Observation", + "id": "777735eb-1122-4e71-9bae-2a6687fbb970", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4784 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0201930", + "display": "Carbon dioxide content measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000020012" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "82374" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "82374" + }, + { + "system": "http://loinc.org", + "code": "LP188646-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10007220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000356" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64545" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X799H" + }, + { + "system": "http://snomed.info/sct", + "code": "P-4020" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-72250" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "31542002" + } + ], + "text": "Co2" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 23 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/a1154c31-f30d-4a44-889a-be0de1275f17", + "resource": { + "resourceType": "Observation", + "id": "a1154c31-f30d-4a44-889a-be0de1275f17", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4793 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0005845", + "display": "Blood urea nitrogen measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000057776" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "84520" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0633-5558" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "84520" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005845" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "12167" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001806" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000141" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C61019" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C61019" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-74191" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "105011006" + } + ], + "text": "BUN" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 29 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/0436e09c-d08f-46d5-9399-89f8ea7f503f", + "resource": { + "resourceType": "Observation", + "id": "0436e09c-d08f-46d5-9399-89f8ea7f503f", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4802 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0201975", + "display": "Creatinine measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000031640" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "82565" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "82565" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "U34002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005480" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "327261" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64547" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C64547" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C64547" + }, + { + "system": "http://snomed.info/sct", + "code": "P-4020" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-72600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "70901006" + } + ], + "text": "Cr" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 1.0 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/e6e1a3d4-9d4f-45b5-a6f0-9550cccdab70", + "resource": { + "resourceType": "Observation", + "id": "e6e1a3d4-9d4f-45b5-a6f0-9550cccdab70", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4811 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0201925", + "display": "Calcium measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/alt", + "code": "DEBAB" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037314" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "82310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "82310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10006891" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "327180" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64488" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTESTCD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C64488" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-72230" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "71878006" + } + ], + "text": "Ca" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 9.9 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/cc10796c-76b3-4f5b-8161-2b2b01c836de", + "resource": { + "resourceType": "Observation", + "id": "cc10796c-76b3-4f5b-8161-2b2b01c836de", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4820 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0373675", + "display": "Magnesium measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/alt", + "code": "DEBAE" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000031648" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "83735" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "83735" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10025430" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "403353" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000385" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C64840" + }, + { + "system": "http://snomed.info/sct", + "code": "P-4020" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-73480" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "38151008" + } + ], + "text": "Mg" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 1.4 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/cb44c630-a949-4f2b-96aa-9c15d4a23b4b", + "resource": { + "resourceType": "Observation", + "id": "cb44c630-a949-4f2b-96aa-9c15d4a23b4b", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4829 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0523826", + "display": "Phosphate measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000038223" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "84100" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "84100" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10034928" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64857" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C64857" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-73759" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "104866001" + } + ], + "text": "Phos" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 3.6 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/1407819d-8e9b-458a-ad93-44962f0f823e", + "resource": { + "resourceType": "Observation", + "id": "1407819d-8e9b-458a-ad93-44962f0f823e", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4842 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0030605", + "display": "Activated Partial Thromboplastin Time measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000007272" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1010832" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009335" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "32162" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "1011869" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10000630" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "12133" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010314" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000082" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C38462" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://snomed.info/sct", + "code": "P-2256" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-10590" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "42525009" + } + ], + "text": "PTT" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 26.7 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/78010f01-3865-41fd-aa16-3e8f208cee1d", + "resource": { + "resourceType": "Observation", + "id": "78010f01-3865-41fd-aa16-3e8f208cee1d", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4855 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0023508", + "display": "White Blood Cell Count procedure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000007246" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007357" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "32937" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0455-4964" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "85004" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10047939" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "12012" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007958" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U002041" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C51948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C51948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C51948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C51948" + }, + { + "system": "http://snomed.info/sct", + "code": "P-2945" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-30520" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "767002" + } + ], + "text": "WBC" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 9.9 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/4bdb2158-fd49-4f92-bc8c-81ea30d855af", + "resource": { + "resourceType": "Observation", + "id": "4bdb2158-fd49-4f92-bc8c-81ea30d855af", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4865 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0518015", + "display": "Hemoglobin measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0053182" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000037622" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "88738" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "88738" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "B34018" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10018876" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64848" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C64848" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C64848" + }, + { + "system": "http://snomed.info/sct", + "code": "P-2852" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-34100" + } + ], + "text": "Hgb" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 10.0 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/15ed1f67-8720-4656-89cd-b49dc51df4dd", + "resource": { + "resourceType": "Observation", + "id": "15ed1f67-8720-4656-89cd-b49dc51df4dd", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4876 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0018935", + "display": "Hematocrit procedure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000024263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0053669" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "32824" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "85014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0455-2482" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "85014" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002130" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85060126" + }, + { + "system": "http://loinc.org", + "code": "LP15101-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10018837" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "327272" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006400" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U001974" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64796" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTESTCD" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C64796" + }, + { + "system": "http://snomed.info/sct", + "code": "P-2851" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-34080" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "28317006" + } + ], + "text": "Hct" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 30.3 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/8c156cdd-f6ab-4513-af22-037a1042b7a4", + "resource": { + "resourceType": "Observation", + "id": "8c156cdd-f6ab-4513-af22-037a1042b7a4", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4887 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0032181", + "display": "Platelet Count measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000007263" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000009833" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "32921" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10035525" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "12024" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D010976" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000021" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C51951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C51951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C51951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C51951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C51951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "42P.." + }, + { + "system": "http://snomed.info/sct", + "code": "P-2883" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-30600" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "61928009" + } + ], + "text": "Plt" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueQuantity": { + "value": 373 + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/57f1eb8b-1a8a-42c5-aed8-0552b5c02bff", + "resource": { + "resourceType": "Observation", + "id": "57f1eb8b-1a8a-42c5-aed8-0552b5c02bff", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4899 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1623258", + "display": "Electrocardiography" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000007414" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0060892" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1393-7104" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpcs", + "code": "Level 2: G0403-G0405" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001526" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85042098" + }, + { + "system": "http://loinc.org", + "code": "LP100599-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10014084" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004562" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "89.52" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C38053" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C38053" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000635410" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "16480" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "32..." + }, + { + "system": "http://snomed.info/sct", + "code": "P-7100" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P2-31000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "29303009" + } + ], + "text": "EKG" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "List/6bbdb74b-0263-4e3f-9cf0-e3f44dfe1210", + "resource": { + "resourceType": "List", + "id": "6bbdb74b-0263-4e3f-9cf0-e3f44dfe1210", + "status": "current", + "mode": "snapshot", + "title": "Pertinent Diagnostic Tests", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/30a28633-ff5a-466e-a0a9-73de181c594c", + "type": "Condition", + "display": "ischemia" + } + }, + { + "item": { + "reference": "Observation/d4ec6ca7-6c61-486c-9b41-6197805c977b", + "type": "Observation", + "display": "Na" + } + }, + { + "item": { + "reference": "Observation/00e92723-a0db-48c2-ba13-306ccaae8c6b", + "type": "Observation", + "display": "K" + } + }, + { + "item": { + "reference": "Observation/c0c43185-02f2-4e7c-97e7-88cec0c161ce", + "type": "Observation", + "display": "Cl" + } + }, + { + "item": { + "reference": "Observation/777735eb-1122-4e71-9bae-2a6687fbb970", + "type": "Observation", + "display": "Co2" + } + }, + { + "item": { + "reference": "Observation/a1154c31-f30d-4a44-889a-be0de1275f17", + "type": "Observation", + "display": "BUN" + } + }, + { + "item": { + "reference": "Observation/0436e09c-d08f-46d5-9399-89f8ea7f503f", + "type": "Observation", + "display": "Cr" + } + }, + { + "item": { + "reference": "Observation/e6e1a3d4-9d4f-45b5-a6f0-9550cccdab70", + "type": "Observation", + "display": "Ca" + } + }, + { + "item": { + "reference": "Observation/cc10796c-76b3-4f5b-8161-2b2b01c836de", + "type": "Observation", + "display": "Mg" + } + }, + { + "item": { + "reference": "Observation/cb44c630-a949-4f2b-96aa-9c15d4a23b4b", + "type": "Observation", + "display": "Phos" + } + }, + { + "item": { + "reference": "Observation/1407819d-8e9b-458a-ad93-44962f0f823e", + "type": "Observation", + "display": "PTT" + } + }, + { + "item": { + "reference": "Observation/78010f01-3865-41fd-aa16-3e8f208cee1d", + "type": "Observation", + "display": "WBC" + } + }, + { + "item": { + "reference": "Observation/4bdb2158-fd49-4f92-bc8c-81ea30d855af", + "type": "Observation", + "display": "Hgb" + } + }, + { + "item": { + "reference": "Observation/15ed1f67-8720-4656-89cd-b49dc51df4dd", + "type": "Observation", + "display": "Hct" + } + }, + { + "item": { + "reference": "Observation/8c156cdd-f6ab-4513-af22-037a1042b7a4", + "type": "Observation", + "display": "Plt" + } + }, + { + "item": { + "reference": "Observation/57f1eb8b-1a8a-42c5-aed8-0552b5c02bff", + "type": "Observation", + "display": "EKG" + } + } + ] + } + }, + { + "fullUrl": "Condition/77cd7165-bb64-4cfd-aa2b-bb48cc46e531", + "resource": { + "resourceType": "Condition", + "id": "77cd7165-bb64-4cfd-aa2b-bb48cc46e531", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 4991 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0002994", + "display": "Angioedema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00587" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1001287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001177" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1849-1576" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ANGIOEDEMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0100665" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU006380" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A92010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000249" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85005030" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10002424" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31834" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000799" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "995.1" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C112175" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "4536" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C112175" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "041714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU010698" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "SN51." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "SN51." + }, + { + "system": "http://snomed.info/sct", + "code": "D-3541" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D0-20100" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "41291007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0003" + } + ], + "text": "angioedema" + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5018 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0040408", + "display": "Tongue" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005476" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000012352" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2139-2049" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "54640" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "TONG" + }, + { + "system": "http://hl7.org/fhir/sid/icf-nl", + "code": "s3203" + }, + { + "system": "http://hl7.org/fhir/sid/icf-cy", + "code": "s3203" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004718" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85135992" + }, + { + "system": "http://loinc.org", + "code": "LP30556-2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D014059" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U002312" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C12422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C12422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C12422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C12422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "53490" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "7N234" + }, + { + "system": "http://snomed.info/sct", + "code": "T-53000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-53000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "21974007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "54640" + } + ], + "text": "tongue" + }, + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5035 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0007966", + "display": "Cheek structure" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000016962" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000002727" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2139-1459" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "46476" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hl7v2.5", + "code": "CHEEK" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000928" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85022839" + }, + { + "system": "http://loinc.org", + "code": "LP76299-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D002610" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C13070" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C13070" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa2E3" + }, + { + "system": "http://snomed.info/sct", + "code": "T-Y0300" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-D1206" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "60819002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "46476" + } + ], + "text": "inner cheek" + } + ], + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "note": [ + { + "text": "significant" + } + ] + } + }, + { + "fullUrl": "Condition/84e0eb82-5459-4999-b953-ea05b89e79c0", + "resource": { + "resourceType": "Condition", + "id": "84e0eb82-5459-4999-b953-ea05b89e79c0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5061 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0002994", + "display": "Angioedema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00587" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1001287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001177" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1849-1576" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ANGIOEDEMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U000116" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0100665" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "T78.3" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU006380" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A92010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000249" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85005030" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10002424" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31834" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000799" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "995.1" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C112175" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "4536" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C112175" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "041714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU010698" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "SN51." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "SN51." + }, + { + "system": "http://snomed.info/sct", + "code": "D-3541" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D0-20100" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "41291007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0003" + } + ], + "text": "angioedema" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/3d019165-1eb8-4431-982c-d2bffeafb22d", + "resource": { + "resourceType": "Condition", + "id": "3d019165-1eb8-4431-982c-d2bffeafb22d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5080 + }, + { + "url": "length", + "valueInteger": 29 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "text": "allergic anaphylaxis reaction" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/5c47dbb1-5514-487e-a564-e12402f51c57", + "resource": { + "resourceType": "Condition", + "id": "5c47dbb1-5514-487e-a564-e12402f51c57", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5111 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0458082", + "display": "Drug-induced" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000036769" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0vQ" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "278993004" + } + ], + "text": "drug induced" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/6bdde1ff-93a7-4683-b73f-b48e4af1ff31", + "resource": { + "resourceType": "Condition", + "id": "6bdde1ff-93a7-4683-b73f-b48e4af1ff31", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5125 + }, + { + "url": "length", + "valueInteger": 27 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0162820", + "display": "Dermatitis, Allergic Contact" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000017993" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "L23.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "L23.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "L23.9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "S88" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU018967" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10056265" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "319771" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D017449" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26998" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X505x" + }, + { + "system": "http://snomed.info/sct", + "code": "M-47610" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "238575004" + } + ], + "text": "allergic contact dermatitis" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/112cc672-89ec-4bcc-aaad-daa42d1b891c", + "resource": { + "resourceType": "Condition", + "id": "112cc672-89ec-4bcc-aaad-daa42d1b891c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5154 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0042769", + "display": "Virus Diseases" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004796" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00714" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0035009" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccs", + "code": "1.3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "INF008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "INF008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000013022" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000723" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "3099-8150" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "INFECT VIRAL" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0016032" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "B34.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "B34.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "B34.9" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU038648" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A77005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004960" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85143818" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10047461" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "90185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "454" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D014777" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "789" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "079.99" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "03374" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C3439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2248" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C3439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU054517" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000643529" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "55780" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X70Iu" + }, + { + "system": "http://snomed.info/sct", + "code": "D-0350" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DE-30000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "34014006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0740" + } + ], + "text": "viral infection" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/c39abf61-4871-4af2-a4da-1742d57366df", + "resource": { + "resourceType": "Condition", + "id": "c39abf61-4871-4af2-a4da-1742d57366df", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5171 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0458082", + "display": "Drug-induced" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000036769" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa0vQ" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "278993004" + } + ], + "text": "drug induced" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/dcb0f56b-bdd4-4d6c-8e9d-921f98f14d33", + "resource": { + "resourceType": "Condition", + "id": "dcb0f56b-bdd4-4d6c-8e9d-921f98f14d33", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5190 + }, + { + "url": "length", + "valueInteger": 32 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "text": "C1 inhibitor deficiency disorder" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "note": [ + { + "text": "hereditary" + } + ] + } + }, + { + "fullUrl": "Condition/16972d09-73fe-48c9-a2a4-e22ad9f97f4a", + "resource": { + "resourceType": "Condition", + "id": "16972d09-73fe-48c9-a2a4-e22ad9f97f4a", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5285 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0040425", + "display": "Tonsillitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1013382" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000012362" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000679" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PHARYNGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U004087" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0011110" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU074496" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R76003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004721" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85136023" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10044008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "6440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D014069" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "463" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C116006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C116006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU071368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa7I0" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DC-71200" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "90176007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0523" + } + ], + "text": "tonsillitis" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/8c8aef3f-ad3f-43aa-87ec-1a27a9d79974", + "resource": { + "resourceType": "Condition", + "id": "8c8aef3f-ad3f-43aa-87ec-1a27a9d79974", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5298 + }, + { + "url": "length", + "valueInteger": 20 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "text": "peritonsilar abscess" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/289d84a2-ba55-4913-9b1c-0a26a764de98", + "resource": { + "resourceType": "Condition", + "id": "289d84a2-ba55-4913-9b1c-0a26a764de98", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5402 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "unconfirmed", + "display": "Unconfirmed" + } + ], + "text": "Unconfirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0000833", + "display": "Abscess" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004497" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017218" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000562" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "016" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0944-6244" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "ABSCESS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0025615" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A78037" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85000225" + }, + { + "system": "http://loinc.org", + "code": "LP6994-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10000269" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "359505" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "3063" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "682.9" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C26686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C26686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C26686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1690" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044786" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C26686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C26686" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU059473" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa9Gg" + }, + { + "system": "http://snomed.info/sct", + "code": "M-41740" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-41610" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "128477000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0887" + } + ], + "text": "abscess" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/f0146bb6-0421-455c-8d99-3910655c92e6", + "resource": { + "resourceType": "Condition", + "id": "f0146bb6-0421-455c-8d99-3910655c92e6", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5413 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "unconfirmed", + "display": "Unconfirmed" + } + ], + "text": "Unconfirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0040425", + "display": "Tonsillitis" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1013382" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000012362" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "U000679" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "PHARYNGITIS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U004087" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0011110" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU074496" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R76003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004721" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85136023" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10044008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "31373" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "6440" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D014069" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "463" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C116006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C116006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU071368" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "Xa7I0" + }, + { + "system": "http://snomed.info/sct", + "code": "M-40000" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DC-71200" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "90176007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0523" + } + ], + "text": "tonsillitis" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Condition/8a00a3c1-8df7-4446-8d10-cb9e87f54776", + "resource": { + "resourceType": "Condition", + "id": "8a00a3c1-8df7-4446-8d10-cb9e87f54776", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5488 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/condition-category", + "code": "encounter-diagnosis", + "display": "Encounter Diagnosis" + } + ], + "text": "Encounter Diagnosis" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3714514", + "display": "Infection" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004491" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1018029" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006691" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "413" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "INFECT" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002090" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10023032" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU038002" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A78051" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U002423" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85066076" + }, + { + "system": "http://loinc.org", + "code": "LP130385-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10021789" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "363071" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "12" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007239" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "11_37" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C128320" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C128320" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C128320" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "110607" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_07010.00" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000041393" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "25150" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X79pw" + }, + { + "system": "http://snomed.info/sct", + "code": "D-0070" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0736" + } + ], + "text": "infection" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "Observation/db7f2572-ddd6-4e2e-b8ab-33c72eca6ee8", + "resource": { + "resourceType": "Observation", + "id": "db7f2572-ddd6-4e2e-b8ab-33c72eca6ee8", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5247 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0023052", + "display": "Laryngeal Edema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0025764" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000007220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "EDEMA LARYNX" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U002322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0012027" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "J38.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "J38.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "J38.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "J38.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "J38.4" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "478.6" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU054028" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10023845" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6873" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D007819" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C79607" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E13393" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070601" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU019551" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "H1y6." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "H1y6." + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "D2-04460" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "51599000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0522" + } + ], + "text": "Laryngeal edema" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/3ba4adfa-8a50-4015-b4f4-1a4258a4e78a", + "resource": { + "resourceType": "Observation", + "id": "3ba4adfa-8a50-4015-b4f4-1a4258a4e78a", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5322 + }, + { + "url": "length", + "valueInteger": 23 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0161010", + "display": "Foreign body in pharynx" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000017733" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "T17.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "T17.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "T17.2" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "933.0" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU019574" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "R87007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10017030" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "30801" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "933.0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "SG30." + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "DD-61410" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "25479004" + } + ], + "text": "pharyngeal foreign body" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/96088972-8e18-477f-b634-064edf59a1ba", + "resource": { + "resourceType": "Observation", + "id": "96088972-8e18-477f-b634-064edf59a1ba", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5386 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0013604", + "display": "Edema" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000005462" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00114" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1014846" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000029664" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0465-4760" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "EDEMA" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0000969" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-ae", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-amae", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R60.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "782.3" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU053978" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "K07003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001504" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85040948" + }, + { + "system": "http://loinc.org", + "code": "MTHU019803" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10030095" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "7268" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1229" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004487" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "715" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "782.3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "00501" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C3002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1820" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045676" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "250905" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU000002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "29.01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XE0qw" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "XE0qw" + }, + { + "system": "http://snomed.info/sct", + "code": "M-36500" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-36300" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "267038008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "66941" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0398" + } + ], + "text": "edema" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "ND", + "display": "Not Detected" + } + ], + "text": "Not Detected" + } + ] + } + }, + { + "fullUrl": "Observation/f97026d8-5906-44e8-9eca-834c2ede6406", + "resource": { + "resourceType": "Observation", + "id": "f97026d8-5906-44e8-9eca-834c2ede6406", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5464 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015967", + "display": "Fever" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/air", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004396" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/bi", + "code": "BI00751" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccc", + "code": "K25.2" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1017166" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_10", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10cm", + "code": "SYM002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005010" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "300" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "65287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2871-4310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "FEVER" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/dxp", + "code": "U001483" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/go", + "code": "GO:0001660" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hpo", + "code": "HP:0001945" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-am", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-10-cm", + "code": "R50.9" + }, + { + "system": "http://hl7.org/fhir/sid/icd-9-cm", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icnp", + "code": "10041539" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A03" + }, + { + "system": "http://hl7.org/fhir/sid/icpc2icd10eng", + "code": "MTHU041751" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A03002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U001776" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85047994" + }, + { + "system": "http://loinc.org", + "code": "MTHU013518" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10005911" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "6005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "511" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthicd9", + "code": "780.60" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nanda-i", + "code": "01128" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctcae", + "code": "E11102" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "1858" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_gdc", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000450108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C3038" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "070307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU005439" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/oms", + "code": "50.03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "PRB_11020.02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000775882" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "23840" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/qmr", + "code": "Q0200115" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76EI" + }, + { + "system": "http://snomed.info/sct", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-03003" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "386661006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/who", + "code": "0725" + } + ], + "text": "fever" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "NEG", + "display": "Negative" + } + ], + "text": "Negative" + } + ] + } + }, + { + "fullUrl": "Observation/541b22ee-0c28-48fe-b8c5-342d4271e4d0", + "resource": { + "resourceType": "Observation", + "id": "541b22ee-0c28-48fe-b8c5-342d4271e4d0", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5479 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0311392", + "display": "Physical findings" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0037333" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000028401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cst", + "code": "GENSIGNS" + }, + { + "system": "http://loinc.org", + "code": "LP73100-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "208847" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U003414" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C53458" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-01280" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "72670004" + } + ], + "text": "signs" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/bcefc8a5-b7dd-479d-aee0-1f8dd0497708", + "resource": { + "resourceType": "Observation", + "id": "bcefc8a5-b7dd-479d-aee0-1f8dd0497708", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5526 + }, + { + "url": "length", + "valueInteger": 8 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0038999", + "display": "Swelling" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000004456" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1000701" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000011957" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/costar", + "code": "715" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc", + "code": "A08" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/icpc2eeng", + "code": "A08" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A08003" + }, + { + "system": "http://loinc.org", + "code": "LA22440-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10042674" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "1229" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C3399" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2091" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/noc", + "code": "191325" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/omim", + "code": "MTHU067007" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X76Eu" + }, + { + "system": "http://snomed.info/sct", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-02570" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "442672001" + } + ], + "text": "swelling" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5506 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "sudden onset" + }, + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "Positive" + } + ] + } + }, + { + "fullUrl": "Observation/58f6222d-e30e-49bb-8535-82b6985e1a80", + "resource": { + "resourceType": "Observation", + "id": "58f6222d-e30e-49bb-8535-82b6985e1a80", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5580 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "category": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/observation-category", + "code": "exam", + "display": "Exam" + } + ], + "text": "Exam" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0016542", + "display": "Foreign Bodies" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1005216" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005208" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U006444" + }, + { + "system": "http://loinc.org", + "code": "LP35022-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10070245" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "5607" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D005547" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthmst", + "code": "MT160021" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C34620" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C34620" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "2687" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X79hh" + }, + { + "system": "http://snomed.info/sct", + "code": "M-30400" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "M-30400" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "19227008" + } + ], + "text": "foreign body" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "ND", + "display": "Not Detected" + } + ], + "text": "Not Detected" + } + ] + } + }, + { + "fullUrl": "ServiceRequest/adec7107-9636-40e0-86df-1948e119d5ec", + "resource": { + "resourceType": "ServiceRequest", + "id": "adec7107-9636-40e0-86df-1948e119d5ec", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5635 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0278260", + "display": "scopy" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000027149" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P1-07000" + } + ], + "text": "scoped" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "List/affbdb9c-c8d0-4774-89e9-e8486fd5379a", + "resource": { + "resourceType": "List", + "id": "affbdb9c-c8d0-4774-89e9-e8486fd5379a", + "status": "current", + "mode": "snapshot", + "title": "Assessment and Plan", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "Condition/77cd7165-bb64-4cfd-aa2b-bb48cc46e531", + "type": "Condition", + "display": "angioedema" + } + }, + { + "item": { + "reference": "Condition/84e0eb82-5459-4999-b953-ea05b89e79c0", + "type": "Condition", + "display": "angioedema" + } + }, + { + "item": { + "reference": "Condition/3d019165-1eb8-4431-982c-d2bffeafb22d", + "type": "Condition", + "display": "allergic anaphylaxis reaction" + } + }, + { + "item": { + "reference": "Condition/5c47dbb1-5514-487e-a564-e12402f51c57", + "type": "Condition", + "display": "drug induced" + } + }, + { + "item": { + "reference": "Condition/6bdde1ff-93a7-4683-b73f-b48e4af1ff31", + "type": "Condition", + "display": "allergic contact dermatitis" + } + }, + { + "item": { + "reference": "Condition/112cc672-89ec-4bcc-aaad-daa42d1b891c", + "type": "Condition", + "display": "viral infection" + } + }, + { + "item": { + "reference": "Condition/c39abf61-4871-4af2-a4da-1742d57366df", + "type": "Condition", + "display": "drug induced" + } + }, + { + "item": { + "reference": "Condition/dcb0f56b-bdd4-4d6c-8e9d-921f98f14d33", + "type": "Condition", + "display": "C1 inhibitor deficiency disorder" + } + }, + { + "item": { + "reference": "Condition/16972d09-73fe-48c9-a2a4-e22ad9f97f4a", + "type": "Condition", + "display": "tonsillitis" + } + }, + { + "item": { + "reference": "Condition/8c8aef3f-ad3f-43aa-87ec-1a27a9d79974", + "type": "Condition", + "display": "peritonsilar abscess" + } + }, + { + "item": { + "reference": "Condition/289d84a2-ba55-4913-9b1c-0a26a764de98", + "type": "Condition", + "display": "abscess" + } + }, + { + "item": { + "reference": "Condition/f0146bb6-0421-455c-8d99-3910655c92e6", + "type": "Condition", + "display": "tonsillitis" + } + }, + { + "item": { + "reference": "Condition/8a00a3c1-8df7-4446-8d10-cb9e87f54776", + "type": "Condition", + "display": "infection" + } + }, + { + "item": { + "reference": "Observation/db7f2572-ddd6-4e2e-b8ab-33c72eca6ee8", + "type": "Observation", + "display": "Laryngeal edema" + } + }, + { + "item": { + "reference": "Observation/3ba4adfa-8a50-4015-b4f4-1a4258a4e78a", + "type": "Observation", + "display": "pharyngeal foreign body" + } + }, + { + "item": { + "reference": "Observation/96088972-8e18-477f-b634-064edf59a1ba", + "type": "Observation", + "display": "edema" + } + }, + { + "item": { + "reference": "Observation/f97026d8-5906-44e8-9eca-834c2ede6406", + "type": "Observation", + "display": "fever" + } + }, + { + "item": { + "reference": "Observation/541b22ee-0c28-48fe-b8c5-342d4271e4d0", + "type": "Observation", + "display": "signs" + } + }, + { + "item": { + "reference": "Observation/bcefc8a5-b7dd-479d-aee0-1f8dd0497708", + "type": "Observation", + "display": "swelling" + } + }, + { + "item": { + "reference": "Observation/58f6222d-e30e-49bb-8535-82b6985e1a80", + "type": "Observation", + "display": "foreign body" + } + }, + { + "item": { + "reference": "ServiceRequest/adec7107-9636-40e0-86df-1948e119d5ec", + "type": "ServiceRequest", + "display": "scoped" + } + } + ] + } + }, + { + "fullUrl": "MedicationRequest/b66ac041-2556-4bee-9594-bcb151778222", + "resource": { + "resourceType": "MedicationRequest", + "id": "b66ac041-2556-4bee-9594-bcb151778222", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5697 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0001617", + "display": "Adrenal Cortex Hormones" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000018706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000762" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0059-5614" + }, + { + "system": "http://loinc.org", + "code": "LP31653-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "4557" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000305" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045658" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "00990" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x002V" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8510" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-B2400" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "21568003" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021625" + } + ], + "text": "corticosteroid" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/77a51afd-e3f8-4266-9685-b093e2117b8f", + "resource": { + "resourceType": "MedicationRequest", + "id": "77a51afd-e3f8-4266-9685-b093e2117b8f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5805 + }, + { + "url": "length", + "valueInteger": 13 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0011777", + "display": "dexamethasone" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000018816" + }, + { + "system": "http://www.whocc.no/atc", + "code": "D07XB05" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003823" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0059-7733" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01234" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "1014" + }, + { + "system": "http://loinc.org", + "code": "LP32530-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40973" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00206" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D003907" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "7S5I7G3JQL" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C422" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00512" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0034521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "7S5I7G3JQL" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045262" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002174" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000039789" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "13905" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02M3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "3264" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8515" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-A0250" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372584003" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m23280" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001262" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017922" + } + ], + "text": "Dexamethasone" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosageInstruction": [ + { + "text": "10 mg", + "timing": { + "repeat": { + "duration": 4, + "durationUnit": "d", + "frequency": 3, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "tid, 4 days" + } + }, + "route": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5825 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "IV" + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 10, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationRequest/b6517ef9-0757-4c29-8b25-eff19601d92e", + "resource": { + "resourceType": "MedicationRequest", + "id": "b6517ef9-0757-4c29-8b25-eff19601d92e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5850 + }, + { + "url": "length", + "valueInteger": 13 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0019590", + "display": "Histamine Antagonists" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000019291" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0061867" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006158" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1524-9334" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U005637" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85005683" + }, + { + "system": "http://loinc.org", + "code": "LP18065-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40432" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006633" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "03160" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8830" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-51000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372806008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001615" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021756" + } + ], + "text": "antihistamine" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/34446a47-a405-490a-9239-1a437eb75196", + "resource": { + "resourceType": "MedicationRequest", + "id": "34446a47-a405-490a-9239-1a437eb75196", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5905 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0012522", + "display": "diphenhydramine" + }, + { + "system": "http://www.whocc.no/atc", + "code": "R06AA02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0011620" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003981" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2268-3427" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01075" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4149" + }, + { + "system": "http://loinc.org", + "code": "MTHU063001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "199649" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00212" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004155" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "8GTS82S83M" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61728" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C61728" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "01519" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "8GTS82S83M" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000449930" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004787" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "14310" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X79JE" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "3498" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8845" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-51450" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372682005" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019724" + } + ], + "text": "Diphenhydramine" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosageInstruction": [ + { + "text": "25 mg", + "timing": { + "repeat": { + "duration": 4, + "durationUnit": "d", + "frequency": 2, + "period": 1, + "periodUnit": "d" + }, + "code": { + "text": "bid, 4 days" + } + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 25, + "unit": "mg" + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationRequest/c55c95d4-7789-43e2-9833-32a97ac38630", + "resource": { + "resourceType": "MedicationRequest", + "id": "c55c95d4-7789-43e2-9833-32a97ac38630", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6283 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "Medication/1c24ba62-c729-4acf-8810-caa34bcc23eb", + "type": "Medication", + "display": "albuterol" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosageInstruction": [ + { + "timing": { + "code": { + "text": "prn" + } + } + } + ] + } + }, + { + "fullUrl": "MedicationRequest/983917ca-151d-4616-84d1-857bfb1ddbfe", + "resource": { + "resourceType": "MedicationRequest", + "id": "983917ca-151d-4616-84d1-857bfb1ddbfe", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6297 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationReference": { + "reference": "Medication/69bde4ad-e54f-4858-a0d9-637521768380", + "type": "Medication", + "display": "ipratropium" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosageInstruction": [ + { + "timing": { + "code": { + "text": "prn" + } + } + } + ] + } + }, + { + "fullUrl": "MedicationRequest/7b007cb2-4b34-4066-a917-4416c9209e41", + "resource": { + "resourceType": "MedicationRequest", + "id": "7b007cb2-4b34-4066-a917-4416c9209e41", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6329 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0039771", + "display": "theophylline" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000000658" + }, + { + "system": "http://www.whocc.no/atc", + "code": "R03DA04" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000012157" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "30864" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2503-3937" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00277" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "2592" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U004643" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85134710" + }, + { + "system": "http://loinc.org", + "code": "LP16288-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41479" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00142" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D013806" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000362" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "C137DTR5RG" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C872" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C872" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00815" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0002066" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "C137DTR5RG" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045358" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "000602" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000041340" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "52580" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X795w" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "10438" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8916" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-69510" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372810006" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m82120" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001656" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4018129" + } + ], + "text": "theophylline" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/222d4371-0ce2-4499-87bd-1a927742f33f", + "resource": { + "resourceType": "MedicationRequest", + "id": "222d4371-0ce2-4499-87bd-1a927742f33f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6402 + }, + { + "url": "length", + "valueInteger": 15 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0001617", + "display": "Adrenal Cortex Hormones" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000018706" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000762" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0059-5614" + }, + { + "system": "http://loinc.org", + "code": "LP31653-6" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "4557" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000305" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045658" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C2322" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "00990" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x002V" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8510" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "F-B2400" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "21568003" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021625" + } + ], + "text": "corticosteroids" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/be6d6d20-2971-420d-a384-d2b94b45ca66", + "resource": { + "resourceType": "MedicationRequest", + "id": "be6d6d20-2971-420d-a384-d2b94b45ca66", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6486 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ], + "text": "normal insulin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosageInstruction": [ + { + "text": "sliding scale" + } + ] + } + }, + { + "fullUrl": "MedicationRequest/d14b5a1c-e540-4999-9c37-269c95f69772", + "resource": { + "resourceType": "MedicationRequest", + "id": "d14b5a1c-e540-4999-9c37-269c95f69772", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6538 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0678176", + "display": "Neurontin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000042761" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "2269" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000077206" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C1108" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000038402" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02ko" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "196498" + } + ], + "text": "neurontin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/31a7f227-500f-4278-af67-405b7fad691c", + "resource": { + "resourceType": "MedicationRequest", + "id": "31a7f227-500f-4278-af67-405b7fad691c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6641 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0012373", + "display": "diltiazem" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000020881" + }, + { + "system": "http://www.whocc.no/atc", + "code": "C08DB01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000003959" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0314-7897" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00343" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4148" + }, + { + "system": "http://loinc.org", + "code": "LP17238-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "197220" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00045" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D004110" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "EE92BBP03H" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61725" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "30307" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "EE92BBP03H" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004514" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01CU" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "3443" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7719" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-803A0" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372793000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000928" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019722" + } + ], + "text": "Diltiazem" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "dosageInstruction": [ + { + "text": "5mg/hour", + "route": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6651 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "drip" + }, + "doseAndRate": [ + { + "doseQuantity": { + "value": 5 + } + } + ] + } + ] + } + }, + { + "fullUrl": "MedicationRequest/3bd8c031-1382-4ddb-8a64-176c3cfd426d", + "resource": { + "resourceType": "MedicationRequest", + "id": "3bd8c031-1382-4ddb-8a64-176c3cfd426d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6674 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0878061", + "display": "Altace" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000045298" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "315" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D017257" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29411" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000686948" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02tS" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "262418" + } + ], + "text": "altace" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/0a9794ae-f73b-4db1-9a21-9bb2169d29d0", + "resource": { + "resourceType": "MedicationRequest", + "id": "0a9794ae-f73b-4db1-9a21-9bb2169d29d0", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6682 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0003015", + "display": "Angiotensin-Converting Enzyme Inhibitors" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0063008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1037-0850" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85005040" + }, + { + "system": "http://loinc.org", + "code": "LP31444-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41889" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000806" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000335481" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "bi..." + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-80150" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372733002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001019" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021577" + } + ], + "text": "ACEI" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/05fdfe6e-d45d-40f4-8e88-7ab743df1f1c", + "resource": { + "resourceType": "MedicationRequest", + "id": "05fdfe6e-d45d-40f4-8e88-7ab743df1f1c", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6760 + }, + { + "url": "length", + "valueInteger": 14 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "draft", + "intent": "order", + "medicationCodeableConcept": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ], + "text": "HTN medication" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/bc5965e1-20e2-48de-bff7-0f2b7b36604f", + "resource": { + "resourceType": "MedicationRequest", + "id": "bc5965e1-20e2-48de-bff7-0f2b7b36604f", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6790 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "cancelled", + "intent": "proposal", + "doNotPerform": true, + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0003015", + "display": "Angiotensin-Converting Enzyme Inhibitors" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0063008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001185" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "1037-0850" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85005040" + }, + { + "system": "http://loinc.org", + "code": "LP31444-0" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41889" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000806" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000335481" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_pcdc", + "code": "C247" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "bi..." + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-80150" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372733002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001019" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4021577" + } + ], + "text": "ACEI" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/c30e24bb-7fd9-4fef-935a-98b7a2a43c8e", + "resource": { + "resourceType": "MedicationRequest", + "id": "c30e24bb-7fd9-4fef-935a-98b7a2a43c8e", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6808 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "cancelled", + "intent": "proposal", + "doNotPerform": true, + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0020261", + "display": "hydrochlorothiazide" + }, + { + "system": "http://www.whocc.no/atc", + "code": "C03AA03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000006347" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00999" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "637" + }, + { + "system": "http://loinc.org", + "code": "MTHU060558" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40606" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "4834" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006852" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "0J48LPH2TH" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29098" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "01646" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "0J48LPH2TH" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "002294" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "b26.." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "5487" + }, + { + "system": "http://snomed.info/sct", + "code": "E-8899" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-72260" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387525002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m37940" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU000981" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017615" + } + ], + "text": "HCTZ" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/780dd0b6-34fe-460f-9682-395008e06289", + "resource": { + "resourceType": "MedicationRequest", + "id": "780dd0b6-34fe-460f-9682-395008e06289", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6871 + }, + { + "url": "length", + "valueInteger": 12 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0001645", + "display": "Adrenergic beta-Antagonists" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000028638" + }, + { + "system": "http://www.whocc.no/atc", + "code": "C07" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000779" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2059-1394" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85001009" + }, + { + "system": "http://loinc.org", + "code": "LP18062-7" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40578" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000319" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29576" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "05827" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "bd..." + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-80135" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "373254001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU002894" + } + ], + "text": "beta blocker" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/e96b0073-1154-483f-b50d-991663610a41", + "resource": { + "resourceType": "MedicationRequest", + "id": "e96b0073-1154-483f-b50d-991663610a41", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6948 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0074554", + "display": "simvastatin" + }, + { + "system": "http://www.whocc.no/atc", + "code": "C10AA01" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000014812" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "5001-0024" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00641" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "2080" + }, + { + "system": "http://loinc.org", + "code": "LP171640-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "44437" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00746" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D019821" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "AGG2FN16EV" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29454" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C29454" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "02582" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "AGG2FN16EV" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "003621" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000455226" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "bxd.." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "36567" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-80812" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387584000" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m75450" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001010" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4020400" + } + ], + "text": "simvastatin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/b34162ca-71fa-4c96-9e7c-27545adbc5cb", + "resource": { + "resourceType": "MedicationRequest", + "id": "b34162ca-71fa-4c96-9e7c-27545adbc5cb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6964 + }, + { + "url": "length", + "valueInteger": 7 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0004057", + "display": "aspirin" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000028840" + }, + { + "system": "http://www.whocc.no/atc", + "code": "B01AC06" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0061721" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000001530" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "2270-2387" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00945" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "181" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000401" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85008731" + }, + { + "system": "http://loinc.org", + "code": "LA26702-3" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40170" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00170" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D001241" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000320" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "R16CO5Y76E" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C287" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dcp", + "code": "00739" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_dtp", + "code": "NSC0406186" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "R16CO5Y76E" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000045176" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "001587" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000039152" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/psy", + "code": "04050" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x02LX" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "1191" + }, + { + "system": "http://snomed.info/sct", + "code": "E-7771" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-60320" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387458008" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m6240" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017536" + } + ], + "text": "aspirin" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "MedicationRequest/6b3eda4d-1083-4975-8513-3508b14cb479", + "resource": { + "resourceType": "MedicationRequest", + "id": "6b3eda4d-1083-4975-8513-3508b14cb479", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medicationrequest" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 7025 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "medicationCodeableConcept": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0015620", + "display": "famotidine" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000020846" + }, + { + "system": "http://www.whocc.no/atc", + "code": "A02BA03" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000004890" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00927" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "693" + }, + { + "system": "http://loinc.org", + "code": "LP14346-8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41926" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00141" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D015738" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "5QZO15J2Z8" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C29045" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C29045" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "5QZO15J2Z8" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "003417" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000574268" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "a68.." + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "4278" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-84020" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "387211002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m32600" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uspmg", + "code": "MTHU001191" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4017970" + } + ], + "text": "famotidine" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "ServiceRequest/2c2f9063-16ba-47d3-a978-ffab2cc4fd34", + "resource": { + "resourceType": "ServiceRequest", + "id": "2c2f9063-16ba-47d3-a978-ffab2cc4fd34", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6183 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0419179", + "display": "NPO - Nothing by mouth" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000033028" + }, + { + "system": "http://loinc.org", + "code": "LA16917-9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "40007" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C28250" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000256571" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pcds", + "code": "ORC_10200.00" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "8B51." + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "182923009" + } + ], + "text": "NPO" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "ServiceRequest/2ce4103c-a317-4151-9d74-11f34d382636", + "resource": { + "resourceType": "ServiceRequest", + "id": "2ce4103c-a317-4151-9d74-11f34d382636", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6369 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "text": "meds" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6364 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0442027", + "display": "Oral" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000034973" + }, + { + "system": "http://loinc.org", + "code": "LP32603-0" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25311" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_edqm-hc", + "code": "0031" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X810r" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-51000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "260548002" + } + ], + "text": "oral" + } + ] + } + }, + { + "fullUrl": "ServiceRequest/4132cb37-7186-4361-b36e-bdf7ec83e1f9", + "resource": { + "resourceType": "ServiceRequest", + "id": "4132cb37-7186-4361-b36e-bdf7ec83e1f9", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6568 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0029167", + "display": "Oral Medicine" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008996" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U005446" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85128280" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D019242" + } + ], + "text": "oral meds" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "ServiceRequest/c0b7dcc8-3299-4d8e-8ec2-e3fc2d3e6962", + "resource": { + "resourceType": "ServiceRequest", + "id": "c0b7dcc8-3299-4d8e-8ec2-e3fc2d3e6962", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6625 + }, + { + "url": "length", + "valueInteger": 10 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "text": "BP control" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "ServiceRequest/1aac5492-4c7a-4639-9658-3cd6a2a37d92", + "resource": { + "resourceType": "ServiceRequest", + "id": "1aac5492-4c7a-4639-9658-3cd6a2a37d92", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6925 + }, + { + "url": "length", + "valueInteger": 3 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1532338", + "display": "Percutaneous Coronary Intervention" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccsr_icd10pcs", + "code": "CAR004" + }, + { + "system": "http://loinc.org", + "code": "LP266258-5" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10065608" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D062645" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C99521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "C99521" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cptac", + "code": "C99521" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "415070008" + } + ], + "text": "PCI" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "occurrenceDateTime": "1999", + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "ServiceRequest/9470ec53-87ac-4f19-825a-501207f31206", + "resource": { + "resourceType": "ServiceRequest", + "id": "9470ec53-87ac-4f19-825a-501207f31206", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 7046 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "text": "meds" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + }, + "bodySite": [ + { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 7041 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0442027", + "display": "Oral" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000002273" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000034973" + }, + { + "system": "http://loinc.org", + "code": "LP32603-0" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25311" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_edqm-hc", + "code": "0031" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nci-gloss", + "code": "CDR0000044068" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X810r" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "T-51000" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "260548002" + } + ], + "text": "oral" + } + ] + } + }, + { + "fullUrl": "ServiceRequest/51900d61-5fa7-4413-91bc-f675d4b1beca", + "resource": { + "resourceType": "ServiceRequest", + "id": "51900d61-5fa7-4413-91bc-f675d4b1beca", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5951 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C1446409", + "display": "Positive" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "0023688" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000020358" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C25246" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cadsr", + "code": "C25246" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X80xp" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "G-A200" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "10828004" + } + ], + "text": "rule" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "ServiceRequest/582d39aa-739a-40eb-8bb6-78f632cca439", + "resource": { + "resourceType": "ServiceRequest", + "id": "582d39aa-739a-40eb-8bb6-78f632cca439", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5979 + }, + { + "url": "length", + "valueInteger": 6 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "revoked", + "intent": "proposal", + "doNotPerform": true, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0347997", + "display": "Physical object" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000031165" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/cpm", + "code": "48" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C45281" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X902f" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "260787004" + } + ], + "text": "object" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "Observation/cc9935e9-b7cd-415e-814c-26ca365df019", + "resource": { + "resourceType": "Observation", + "id": "cc9935e9-b7cd-415e-814c-26ca365df019", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 5996 + }, + { + "url": "length", + "valueInteger": 2 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C3496353", + "display": "C1 adrenaline cells" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/neu", + "code": "1758" + } + ], + "text": "C1" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueString": "decreased", + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "Observation/ff4c3830-2416-4e21-8595-43348eb2e56d", + "resource": { + "resourceType": "Observation", + "id": "ff4c3830-2416-4e21-8595-43348eb2e56d", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6003 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "final", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0446414", + "display": "C4 level" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000035631" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/fma", + "code": "20316" + }, + { + "system": "http://loinc.org", + "code": "LA32081-4" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "XB009" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "263281001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/uwda", + "code": "20316" + } + ], + "text": "C4 levels" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "_effectiveDateTime": { + "extension": [ + { + "url": "http://hl7.org/fhir/StructureDefinition/data-absent-reason", + "valueCode": "unknown" + } + ] + }, + "valueString": "decreased", + "interpretation": [ + { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", + "code": "POS", + "display": "Positive" + } + ], + "text": "positive" + } + ] + } + }, + { + "fullUrl": "ServiceRequest/e76d4e07-a7e2-49b6-9434-a54bfe4dd656", + "resource": { + "resourceType": "ServiceRequest", + "id": "e76d4e07-a7e2-49b6-9434-a54bfe4dd656", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6096 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0202230", + "display": "Thyroid stimulating hormone measurement" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000020026" + }, + { + "system": "http://www.ama-assn.org/go/cpt", + "code": "84443" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/hcpt", + "code": "84443" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "T34028" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10043768" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mth", + "code": "U000402" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C64813" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_cdisc", + "code": "SDTM-LBTEST" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C64813" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "P3-74120" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "61167004" + } + ], + "text": "TSH level" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "ServiceRequest/a51ed1d0-4cc2-40af-92a4-571cdeab7295", + "resource": { + "resourceType": "ServiceRequest", + "id": "a51ed1d0-4cc2-40af-92a4-571cdeab7295", + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6432 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "status": "active", + "intent": "order", + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0018941", + "display": "Hematologic Tests" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000007241" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000005951" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "0455-1241" + }, + { + "system": "http://hl7.org/fhir/sid/icpc-2p", + "code": "A34001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85014929" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mdr", + "code": "10061726" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "12001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medlineplus", + "code": "6351" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D006403" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C49286" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_ctrp", + "code": "C49286" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_nichd", + "code": "C49286" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/pdq", + "code": "CDR0000575387" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "X77Yh" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcdae", + "code": "X77Yh" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "396550006" + } + ], + "text": "blood" + }, + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "requester": { + "reference": "Practitioner/082e9fc4-7483-4ef8-b83d-ea0733859cdc", + "type": "Practitioner", + "display": "Unknown" + } + } + }, + { + "fullUrl": "AllergyIntolerance/5b39edaa-8e80-4a2d-8805-e634a746424d", + "resource": { + "resourceType": "AllergyIntolerance", + "id": "5b39edaa-8e80-4a2d-8805-e634a746424d", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-allergyintolerance" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6824 + }, + { + "url": "length", + "valueInteger": 5 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "clinicalStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical", + "code": "active", + "display": "Active" + } + ], + "text": "Active" + }, + "verificationStatus": { + "coding": [ + { + "system": "http://terminology.hl7.org/CodeSystem/allergyintolerance-verification", + "code": "confirmed", + "display": "Confirmed" + } + ], + "text": "Confirmed" + }, + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0749139", + "display": "sulfa" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/ccpss", + "code": "1012728" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000048179" + } + ], + "text": "sulfa" + }, + "patient": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + } + } + }, + { + "fullUrl": "List/6f292c58-8a59-44d9-9efe-7d8968684466", + "resource": { + "resourceType": "List", + "id": "6f292c58-8a59-44d9-9efe-7d8968684466", + "status": "current", + "mode": "snapshot", + "title": "Plan", + "subject": { + "reference": "Patient/894a042e-625c-48b3-a710-759e09454897", + "type": "Patient" + }, + "encounter": { + "reference": "Encounter/d6535404-17da-4282-82c2-2eb7b9b86a47", + "type": "Encounter", + "display": "unknown" + }, + "entry": [ + { + "item": { + "reference": "MedicationRequest/b66ac041-2556-4bee-9594-bcb151778222", + "type": "MedicationRequest", + "display": "corticosteroid" + } + }, + { + "item": { + "reference": "MedicationRequest/77a51afd-e3f8-4266-9685-b093e2117b8f", + "type": "MedicationRequest", + "display": "Dexamethasone" + } + }, + { + "item": { + "reference": "MedicationRequest/b6517ef9-0757-4c29-8b25-eff19601d92e", + "type": "MedicationRequest", + "display": "antihistamine" + } + }, + { + "item": { + "reference": "MedicationRequest/34446a47-a405-490a-9239-1a437eb75196", + "type": "MedicationRequest", + "display": "Diphenhydramine" + } + }, + { + "item": { + "reference": "MedicationRequest/c55c95d4-7789-43e2-9833-32a97ac38630", + "type": "MedicationRequest", + "display": "albuterol" + } + }, + { + "item": { + "reference": "MedicationRequest/983917ca-151d-4616-84d1-857bfb1ddbfe", + "type": "MedicationRequest", + "display": "ipratropium" + } + }, + { + "item": { + "reference": "MedicationRequest/7b007cb2-4b34-4066-a917-4416c9209e41", + "type": "MedicationRequest", + "display": "theophylline" + } + }, + { + "item": { + "reference": "MedicationRequest/222d4371-0ce2-4499-87bd-1a927742f33f", + "type": "MedicationRequest", + "display": "corticosteroids" + } + }, + { + "item": { + "reference": "MedicationRequest/be6d6d20-2971-420d-a384-d2b94b45ca66", + "type": "MedicationRequest", + "display": "normal insulin" + } + }, + { + "item": { + "reference": "MedicationRequest/d14b5a1c-e540-4999-9c37-269c95f69772", + "type": "MedicationRequest", + "display": "neurontin" + } + }, + { + "item": { + "reference": "MedicationRequest/31a7f227-500f-4278-af67-405b7fad691c", + "type": "MedicationRequest", + "display": "Diltiazem" + } + }, + { + "item": { + "reference": "MedicationRequest/3bd8c031-1382-4ddb-8a64-176c3cfd426d", + "type": "MedicationRequest", + "display": "altace" + } + }, + { + "item": { + "reference": "MedicationRequest/0a9794ae-f73b-4db1-9a21-9bb2169d29d0", + "type": "MedicationRequest", + "display": "ACEI" + } + }, + { + "item": { + "reference": "MedicationRequest/05fdfe6e-d45d-40f4-8e88-7ab743df1f1c", + "type": "MedicationRequest", + "display": "HTN medication" + } + }, + { + "item": { + "reference": "MedicationRequest/bc5965e1-20e2-48de-bff7-0f2b7b36604f", + "type": "MedicationRequest", + "display": "ACEI" + } + }, + { + "item": { + "reference": "MedicationRequest/c30e24bb-7fd9-4fef-935a-98b7a2a43c8e", + "type": "MedicationRequest", + "display": "HCTZ" + } + }, + { + "item": { + "reference": "MedicationRequest/780dd0b6-34fe-460f-9682-395008e06289", + "type": "MedicationRequest", + "display": "beta blocker" + } + }, + { + "item": { + "reference": "MedicationRequest/e96b0073-1154-483f-b50d-991663610a41", + "type": "MedicationRequest", + "display": "simvastatin" + } + }, + { + "item": { + "reference": "MedicationRequest/b34162ca-71fa-4c96-9e7c-27545adbc5cb", + "type": "MedicationRequest", + "display": "aspirin" + } + }, + { + "item": { + "reference": "MedicationRequest/6b3eda4d-1083-4975-8513-3508b14cb479", + "type": "MedicationRequest", + "display": "famotidine" + } + }, + { + "item": { + "reference": "ServiceRequest/2c2f9063-16ba-47d3-a978-ffab2cc4fd34", + "type": "ServiceRequest", + "display": "NPO" + } + }, + { + "item": { + "reference": "ServiceRequest/2ce4103c-a317-4151-9d74-11f34d382636", + "type": "ServiceRequest", + "display": "meds" + } + }, + { + "item": { + "reference": "ServiceRequest/4132cb37-7186-4361-b36e-bdf7ec83e1f9", + "type": "ServiceRequest", + "display": "oral meds" + } + }, + { + "item": { + "reference": "ServiceRequest/c0b7dcc8-3299-4d8e-8ec2-e3fc2d3e6962", + "type": "ServiceRequest", + "display": "BP control" + } + }, + { + "item": { + "reference": "ServiceRequest/1aac5492-4c7a-4639-9658-3cd6a2a37d92", + "type": "ServiceRequest", + "display": "PCI" + } + }, + { + "item": { + "reference": "ServiceRequest/9470ec53-87ac-4f19-825a-501207f31206", + "type": "ServiceRequest", + "display": "meds" + } + }, + { + "item": { + "reference": "ServiceRequest/51900d61-5fa7-4413-91bc-f675d4b1beca", + "type": "ServiceRequest", + "display": "rule" + } + }, + { + "item": { + "reference": "ServiceRequest/582d39aa-739a-40eb-8bb6-78f632cca439", + "type": "ServiceRequest", + "display": "object" + } + }, + { + "item": { + "reference": "Observation/cc9935e9-b7cd-415e-814c-26ca365df019", + "type": "Observation", + "display": "C1" + } + }, + { + "item": { + "reference": "Observation/ff4c3830-2416-4e21-8595-43348eb2e56d", + "type": "Observation", + "display": "C4 levels" + } + }, + { + "item": { + "reference": "ServiceRequest/e76d4e07-a7e2-49b6-9434-a54bfe4dd656", + "type": "ServiceRequest", + "display": "TSH level" + } + }, + { + "item": { + "reference": "ServiceRequest/a51ed1d0-4cc2-40af-92a4-571cdeab7295", + "type": "ServiceRequest", + "display": "blood" + } + }, + { + "item": { + "reference": "AllergyIntolerance/5b39edaa-8e80-4a2d-8805-e634a746424d", + "type": "AllergyIntolerance", + "display": "sulfa" + } + } + ] + } + }, + { + "fullUrl": "Medication/1c24ba62-c729-4acf-8810-caa34bcc23eb", + "resource": { + "resourceType": "Medication", + "id": "1c24ba62-c729-4acf-8810-caa34bcc23eb", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6283 + }, + { + "url": "length", + "valueInteger": 9 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0001927", + "display": "albuterol" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/aod", + "code": "0000020136" + }, + { + "system": "http://www.whocc.no/atc", + "code": "R03CC02" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000000861" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/csp", + "code": "4007-0002" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB01001" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "47" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch", + "code": "U000128" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/lch_nw", + "code": "sh85003253" + }, + { + "system": "http://loinc.org", + "code": "LP17843-1" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/medcin", + "code": "41470" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00749" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D000420" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "QF8SVZ843E" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C215" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "QF8SVZ843E" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "001814" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x00Af" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "435" + }, + { + "system": "http://snomed.info/sct/900000000000207008", + "code": "C-68010" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372897005" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/usp", + "code": "m1195" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4018796" + } + ], + "text": "albuterol" + }, + "form": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6309 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "nebs" + } + } + }, + { + "fullUrl": "Medication/69bde4ad-e54f-4858-a0d9-637521768380", + "resource": { + "resourceType": "Medication", + "id": "69bde4ad-e54f-4858-a0d9-637521768380", + "meta": { + "profile": [ + "http://hl7.org/fhir/us/core/StructureDefinition/us-core-medication" + ] + }, + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6297 + }, + { + "url": "length", + "valueInteger": 11 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "code": { + "coding": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0027235", + "display": "ipratropium" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/chv", + "code": "0000008455" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/drugbank", + "code": "DB00332" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/gs", + "code": "4326" + }, + { + "system": "http://loinc.org", + "code": "LP171404-9" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mmsl", + "code": "d00265" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/msh", + "code": "D009241" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/mthspl", + "code": "GR88G0I6UL" + }, + { + "system": "http://ncimeta.nci.nih.gov", + "code": "C61794" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nci_fda", + "code": "GR88G0I6UL" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/nddf", + "code": "004943" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rcd", + "code": "x01Db" + }, + { + "system": "http://www.nlm.nih.gov/research/umls/rxnorm", + "code": "7213" + }, + { + "system": "http://snomed.info/sct/731000124108", + "code": "372518007" + }, + { + "system": "http://hl7.org/fhir/ndfrt", + "code": "4019791" + } + ], + "text": "ipratropium" + }, + "form": { + "extension": [ + { + "extension": [ + { + "url": "offset", + "valueInteger": 6309 + }, + { + "url": "length", + "valueInteger": 4 + } + ], + "url": "http://hl7.org/fhir/StructureDefinition/derivation-reference" + } + ], + "text": "nebs" + } + } + } + ] +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json new file mode 100644 index 0000000000000..79525574406f3 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json @@ -0,0 +1,50 @@ +{ + "configuration": { + "clinicalTrials": { + "registryFilters": [ + { + "conditions": [ + "Diabetes" + ], + "phases": [ + "phase1" + ], + "sources": [ + "clinicaltrials.gov" + ], + "facilityLocations": [ + { + "state": "CA", + "country": "United States" + } + ] + } + ] + }, + "verbose": false, + "includeEvidence": true + }, + "patients": [ + { + "id": "98824209", + "info": { + "sex": "female", + "birthDate": "1980-12-26T00:00:00\u002B00:00", + "clinicalInfo": [ + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0006826", + "name": "MalignantNeoplasms", + "value": "true" + }, + { + "system": "http://www.nlm.nih.gov/research/umls", + "code": "C0018802", + "name": "MalignantNeoplasms", + "value": "false" + } + ] + } + } + ] +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.test.json b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.test.json new file mode 100644 index 0000000000000..0eb2d1f3116e1 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.test.json @@ -0,0 +1,79 @@ +{ + "networkCallRecords" : [ + { + "Method" : "POST", + "Uri" : "https://REDACTED.cognitiveservices.azure.com/healthinsights/trialmatcher/jobs?api-version=2023-03-01-preview", + "Headers" : { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Content-Length": "621", + "Content-Type": "application/json", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000" + }, + "Response" : { + "apim-request-id": "38b5199c-91fb-4c22-b574-2d1b2aed6405", + "Content-Length": "0", + "Date": "Sun, 29 Jan 2023 09:11:47 GMT", + "operation-location": "https://fake_ad_resource.cognitiveservices.azure.com//healthinsights/trialmatcher/jobs/8fc0d436-b092-42ab-bdf9-bc75af5a7a5a?api-version=2023-03-01-preview", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "101", + "x-ms-region": "West Europe", + "StatusCode" : "202", + "Body" : null, + "Content-Type" : "application/json", + "Retry-After": "1" + }, + "Exception" : null + }, + { + "Method" : "GET", + "Uri" : "https://REDACTED.cognitiveservices.azure.com/healthinsights/trialmatcher/jobs/8fc0d436-b092-42ab-bdf9-bc75af5a7a5a?api-version=2023-03-01-preview", + "Headers" : { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000" + }, + "Response" : { + "apim-request-id": "8fc0d436-b092-42ab-bdf9-bc75af5a7a5a", + "Content-Length": "4462", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sun, 29 Jan 2023 09:11:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63", + "x-ms-region": "West Europe", + "StatusCode" : "200", + "Body" : "{\n\"jobId\": \"8fc0d436-b092-42ab-bdf9-bc75af5a7a5a\",\n\"createdDateTime\": \"2023-01-31T15:53:08Z\",\n\"expirationDateTime\": \"2023-02-01T15:53:08Z\",\n\"lastUpdateDateTime\": \"2023-01-31T15:53:11Z\",\n\"status\": \"notStarted\"\n}", + "Exception" : null + } + }, + { + "Method" : "GET", + "Uri" : "https://REDACTED.cognitiveservices.azure.com/healthinsights/trialmatcher/jobs/8fc0d436-b092-42ab-bdf9-bc75af5a7a5a?api-version=2023-03-01-preview", + "Headers" : { + "Accept": "*/*", + "Accept-Encoding": "gzip, deflate", + "Connection": "keep-alive", + "Ocp-Apim-Subscription-Key": "00000000000000000000000000000000" + }, + "Response" : { + "apim-request-id": "8fc0d436-b092-42ab-bdf9-bc75af5a7a5a", + "Content-Length": "4462", + "Content-Type": "application/json; charset=utf-8", + "Date": "Sun, 29 Jan 2023 09:11:48 GMT", + "Strict-Transport-Security": "max-age=31536000; includeSubDomains; preload", + "X-Content-Type-Options": "nosniff", + "x-envoy-upstream-service-time": "63", + "x-ms-region": "West Europe", + "StatusCode" : "200", + "Body" : "{\n\"results\": {\n\"patients\": [\n{\n\"id\": \"98824209\",\n\"inferences\": [\n{\n\"type\": \"trialEligibility\",\n\"evidence\": [\n{\n\"eligibilityCriteriaEvidence\": \"Exclusion: Currently has or had a history of malignancy\",\n\"patientInfoEvidence\": {\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0006826\",\n\"name\": \"MalignantNeoplasms\",\n\"value\": \"true\"\n},\n\"importance\": 0.0\n}\n],\n\"id\": \"NCT05428943\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Ineligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"evidence\": [\n{\n\"eligibilityCriteriaEvidence\": \"Exclusion: Potential participants must not meet any of the following exclusion criteria: Have a history of malignancies\",\n\"patientInfoEvidence\": {\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0006826\",\n\"name\": \"MalignantNeoplasms\",\n\"value\": \"true\"\n},\n\"importance\": 0.0\n}\n],\n\"id\": \"NCT04279613\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Ineligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"evidence\": [\n{\n\"eligibilityCriteriaEvidence\": \"Exclusion: Previous or current diagnosis of malignancy\",\n\"patientInfoEvidence\": {\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0006826\",\n\"name\": \"MalignantNeoplasms\",\n\"value\": \"true\"\n},\n\"importance\": 0.0\n}\n],\n\"id\": \"NCT05574335\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Ineligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"evidence\": [\n{\n\"eligibilityCriteriaEvidence\": \"Exclusion: History or current malignancy\",\n\"patientInfoEvidence\": {\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0006826\",\n\"name\": \"MalignantNeoplasms\",\n\"value\": \"true\"\n},\n\"importance\": 0.0\n}\n],\n\"id\": \"NCT04590872\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Ineligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"evidence\": [\n{\n\"eligibilityCriteriaEvidence\": \"Exclusion: Active or recent malignancy\",\n\"patientInfoEvidence\": {\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0006826\",\n\"name\": \"MalignantNeoplasms\",\n\"value\": \"true\"\n},\n\"importance\": 0.0\n}\n],\n\"id\": \"NCT04684602\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Ineligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"evidence\": [\n{\n\"eligibilityCriteriaEvidence\": \"Exclusion: No prior history of myocardial infarction, stroke or heart failure.\",\n\"patientInfoEvidence\": {\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0018802\",\n\"name\": \"MalignantNeoplasms\",\n\"value\": \"false\"\n},\n\"importance\": 0.0\n}\n],\n\"id\": \"NCT05322213\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Ineligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT03746769\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT03977662\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT04919499\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT04786262\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT01736059\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT05241522\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT05377333\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT05473364\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT05586542\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT05634174\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n},\n{\n\"type\": \"trialEligibility\",\n\"id\": \"NCT05654831\",\n\"source\": \"clinicaltrials.gov\",\n\"value\": \"Eligible\",\n\"confidenceScore\": 0.0\n}\n],\n\"neededClinicalInfo\": [\n{\n\"semanticType\": \"T047\",\n\"category\": \"Diagnosis\",\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0011849\",\n\"name\": \"Diabetes Mellitus\",\n\"value\": \";EntityType:Diagnosis\"\n},\n{\n\"semanticType\": \"T040\",\n\"category\": \"Diagnosis\",\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C0032961\",\n\"name\": \"Pregnancy\",\n\"value\": \";EntityType:Diagnosis\"\n},\n{\n\"semanticType\": \"T201\",\n\"category\": \"ExaminationName\",\n\"system\": \"http://www.nlm.nih.gov/research/umls\",\n\"code\": \"C1305855\",\n\"name\": \"Body mass index\",\n\"value\": \";EntityType:ExaminationName\"\n}\n]\n}\n],\n\"modelVersion\": \"2023.117.1.0\",\n\"knowledgeGraphLastUpdateDate\": \"2023-11-01\"\n},\n\"jobId\": \"8fc0d436-b092-42ab-bdf9-bc75af5a7a5a\",\n\"createdDateTime\": \"2023-01-31T15:53:08Z\",\n\"expirationDateTime\": \"2023-02-01T15:53:08Z\",\n\"lastUpdateDateTime\": \"2023-01-31T15:53:11Z\",\n\"status\": \"succeeded\"\n}", + "Exception" : null + } + } + + ], + "variables" : [ ] +} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml b/sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml new file mode 100644 index 0000000000000..7f03bdc6ddfb7 --- /dev/null +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml @@ -0,0 +1,10 @@ +trigger: none + +stages: + - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml + parameters: + ServiceDirectory: healthinsights + Artifacts: + - name: azure-health-insights-clinicalmatching + groupId: com.azure + safeName: azurehealthinsightsclinicalmatching diff --git a/sdk/healthinsights/ci.yml b/sdk/healthinsights/ci.yml new file mode 100644 index 0000000000000..65d7f96f5f098 --- /dev/null +++ b/sdk/healthinsights/ci.yml @@ -0,0 +1,43 @@ +# NOTE: Please refer to https://aka.ms/azsdk/engsys/ci-yaml before editing this file. +trigger: + branches: + include: + - main + - hotfix/* + - release/* + paths: + include: + - sdk/healthinsights/ + exclude: + - sdk/healthinsights/pom.xml + - sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml + - sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml + + +pr: + branches: + include: + - main + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/healthinsights/ + exclude: + - sdk/healthinsights/pom.xml + - sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml + - sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml + +extends: + template: ../../eng/pipelines/templates/stages/archetype-sdk-client.yml + parameters: + ServiceDirectory: healthinsights + Artifacts: + - name: azure-health-insights-clinicalmatching + groupId: com.azure + safeName: azurehealthinsightsclinicalmatching + - name: azure-health-insights-cancerprofiling + groupId: com.azure + safeName: azurehealthinsightscancerprofiling + JavaBuildVersion: 17.0.5 diff --git a/sdk/healthinsights/pom.xml b/sdk/healthinsights/pom.xml new file mode 100644 index 0000000000000..1620d1255c4f1 --- /dev/null +++ b/sdk/healthinsights/pom.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + com.azure + azure-healthinsights-service + pom + 1.0.0 + + azure-health-insights-cancerprofiling + azure-health-insights-clinicalmatching + + From 7ff4a043da5e633ac958f3853ef0abba15083824 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Tue, 14 Mar 2023 14:08:09 +0200 Subject: [PATCH 02/25] rename country to countryOrRegion --- .../pom.xml | 4 +-- .../CancerProfilingAsyncClient.java | 2 +- .../CancerProfilingClient.java | 2 +- .../insights/cancerprofiling/AllSamples.java | 2 +- .../pom.xml | 4 +-- .../ClinicalMatchingAsyncClient.java | 8 ++--- .../ClinicalMatchingClient.java | 8 ++--- .../ClinicalMatchingClientImpl.java | 30 +++++++++---------- .../models/ClinicalTrialResearchFacility.java | 20 ++++++------- .../models/GeographicLocation.java | 27 +++++++++-------- .../insights/clinicalmatching/AllSamples.java | 27 ----------------- .../ClinicalMatchingClientTest.request.json | 2 +- 12 files changed, 55 insertions(+), 81 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml index a45d54e44757e..d51deb90707e0 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -16,8 +16,8 @@ 1.0.0-beta.1 jar - Microsoft Azure SDK for HealthInsights Management - This package contains Microsoft Azure HealthInsights client library. + Microsoft Azure client library for Health Insights - Cancer Profiling + This package contains Microsoft Azure Health Insights CancerProfiling client library. https://github.com/Azure/azure-sdk-for-java diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java index fff32b4684280..abdb3473aff46 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingAsyncClient.java @@ -166,7 +166,7 @@ public PollerFlux beginInferCancerProfile( * * @param oncoPhenotypeData The body of the Onco Phenotype request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java index 743850249f012..d00996780a4c7 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClient.java @@ -165,7 +165,7 @@ public SyncPoller beginInferCancerProfile( * * @param oncoPhenotypeData The body of the Onco Phenotype request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java index 3e200206b4464..a828670115a2f 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java @@ -18,7 +18,7 @@ public void init() { apiKey = System.getenv("SDK_JAVA_HDS_APIKEY"); } - @Test + // @Test public void inferCancerProfile() throws InterruptedException, IOException { SampleInferCancerProfile.runSample(endpoint, apiKey); } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml index 651c68874999a..c111fbde716ff 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -16,8 +16,8 @@ 1.0.0-beta.1 jar - Microsoft Azure SDK for HealthInsights Management - This package contains Microsoft Azure HealthInsights client library. + Microsoft Azure client library for Health Insights - Clinical Matching + This package contains Microsoft Azure Health Insights ClinicalMatching client library. https://github.com/Azure/azure-sdk-for-java diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java index 3f114f4efe0d4..f114524146bf2 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingAsyncClient.java @@ -126,7 +126,7 @@ public final class ClinicalMatchingAsyncClient { * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -165,7 +165,7 @@ public final class ClinicalMatchingAsyncClient { * (Optional){ * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * facilityAreas (Optional): [ @@ -256,7 +256,7 @@ public final class ClinicalMatchingAsyncClient { * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -302,7 +302,7 @@ public PollerFlux beginMatchTrials( * * @param trialMatcherData The body of the Trial Matcher request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java index 84409ccc394c1..567ae684b0a83 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClient.java @@ -125,7 +125,7 @@ public final class ClinicalMatchingClient { * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -164,7 +164,7 @@ public final class ClinicalMatchingClient { * (Optional){ * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * facilityAreas (Optional): [ @@ -255,7 +255,7 @@ public final class ClinicalMatchingClient { * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -301,7 +301,7 @@ public SyncPoller beginMatchTrials( * * @param trialMatcherData The body of the Trial Matcher request. * @throws IllegalArgumentException thrown if parameters fail the validation. - * @throws com.azure.core.exception.HttpResponseException thrown if the request is rejected by server. + * @throws HttpResponseException thrown if the request is rejected by server. * @throws ClientAuthenticationException thrown if the request is rejected by server on status code 401. * @throws ResourceNotFoundException thrown if the request is rejected by server on status code 404. * @throws ResourceModifiedException thrown if the request is rejected by server on status code 409. diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java index 8d1c768d75560..364bcf6c8339d 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java @@ -273,7 +273,7 @@ Mono> matchTrials( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -312,7 +312,7 @@ Mono> matchTrials( * (Optional){ * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * facilityAreas (Optional): [ @@ -403,7 +403,7 @@ Mono> matchTrials( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -547,7 +547,7 @@ private Mono> matchTrialsWithResponseAsync( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -586,7 +586,7 @@ private Mono> matchTrialsWithResponseAsync( * (Optional){ * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * facilityAreas (Optional): [ @@ -677,7 +677,7 @@ private Mono> matchTrialsWithResponseAsync( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -818,7 +818,7 @@ public PollerFlux beginMatchTrialsAsync( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -857,7 +857,7 @@ public PollerFlux beginMatchTrialsAsync( * (Optional){ * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * facilityAreas (Optional): [ @@ -948,7 +948,7 @@ public PollerFlux beginMatchTrialsAsync( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -1078,7 +1078,7 @@ public SyncPoller beginMatchTrials( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -1117,7 +1117,7 @@ public SyncPoller beginMatchTrials( * (Optional){ * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * facilityAreas (Optional): [ @@ -1208,7 +1208,7 @@ public SyncPoller beginMatchTrials( * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -1349,7 +1349,7 @@ public PollerFlux beginMatchTrialsWithMo * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } @@ -1388,7 +1388,7 @@ public PollerFlux beginMatchTrialsWithMo * (Optional){ * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * facilityAreas (Optional): [ @@ -1479,7 +1479,7 @@ public PollerFlux beginMatchTrialsWithMo * name: String (Required) * city: String (Optional) * state: String (Optional) - * country: String (Required) + * countryOrRegion: String (Required) * } * ] * } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java index 627b9ef2234fc..57e5b293637da 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/ClinicalTrialResearchFacility.java @@ -30,23 +30,23 @@ public final class ClinicalTrialResearchFacility { private String state; /* - * Country name. + * Country/region name. */ - @JsonProperty(value = "country", required = true) - private String country; + @JsonProperty(value = "countryOrRegion", required = true) + private String countryOrRegion; /** * Creates an instance of ClinicalTrialResearchFacility class. * * @param name the name value to set. - * @param country the country value to set. + * @param countryOrRegion the countryOrRegion value to set. */ @JsonCreator public ClinicalTrialResearchFacility( @JsonProperty(value = "name", required = true) String name, - @JsonProperty(value = "country", required = true) String country) { + @JsonProperty(value = "countryOrRegion", required = true) String countryOrRegion) { this.name = name; - this.country = country; + this.countryOrRegion = countryOrRegion; } /** @@ -99,11 +99,11 @@ public ClinicalTrialResearchFacility setState(String state) { } /** - * Get the country property: Country name. + * Get the countryOrRegion property: Country/region name. * - * @return the country value. + * @return the countryOrRegion value. */ - public String getCountry() { - return this.country; + public String getCountryOrRegion() { + return this.countryOrRegion; } } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java index 8f400447a6bf1..251911aafdc0d 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/GeographicLocation.java @@ -9,9 +9,10 @@ import com.fasterxml.jackson.annotation.JsonProperty; /** - * A location given as a combination of city/state/country. It could specify a city, a state or a country.<br />In - * case a city is specified, either state + country or country (for countries where there are no states) should be - * added. In case a state is specified (without a city), country should be added. + * A location given as a combination of city, state and country/region. It could specify a city, a state or a + * country/region. In case a city is specified, either state +country/region or country/region (for countries/regions + * where there are no states) should be added. In case a state is specified (without a city), country/region should be + * added. */ @Fluent public final class GeographicLocation { @@ -28,19 +29,19 @@ public final class GeographicLocation { private String state; /* - * Country name. + * Country/region name. */ - @JsonProperty(value = "country", required = true) - private String country; + @JsonProperty(value = "countryOrRegion", required = true) + private String countryOrRegion; /** * Creates an instance of GeographicLocation class. * - * @param country the country value to set. + * @param countryOrRegion the countryOrRegion value to set. */ @JsonCreator - public GeographicLocation(@JsonProperty(value = "country", required = true) String country) { - this.country = country; + public GeographicLocation(@JsonProperty(value = "countryOrRegion", required = true) String countryOrRegion) { + this.countryOrRegion = countryOrRegion; } /** @@ -84,11 +85,11 @@ public GeographicLocation setState(String state) { } /** - * Get the country property: Country name. + * Get the countryOrRegion property: Country/region name. * - * @return the country value. + * @return the countryOrRegion value. */ - public String getCountry() { - return this.country; + public String getCountryOrRegion() { + return this.countryOrRegion; } } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java index 6a13f23c5d44a..235aad0e64490 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java @@ -6,7 +6,6 @@ import java.io.IOException; import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; public class AllSamples { String endpoint; @@ -18,34 +17,8 @@ public void init() { apiKey = System.getenv("SDK_JAVA_HDS_APIKEY"); } - @Test - public void matchTrialCustomTrial() throws InterruptedException, IOException { - SampleMatchTrialCustomTrial.runSample(endpoint, apiKey); - } - - // @Test - public void matchTrialGradualMatching() throws InterruptedException, IOException { - SampleMatchTrialGradualMatching.runSample(endpoint, apiKey); - } - - // @Test - public void matchTrialPatientFhir() throws InterruptedException, IOException { - SampleMatchTrialPatientFhir.runSample(endpoint, apiKey); - } - - // @Test - public void matchTrialsSync() throws InterruptedException, IOException { - SampleMatchTrialSync.runSample(endpoint, apiKey); - } - // @Test public void matchTrialAsync() throws InterruptedException, IOException { SampleMatchTrialAsync.runSample(endpoint, apiKey); } - - // @Test - public void matchTrialUnstructuredClinicalNote() throws InterruptedException, IOException { - SampleMatchTrialUnstructuredClinicalNote.runSample(endpoint, apiKey); - } - } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json index 79525574406f3..e296af434d050 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/resources/session-records/ClinicalMatchingClientTest.request.json @@ -15,7 +15,7 @@ "facilityLocations": [ { "state": "CA", - "country": "United States" + "countryOrRegion": "United States" } ] } From 4c355f0e6509493c7fd49a60130cde02f6af10b4 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 15 Mar 2023 12:19:55 +0200 Subject: [PATCH 03/25] update product name to azure-health-insights --- .../azure-health-insights-cancerprofiling/CHANGELOG.md | 2 +- .../azure-health-insights-cancerprofiling/src/samples/README.md | 2 +- .../azure-health-insights-clinicalmatching/CHANGELOG.md | 2 +- .../src/samples/README.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md index f887f194c985e..42cb75cda259d 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md @@ -2,7 +2,7 @@ ## 1.0.0-beta.1 (Unreleased) -- Azure AzureHealthInsights client library for Java. This package contains Microsoft Azure AzureHealthInsights client library. +- Initial preview of the Azure Health Insights CancerProfiling client library. ### Features Added diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md index 3f4bbc8f2a46c..6cc7b99e71a15 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md @@ -5,7 +5,7 @@ languages: products: - azure - azure-cognitive-services - - azure-health-insights-cancerprofiling + - azure-health-insights urlFragment: healthinsights-java-samples --- diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md index f887f194c985e..6a5e9392bb830 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md @@ -2,7 +2,7 @@ ## 1.0.0-beta.1 (Unreleased) -- Azure AzureHealthInsights client library for Java. This package contains Microsoft Azure AzureHealthInsights client library. +- Initial preview of the Azure Health Insights ClinicalMatching client library. ### Features Added diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md index dc54c217b0b2c..903f4603d8678 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md @@ -5,7 +5,7 @@ languages: products: - azure - azure-cognitive-services - - azure-health-insights-clinicalmatching + - azure-health-insights urlFragment: healthinsights-java-samples --- From a882ba6e45c69bf458e96765e89d7f859155da49 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 15 Mar 2023 19:21:44 +0200 Subject: [PATCH 04/25] update cspell with missing words --- .vscode/cspell.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 479374dd3a044..b700ae918d7c3 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -236,6 +236,7 @@ "creds", "credscan", "curr", + "custom", "databind", "databricks", "DAZURE", @@ -245,7 +246,7 @@ "Deserialization", "destfile", "Dgenerate", - "dicom", + "dicom", "doclint", "doclinting", "doctitle", @@ -273,6 +274,7 @@ "hdinsight", "hvac", "hybridkubernetes", + "insighs", "intellij", "Intellij", "iotcentral", From e3085b8497d37044fd8261192f1c302c89064c05 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 15 Mar 2023 19:57:22 +0200 Subject: [PATCH 05/25] update root pom.xml and version_client.txt --- eng/versioning/version_client.txt | 2 ++ pom.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index 1e79a1f494de6..6be00f3ae774e 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -107,6 +107,8 @@ com.azure:azure-data-tables-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-digitaltwins-core;1.3.7;1.4.0-beta.1 com.azure:azure-developer-devcenter;1.0.0-beta.2;1.0.0-beta.3 com.azure:azure-e2e;1.0.0-beta.1;1.0.0-beta.1 +com.azure:azure-health-insights-clinicalmatching;1.0.0-beta.1;1.0.0-beta.1 +com.azure:azure-health-insights-cancerprofiling;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-identity;1.8.1;1.9.0-beta.2 com.azure:azure-identity-perf;1.0.0-beta.1;1.0.0-beta.1 com.azure:azure-iot-deviceupdate;1.0.4;1.1.0-beta.1 diff --git a/pom.xml b/pom.xml index 2c7336bffde95..2466d19a953e2 100644 --- a/pom.xml +++ b/pom.xml @@ -87,6 +87,7 @@ sdk/hdinsight sdk/healthbot sdk/healthcareapis + sdk/healthinsights sdk/hybridcompute sdk/hybridcontainerservice sdk/hybridkubernetes From 00a1e8c9715b35494d178545cf028d8934d3e307 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Thu, 16 Mar 2023 09:08:31 +0200 Subject: [PATCH 06/25] update dependency versions --- .../pom.xml | 23 +++++++++++++---- .../pom.xml | 25 ++++++++++++++----- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml index d51deb90707e0..19528f4e427be 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -42,18 +42,19 @@ UTF-8 - true + 0.2 + 0.2 com.azure azure-core - 1.35.0 + 1.37.0 com.azure azure-core-http-netty - 1.12.8 + 1.13.1 org.junit.jupiter @@ -76,13 +77,25 @@ com.azure azure-core-test - 1.14.0 + 1.15.0 test com.azure azure-identity - 1.7.3 + 1.8.1 + test + + + org.mockito + mockito-core + 4.5.1 + test + + + org.slf4j + slf4j-simple + 1.7.36 test diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml index c111fbde716ff..fcfddbacee36c 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -42,18 +42,19 @@ UTF-8 - true + 0.2 + 0.2 com.azure azure-core - 1.35.0 + 1.37.0 com.azure azure-core-http-netty - 1.12.8 + 1.13.1 org.junit.jupiter @@ -76,13 +77,25 @@ com.azure azure-core-test - 1.14.0 + 1.15.0 test com.azure azure-identity - 1.7.3 + 1.8.1 + test + + + org.mockito + mockito-core + 4.5.1 + test + + + org.slf4j + slf4j-simple + 1.7.36 test @@ -102,7 +115,7 @@ ${project.basedir}/README.md true 120 - true + false From 28815874834e43128f5dcc1909bf159f8ae58e30 Mon Sep 17 00:00:00 2001 From: Asaf Levi <100200009+asaflevi-ms@users.noreply.github.com> Date: Thu, 16 Mar 2023 09:10:57 +0200 Subject: [PATCH 07/25] update dependency versions (#2) --- .../pom.xml | 23 +++++++++++++---- .../pom.xml | 25 ++++++++++++++----- 2 files changed, 37 insertions(+), 11 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml index d51deb90707e0..19528f4e427be 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -42,18 +42,19 @@ UTF-8 - true + 0.2 + 0.2 com.azure azure-core - 1.35.0 + 1.37.0 com.azure azure-core-http-netty - 1.12.8 + 1.13.1 org.junit.jupiter @@ -76,13 +77,25 @@ com.azure azure-core-test - 1.14.0 + 1.15.0 test com.azure azure-identity - 1.7.3 + 1.8.1 + test + + + org.mockito + mockito-core + 4.5.1 + test + + + org.slf4j + slf4j-simple + 1.7.36 test diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml index c111fbde716ff..fcfddbacee36c 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -42,18 +42,19 @@ UTF-8 - true + 0.2 + 0.2 com.azure azure-core - 1.35.0 + 1.37.0 com.azure azure-core-http-netty - 1.12.8 + 1.13.1 org.junit.jupiter @@ -76,13 +77,25 @@ com.azure azure-core-test - 1.14.0 + 1.15.0 test com.azure azure-identity - 1.7.3 + 1.8.1 + test + + + org.mockito + mockito-core + 4.5.1 + test + + + org.slf4j + slf4j-simple + 1.7.36 test @@ -102,7 +115,7 @@ ${project.basedir}/README.md true 120 - true + false From e0f8b9e1b1f4102623a2db4ec77d14272f5fc49b Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Thu, 16 Mar 2023 10:09:36 +0200 Subject: [PATCH 08/25] skip jacoco --- .../azure-health-insights-cancerprofiling/pom.xml | 3 +-- .../azure-health-insights-clinicalmatching/pom.xml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml index 19528f4e427be..b83a389c2ce01 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -42,8 +42,7 @@ UTF-8 - 0.2 - 0.2 + true diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml index fcfddbacee36c..aa6c6e44a9ad7 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -42,8 +42,7 @@ UTF-8 - 0.2 - 0.2 + true From b81d4b49d4dd5725dd63d20120c9fcd390314e4b Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Thu, 16 Mar 2023 10:16:01 +0200 Subject: [PATCH 09/25] fix spell checks --- .vscode/cspell.json | 7 +++++-- .../src/samples/README.md | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 15a2123b35068..2af9266fc2a9d 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -236,11 +236,11 @@ "creds", "credscan", "curr", - "custom", "databind", "databricks", "DAZURE", - "ddos", + "DAZURE", + "dcis", "deallocate", "decryptor", "Deserialization", @@ -307,6 +307,7 @@ "Lucene", "mgmt", "mibps", + "Mirena", "Mockito", "msal", "msix", @@ -343,6 +344,7 @@ "servicebus", "sftdl", "skus", + "snomed", "sonatype", "Sonatype", "spotbugs", @@ -354,6 +356,7 @@ "timeframe", "tofile", "toFile", + "umls", "undelete", "unmanaged", "unmutated", diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md index 903f4603d8678..a6d303f8edb03 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md @@ -32,7 +32,7 @@ All of these samples need the endpoint to your Health Insights resource, and you |----------------|-------------| @@ -60,7 +60,7 @@ Guidelines][SDK_README_CONTRIBUTING] for more information. [SDK_README_NEXT_STEPS]: [match_trials_async]: [match_trials_sync]: -[sample_cutom_trials]: +[sample_custom_trials]: [sample_gradual_matching]: [sample_match_trials_fhir]: [sample_match_trials_unstructured_clinical_note]: From 75c01ae067c3bc64aa484e9b62390c3afcaa8f36 Mon Sep 17 00:00:00 2001 From: Asaf Levi <100200009+asaflevi-ms@users.noreply.github.com> Date: Thu, 16 Mar 2023 10:19:33 +0200 Subject: [PATCH 10/25] Asaflevi/feature/healthinsights sdk for java (#3) * update dependency versions * skip jacoco * fix spell checks --- .vscode/cspell.json | 7 +++++-- .../src/samples/README.md | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 15a2123b35068..2af9266fc2a9d 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -236,11 +236,11 @@ "creds", "credscan", "curr", - "custom", "databind", "databricks", "DAZURE", - "ddos", + "DAZURE", + "dcis", "deallocate", "decryptor", "Deserialization", @@ -307,6 +307,7 @@ "Lucene", "mgmt", "mibps", + "Mirena", "Mockito", "msal", "msix", @@ -343,6 +344,7 @@ "servicebus", "sftdl", "skus", + "snomed", "sonatype", "Sonatype", "spotbugs", @@ -354,6 +356,7 @@ "timeframe", "tofile", "toFile", + "umls", "undelete", "unmanaged", "unmutated", diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md index 903f4603d8678..a6d303f8edb03 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md @@ -32,7 +32,7 @@ All of these samples need the endpoint to your Health Insights resource, and you |----------------|-------------| @@ -60,7 +60,7 @@ Guidelines][SDK_README_CONTRIBUTING] for more information. [SDK_README_NEXT_STEPS]: [match_trials_async]: [match_trials_sync]: -[sample_cutom_trials]: +[sample_custom_trials]: [sample_gradual_matching]: [sample_match_trials_fhir]: [sample_match_trials_unstructured_clinical_note]: From d895b12ac0d00bf1af0896271ca0df63cf004507 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Thu, 16 Mar 2023 11:45:09 +0200 Subject: [PATCH 11/25] skip jacoco --- .../azure-health-insights-cancerprofiling/pom.xml | 3 +-- .../azure-health-insights-clinicalmatching/pom.xml | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml index 19528f4e427be..b83a389c2ce01 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -42,8 +42,7 @@ UTF-8 - 0.2 - 0.2 + true diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml index fcfddbacee36c..aa6c6e44a9ad7 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -42,8 +42,7 @@ UTF-8 - 0.2 - 0.2 + true From 31ec4c3ddf01455bfd4d97ecd1f69ceec59c0cbc Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Thu, 16 Mar 2023 11:57:08 +0200 Subject: [PATCH 12/25] linting --- .../com/azure/health/insights/cancerprofiling/AllSamples.java | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java index a828670115a2f..ac5209ae187a5 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java @@ -6,7 +6,6 @@ import java.io.IOException; import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; public class AllSamples { String endpoint; From b53335b7cb0ffe9d2711433f73925a7be9e1ee01 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 22 Mar 2023 15:48:43 +0200 Subject: [PATCH 13/25] remove redundant plugins --- .../CHANGELOG.md | 8 ------- .../pom.xml | 24 ++----------------- .../CHANGELOG.md | 8 ------- .../pom.xml | 24 ++----------------- 4 files changed, 4 insertions(+), 60 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md index 42cb75cda259d..fe2e7e3cef46f 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/CHANGELOG.md @@ -3,11 +3,3 @@ ## 1.0.0-beta.1 (Unreleased) - Initial preview of the Azure Health Insights CancerProfiling client library. - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml index b83a389c2ce01..1b588b480e72b 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -42,7 +42,8 @@ UTF-8 - true + 0.1 + 0.1 @@ -98,25 +99,4 @@ test - - - - - com.azure.tools - codesnippet-maven-plugin - 1.0.0-beta.8 - - **/src/samples/java/**/*.java - ${project.basedir}/src/samples/java - **/src/main/java/**/*.java - ${project.basedir}/src/main/java - true - ${project.basedir}/README.md - true - 120 - false - - - - diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md index 6a5e9392bb830..ab3a7cff345e8 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/CHANGELOG.md @@ -3,11 +3,3 @@ ## 1.0.0-beta.1 (Unreleased) - Initial preview of the Azure Health Insights ClinicalMatching client library. - -### Features Added - -### Breaking Changes - -### Bugs Fixed - -### Other Changes diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml index aa6c6e44a9ad7..f58a4c1d9c1de 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -42,7 +42,8 @@ UTF-8 - true + 0.1 + 0.1 @@ -98,25 +99,4 @@ test - - - - - com.azure.tools - codesnippet-maven-plugin - 1.0.0-beta.8 - - **/src/samples/java/**/*.java - ${project.basedir}/src/samples/java - **/src/main/java/**/*.java - ${project.basedir}/src/main/java - true - ${project.basedir}/README.md - true - 120 - false - - - - From 0a0104d4b7b8a8369049ebd30eeed62f76327346 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 22 Mar 2023 16:12:13 +0200 Subject: [PATCH 14/25] remove test.yaml files --- .../azure-health-insights-cancerprofiling/tests.yml | 10 ---------- .../azure-health-insights-clinicalmatching/tests.yml | 10 ---------- 2 files changed, 20 deletions(-) delete mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml delete mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml b/sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml deleted file mode 100644 index d79fef966e6d2..0000000000000 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/tests.yml +++ /dev/null @@ -1,10 +0,0 @@ -trigger: none - -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml - parameters: - ServiceDirectory: healthinsights - Artifacts: - - name: azure-health-insights-cancerprofiling - groupId: com.azure - safeName: azurehealthinsightscancerprofiling diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml b/sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml deleted file mode 100644 index 7f03bdc6ddfb7..0000000000000 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/tests.yml +++ /dev/null @@ -1,10 +0,0 @@ -trigger: none - -stages: - - template: /eng/pipelines/templates/stages/archetype-sdk-tests.yml - parameters: - ServiceDirectory: healthinsights - Artifacts: - - name: azure-health-insights-clinicalmatching - groupId: com.azure - safeName: azurehealthinsightsclinicalmatching From 6167072791853ce0add8e0a943815eb994bd73bd Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Thu, 23 Mar 2023 11:19:05 +0200 Subject: [PATCH 15/25] remove redundant package.json file --- .../azure-health-insights-cancerprofiling/package.json | 5 ----- .../azure-health-insights-clinicalmatching/package.json | 5 ----- 2 files changed, 10 deletions(-) delete mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/package.json delete mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/package.json diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/package.json b/sdk/healthinsights/azure-health-insights-cancerprofiling/package.json deleted file mode 100644 index ded9535dc3f1e..0000000000000 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "mvn": "^3.5.0" - } -} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/package.json b/sdk/healthinsights/azure-health-insights-clinicalmatching/package.json deleted file mode 100644 index ded9535dc3f1e..0000000000000 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/package.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "dependencies": { - "mvn": "^3.5.0" - } -} From c18a288378f81b0535c480f29b6d444b58c5cd5b Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Mon, 27 Mar 2023 11:07:56 +0300 Subject: [PATCH 16/25] fix sampes and readmes --- .vscode/cspell.json | 4 +- .../README.md | 169 +++++++++++++----- .../src/samples/README.md | 29 --- .../SampleInferCancerProfile.java | 38 +++- .../insights/cancerprofiling/AllSamples.java | 24 --- .../README.md | 112 +++++++----- .../pom.xml | 8 +- .../src/samples/README.md | 43 +---- .../SampleMatchTrialAsync.java | 49 +++-- .../insights/clinicalmatching/AllSamples.java | 24 --- 10 files changed, 270 insertions(+), 230 deletions(-) delete mode 100644 sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java delete mode 100644 sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java diff --git a/.vscode/cspell.json b/.vscode/cspell.json index 2af9266fc2a9d..cb239a4fdac23 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -239,7 +239,7 @@ "databind", "databricks", "DAZURE", - "DAZURE", + "ddos", "dcis", "deallocate", "decryptor", @@ -276,7 +276,7 @@ "hdinsight", "hvac", "hybridkubernetes", - "insighs", + "insights", "intellij", "Intellij", "iotcentral", diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index 50860f2469044..23640329f5452 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -1,14 +1,15 @@ # Azure Azure Health Insights Cancer Profiling client library for Java - + +[Health Insights](https://review.learn.microsoft.com/azure/azure-health-insights/?branch=release-azure-health-insights) is an Azure Applied AI Service built with the Azure Cognitive Services Framework, that leverages multiple Cognitive Services, Healthcare API services and other Azure resources. + +The [Cancer Profiling model][cancer_profiling_docs] receives clinical records of oncology patients and outputs cancer staging, such as clinical stage TNM categories and pathologic stage TNM categories as well as tumor site, histology. + ## Getting started ### Prerequisites -- A [Java Development Kit (JDK)][jdk] with version 8 or above +- A [Java Development Kit (JDK)][jdk_link] with version 8 or above - [Azure Subscription][azure_subscription] - An existing Cognitive Services Health Insights instance. @@ -47,10 +48,11 @@ az cognitiveservices account keys list --resource-group -```Java readme-sample-InferCancerProfile -CancerProfilingAsyncClient asyncClient = new CancerProfilingClientBuilder() - .endpoint(endpoint) - .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) - .credential(new AzureKeyCredential(apiKey)) - .buildAsyncClient(); - - PollerFlux asyncPoller = asyncClient.beginInferCancerProfile(oncoPhenotypeData); - OncoPhenotypeResult result = asyncPoller.blockLast().getValue(); - - OncoPhenotypeResults oncoResults = result.getResults(); - oncoResults.getPatients().forEach(patient_result -> { - System.out.println("\n==== Inferences of Patient " + patient_result.getId() + " ===="); - patient_result.getInferences().forEach(onco_inference -> { - System.out.println("\n=== Clinical Type: " + onco_inference.getType() + " Value: " + onco_inference.getValue() + " ConfidenceScore: " + onco_inference.getConfidenceScore() + " ==="); - onco_inference.getEvidence().forEach(evidence -> { - if (evidence.getPatientDataEvidence() != null) { - ClinicalNoteEvidence dataEvidence = evidence.getPatientDataEvidence(); - System.out.println("Evidence " + dataEvidence.getId() + " " + dataEvidence.getOffset() + " " + dataEvidence.getLength() + " " + dataEvidence.getText()); - } - if (evidence.getPatientInfoEvidence() != null) { - ClinicalCodedElement infoEvidence = evidence.getPatientInfoEvidence(); - System.out.println("Evidence " + infoEvidence.getSystem() + " " + infoEvidence.getCode() + " " + infoEvidence.getName() + " " + infoEvidence.getValue()); - } - }); - }); - }); - - +```Java com.azure.health.insights.cancerprofiling.infercancerprofile +// Construct Patient +PatientRecord patient1 = new PatientRecord("patient_id"); +PatientInfo patientInfo = new PatientInfo(); +patientInfo.setBirthDate(LocalDate.parse("1965-12-26")); +patientInfo.setSex(PatientInfoSex.FEMALE); +patient1.setInfo(patientInfo); +LinkedList patientDocuments = new LinkedList<>(); +patient1.setData(patientDocuments); + +// Add imaging document +final String docContent1 = String.join(System.getProperty("line.separator"), + "15.8.2021", + "Jane Doe 091175-8967", + "42 year old female, married with 3 children, works as a nurse. ", + "Healthy, no medications taken on a regular basis.", + "PMHx is significant for migraines with aura, uses Mirena for contraception.", + "Smoking history of 10 pack years (has stopped and relapsed several times).", + "She is in c/o 2 weeks of productive cough and shortness of breath.", + "She has a fever of 37.8 and general weakness. ", + "Denies night sweats and rash. She denies symptoms of rhinosinusitis, asthma, and heartburn. ", + "On PE:", + "GENERAL: mild pallor, no cyanosis. Regular breathing rate. ", + "LUNGS: decreased breath sounds on the base of the right lung. Vesicular breathing.", + " No crackles, rales, and wheezes. Resonant percussion. ", + "PLAN: ", + "Will be referred for a chest x-ray. ", + "======================================", + "CXR showed mild nonspecific opacities in right lung base. ", + "PLAN:", + "Findings are suggestive of a working diagnosis of pneumonia. The patient is referred to a follow-up CXR in 2 weeks."); + +PatientDocument patientDocument1 = new PatientDocument( + DocumentType.NOTE, + "doc1", + new DocumentContent(DocumentContentSourceType.INLINE, docContent1)); + +patientDocument1.setClinicalType(ClinicalDocumentType.IMAGING); +patientDocument1.setLanguage("en"); +patientDocument1.setCreatedDateTime(OffsetDateTime.parse("2021-08-15T10:15:30+01:00")); +patient1.getData().add(patientDocument1); + +// Add Pathology documents +String docContent2 = String.join(System.getProperty("line.separator"), + "Oncology Clinic ", + "20.10.2021", + "Jane Doe 091175-8967", + "42-year-old healthy female who works as a nurse in the ER of this hospital. ", + "First menstruation at 11 years old. First delivery- 27 years old. She has 3 children.", + "Didn’t breastfeed. ", + "Contraception- Mirena.", + "Smoking- 10 pack years. ", + "Mother- Belarusian. Father- Georgian. ", + "About 3 months prior to admission, she stated she had SOB and was febrile. ", + "She did a CXR as an outpatient which showed a finding in the base of the right lung- possibly an infiltrate.", + "She was treated with antibiotics with partial response. ", + "6 weeks later a repeat CXR was performed- a few solid dense findings in the right lung. ", + "Therefore, she was referred for a PET-CT which demonstrated increased uptake in the right breast, lymph nodes on the right a few areas in the lungs and liver. ", + "On biopsy from the lesion in the right breast- triple negative adenocarcinoma. Genetic testing has not been done thus far. ", + "Genetic counseling- the patient denies a family history of breast, ovary, uterus, and prostate cancer. Her mother has chronic lymphocytic leukemia (CLL). ", + "She is planned to undergo genetic tests because the aggressive course of the disease, and her young age. ", + "Impression:", + "Stage 4 triple negative breast adenocarcinoma. ", + "Could benefit from biological therapy. ", + "Different treatment options were explained- the patient wants to get a second opinion."); + +PatientDocument patientDocument2 = new PatientDocument(DocumentType.NOTE, + "doc2", + new DocumentContent(DocumentContentSourceType.INLINE, docContent2)); +patientDocument2.setClinicalType(ClinicalDocumentType.PATHOLOGY); +patientDocument2.setLanguage("en"); +patientDocument2.setCreatedDateTime(OffsetDateTime.parse("2021-10-20T22:00:00.00Z")); +patient1.getData().add(patientDocument2); + +String docContent3 = String.join(System.getProperty("line.separator"), + "PATHOLOGY REPORT", + " Clinical Information", + "Ultrasound-guided biopsy; A. 18 mm mass; most likely diagnosis based on imaging: IDC", + " Diagnosis", + " A. BREAST, LEFT AT 2:00 4 CM FN; ULTRASOUND-GUIDED NEEDLE CORE BIOPSIES:", + " - Invasive carcinoma of no special type (invasive ductal carcinoma), grade 1", + " Nottingham histologic grade: 1/3 (tubules 2; nuclear grade 2; mitotic rate 1; total score; 5/9)", + " Fragments involved by invasive carcinoma: 2", + " Largest measurement of invasive carcinoma on a single fragment: 7 mm", + " Ductal carcinoma in situ (DCIS): Present", + " Architectural pattern: Cribriform", + " Nuclear grade: 2-", + " -intermediate", + " Necrosis: Not identified", + " Fragments involved by DCIS: 1", + " Largest measurement of DCIS on a single fragment: Span 2 mm", + " Microcalcifications: Present in benign breast tissue and invasive carcinoma", + " Blocks with invasive carcinoma: A1", + " Special studies: Pending"); + +PatientDocument patientDocument3 = new PatientDocument(DocumentType.NOTE, + "doc3", + new DocumentContent(DocumentContentSourceType.INLINE, docContent3)); +patientDocument3.setClinicalType(ClinicalDocumentType.PATHOLOGY); +patientDocument3.setLanguage("en"); +patientDocument3.setCreatedDateTime(OffsetDateTime.parse("2022-01-01T10:15:30+01:00")); + +patient1.getData().add(patientDocument3); + +// Set configuration to include evidence for the cancer staging inferences +OncoPhenotypeModelConfiguration configuration = new OncoPhenotypeModelConfiguration(); +configuration.setIncludeEvidence(true); + +// Construct the request with the patient and configration +OncoPhenotypeData oncoPhenotypeData = new OncoPhenotypeData(Arrays.asList(patient1)); +oncoPhenotypeData.setConfiguration(configuration); + +PollerFlux asyncPoller = asyncClient.beginInferCancerProfile(oncoPhenotypeData); ``` ## Troubleshooting @@ -106,9 +192,7 @@ CancerProfilingAsyncClient asyncClient = new CancerProfilingClientBuilder() This code sample show common scenario operation with the Azure Health Insights Cancer Profiling library. More samples can be found under the [samples](https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/) directory. --> ### Additional documentation - +For more extensive documentation on Azure Health Insights Cancer Profiling, see the [Cancer Profiling documentation][cancer_profiling_docs] on docs.microsoft.com. ## Contributing This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit [cla.microsoft.com][cla]. @@ -124,8 +208,11 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [coc_contact]: mailto:opencode@microsoft.com [azure_subscription]: https://azure.microsoft.com/free/ [cognitive_resource_cli]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli +[jdk_link]: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable + [azure_cli]: https://docs.microsoft.com/cli/azure [azure_portal]: https://portal.azure.com +[cancer_profiling_docs]: https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/oncophenotype/overview?branch=main diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md index 6cc7b99e71a15..73b455f1fd9fe 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/README.md @@ -13,15 +13,6 @@ urlFragment: healthinsights-java-samples Azure Health Insights Cancer Profiling samples are a set of self-contained Java programs that demonstrate interacting with Azure self-contained service using the client library. Each sample focuses on a specific scenario and can be executed independently. -## Key concepts - - -Key concepts are explained in detail [here] -## Getting started - - -Getting started explained in detail [here] - ## Examples The following sections provide code samples covering common scenario operations with the Azure Health Insights CancerProfiling client library. @@ -31,27 +22,7 @@ All of these samples need the endpoint to your Health Insights resource, and you |**File Name**|**Description**| |----------------|-------------| |[SampleInferCancerProfile.java][infer_cancer_profiling]|Get the inferred cancer staging| - -## Troubleshooting - - -Troubleshooting steps can be found [here]. - -## Next steps - - -See [Next steps]. - -## Contributing - -If you would like to become an active contributor to this project please refer to our [Contribution -Guidelines][SDK_README_CONTRIBUTING] for more information. diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java index 0c92fbabf869c..df79b4e74c1e5 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java @@ -3,13 +3,17 @@ package com.azure.health.insights.cancerprofiling; -import java.io.IOException; import java.time.LocalDate; import java.time.OffsetDateTime; import java.util.Arrays; import java.util.LinkedList; +import java.util.concurrent.CountDownLatch; +import java.util.function.Predicate; +import com.azure.core.util.Configuration; import com.azure.core.credential.AzureKeyCredential; +import com.azure.core.util.polling.AsyncPollResponse; +import com.azure.core.util.polling.LongRunningOperationStatus; import com.azure.core.util.polling.PollerFlux; import com.azure.health.insights.cancerprofiling.models.PatientInfoSex; import com.azure.health.insights.cancerprofiling.models.ClinicalCodedElement; @@ -26,15 +30,22 @@ import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResult; import com.azure.health.insights.cancerprofiling.models.ClinicalNoteEvidence; + public class SampleInferCancerProfile { - public static void runSample(String endpoint, String apiKey) throws InterruptedException, IOException { + public static void main(final String[] args) throws InterruptedException { + // BEGIN: com.azure.health.insights.cancerprofiling.buildasyncclient + String endpoint = Configuration.getGlobalConfiguration().get("AZURE_HEALTH_INSIGHTS_ENDPOINT"); + String apiKey = Configuration.getGlobalConfiguration().get("AZURE_HEALTH_INSIGHTS_API_KEY"); + CancerProfilingAsyncClient asyncClient = new CancerProfilingClientBuilder() .endpoint(endpoint) .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) .credential(new AzureKeyCredential(apiKey)) .buildAsyncClient(); + // END: com.azure.health.insights.cancerprofiling.buildasyncclient - // construct Patient + // BEGIN: com.azure.health.insights.cancerprofiling.infercancerprofile + // Construct Patient PatientRecord patient1 = new PatientRecord("patient_id"); PatientInfo patientInfo = new PatientInfo(); patientInfo.setBirthDate(LocalDate.parse("1965-12-26")); @@ -146,11 +157,19 @@ public static void runSample(String endpoint, String apiKey) throws InterruptedE oncoPhenotypeData.setConfiguration(configuration); PollerFlux asyncPoller = asyncClient.beginInferCancerProfile(oncoPhenotypeData); - OncoPhenotypeResult result = asyncPoller.blockLast().getValue(); - printResults(result); + // END: com.azure.health.insights.cancerprofiling.infercancerprofile + asyncPoller + .takeUntil(isComplete) + .subscribe(completedResult -> { + System.out.println("Completed poll response, status: " + completedResult.getStatus()); + printResults(completedResult.getValue()); + latch.countDown(); + }); + + latch.await(); } - private static void printResults(OncoPhenotypeResult result) { + private static final void printResults(OncoPhenotypeResult result) { OncoPhenotypeResults oncoResults = result.getResults(); oncoResults.getPatients().forEach(patient_result -> { System.out.println("\n==== Inferences of Patient " + patient_result.getId() + " ===="); @@ -169,4 +188,11 @@ private static void printResults(OncoPhenotypeResult result) { }); }); } + + private static final Predicate> isComplete = response -> { + return response.getStatus() != LongRunningOperationStatus.IN_PROGRESS + && response.getStatus() != LongRunningOperationStatus.NOT_STARTED; + }; + + private static final CountDownLatch latch = new CountDownLatch(1); } diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java deleted file mode 100644 index ac5209ae187a5..0000000000000 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/AllSamples.java +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.health.insights.cancerprofiling; - -import java.io.IOException; - -import org.junit.jupiter.api.BeforeEach; - -public class AllSamples { - String endpoint; - String apiKey; - - @BeforeEach - public void init() { - endpoint = System.getenv("SDK_JAVA_HDS_ENDPOINT"); - apiKey = System.getenv("SDK_JAVA_HDS_APIKEY"); - } - - // @Test - public void inferCancerProfile() throws InterruptedException, IOException { - SampleInferCancerProfile.runSample(endpoint, apiKey); - } -} diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md index 1695d82c359f6..072545f19146d 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -1,13 +1,14 @@ # Azure Azure Health Insights Clinical Matching client library for Java - + +[Health Insights](https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/overview?branch=main) is an Azure Applied AI Service built with the Azure Cognitive Services Framework, that leverages multiple Cognitive Services, Healthcare API services and other Azure resources. + +The [Clinical Matching model][clinical_matching_docs] receives patients data and clinical trials protocols, and provides relevant clinical trials based on eligibility criteria. + ## Getting started ### Prerequisites -- A [Java Development Kit (JDK)][jdk] with version 8 or above +- A [Java Development Kit (JDK)][jdk_link] with version 8 or above - [Azure Subscription][azure_subscription] - An existing Cognitive Services Health Insights instance. @@ -46,16 +47,15 @@ az cognitiveservices account keys list --resource-group -```Java readme-sample-MatchTrialsSync -ClinicalMatchingClient syncClient = new ClinicalMatchingClientBuilder() - .endpoint(endpoint) - .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) - .httpClient(HttpClient.createDefault(new HttpClientOptions())) - .credential(new AzureKeyCredential(apiKey)) - .buildClient(); - -SyncPoller syncPoller = syncClient.beginMatchTrials(BinaryData.fromObject(trialMatcherOptions), null); -PollResponse pollerResponse = syncPoller.waitForCompletion(); - -LongRunningOperationStatus status = pollerResponse.getStatus(); -System.out.println("Status " + status); -TrialMatcherResult tmRespone = pollerResponse.getValue().toObject(TypeReference.createInstance(TrialMatcherResult.class)); -if (status == LongRunningOperationStatus.SUCCESSFULLY_COMPLETED) { - TrialMatcherResults tmResults = tmRespone.getResults(); - tmResults.getPatients().forEach(patientResult -> { - System.out.println("Inferences of Patient " + patientResult.getId()); - patientResult.getInferences().forEach(inference -> { - System.out.println("Trial Id " + inference.getId()); - System.out.println("Type: " + inference.getType() + " Value: " + inference.getValue()); - System.out.println("Description " + inference.getDescription()); - }); - }); -} else if (status == LongRunningOperationStatus.FAILED) { - List errors = tmRespone.getErrors(); - errors.forEach(error -> { - System.out.println(error.getCode() + " : " + error.getMessage()); - }); -} - +```Java com.azure.health.insights.clinicalmatching.findtrials +// Construct Patient +PatientRecord patient1 = new PatientRecord("patient_1"); +PatientInfo patientInfo = new PatientInfo(); +patientInfo.setBirthDate(LocalDate.parse("1965-12-26")); +patientInfo.setSex(PatientInfoSex.MALE); +final List clinicalInfo = new ArrayList(); +patientInfo.setClinicalInfo(clinicalInfo); +patient1.setInfo(patientInfo); + +final String system = "http://www.nlm.nih.gov/research/umls"; +// Attach clinical info to the patient +clinicalInfo.add(createClinicalCodedElement(system, "C0006826", "Malignant Neoplasms", "true")); +clinicalInfo.add(createClinicalCodedElement(system, "C1522449", "Therapeutic radiology procedure", "true")); +clinicalInfo.add(createClinicalCodedElement(system, "C1512162", "Eastern Cooperative Oncology Group", "1")); +clinicalInfo.add(createClinicalCodedElement(system, "C0019693", "HIV Infections", "false")); +clinicalInfo.add(createClinicalCodedElement(system, "C1300072", "Tumor stage", "2")); +clinicalInfo.add(createClinicalCodedElement(system, "METASTATIC", "metastatic", "true")); +clinicalInfo.add(createClinicalCodedElement(system, "C0019163", "Hepatitis B", "false")); +clinicalInfo.add(createClinicalCodedElement(system, "C0018802", "Congestive heart failure", "true")); +clinicalInfo.add(createClinicalCodedElement(system, "C0019196", "Hepatitis C", "false")); +clinicalInfo.add(createClinicalCodedElement(system, "C0220650", "Metastatic malignant neoplasm to brain", "true")); + +// Create registry filter +ClinicalTrialRegistryFilter registryFilters = new ClinicalTrialRegistryFilter(); +// Limit the trial to a specific patient condition ("Non-small cell lung cancer") +registryFilters.setConditions(Arrays.asList("Non-small cell lung cancer")); +// Limit the clinical trial to a certain phase, phase 1 +registryFilters.setPhases(Arrays.asList(ClinicalTrialPhase.PHASE1)); +// Specify the clinical trial registry source as ClinicalTrials.Gov +registryFilters.setSources(Arrays.asList(ClinicalTrialSource.CLINICALTRIALS_GOV)); +// Limit the clinical trial to a certain location, in this case California, USA + +GeographicLocation location = new GeographicLocation("United States"); +location.setCity("Gilbert"); +location.setState("Arizona"); +registryFilters.setFacilityLocations(Arrays.asList(location)); +// Limit the trial to a specific study type, interventional +registryFilters.setStudyTypes(Arrays.asList(ClinicalTrialStudyType.INTERVENTIONAL)); + +// Construct ClinicalTrial instance and attach the registry filter to it. +ClinicalTrials clinicalTrials = new ClinicalTrials(); +clinicalTrials.setRegistryFilters(Arrays.asList(registryFilters)); + +// Create TrialMatcherData +TrialMatcherModelConfiguration configuration = new TrialMatcherModelConfiguration(clinicalTrials); +TrialMatcherData trialMatcherData = new TrialMatcherData(Arrays.asList(patient1)); +trialMatcherData.setConfiguration(configuration); + +PollerFlux asyncPoller = asyncClient.beginMatchTrials(trialMatcherData); ``` ## Troubleshooting @@ -113,9 +132,8 @@ This code sample show common scenario operation with the Azure Health Insights C --> ### Additional documentation - +For more extensive documentation on Azure Health Insights Clinical Matching, see the [Clinical Matching documentation][clinical_matching_docs] on docs.microsoft.com. + ## Contributing @@ -132,8 +150,10 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [coc_contact]: mailto:opencode@microsoft.com [azure_subscription]: https://azure.microsoft.com/free/ [cognitive_resource_cli]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli +[jdk_link]: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable +[azure_cli]: https://docs.microsoft.com/cli/azure +[azure_portal]: https://portal.azure.com +[clinical_matching_docs]: https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/trial-matcher/overview?branch=main -[azure_cli]: https://docs.microsoft.com/cli/azure -[azure_portal]: https://portal.azure.com \ No newline at end of file diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml index f58a4c1d9c1de..8f494b7a85568 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/pom.xml @@ -43,7 +43,7 @@ UTF-8 0.1 - 0.1 + 0.1 @@ -86,12 +86,6 @@ 1.8.1 test - - org.mockito - mockito-core - 4.5.1 - test - org.slf4j slf4j-simple diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md index a6d303f8edb03..9a2189164d26c 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/README.md @@ -13,14 +13,6 @@ urlFragment: healthinsights-java-samples Azure Health Insights Clinical Matching samples are a set of self-contained Java programs that demonstrate interacting with Azure self-contained service using the client library. Each sample focuses on a specific scenario and can be executed independently. -## Key concepts - - -Key concepts are explained in detail [here] -## Getting started - - -Getting started explained in detail [here] ## Examples @@ -30,39 +22,8 @@ All of these samples need the endpoint to your Health Insights resource, and you |**File Name**|**Description**| |----------------|-------------| - - -## Troubleshooting - - -Troubleshooting steps can be found [here]. - -## Next steps - - -See [Next steps]. - -## Contributing - -If you would like to become an active contributor to this project please refer to our [Contribution -Guidelines][SDK_README_CONTRIBUTING] for more information. + diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java index 4edffd98ffd0e..4d457448ce302 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java @@ -3,15 +3,17 @@ package com.azure.health.insights.clinicalmatching; -import java.io.IOException; import java.time.LocalDate; import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import java.util.concurrent.CountDownLatch; +import java.util.function.Predicate; +import com.azure.core.util.Configuration; import com.azure.core.credential.AzureKeyCredential; -import com.azure.core.http.HttpClient; -import com.azure.core.util.HttpClientOptions; +import com.azure.core.util.polling.AsyncPollResponse; +import com.azure.core.util.polling.LongRunningOperationStatus; import com.azure.core.util.polling.PollerFlux; import com.azure.health.insights.clinicalmatching.models.TrialMatcherData; import com.azure.health.insights.clinicalmatching.models.GeographicLocation; @@ -41,16 +43,20 @@ * recruitment status, location and other criteria that the service users may choose to prioritize. */ public class SampleMatchTrialAsync { - public static void runSample(String endpoint, String apiKey) throws InterruptedException, IOException { + public static void main(final String[] args) throws InterruptedException { + // BEGIN: com.azure.health.insights.clinicalmatching.buildasyncclient + String endpoint = Configuration.getGlobalConfiguration().get("AZURE_HEALTH_INSIGHTS_ENDPOINT"); + String apiKey = Configuration.getGlobalConfiguration().get("AZURE_HEALTH_INSIGHTS_API_KEY"); ClinicalMatchingAsyncClient asyncClient = new ClinicalMatchingClientBuilder() .endpoint(endpoint) .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) - .httpClient(HttpClient.createDefault(new HttpClientOptions())) .credential(new AzureKeyCredential(apiKey)) .buildAsyncClient(); + // END: com.azure.health.insights.clinicalmatching.buildasyncclient - // construct Patient + // BEGIN: com.azure.health.insights.clinicalmatching.findtrials + // Construct Patient PatientRecord patient1 = new PatientRecord("patient_1"); PatientInfo patientInfo = new PatientInfo(); patientInfo.setBirthDate(LocalDate.parse("1965-12-26")); @@ -66,6 +72,11 @@ public static void runSample(String endpoint, String apiKey) throws InterruptedE clinicalInfo.add(createClinicalCodedElement(system, "C1512162", "Eastern Cooperative Oncology Group", "1")); clinicalInfo.add(createClinicalCodedElement(system, "C0019693", "HIV Infections", "false")); clinicalInfo.add(createClinicalCodedElement(system, "C1300072", "Tumor stage", "2")); + clinicalInfo.add(createClinicalCodedElement(system, "METASTATIC", "metastatic", "true")); + clinicalInfo.add(createClinicalCodedElement(system, "C0019163", "Hepatitis B", "false")); + clinicalInfo.add(createClinicalCodedElement(system, "C0018802", "Congestive heart failure", "true")); + clinicalInfo.add(createClinicalCodedElement(system, "C0019196", "Hepatitis C", "false")); + clinicalInfo.add(createClinicalCodedElement(system, "C0220650", "Metastatic malignant neoplasm to brain", "true")); // Create registry filter ClinicalTrialRegistryFilter registryFilters = new ClinicalTrialRegistryFilter(); @@ -76,7 +87,11 @@ public static void runSample(String endpoint, String apiKey) throws InterruptedE // Specify the clinical trial registry source as ClinicalTrials.Gov registryFilters.setSources(Arrays.asList(ClinicalTrialSource.CLINICALTRIALS_GOV)); // Limit the clinical trial to a certain location, in this case California, USA - registryFilters.setFacilityLocations(Arrays.asList(new GeographicLocation("United States"))); + + GeographicLocation location = new GeographicLocation("United States"); + location.setCity("Gilbert"); + location.setState("Arizona"); + registryFilters.setFacilityLocations(Arrays.asList(location)); // Limit the trial to a specific study type, interventional registryFilters.setStudyTypes(Arrays.asList(ClinicalTrialStudyType.INTERVENTIONAL)); @@ -90,9 +105,16 @@ public static void runSample(String endpoint, String apiKey) throws InterruptedE trialMatcherData.setConfiguration(configuration); PollerFlux asyncPoller = asyncClient.beginMatchTrials(trialMatcherData); + // END: com.azure.health.insights.clinicalmatching.findtrials + asyncPoller + .takeUntil(isComplete) + .subscribe(completedResult -> { + System.out.println("Completed poll response, status: " + completedResult.getStatus()); + printResults(completedResult.getValue()); + latch.countDown(); + }); - TrialMatcherResult response = asyncPoller.blockLast().getValue(); - printResults(response); + latch.await(); } private static void printResults(TrialMatcherResult tmRespone) { @@ -108,10 +130,17 @@ private static void printResults(TrialMatcherResult tmRespone) { }); } - private static ClinicalCodedElement createClinicalCodedElement(String system, String code, String name, String value) { + private static final ClinicalCodedElement createClinicalCodedElement(String system, String code, String name, String value) { ClinicalCodedElement element = new ClinicalCodedElement(system, code); element.setName(name); element.setValue(value); return element; } + + private static final Predicate> isComplete = response -> { + return response.getStatus() != LongRunningOperationStatus.IN_PROGRESS + && response.getStatus() != LongRunningOperationStatus.NOT_STARTED; + }; + + private static final CountDownLatch latch = new CountDownLatch(1); } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java deleted file mode 100644 index 235aad0e64490..0000000000000 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/AllSamples.java +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.health.insights.clinicalmatching; - -import java.io.IOException; - -import org.junit.jupiter.api.BeforeEach; - -public class AllSamples { - String endpoint; - String apiKey; - - @BeforeEach - public void init() { - endpoint = System.getenv("SDK_JAVA_HDS_ENDPOINT"); - apiKey = System.getenv("SDK_JAVA_HDS_APIKEY"); - } - - // @Test - public void matchTrialAsync() throws InterruptedException, IOException { - SampleMatchTrialAsync.runSample(endpoint, apiKey); - } -} From 4d32c461b1b25ed1b0d2fbf6bdc63bd9d4375c83 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Mon, 27 Mar 2023 11:17:45 +0300 Subject: [PATCH 17/25] spell --- .../azure-health-insights-cancerprofiling/README.md | 2 +- .../azure-health-insights-clinicalmatching/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index 23640329f5452..d8466639d8b90 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -31,7 +31,7 @@ For more information about creating the resource or how to get the location and ### Authenticate the client -In order to interact with the Health Insighs Cancer Profiling service, you'll need to create an instance of the [`CancerProfilingClient`][cancer_profiling_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. +In order to interact with the Health Insights Cancer Profiling service, you'll need to create an instance of the [`CancerProfilingClient`][cancer_profiling_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. #### Get API Key diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md index 072545f19146d..a9ad4255f1a3a 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -30,7 +30,7 @@ For more information about creating the resource or how to get the location and ### Authenticate the client -In order to interact with the Health Insighs Clinical Matching service, you'll need to create an instance of the [`ClinicalMatchingClient`][clinical_matching_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. +In order to interact with the Health Insights Clinical Matching service, you'll need to create an instance of the [`ClinicalMatchingClient`][clinical_matching_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. #### Get API Key From c28c41e39b09b48417dd2339893670c867a5d826 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Mon, 27 Mar 2023 11:56:28 +0300 Subject: [PATCH 18/25] fix linting --- .../README.md | 5 ++--- .../SampleInferCancerProfile.java | 20 +++++++++---------- .../CancerProfilingClientTest.java | 2 -- .../SampleMatchTrialAsync.java | 18 ++++++++--------- .../ClinicalMatchingClientTest.java | 2 -- 5 files changed, 21 insertions(+), 26 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index d8466639d8b90..edcffdabccd2a 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -31,7 +31,7 @@ For more information about creating the resource or how to get the location and ### Authenticate the client -In order to interact with the Health Insights Cancer Profiling service, you'll need to create an instance of the [`CancerProfilingClient`][cancer_profiling_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. +In order to interact with the Health Insights Cancer Profiling service, you'll need to create an instance of the [`CancerProfilingClient`][cancer_profiling_client_class] class. You will need an **endpoint** and an **API key** to instantiate a client object. #### Get API Key @@ -45,8 +45,7 @@ az cognitiveservices account keys list --resource-group asyncPoller = asyncClient.beginInferCancerProfile(oncoPhenotypeData); // END: com.azure.health.insights.cancerprofiling.infercancerprofile asyncPoller - .takeUntil(isComplete) - .subscribe(completedResult -> { - System.out.println("Completed poll response, status: " + completedResult.getStatus()); - printResults(completedResult.getValue()); - latch.countDown(); - }); + .takeUntil(isComplete) + .subscribe(completedResult -> { + System.out.println("Completed poll response, status: " + completedResult.getStatus()); + printResults(completedResult.getValue()); + latch.countDown(); + }); latch.await(); } - private static final void printResults(OncoPhenotypeResult result) { + private static void printResults(OncoPhenotypeResult result) { OncoPhenotypeResults oncoResults = result.getResults(); oncoResults.getPatients().forEach(patient_result -> { System.out.println("\n==== Inferences of Patient " + patient_result.getId() + " ===="); @@ -189,10 +189,10 @@ private static final void printResults(OncoPhenotypeResult result) { }); } - private static final Predicate> isComplete = response -> { + private static Predicate> isComplete = response -> { return response.getStatus() != LongRunningOperationStatus.IN_PROGRESS && response.getStatus() != LongRunningOperationStatus.NOT_STARTED; }; - private static final CountDownLatch latch = new CountDownLatch(1); + private static CountDownLatch latch = new CountDownLatch(1); } diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java index a36cdd97eb248..f21479bf48596 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java @@ -50,7 +50,5 @@ public void test() { Assertions.fail(message); return; } - - System.out.println("Success"); } } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java index 4d457448ce302..2cfd87cf1e12f 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java @@ -107,12 +107,12 @@ public static void main(final String[] args) throws InterruptedException { PollerFlux asyncPoller = asyncClient.beginMatchTrials(trialMatcherData); // END: com.azure.health.insights.clinicalmatching.findtrials asyncPoller - .takeUntil(isComplete) - .subscribe(completedResult -> { - System.out.println("Completed poll response, status: " + completedResult.getStatus()); - printResults(completedResult.getValue()); - latch.countDown(); - }); + .takeUntil(isComplete) + .subscribe(completedResult -> { + System.out.println("Completed poll response, status: " + completedResult.getStatus()); + printResults(completedResult.getValue()); + latch.countDown(); + }); latch.await(); } @@ -130,17 +130,17 @@ private static void printResults(TrialMatcherResult tmRespone) { }); } - private static final ClinicalCodedElement createClinicalCodedElement(String system, String code, String name, String value) { + private static ClinicalCodedElement createClinicalCodedElement(String system, String code, String name, String value) { ClinicalCodedElement element = new ClinicalCodedElement(system, code); element.setName(name); element.setValue(value); return element; } - private static final Predicate> isComplete = response -> { + private static Predicate> isComplete = response -> { return response.getStatus() != LongRunningOperationStatus.IN_PROGRESS && response.getStatus() != LongRunningOperationStatus.NOT_STARTED; }; - private static final CountDownLatch latch = new CountDownLatch(1); + private static CountDownLatch latch = new CountDownLatch(1); } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java index c07e78683854b..2903ed9ed9400 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java @@ -52,7 +52,5 @@ public void test() { Assertions.fail(message); return; } - - System.out.println("Success"); } } From 6ba52e146bccedfa3ff7107a2cdbed7743c0cdd2 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Tue, 28 Mar 2023 09:03:54 +0300 Subject: [PATCH 19/25] fix sample repository reference --- .../azure-health-insights-cancerprofiling/README.md | 3 ++- .../azure-health-insights-clinicalmatching/README.md | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index edcffdabccd2a..279499ab87b62 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -188,8 +188,9 @@ PollerFlux asyncPoller = asyncClient.b ## Next steps + ### Additional documentation For more extensive documentation on Azure Health Insights Cancer Profiling, see the [Cancer Profiling documentation][cancer_profiling_docs] on docs.microsoft.com. ## Contributing diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md index a9ad4255f1a3a..05d345cdb12c0 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -128,7 +128,7 @@ PollerFlux asyncPoller = asyncClient.beg To see the full example source files, see: ### Additional documentation From b3e6d52d080ce84af7427beb8875ad7b3fcdab2c Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Tue, 28 Mar 2023 09:12:46 +0300 Subject: [PATCH 20/25] remove duplicate dependency (mockito) --- .../azure-health-insights-cancerprofiling/pom.xml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml index 1b588b480e72b..683236ec485db 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/pom.xml @@ -86,12 +86,6 @@ 1.8.1 test - - org.mockito - mockito-core - 4.5.1 - test - org.slf4j slf4j-simple From 1f53e87b324333a440d461c209ec05a9d9aff2fa Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Tue, 28 Mar 2023 09:30:18 +0300 Subject: [PATCH 21/25] alignment (readme) --- .../azure-health-insights-cancerprofiling/README.md | 2 +- .../azure-health-insights-clinicalmatching/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index 279499ab87b62..b108b7b1ed506 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -191,7 +191,7 @@ PollerFlux asyncPoller = asyncClient.b This code sample show common scenario operation with the Azure Health Insights Cancer Profiling library. More samples can be found under the [samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/) directory. --> -### Additional documentation +## Additional documentation For more extensive documentation on Azure Health Insights Cancer Profiling, see the [Cancer Profiling documentation][cancer_profiling_docs] on docs.microsoft.com. ## Contributing diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md index 05d345cdb12c0..88e79fbb480d4 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -131,7 +131,7 @@ To see the full example source files, see: This code sample show common scenario operation with the Azure Health Insights Clinical Matching library. More samples can be found under the [samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/) directory. --> -### Additional documentation +## Additional documentation For more extensive documentation on Azure Health Insights Clinical Matching, see the [Clinical Matching documentation][clinical_matching_docs] on docs.microsoft.com. From 3cf67933fd337c3d055c27de3df5a8d6e44078b7 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Tue, 28 Mar 2023 14:26:38 +0300 Subject: [PATCH 22/25] fix readme title --- .../azure-health-insights-cancerprofiling/README.md | 2 +- .../azure-health-insights-clinicalmatching/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index b108b7b1ed506..922efe05707e4 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -1,4 +1,4 @@ -# Azure Azure Health Insights Cancer Profiling client library for Java +# Azure Cognitive Services Health Insights Cancer Profiling client library for Java [Health Insights](https://review.learn.microsoft.com/azure/azure-health-insights/?branch=release-azure-health-insights) is an Azure Applied AI Service built with the Azure Cognitive Services Framework, that leverages multiple Cognitive Services, Healthcare API services and other Azure resources. diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md index 88e79fbb480d4..f64ea413e170d 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -1,4 +1,4 @@ -# Azure Azure Health Insights Clinical Matching client library for Java +# Azure Cognitive Services Health Insights Clinical Matching client library for Java [Health Insights](https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/overview?branch=main) is an Azure Applied AI Service built with the Azure Cognitive Services Framework, that leverages multiple Cognitive Services, Healthcare API services and other Azure resources. From dbb9d929db5a1741e13839eb329dfe52994b6028 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 29 Mar 2023 10:19:02 +0300 Subject: [PATCH 23/25] setPlaybackSyncPollerPollInterval --- .../azure-health-insights-cancerprofiling/README.md | 1 + .../insights/cancerprofiling/SampleInferCancerProfile.java | 4 ++-- .../insights/cancerprofiling/CancerProfilingClientTest.java | 2 +- .../insights/clinicalmatching/ClinicalMatchingClientTest.java | 3 +-- sdk/healthinsights/ci.yml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index 922efe05707e4..68a39d95226b4 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -216,3 +216,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [azure_cli]: https://docs.microsoft.com/cli/azure [azure_portal]: https://portal.azure.com [cancer_profiling_docs]: https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/oncophenotype/overview?branch=main +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fdeviceupdate%2Fazure-iot-deviceupdate%2FREADME.png) \ No newline at end of file diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java index ae715b0a04db6..47da5f142d688 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java @@ -140,8 +140,8 @@ public static void main(final String[] args) throws InterruptedException { " Special studies: Pending"); PatientDocument patientDocument3 = new PatientDocument(DocumentType.NOTE, - "doc3", - new DocumentContent(DocumentContentSourceType.INLINE, docContent3)); + "doc3", + new DocumentContent(DocumentContentSourceType.INLINE, docContent3)); patientDocument3.setClinicalType(ClinicalDocumentType.PATHOLOGY); patientDocument3.setLanguage("en"); patientDocument3.setCreatedDateTime(OffsetDateTime.parse("2022-01-01T10:15:30+01:00")); diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java index f21479bf48596..c912ec997e262 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/test/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientTest.java @@ -32,7 +32,7 @@ private CancerProfilingClient getClient() { public void test() { try { testCancerProfilingWithResponse(request -> { - BinaryData responseValue = getClient().beginInferCancerProfile(request, new RequestOptions()).waitForCompletion().getValue(); + BinaryData responseValue = setPlaybackSyncPollerPollInterval(getClient().beginInferCancerProfile(request, new RequestOptions())).waitForCompletion().getValue(); OncoPhenotypeResult respone = responseValue.toObject(TypeReference.createInstance(OncoPhenotypeResult.class)); List patients = respone.getResults().getPatients(); diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java index 2903ed9ed9400..6e183fe2bb2d6 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/test/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientTest.java @@ -33,8 +33,7 @@ public void test() { try { testTMWithResponse(request -> { - BinaryData responseValue = getClient().beginMatchTrials(request, new RequestOptions()).waitForCompletion().getValue(); - + BinaryData responseValue = setPlaybackSyncPollerPollInterval(getClient().beginMatchTrials(request, new RequestOptions())).waitForCompletion().getValue(); TrialMatcherResult tmRespone = responseValue.toObject(TypeReference.createInstance(TrialMatcherResult.class)); List patients = tmRespone.getResults().getPatients(); assertEquals(1, patients.size()); diff --git a/sdk/healthinsights/ci.yml b/sdk/healthinsights/ci.yml index 65d7f96f5f098..960570420b498 100644 --- a/sdk/healthinsights/ci.yml +++ b/sdk/healthinsights/ci.yml @@ -40,4 +40,4 @@ extends: - name: azure-health-insights-cancerprofiling groupId: com.azure safeName: azurehealthinsightscancerprofiling - JavaBuildVersion: 17.0.5 + From ea3640e2093de42afd6e509cde11d18bb13b83cc Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 29 Mar 2023 10:54:08 +0300 Subject: [PATCH 24/25] update serviceversion class (emitter 0.5.1) --- .../azure-health-insights-cancerprofiling/README.md | 4 ++-- .../CancerProfilingClientBuilder.java | 8 ++++---- ...rsion.java => CancerProfilingServiceVersion.java} | 8 ++++---- .../implementation/CancerProfilingClientImpl.java | 12 ++++++------ .../cancerprofiling/implementation/package-info.java | 5 ++--- .../cancerprofiling/models/package-info.java | 2 +- .../insights/cancerprofiling/package-info.java | 4 ++-- .../cancerprofiling/SampleInferCancerProfile.java | 2 +- .../azure-health-insights-clinicalmatching/README.md | 3 ++- .../ClinicalMatchingClientBuilder.java | 8 ++++---- ...sion.java => ClinicalMatchingServiceVersion.java} | 8 ++++---- .../implementation/ClinicalMatchingClientImpl.java | 12 ++++++------ .../implementation/package-info.java | 2 +- .../clinicalmatching/models/package-info.java | 2 +- .../insights/clinicalmatching/package-info.java | 2 +- .../clinicalmatching/SampleMatchTrialAsync.java | 2 +- 16 files changed, 42 insertions(+), 42 deletions(-) rename sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/{AzureHealthInsightsServiceVersion.java => CancerProfilingServiceVersion.java} (72%) rename sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/{AzureHealthInsightsServiceVersion.java => ClinicalMatchingServiceVersion.java} (72%) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index 68a39d95226b4..815b35ff128a9 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -53,7 +53,7 @@ String apiKey = Configuration.getGlobalConfiguration().get("AZURE_HEALTH_INSIGHT CancerProfilingAsyncClient asyncClient = new CancerProfilingClientBuilder() .endpoint(endpoint) - .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .serviceVersion(CancerProfilingServiceVersion.getLatest()) .credential(new AzureKeyCredential(apiKey)) .buildAsyncClient(); ``` @@ -216,4 +216,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [azure_cli]: https://docs.microsoft.com/cli/azure [azure_portal]: https://portal.azure.com [cancer_profiling_docs]: https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/oncophenotype/overview?branch=main -![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fdeviceupdate%2Fazure-iot-deviceupdate%2FREADME.png) \ No newline at end of file +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%healthinsights%2Fazure-health-insights-cancerprofiling%2FREADME.png) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java index 6f375a4011424..34d6afcd437e2 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingClientBuilder.java @@ -179,7 +179,7 @@ public CancerProfilingClientBuilder endpoint(String endpoint) { /* * Service version */ - @Generated private AzureHealthInsightsServiceVersion serviceVersion; + @Generated private CancerProfilingServiceVersion serviceVersion; /** * Sets Service version. @@ -188,7 +188,7 @@ public CancerProfilingClientBuilder endpoint(String endpoint) { * @return the CancerProfilingClientBuilder. */ @Generated - public CancerProfilingClientBuilder serviceVersion(AzureHealthInsightsServiceVersion serviceVersion) { + public CancerProfilingClientBuilder serviceVersion(CancerProfilingServiceVersion serviceVersion) { this.serviceVersion = serviceVersion; return this; } @@ -218,8 +218,8 @@ public CancerProfilingClientBuilder retryPolicy(RetryPolicy retryPolicy) { @Generated private CancerProfilingClientImpl buildInnerClient() { HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline(); - AzureHealthInsightsServiceVersion localServiceVersion = - (serviceVersion != null) ? serviceVersion : AzureHealthInsightsServiceVersion.getLatest(); + CancerProfilingServiceVersion localServiceVersion = + (serviceVersion != null) ? serviceVersion : CancerProfilingServiceVersion.getLatest(); CancerProfilingClientImpl client = new CancerProfilingClientImpl( localPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, localServiceVersion); diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/AzureHealthInsightsServiceVersion.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingServiceVersion.java similarity index 72% rename from sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/AzureHealthInsightsServiceVersion.java rename to sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingServiceVersion.java index e2d51c4e1ca63..d020a3b853f79 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/AzureHealthInsightsServiceVersion.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/CancerProfilingServiceVersion.java @@ -7,13 +7,13 @@ import com.azure.core.util.ServiceVersion; /** Service version of CancerProfilingClient. */ -public enum AzureHealthInsightsServiceVersion implements ServiceVersion { +public enum CancerProfilingServiceVersion implements ServiceVersion { /** Enum value 2023-03-01-preview. */ V2023_03_01_PREVIEW("2023-03-01-preview"); private final String version; - AzureHealthInsightsServiceVersion(String version) { + CancerProfilingServiceVersion(String version) { this.version = version; } @@ -26,9 +26,9 @@ public String getVersion() { /** * Gets the latest service version supported by this client library. * - * @return The latest {@link AzureHealthInsightsServiceVersion}. + * @return The latest {@link CancerProfilingServiceVersion}. */ - public static AzureHealthInsightsServiceVersion getLatest() { + public static CancerProfilingServiceVersion getLatest() { return V2023_03_01_PREVIEW; } } diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java index 6734576e5032c..fed67e28539ed 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/CancerProfilingClientImpl.java @@ -37,7 +37,7 @@ import com.azure.core.util.serializer.JacksonAdapter; import com.azure.core.util.serializer.SerializerAdapter; import com.azure.core.util.serializer.TypeReference; -import com.azure.health.insights.cancerprofiling.AzureHealthInsightsServiceVersion; +import com.azure.health.insights.cancerprofiling.CancerProfilingServiceVersion; import com.azure.health.insights.cancerprofiling.models.OncoPhenotypeResult; import java.time.Duration; import java.time.OffsetDateTime; @@ -66,14 +66,14 @@ public String getEndpoint() { } /** Service version. */ - private final AzureHealthInsightsServiceVersion serviceVersion; + private final CancerProfilingServiceVersion serviceVersion; /** * Gets Service version. * * @return the serviceVersion value. */ - public AzureHealthInsightsServiceVersion getServiceVersion() { + public CancerProfilingServiceVersion getServiceVersion() { return this.serviceVersion; } @@ -108,7 +108,7 @@ public SerializerAdapter getSerializerAdapter() { * https://westus2.api.cognitive.microsoft.com). * @param serviceVersion Service version. */ - public CancerProfilingClientImpl(String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + public CancerProfilingClientImpl(String endpoint, CancerProfilingServiceVersion serviceVersion) { this( new HttpPipelineBuilder() .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) @@ -127,7 +127,7 @@ public CancerProfilingClientImpl(String endpoint, AzureHealthInsightsServiceVers * @param serviceVersion Service version. */ public CancerProfilingClientImpl( - HttpPipeline httpPipeline, String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + HttpPipeline httpPipeline, String endpoint, CancerProfilingServiceVersion serviceVersion) { this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); } @@ -144,7 +144,7 @@ public CancerProfilingClientImpl( HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, String endpoint, - AzureHealthInsightsServiceVersion serviceVersion) { + CancerProfilingServiceVersion serviceVersion) { this.httpPipeline = httpPipeline; this.serializerAdapter = serializerAdapter; this.endpoint = endpoint; diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java index 0bd37018b715f..312db8b35faa7 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/implementation/package-info.java @@ -3,8 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * Package containing the implementations for AzureHealthInsights. Azure Health Insights provides an API that serves - * insight models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a - * human. + * Package containing the implementations for CancerProfiling. Azure Health Insights provides an API that serves insight + * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. */ package com.azure.health.insights.cancerprofiling.implementation; diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java index 69bf37e5296aa..5b6fbc482f437 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/models/package-info.java @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * Package containing the data models for AzureHealthInsights. Azure Health Insights provides an API that serves insight + * Package containing the data models for CancerProfiling. Azure Health Insights provides an API that serves insight * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. */ package com.azure.health.insights.cancerprofiling.models; diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java index 443b2cc5f7515..a3e51adccf51e 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/main/java/com/azure/health/insights/cancerprofiling/package-info.java @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * Package containing the classes for AzureHealthInsights. Azure Health Insights provides an API that serves insight - * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. + * Package containing the classes for CancerProfiling. Azure Health Insights provides an API that serves insight models, + * specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. */ package com.azure.health.insights.cancerprofiling; diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java index 47da5f142d688..f49a0b4cc09c4 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/src/samples/java/com/azure/health/insights/cancerprofiling/SampleInferCancerProfile.java @@ -39,7 +39,7 @@ public static void main(final String[] args) throws InterruptedException { CancerProfilingAsyncClient asyncClient = new CancerProfilingClientBuilder() .endpoint(endpoint) - .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .serviceVersion(CancerProfilingServiceVersion.getLatest()) .credential(new AzureKeyCredential(apiKey)) .buildAsyncClient(); // END: com.azure.health.insights.cancerprofiling.buildasyncclient diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md index f64ea413e170d..26975c8607e1c 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -53,7 +53,7 @@ String apiKey = Configuration.getGlobalConfiguration().get("AZURE_HEALTH_INSIGHT ClinicalMatchingAsyncClient asyncClient = new ClinicalMatchingClientBuilder() .endpoint(endpoint) - .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .serviceVersion(ClinicalMatchingServiceVersion.getLatest()) .credential(new AzureKeyCredential(apiKey)) .buildAsyncClient(); ``` @@ -157,3 +157,4 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con +![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%healthinsights%2Fazure-health-insights-clinicalmatching%2FREADME.png) diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java index d94f2f6ee68ff..6bb761bbfd7e1 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingClientBuilder.java @@ -179,7 +179,7 @@ public ClinicalMatchingClientBuilder endpoint(String endpoint) { /* * Service version */ - @Generated private AzureHealthInsightsServiceVersion serviceVersion; + @Generated private ClinicalMatchingServiceVersion serviceVersion; /** * Sets Service version. @@ -188,7 +188,7 @@ public ClinicalMatchingClientBuilder endpoint(String endpoint) { * @return the ClinicalMatchingClientBuilder. */ @Generated - public ClinicalMatchingClientBuilder serviceVersion(AzureHealthInsightsServiceVersion serviceVersion) { + public ClinicalMatchingClientBuilder serviceVersion(ClinicalMatchingServiceVersion serviceVersion) { this.serviceVersion = serviceVersion; return this; } @@ -218,8 +218,8 @@ public ClinicalMatchingClientBuilder retryPolicy(RetryPolicy retryPolicy) { @Generated private ClinicalMatchingClientImpl buildInnerClient() { HttpPipeline localPipeline = (pipeline != null) ? pipeline : createHttpPipeline(); - AzureHealthInsightsServiceVersion localServiceVersion = - (serviceVersion != null) ? serviceVersion : AzureHealthInsightsServiceVersion.getLatest(); + ClinicalMatchingServiceVersion localServiceVersion = + (serviceVersion != null) ? serviceVersion : ClinicalMatchingServiceVersion.getLatest(); ClinicalMatchingClientImpl client = new ClinicalMatchingClientImpl( localPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, localServiceVersion); diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/AzureHealthInsightsServiceVersion.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingServiceVersion.java similarity index 72% rename from sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/AzureHealthInsightsServiceVersion.java rename to sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingServiceVersion.java index 1abf2e3361517..74c91f584b726 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/AzureHealthInsightsServiceVersion.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/ClinicalMatchingServiceVersion.java @@ -7,13 +7,13 @@ import com.azure.core.util.ServiceVersion; /** Service version of ClinicalMatchingClient. */ -public enum AzureHealthInsightsServiceVersion implements ServiceVersion { +public enum ClinicalMatchingServiceVersion implements ServiceVersion { /** Enum value 2023-03-01-preview. */ V2023_03_01_PREVIEW("2023-03-01-preview"); private final String version; - AzureHealthInsightsServiceVersion(String version) { + ClinicalMatchingServiceVersion(String version) { this.version = version; } @@ -26,9 +26,9 @@ public String getVersion() { /** * Gets the latest service version supported by this client library. * - * @return The latest {@link AzureHealthInsightsServiceVersion}. + * @return The latest {@link ClinicalMatchingServiceVersion}. */ - public static AzureHealthInsightsServiceVersion getLatest() { + public static ClinicalMatchingServiceVersion getLatest() { return V2023_03_01_PREVIEW; } } diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java index 364bcf6c8339d..adf59b763203a 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/ClinicalMatchingClientImpl.java @@ -37,7 +37,7 @@ import com.azure.core.util.serializer.JacksonAdapter; import com.azure.core.util.serializer.SerializerAdapter; import com.azure.core.util.serializer.TypeReference; -import com.azure.health.insights.clinicalmatching.AzureHealthInsightsServiceVersion; +import com.azure.health.insights.clinicalmatching.ClinicalMatchingServiceVersion; import com.azure.health.insights.clinicalmatching.models.TrialMatcherResult; import java.time.Duration; import java.time.OffsetDateTime; @@ -66,14 +66,14 @@ public String getEndpoint() { } /** Service version. */ - private final AzureHealthInsightsServiceVersion serviceVersion; + private final ClinicalMatchingServiceVersion serviceVersion; /** * Gets Service version. * * @return the serviceVersion value. */ - public AzureHealthInsightsServiceVersion getServiceVersion() { + public ClinicalMatchingServiceVersion getServiceVersion() { return this.serviceVersion; } @@ -108,7 +108,7 @@ public SerializerAdapter getSerializerAdapter() { * https://westus2.api.cognitive.microsoft.com). * @param serviceVersion Service version. */ - public ClinicalMatchingClientImpl(String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + public ClinicalMatchingClientImpl(String endpoint, ClinicalMatchingServiceVersion serviceVersion) { this( new HttpPipelineBuilder() .policies(new UserAgentPolicy(), new RetryPolicy(), new CookiePolicy()) @@ -127,7 +127,7 @@ public ClinicalMatchingClientImpl(String endpoint, AzureHealthInsightsServiceVer * @param serviceVersion Service version. */ public ClinicalMatchingClientImpl( - HttpPipeline httpPipeline, String endpoint, AzureHealthInsightsServiceVersion serviceVersion) { + HttpPipeline httpPipeline, String endpoint, ClinicalMatchingServiceVersion serviceVersion) { this(httpPipeline, JacksonAdapter.createDefaultSerializerAdapter(), endpoint, serviceVersion); } @@ -144,7 +144,7 @@ public ClinicalMatchingClientImpl( HttpPipeline httpPipeline, SerializerAdapter serializerAdapter, String endpoint, - AzureHealthInsightsServiceVersion serviceVersion) { + ClinicalMatchingServiceVersion serviceVersion) { this.httpPipeline = httpPipeline; this.serializerAdapter = serializerAdapter; this.endpoint = endpoint; diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java index d4bea9038803b..54a3183a52f9c 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/implementation/package-info.java @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * Package containing the implementations for AzureHealthInsights. Azure Health Insights provides an API that serves + * Package containing the implementations for ClinicalMatching. Azure Health Insights provides an API that serves * insight models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a * human. */ diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java index f40be2cc64470..93dd62e2759e8 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/models/package-info.java @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * Package containing the data models for AzureHealthInsights. Azure Health Insights provides an API that serves insight + * Package containing the data models for ClinicalMatching. Azure Health Insights provides an API that serves insight * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. */ package com.azure.health.insights.clinicalmatching.models; diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java index b6d8a6dea6a4e..017b5a419b254 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/main/java/com/azure/health/insights/clinicalmatching/package-info.java @@ -3,7 +3,7 @@ // Code generated by Microsoft (R) AutoRest Code Generator. /** - * Package containing the classes for AzureHealthInsights. Azure Health Insights provides an API that serves insight + * Package containing the classes for ClinicalMatching. Azure Health Insights provides an API that serves insight * models, specific for Health & Life Sciences, that perform analysis and provide inferences to be used by a human. */ package com.azure.health.insights.clinicalmatching; diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java index 2cfd87cf1e12f..36ac6aa57252b 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/src/samples/java/com/azure/health/insights/clinicalmatching/SampleMatchTrialAsync.java @@ -50,7 +50,7 @@ public static void main(final String[] args) throws InterruptedException { ClinicalMatchingAsyncClient asyncClient = new ClinicalMatchingClientBuilder() .endpoint(endpoint) - .serviceVersion(AzureHealthInsightsServiceVersion.getLatest()) + .serviceVersion(ClinicalMatchingServiceVersion.getLatest()) .credential(new AzureKeyCredential(apiKey)) .buildAsyncClient(); // END: com.azure.health.insights.clinicalmatching.buildasyncclient From b01f33779eac90f60acd97f11f8208a79eeef5d2 Mon Sep 17 00:00:00 2001 From: Asaf Levi Date: Wed, 29 Mar 2023 12:04:36 +0300 Subject: [PATCH 25/25] remove impressions png --- .../azure-health-insights-cancerprofiling/README.md | 6 +++--- .../azure-health-insights-clinicalmatching/README.md | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md index 815b35ff128a9..6216c18756e76 100644 --- a/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md +++ b/sdk/healthinsights/azure-health-insights-cancerprofiling/README.md @@ -210,10 +210,10 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [cognitive_resource_cli]: https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account-cli [jdk_link]: https://docs.microsoft.com/java/azure/jdk/?view=azure-java-stable - [azure_cli]: https://docs.microsoft.com/cli/azure [azure_portal]: https://portal.azure.com [cancer_profiling_docs]: https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/oncophenotype/overview?branch=main + diff --git a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md index 26975c8607e1c..2978a55e28827 100644 --- a/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md +++ b/sdk/healthinsights/azure-health-insights-clinicalmatching/README.md @@ -156,5 +156,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][code_of_con [clinical_matching_docs]: https://review.learn.microsoft.com/azure/cognitive-services/health-decision-support/trial-matcher/overview?branch=main ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%healthinsights%2Fazure-health-insights-clinicalmatching%2FREADME.png) +-->