From f529ca27eab67bf94123d01a3e80ce736ad827b0 Mon Sep 17 00:00:00 2001 From: Rob Scanlon Date: Thu, 19 Sep 2024 11:05:19 -0400 Subject: [PATCH] Add presets for bulk data; on localhost point to inferno.healthit.gov keys because same. (#33) --- .../bulk_data_v101_bulk_data_server.json | 43 +++++++++++++++++++ .../bulk_data_v200_bulk_data_server.json | 43 +++++++++++++++++++ 2 files changed, 86 insertions(+) create mode 100644 config/presets/bulk_data_v101_bulk_data_server.json create mode 100644 config/presets/bulk_data_v200_bulk_data_server.json diff --git a/config/presets/bulk_data_v101_bulk_data_server.json b/config/presets/bulk_data_v101_bulk_data_server.json new file mode 100644 index 0000000..6bbdb88 --- /dev/null +++ b/config/presets/bulk_data_v101_bulk_data_server.json @@ -0,0 +1,43 @@ +{ + "title": "SMART Bulk Data Server", + "id": null, + "test_suite_id": "bulk_data_v101", + "inputs": [ + { + "name": "bulk_server_url", + "type": "text", + "title": "Bulk Data FHIR URL", + "description": "The URL of the Bulk FHIR server.", + "value": "https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAsImR1ciI6MTAsInRsdCI6NjAsIm0iOjEsInN0dSI6NCwiZGVsIjowLCJzZWN1cmUiOjF9/fhir" + }, + { + "name": "backend_services_client_id", + "type": "text", + "title": "Bulk Data Client ID", + "description": "Client ID provided at registration to the Inferno application.", + "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHBzOi8vaW5mZXJuby5oZWFsdGhpdC5nb3Yvc3VpdGVzL2N1c3RvbS9idWxrX2RhdGFfdjEwMS8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6NjAsImlhdCI6MTcyNjUwMzU3N30.T6xomQ7aMfrnvQ_kC7S0aUgTQXzgDYDI3A-DIFBLH5g" + }, + { + "name": "group_id", + "type": "text", + "title": "Group ID", + "description": "The Group ID associated with the group of patients to be exported.", + "value": "HealthNewEngland" + }, + { + "name": "bulk_timeout", + "type": "text", + "title": "Export Times Out after (1-600)", + "description": "While testing, Inferno waits for the server to complete the exporting task.\n If the calculated totalTime is greater than the timeout value specified here,\n Inferno bulk client stops testing. Please enter an integer for the maximum wait time in seconds.\n If timeout is less than 1, Inferno uses default value 180.\n If the timeout is greater than 600 (10 minutes), Inferno uses the maximum value 600.", + "value": 180 + }, + { + "name": "lines_to_validate", + "type": "text", + "title": "Limit validation to a maximum resource count", + "description": "To validate all, leave blank.", + "optional": true, + "value": null + } + ] +} diff --git a/config/presets/bulk_data_v200_bulk_data_server.json b/config/presets/bulk_data_v200_bulk_data_server.json new file mode 100644 index 0000000..d9a254b --- /dev/null +++ b/config/presets/bulk_data_v200_bulk_data_server.json @@ -0,0 +1,43 @@ +{ + "title": "SMART Bulk Data Server", + "id": null, + "test_suite_id": "bulk_data_v200", + "inputs": [ + { + "name": "bulk_server_url", + "type": "text", + "title": "Bulk Data FHIR URL", + "description": "The URL of the Bulk FHIR server.", + "value": "https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAsImR1ciI6MTAsInRsdCI6NjAsIm0iOjEsInN0dSI6NCwiZGVsIjowLCJzZWN1cmUiOjF9/fhir" + }, + { + "name": "backend_services_client_id", + "type": "text", + "title": "Bulk Data Client ID", + "description": "Client ID provided at registration to the Inferno application.", + "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHBzOi8vaW5mZXJuby5oZWFsdGhpdC5nb3Yvc3VpdGVzL2N1c3RvbS9idWxrX2RhdGFfdjEwMS8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6NjAsImlhdCI6MTcyNjUwMzU3N30.T6xomQ7aMfrnvQ_kC7S0aUgTQXzgDYDI3A-DIFBLH5g" + }, + { + "name": "group_id", + "type": "text", + "title": "Group ID", + "description": "The Group ID associated with the group of patients to be exported.", + "value": "HealthNewEngland" + }, + { + "name": "bulk_timeout", + "type": "text", + "title": "Export Times Out after (1-600)", + "description": "While testing, Inferno waits for the server to complete the exporting task.\n If the calculated totalTime is greater than the timeout value specified here,\n Inferno bulk client stops testing. Please enter an integer for the maximum wait time in seconds.\n If timeout is less than 1, Inferno uses default value 180.\n If the timeout is greater than 600 (10 minutes), Inferno uses the maximum value 600.", + "value": 180 + }, + { + "name": "lines_to_validate", + "type": "text", + "title": "Limit validation to a maximum resource count", + "description": "To validate all, leave blank.", + "optional": true, + "value": null + } + ] +}