From 4f024c8ad412efd26c7e1d8a40a14a5f8170b7e7 Mon Sep 17 00:00:00 2001 From: juarez Date: Wed, 9 Aug 2023 18:12:32 +0200 Subject: [PATCH] Export and QB Curl templates --- ccp/modules/export-and-qb.curl-templates | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 ccp/modules/export-and-qb.curl-templates diff --git a/ccp/modules/export-and-qb.curl-templates b/ccp/modules/export-and-qb.curl-templates new file mode 100644 index 0000000..0853ed9 --- /dev/null +++ b/ccp/modules/export-and-qb.curl-templates @@ -0,0 +1,6 @@ +# Full Excel Export +curl --location --request POST 'https://${HOST}/ccp-exporter/request?query=Patient&query-format=FHIR_QUERY&template-id=ccp&output-format=EXCEL' \ +--header 'x-api-key: ${EXPORT_API_KEY}' + +# QB +curl --location --request POST 'https://${HOST}/ccp-reporter/generate?template-id=ccp'