onc_certification_g10_test_kit 3.0.1 → 3.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/inferno/terminology/expected_manifest.yml +36 -693
- data/lib/inferno/terminology/fhir_package_manager.rb +16 -14
- data/lib/inferno/terminology/loader.rb +24 -2
- data/lib/inferno/terminology/tasks/download_umls.rb +2 -1
- data/lib/inferno/terminology/tasks/expand_value_set_to_file.rb +1 -1
- data/lib/inferno/terminology/tasks/run_umls_jar.rb +2 -1
- data/lib/inferno/terminology/value_set.rb +58 -56
- 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_stu1.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/bulk_data_group_export_validation.rb +7 -4
- data/lib/onc_certification_g10_test_kit/bulk_export_validation_tester.rb +2 -11
- data/lib/onc_certification_g10_test_kit/configuration_checker.rb +22 -0
- data/lib/onc_certification_g10_test_kit/export_kick_off_performer.rb +3 -2
- data/lib/onc_certification_g10_test_kit/g10_options.rb +46 -0
- data/lib/onc_certification_g10_test_kit/incorrectly_permitted_tls_versions_messages_setup_test.rb +34 -0
- data/lib/onc_certification_g10_test_kit/limited_scope_grant_test.rb +3 -1
- data/lib/onc_certification_g10_test_kit/multi_patient_api_stu1.rb +11 -0
- data/lib/onc_certification_g10_test_kit/multi_patient_api_stu2.rb +10 -0
- data/lib/onc_certification_g10_test_kit/onc_program_procedure.yml +1502 -658
- data/lib/onc_certification_g10_test_kit/profile_selector.rb +34 -24
- data/lib/onc_certification_g10_test_kit/resource_access_test.rb +1 -2
- data/lib/onc_certification_g10_test_kit/restricted_resource_type_access_group.rb +2 -2
- data/lib/onc_certification_g10_test_kit/short_id_manager.rb +46 -0
- data/lib/onc_certification_g10_test_kit/short_id_map.yml +1536 -0
- data/lib/onc_certification_g10_test_kit/single_patient_api_group.rb +7 -0
- data/lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb +7 -0
- data/lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb +9 -2
- data/lib/onc_certification_g10_test_kit/smart_app_launch_invalid_aud_group.rb +2 -2
- data/lib/onc_certification_g10_test_kit/smart_ehr_practitioner_app_group.rb +61 -6
- data/lib/onc_certification_g10_test_kit/smart_invalid_token_refresh_test.rb +37 -0
- data/lib/onc_certification_g10_test_kit/smart_limited_app_group.rb +3 -2
- data/lib/onc_certification_g10_test_kit/smart_scopes_test.rb +4 -2
- data/lib/onc_certification_g10_test_kit/smart_standalone_patient_app_group.rb +60 -4
- data/lib/onc_certification_g10_test_kit/unrestricted_resource_type_access_group.rb +7 -4
- data/lib/onc_certification_g10_test_kit/version.rb +1 -1
- data/lib/onc_certification_g10_test_kit/visual_inspection_and_attestations_group.rb +88 -2
- data/lib/onc_certification_g10_test_kit/well_known_capabilities_test.rb +4 -2
- data/lib/onc_certification_g10_test_kit.rb +25 -20
- metadata +15 -10
@@ -6,6 +6,7 @@ require_relative 'onc_certification_g10_test_kit/configuration_checker'
|
|
6
6
|
require_relative 'onc_certification_g10_test_kit/version'
|
7
7
|
|
8
8
|
require_relative 'onc_certification_g10_test_kit/feature'
|
9
|
+
require_relative 'onc_certification_g10_test_kit/g10_options'
|
9
10
|
require_relative 'onc_certification_g10_test_kit/single_patient_api_group'
|
10
11
|
require_relative 'onc_certification_g10_test_kit/single_patient_us_core_4_api_group'
|
11
12
|
require_relative 'onc_certification_g10_test_kit/single_patient_us_core_5_api_group'
|
@@ -26,6 +27,7 @@ require_relative 'onc_certification_g10_test_kit/terminology_binding_validator'
|
|
26
27
|
require_relative 'onc_certification_g10_test_kit/token_revocation_group'
|
27
28
|
require_relative 'onc_certification_g10_test_kit/visual_inspection_and_attestations_group'
|
28
29
|
require_relative 'inferno/terminology'
|
30
|
+
require_relative 'onc_certification_g10_test_kit/short_id_manager'
|
29
31
|
|
30
32
|
Inferno::Terminology::Loader.load_validators
|
31
33
|
|
@@ -123,15 +125,15 @@ module ONCCertificationG10TestKit
|
|
123
125
|
list_options: [
|
124
126
|
{
|
125
127
|
label: 'US Core 3.1.1 / USCDI v1',
|
126
|
-
value:
|
128
|
+
value: G10Options::US_CORE_3
|
127
129
|
},
|
128
130
|
{
|
129
131
|
label: 'US Core 4.0.0 / USCDI v1',
|
130
|
-
value:
|
132
|
+
value: G10Options::US_CORE_4
|
131
133
|
},
|
132
134
|
{
|
133
135
|
label: 'US Core 5.0.1 / USCDI v2',
|
134
|
-
value:
|
136
|
+
value: G10Options::US_CORE_5
|
135
137
|
}
|
136
138
|
]
|
137
139
|
|
@@ -140,11 +142,11 @@ module ONCCertificationG10TestKit
|
|
140
142
|
list_options: [
|
141
143
|
{
|
142
144
|
label: 'SMART App Launch 1.0.0',
|
143
|
-
value:
|
145
|
+
value: G10Options::SMART_1
|
144
146
|
},
|
145
147
|
{
|
146
148
|
label: 'SMART App Launch 2.0.0',
|
147
|
-
value:
|
149
|
+
value: G10Options::SMART_2
|
148
150
|
}
|
149
151
|
]
|
150
152
|
|
@@ -153,17 +155,18 @@ module ONCCertificationG10TestKit
|
|
153
155
|
list_options: [
|
154
156
|
{
|
155
157
|
label: 'Bulk Data 1.0.1',
|
156
|
-
value:
|
158
|
+
value: G10Options::BULK_DATA_1
|
157
159
|
},
|
158
160
|
{
|
159
161
|
label: 'Bulk Data 2.0.0',
|
160
|
-
value:
|
162
|
+
value: G10Options::BULK_DATA_2
|
161
163
|
}
|
162
164
|
]
|
163
165
|
|
164
166
|
config(
|
165
167
|
options: {
|
166
|
-
post_authorization_uri: "#{Inferno::Application['base_url']}/custom/smart_stu2/post_auth"
|
168
|
+
post_authorization_uri: "#{Inferno::Application['base_url']}/custom/smart_stu2/post_auth",
|
169
|
+
incorrectly_permitted_tls_version_message_type: 'warning'
|
167
170
|
}
|
168
171
|
)
|
169
172
|
|
@@ -220,16 +223,16 @@ module ONCCertificationG10TestKit
|
|
220
223
|
group from: 'g10_smart_ehr_practitioner_app'
|
221
224
|
|
222
225
|
group from: 'g10_single_patient_api',
|
223
|
-
required_suite_options:
|
226
|
+
required_suite_options: G10Options::US_CORE_3_REQUIREMENT
|
224
227
|
group from: 'g10_single_patient_us_core_4_api',
|
225
|
-
required_suite_options:
|
228
|
+
required_suite_options: G10Options::US_CORE_4_REQUIREMENT
|
226
229
|
group from: 'g10_single_patient_us_core_5_api',
|
227
|
-
required_suite_options:
|
230
|
+
required_suite_options: G10Options::US_CORE_5_REQUIREMENT
|
228
231
|
|
229
232
|
group from: 'multi_patient_api',
|
230
|
-
required_suite_options:
|
233
|
+
required_suite_options: G10Options::BULK_DATA_1_REQUIREMENT
|
231
234
|
group from: 'multi_patient_api_stu2',
|
232
|
-
required_suite_options:
|
235
|
+
required_suite_options: G10Options::BULK_DATA_2_REQUIREMENT
|
233
236
|
|
234
237
|
group do
|
235
238
|
title 'Additional Tests'
|
@@ -254,10 +257,10 @@ module ONCCertificationG10TestKit
|
|
254
257
|
end
|
255
258
|
|
256
259
|
group from: :g10_public_standalone_launch,
|
257
|
-
required_suite_options:
|
260
|
+
required_suite_options: G10Options::SMART_1_REQUIREMENT,
|
258
261
|
config: { options: { redirect_message_proc: default_redirect_message_proc } }
|
259
262
|
group from: :g10_public_standalone_launch_stu2,
|
260
|
-
required_suite_options:
|
263
|
+
required_suite_options: G10Options::SMART_2_REQUIREMENT,
|
261
264
|
config: { options: { redirect_message_proc: default_redirect_message_proc } }
|
262
265
|
|
263
266
|
group from: :g10_token_revocation
|
@@ -266,21 +269,23 @@ module ONCCertificationG10TestKit
|
|
266
269
|
config: { options: { redirect_message_proc: default_redirect_message_proc } }
|
267
270
|
|
268
271
|
group from: :g10_smart_invalid_token_request,
|
269
|
-
required_suite_options:
|
272
|
+
required_suite_options: G10Options::SMART_1_REQUIREMENT,
|
270
273
|
config: { options: { redirect_message_proc: default_redirect_message_proc } }
|
271
274
|
group from: :g10_smart_invalid_token_request_stu2,
|
272
|
-
required_suite_options:
|
275
|
+
required_suite_options: G10Options::SMART_2_REQUIREMENT,
|
273
276
|
config: { options: { redirect_message_proc: default_redirect_message_proc } }
|
274
277
|
|
275
278
|
group from: :g10_smart_invalid_pkce_code_verifier_group,
|
276
|
-
required_suite_options:
|
279
|
+
required_suite_options: G10Options::SMART_2_REQUIREMENT
|
277
280
|
|
278
281
|
group from: :g10_ehr_patient_launch,
|
279
|
-
required_suite_options:
|
282
|
+
required_suite_options: G10Options::SMART_1_REQUIREMENT
|
280
283
|
group from: :g10_ehr_patient_launch_stu2,
|
281
|
-
required_suite_options:
|
284
|
+
required_suite_options: G10Options::SMART_2_REQUIREMENT
|
282
285
|
|
283
286
|
group from: :g10_visual_inspection_and_attestations
|
284
287
|
end
|
285
288
|
end
|
286
289
|
end
|
290
|
+
|
291
|
+
ONCCertificationG10TestKit::ShortIDManager.assign_short_ids
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: onc_certification_g10_test_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0
|
4
|
+
version: 3.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-10-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bloomer
|
@@ -44,14 +44,14 @@ dependencies:
|
|
44
44
|
requirements:
|
45
45
|
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.3.
|
47
|
+
version: 0.3.11
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 0.3.
|
54
|
+
version: 0.3.11
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: json-jwt
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,42 +114,42 @@ dependencies:
|
|
114
114
|
requirements:
|
115
115
|
- - '='
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 0.1.
|
117
|
+
version: 0.1.8
|
118
118
|
type: :runtime
|
119
119
|
prerelease: false
|
120
120
|
version_requirements: !ruby/object:Gem::Requirement
|
121
121
|
requirements:
|
122
122
|
- - '='
|
123
123
|
- !ruby/object:Gem::Version
|
124
|
-
version: 0.1.
|
124
|
+
version: 0.1.8
|
125
125
|
- !ruby/object:Gem::Dependency
|
126
126
|
name: tls_test_kit
|
127
127
|
requirement: !ruby/object:Gem::Requirement
|
128
128
|
requirements:
|
129
129
|
- - '='
|
130
130
|
- !ruby/object:Gem::Version
|
131
|
-
version: 0.1.
|
131
|
+
version: 0.1.3
|
132
132
|
type: :runtime
|
133
133
|
prerelease: false
|
134
134
|
version_requirements: !ruby/object:Gem::Requirement
|
135
135
|
requirements:
|
136
136
|
- - '='
|
137
137
|
- !ruby/object:Gem::Version
|
138
|
-
version: 0.1.
|
138
|
+
version: 0.1.3
|
139
139
|
- !ruby/object:Gem::Dependency
|
140
140
|
name: us_core_test_kit
|
141
141
|
requirement: !ruby/object:Gem::Requirement
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.3.
|
145
|
+
version: 0.3.2
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.3.
|
152
|
+
version: 0.3.2
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: database_cleaner-sequel
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -259,12 +259,14 @@ files:
|
|
259
259
|
- lib/onc_certification_g10_test_kit/encounter_context_test.rb
|
260
260
|
- lib/onc_certification_g10_test_kit/export_kick_off_performer.rb
|
261
261
|
- lib/onc_certification_g10_test_kit/feature.rb
|
262
|
+
- lib/onc_certification_g10_test_kit/g10_options.rb
|
262
263
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bodyheight.json
|
263
264
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bodytemp.json
|
264
265
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bodyweight.json
|
265
266
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bp.json
|
266
267
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-heartrate.json
|
267
268
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-resprate.json
|
269
|
+
- lib/onc_certification_g10_test_kit/incorrectly_permitted_tls_versions_messages_setup_test.rb
|
268
270
|
- lib/onc_certification_g10_test_kit/limited_scope_grant_test.rb
|
269
271
|
- lib/onc_certification_g10_test_kit/multi_patient_api_stu1.rb
|
270
272
|
- lib/onc_certification_g10_test_kit/multi_patient_api_stu2.rb
|
@@ -274,6 +276,8 @@ files:
|
|
274
276
|
- lib/onc_certification_g10_test_kit/resource_access_test.rb
|
275
277
|
- lib/onc_certification_g10_test_kit/restricted_access_test.rb
|
276
278
|
- lib/onc_certification_g10_test_kit/restricted_resource_type_access_group.rb
|
279
|
+
- lib/onc_certification_g10_test_kit/short_id_manager.rb
|
280
|
+
- lib/onc_certification_g10_test_kit/short_id_map.yml
|
277
281
|
- lib/onc_certification_g10_test_kit/single_patient_api_group.rb
|
278
282
|
- lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb
|
279
283
|
- lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb
|
@@ -284,6 +288,7 @@ files:
|
|
284
288
|
- lib/onc_certification_g10_test_kit/smart_invalid_pkce_group.rb
|
285
289
|
- lib/onc_certification_g10_test_kit/smart_invalid_token_group.rb
|
286
290
|
- lib/onc_certification_g10_test_kit/smart_invalid_token_group_stu2.rb
|
291
|
+
- lib/onc_certification_g10_test_kit/smart_invalid_token_refresh_test.rb
|
287
292
|
- lib/onc_certification_g10_test_kit/smart_limited_app_group.rb
|
288
293
|
- lib/onc_certification_g10_test_kit/smart_public_standalone_launch_group.rb
|
289
294
|
- lib/onc_certification_g10_test_kit/smart_public_standalone_launch_group_stu2.rb
|