From ea136ab6b066719f8883c15e7ca5d393edb43fb1 Mon Sep 17 00:00:00 2001 From: Elsa Date: Tue, 20 Jun 2023 16:31:23 -0400 Subject: [PATCH] Update bulk submit endpoint references --- README.md | 4 ++-- .../components/KickoffRequestView/KickoffPostUrl.test.tsx | 2 +- components/KickoffRequestView/KickoffPostUrl.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc3a398..ac5fab1 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,6 @@ npm run dev -- -p 8081 ## Running Demos -After starting up Bulk Submit Demo and DEQM Test Server, the Measure ID drop down will be populated with the resource IDs of the measures populated on the test server. Selecting a measure will trigger a `$data-requirements` request to the test server for that measure, the results of which can be viewed in the "Data Requirements" panel. The results of the `$data-requirements` request are parsed into `_type` and `_typeFilter` headers in the "Filters" panel. When sending a bulk submit-data request, these filters are passed in with the request as query parameters. +After starting up Bulk Submit Demo and DEQM Test Server, the Measure ID drop down will be populated with the resource IDs of the measures populated on the test server. Selecting a measure will trigger a `$data-requirements` request to the test server for that measure, the results of which can be viewed in the "Data Requirements" panel. The results of the `$data-requirements` request are parsed into `_type` and `_typeFilter` headers in the "Filters" panel. When sending a bulk-submit-data request, these filters are passed in with the request as query parameters. -Fill in the "Export URL (Data Source)" field with the url to a FHIR server with bulk submit-data capability (You can use DEQM Test Server for this as well). Populating this field with a valid URL will generate a request preview with the URL, JSON body, and headers required for sending a bulk submit-data request. +Fill in the "Export URL (Data Source)" field with the url to a FHIR server with bulk-submit-data capability (You can use DEQM Test Server for this as well). Populating this field with a valid URL will generate a request preview with the URL, JSON body, and headers required for sending a bulk-submit-data request. diff --git a/__tests__/components/KickoffRequestView/KickoffPostUrl.test.tsx b/__tests__/components/KickoffRequestView/KickoffPostUrl.test.tsx index 8b21776..171ca6a 100644 --- a/__tests__/components/KickoffRequestView/KickoffPostUrl.test.tsx +++ b/__tests__/components/KickoffRequestView/KickoffPostUrl.test.tsx @@ -13,6 +13,6 @@ describe('KickoffPostUrl', () => { const urlInput = screen.getByRole('textbox') as HTMLInputElement; expect(urlInput).toBeInTheDocument(); expect(urlInput).toHaveAttribute('readOnly'); - expect(urlInput).toHaveValue('http://example.com/fhir-base-url/Measure/$submit-data'); + expect(urlInput).toHaveValue('http://example.com/fhir-base-url/Measure/$bulk-submit-data'); }); }); diff --git a/components/KickoffRequestView/KickoffPostUrl.tsx b/components/KickoffRequestView/KickoffPostUrl.tsx index b4fe95a..c21f19b 100644 --- a/components/KickoffRequestView/KickoffPostUrl.tsx +++ b/components/KickoffRequestView/KickoffPostUrl.tsx @@ -7,7 +7,7 @@ export default function KickoffPostUrl() { - + );