onc_certification_g10_test_kit 3.0.1 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/onc_certification_g10_test_kit/base_token_refresh_group.rb +2 -0
- data/lib/onc_certification_g10_test_kit/bulk_data_group_export_stu2.rb +1 -1
- data/lib/onc_certification_g10_test_kit/export_kick_off_performer.rb +3 -2
- data/lib/onc_certification_g10_test_kit/onc_program_procedure.yml +1501 -658
- data/lib/onc_certification_g10_test_kit/profile_selector.rb +3 -1
- data/lib/onc_certification_g10_test_kit/single_patient_api_group.rb +3 -0
- data/lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb +3 -0
- data/lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb +5 -2
- data/lib/onc_certification_g10_test_kit/smart_ehr_practitioner_app_group.rb +3 -0
- data/lib/onc_certification_g10_test_kit/smart_invalid_token_refresh_test.rb +37 -0
- data/lib/onc_certification_g10_test_kit/smart_standalone_patient_app_group.rb +3 -0
- data/lib/onc_certification_g10_test_kit/version.rb +1 -1
- data/lib/onc_certification_g10_test_kit/visual_inspection_and_attestations_group.rb +36 -0
- data/lib/onc_certification_g10_test_kit/well_known_capabilities_test.rb +1 -1
- metadata +9 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5832d54e7182c9e925adf882a5aeb0e42aa38b403bc712d4ca056138c48fe716
|
4
|
+
data.tar.gz: be2d8b5b41ac9847c228fad7e87b46e89523a28b2197324b7576a4d4dc4aa58e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d0420d215217f5e66463044b6bf102cf2ba1c2326057fdcf96a3628c419a748708612d118afd1af98f328677f80e256f410053ad586dc843525a265f8f5edd8
|
7
|
+
data.tar.gz: 43abf570742f05d4fffa836031b50059657ebc396aacb9aa2924e7a0ed1521bebf8d276b77a422808cdeed05d41ae87184ba579d4f77197975ece719dd71999f
|
@@ -32,7 +32,7 @@ module ONCCertificationG10TestKit
|
|
32
32
|
|
33
33
|
run do
|
34
34
|
['application/fhir+ndjson', 'application/ndjson', 'ndjson'].each do |format|
|
35
|
-
perform_export_kick_off_request(params:
|
35
|
+
perform_export_kick_off_request(params: { _outputFormat: format })
|
36
36
|
assert_response_status(202)
|
37
37
|
|
38
38
|
delete_export_kick_off_request
|
@@ -1,13 +1,14 @@
|
|
1
1
|
module ONCCertificationG10TestKit
|
2
2
|
module ExportKickOffPerformer
|
3
|
-
def perform_export_kick_off_request(use_token: true, params:
|
3
|
+
def perform_export_kick_off_request(use_token: true, params: {})
|
4
4
|
skip_if use_token && bearer_token.blank?, 'Could not verify this functionality when bearer token is not set'
|
5
5
|
|
6
6
|
headers = { accept: 'application/fhir+json', prefer: 'respond-async' }
|
7
7
|
headers.merge!({ authorization: "Bearer #{bearer_token}" }) if use_token
|
8
8
|
|
9
9
|
url = "Group/#{group_id}/$export"
|
10
|
-
|
10
|
+
param_str = params.map { |k, v| URI.encode_www_form(k => v) }.join('&')
|
11
|
+
url.concat("?#{param_str}") unless param_str.empty?
|
11
12
|
get(url, client: :bulk_server, name: :export, headers: headers)
|
12
13
|
end
|
13
14
|
|