bulk_data_test_kit 0.10.0 → 0.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/config/presets/bulk_data_v101_bulk_data_server.json +43 -0
  3. data/config/presets/bulk_data_v101_inferno_reference_server.json +43 -0
  4. data/config/presets/bulk_data_v200_bulk_data_server.json +43 -0
  5. data/config/presets/bulk_data_v200_inferno_reference_server.json +43 -0
  6. data/lib/bulk_data_test_kit/igs/put_ig_package_dot_tgz_here +0 -0
  7. data/lib/bulk_data_test_kit/metadata.rb +45 -0
  8. data/lib/bulk_data_test_kit/requirements/bulk-data-test-kit_out_of_scope_requirements.csv +1 -0
  9. data/lib/bulk_data_test_kit/requirements/bulk-data-test-kit_requirements.csv +465 -0
  10. data/lib/bulk_data_test_kit/requirements/generated/bulk-data-test-kit_requirements_coverage.csv +442 -0
  11. data/lib/bulk_data_test_kit/requirements/hl7.fhir.uv.bulkdata_2.0.0_reqs.xlsx +0 -0
  12. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_smart_backend_services_v101_group.rb +21 -0
  13. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_smart_discovery_v101_contents_test.rb +77 -0
  14. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_smart_discovery_v101_group.rb +15 -0
  15. data/lib/bulk_data_test_kit/v1.0.1/bulk_data_test_suite.rb +3 -5
  16. data/lib/bulk_data_test_kit/{v1.0.1/bulk_data_smart_backend_services_group.rb → v2.0.0/bulk_data_smart_backend_services_v200_group.rb} +3 -3
  17. data/lib/bulk_data_test_kit/v2.0.0/bulk_data_test_suite.rb +3 -5
  18. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_delete_group.rb +27 -0
  19. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_delete_test.rb +29 -0
  20. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_delete_wait_test.rb +44 -0
  21. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_export_group.rb +31 -0
  22. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_export_wait_test.rb +45 -0
  23. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_kick_off_test.rb +45 -0
  24. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_output_test.rb +28 -0
  25. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_status_test.rb +29 -0
  26. data/lib/bulk_data_test_kit/v2.0.0_client/bulk_data_client_test_suite.rb +92 -0
  27. data/lib/bulk_data_test_kit/v2.0.0_client/docs/suite_description.md +33 -0
  28. data/lib/bulk_data_test_kit/v2.0.0_client/endpoints/delete.rb +22 -0
  29. data/lib/bulk_data_test_kit/v2.0.0_client/endpoints/kick_off.rb +36 -0
  30. data/lib/bulk_data_test_kit/v2.0.0_client/endpoints/output.rb +31 -0
  31. data/lib/bulk_data_test_kit/v2.0.0_client/endpoints/status.rb +39 -0
  32. data/lib/bulk_data_test_kit/v2.0.0_client/export_types.rb +9 -0
  33. data/lib/bulk_data_test_kit/v2.0.0_client/postman/delete.postman_collection.json +133 -0
  34. data/lib/bulk_data_test_kit/v2.0.0_client/postman/system_export.postman_collection.json +181 -0
  35. data/lib/bulk_data_test_kit/v2.0.0_client/tags.rb +13 -0
  36. data/lib/bulk_data_test_kit/v2.0.0_client/urls.rb +45 -0
  37. data/lib/bulk_data_test_kit/version.rb +2 -1
  38. data/lib/bulk_data_test_kit.rb +3 -1
  39. data/lib/inferno_requirements_tools/ext/inferno_core/runnable.rb +22 -0
  40. data/lib/inferno_requirements_tools/rake/rakefile_template +37 -0
  41. data/lib/inferno_requirements_tools/tasks/collect_requirements.rb +233 -0
  42. data/lib/inferno_requirements_tools/tasks/requirements_coverage.rb +283 -0
  43. data/lib/requirements_config.yaml +14 -0
  44. data/lib/template_requirements_config.yaml +11 -0
  45. metadata +54 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bfb916cc050c63ebe26930f4dfb6ac113cf67235914b91434e44ef72ad6cb17
4
- data.tar.gz: 6c0f7b6aec477e345b3f31050ce39b25aea5b1b069dff66166595f5aab834136
3
+ metadata.gz: 0a6f4d03ed6ce6b13c003e3289badfb9e06cd934913584c8831e3b62b83c01d8
4
+ data.tar.gz: 5ff46ee12bcfd8786b55a149c88287beb5e3e7caf754ca57a4ae4a676b4a2640
5
5
  SHA512:
6
- metadata.gz: 3272834d0daa2d68c910307a1efe43b6d99f15295a3b8229741e638b5f42814661350ca02299c04ac1b68881b4494c9a08a24156cbfd33dd7521a49095fd7987
7
- data.tar.gz: 7e300733bea3d4bb601f5c30f25bca7032d80869689191878dfb3931737fa7701e648cf9d700218e71613ee175aa5a0557f8ff0a5cb91538e02077b0811a5de0
6
+ metadata.gz: 5c1e8a64234ea336a588a3c242488c6bf3815b9e9bf1dbe6a2e150fb7f36116774e4b2caccee702347c0bb9ee0ee0a7b4aa494251adcb5683646698c425a102d
7
+ data.tar.gz: d34a18df7cbfa5cd7b77fd89ae211639905eda82ac1dec07f407a326a2aa2486c17ba8568e26651fe4b544e08c5a3833b58d5798e84c451319e65e6aad767782
@@ -0,0 +1,43 @@
1
+ {
2
+ "title": "SMART Bulk Data Server",
3
+ "id": null,
4
+ "test_suite_id": "bulk_data_v101",
5
+ "inputs": [
6
+ {
7
+ "name": "bulk_server_url",
8
+ "type": "text",
9
+ "title": "Bulk Data FHIR URL",
10
+ "description": "The URL of the Bulk FHIR server.",
11
+ "value": "https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAsImR1ciI6MTAsInRsdCI6NjAsIm0iOjEsInN0dSI6NCwiZGVsIjowLCJzZWN1cmUiOjF9/fhir"
12
+ },
13
+ {
14
+ "name": "backend_services_client_id",
15
+ "type": "text",
16
+ "title": "Bulk Data Client ID",
17
+ "description": "Client ID provided at registration to the Inferno application.",
18
+ "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHBzOi8vaW5mZXJuby5oZWFsdGhpdC5nb3Yvc3VpdGVzL2N1c3RvbS9idWxrX2RhdGFfdjEwMS8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6NjAsImlhdCI6MTcyNjUwMzU3N30.T6xomQ7aMfrnvQ_kC7S0aUgTQXzgDYDI3A-DIFBLH5g"
19
+ },
20
+ {
21
+ "name": "group_id",
22
+ "type": "text",
23
+ "title": "Group ID",
24
+ "description": "The Group ID associated with the group of patients to be exported.",
25
+ "value": "HealthNewEngland"
26
+ },
27
+ {
28
+ "name": "bulk_timeout",
29
+ "type": "text",
30
+ "title": "Export Times Out after (1-600)",
31
+ "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.",
32
+ "value": 180
33
+ },
34
+ {
35
+ "name": "lines_to_validate",
36
+ "type": "text",
37
+ "title": "Limit validation to a maximum resource count",
38
+ "description": "To validate all, leave blank.",
39
+ "optional": true,
40
+ "value": null
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "title": "Inferno Reference Server",
3
+ "id": null,
4
+ "test_suite_id": "bulk_data_v101",
5
+ "inputs": [
6
+ {
7
+ "name": "bulk_server_url",
8
+ "type": "text",
9
+ "title": "Bulk Data FHIR URL",
10
+ "description": "The URL of the Bulk FHIR server.",
11
+ "value": "https://inferno.healthit.gov/reference-server/r4"
12
+ },
13
+ {
14
+ "name": "backend_services_client_id",
15
+ "type": "text",
16
+ "title": "Bulk Data Client ID",
17
+ "description": "Client ID provided at registration to the Inferno application.",
18
+ "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHA6Ly8xMC4xNS4yNTIuNzMvaW5mZXJuby8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6MTUsImlhdCI6MTU5NzQxMzE5NX0.q4v4Msc74kN506KTZ0q_minyapJw0gwlT6M_uiL73S4"
19
+ },
20
+ {
21
+ "name": "group_id",
22
+ "type": "text",
23
+ "title": "Group ID",
24
+ "description": "The Group ID associated with the group of patients to be exported.",
25
+ "value": "1a"
26
+ },
27
+ {
28
+ "name": "bulk_timeout",
29
+ "type": "text",
30
+ "title": "Export Times Out after (1-600)",
31
+ "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.",
32
+ "value": 180
33
+ },
34
+ {
35
+ "name": "lines_to_validate",
36
+ "type": "text",
37
+ "title": "Limit validation to a maximum resource count",
38
+ "description": "To validate all, leave blank.",
39
+ "optional": true,
40
+ "value": null
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "title": "SMART Bulk Data Server",
3
+ "id": null,
4
+ "test_suite_id": "bulk_data_v200",
5
+ "inputs": [
6
+ {
7
+ "name": "bulk_server_url",
8
+ "type": "text",
9
+ "title": "Bulk Data FHIR URL",
10
+ "description": "The URL of the Bulk FHIR server.",
11
+ "value": "https://bulk-data.smarthealthit.org/eyJlcnIiOiIiLCJwYWdlIjoxMDAsImR1ciI6MTAsInRsdCI6NjAsIm0iOjEsInN0dSI6NCwiZGVsIjowLCJzZWN1cmUiOjF9/fhir"
12
+ },
13
+ {
14
+ "name": "backend_services_client_id",
15
+ "type": "text",
16
+ "title": "Bulk Data Client ID",
17
+ "description": "Client ID provided at registration to the Inferno application.",
18
+ "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHBzOi8vaW5mZXJuby5oZWFsdGhpdC5nb3Yvc3VpdGVzL2N1c3RvbS9idWxrX2RhdGFfdjEwMS8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6NjAsImlhdCI6MTcyNjUwMzU3N30.T6xomQ7aMfrnvQ_kC7S0aUgTQXzgDYDI3A-DIFBLH5g"
19
+ },
20
+ {
21
+ "name": "group_id",
22
+ "type": "text",
23
+ "title": "Group ID",
24
+ "description": "The Group ID associated with the group of patients to be exported.",
25
+ "value": "HealthNewEngland"
26
+ },
27
+ {
28
+ "name": "bulk_timeout",
29
+ "type": "text",
30
+ "title": "Export Times Out after (1-600)",
31
+ "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.",
32
+ "value": 180
33
+ },
34
+ {
35
+ "name": "lines_to_validate",
36
+ "type": "text",
37
+ "title": "Limit validation to a maximum resource count",
38
+ "description": "To validate all, leave blank.",
39
+ "optional": true,
40
+ "value": null
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "title": "Inferno Reference Server",
3
+ "id": null,
4
+ "test_suite_id": "bulk_data_v200",
5
+ "inputs": [
6
+ {
7
+ "name": "bulk_server_url",
8
+ "type": "text",
9
+ "title": "Bulk Data FHIR URL",
10
+ "description": "The URL of the Bulk FHIR server.",
11
+ "value": "https://inferno.healthit.gov/reference-server/r4"
12
+ },
13
+ {
14
+ "name": "backend_services_client_id",
15
+ "type": "text",
16
+ "title": "Bulk Data Client ID",
17
+ "description": "Client ID provided at registration to the Inferno application.",
18
+ "value": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InJlZ2lzdHJhdGlvbi10b2tlbiJ9.eyJqd2tzX3VybCI6Imh0dHA6Ly8xMC4xNS4yNTIuNzMvaW5mZXJuby8ud2VsbC1rbm93bi9qd2tzLmpzb24iLCJhY2Nlc3NUb2tlbnNFeHBpcmVJbiI6MTUsImlhdCI6MTU5NzQxMzE5NX0.q4v4Msc74kN506KTZ0q_minyapJw0gwlT6M_uiL73S4"
19
+ },
20
+ {
21
+ "name": "group_id",
22
+ "type": "text",
23
+ "title": "Group ID",
24
+ "description": "The Group ID associated with the group of patients to be exported.",
25
+ "value": "1a"
26
+ },
27
+ {
28
+ "name": "bulk_timeout",
29
+ "type": "text",
30
+ "title": "Export Times Out after (1-600)",
31
+ "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.",
32
+ "value": 180
33
+ },
34
+ {
35
+ "name": "lines_to_validate",
36
+ "type": "text",
37
+ "title": "Limit validation to a maximum resource count",
38
+ "description": "To validate all, leave blank.",
39
+ "optional": true,
40
+ "value": null
41
+ }
42
+ ]
43
+ }
@@ -0,0 +1,45 @@
1
+ module BulkDataTestKit
2
+ class Metadata < Inferno::TestKit
3
+ id :bulk_data_test_kit
4
+ title 'Bulk Data Test Kit'
5
+ suite_ids %w[bulk_data_v101 bulk_data_v200 bulk_data_v200_client]
6
+ tags ['Bulk Data']
7
+ last_updated ::BulkDataTestKit::LAST_UPDATED
8
+ version ::BulkDataTestKit::VERSION
9
+ maturity 'Low'
10
+ authors ['Inferno Team']
11
+ repo 'https://github.com/inferno-framework/bulk-data-test-kit'
12
+ description <<~DESCRIPTION
13
+ The Bulk Data Access Test Kit validates the conformance of a server
14
+ implementation to a specified version of the
15
+ [Bulk Data Access Implementation Guide](http://hl7.org/fhir/uv/bulkdata/).
16
+ This Test Kit currently includes tests for
17
+ [STU1](http://hl7.org/fhir/uv/bulkdata/STU1.0.1/) and
18
+ [STU2](http://hl7.org/fhir/uv/bulkdata/STU2/) versions of this
19
+ implementation guide.
20
+
21
+ <!-- break -->
22
+
23
+ This test kit is split into three different types of bulk data export:
24
+
25
+ - All Patients: FHIR Operation to obtain a detailed set of FHIR resources
26
+ of diverse resource types pertaining to all patients
27
+ - Group of Patients: FHIR Operation to obtain a detailed set of FHIR
28
+ resources of diverse resource types pertaining to all members of a specified
29
+ Group
30
+ - System Level Export: FHIR Operation to export data from a FHIR server,
31
+ whether or not it is associated with a patient
32
+
33
+ The Bulk Data Access Test Kit is built using the
34
+ [Inferno Framework](https://inferno-framework.github.io/). The Inferno
35
+ Framework is designed for reuse and aims to make it easier to build test
36
+ kits for any FHIR-based data exchange.
37
+
38
+ ## Reporting Issues
39
+
40
+ Please report any issues with this set of tests in the
41
+ [GitHub Issues](https://github.com/inferno-framework/bulk-data-test-kit/issues)
42
+ section of this repository.
43
+ DESCRIPTION
44
+ end
45
+ end