onc_certification_g10_test_kit 3.8.1 → 4.0.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 +58 -53
- data/lib/inferno/terminology/fhir_package_manager.rb +2 -1
- data/lib/inferno/terminology/loader.rb +7 -3
- data/lib/inferno/terminology/tasks/check_built_terminology.rb +17 -1
- data/lib/inferno/terminology/tasks/download_fhir_terminology.rb +2 -1
- 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/onc_certification_g10_test_kit/bulk_data_group_export_validation.rb +185 -0
- data/lib/onc_certification_g10_test_kit/bulk_export_validation_tester.rb +4 -0
- data/lib/onc_certification_g10_test_kit/g10_options.rb +8 -0
- data/lib/onc_certification_g10_test_kit/igs/CodeSystem-observation-category.json +83 -0
- data/lib/onc_certification_g10_test_kit/igs/StructureDefinition-condition-assertedDate.json +280 -0
- data/lib/onc_certification_g10_test_kit/igs/ValueSet-observation-category.json +48 -0
- data/lib/onc_certification_g10_test_kit/igs/ValueSet-servicerequest-category.json +69 -0
- data/lib/onc_certification_g10_test_kit/limited_scope_grant_test.rb +5 -0
- data/lib/onc_certification_g10_test_kit/multi_patient_api_stu1.rb +10 -9
- data/lib/onc_certification_g10_test_kit/multi_patient_api_stu2.rb +10 -9
- data/lib/onc_certification_g10_test_kit/profile_selector.rb +72 -46
- data/lib/onc_certification_g10_test_kit/restricted_resource_type_access_group.rb +118 -21
- data/lib/onc_certification_g10_test_kit/short_id_manager.rb +2 -0
- data/lib/onc_certification_g10_test_kit/short_id_map.yml +579 -0
- data/lib/onc_certification_g10_test_kit/single_patient_api_group.rb +2 -1
- data/lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb +33 -18
- data/lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb +46 -24
- data/lib/onc_certification_g10_test_kit/single_patient_us_core_6_api_group.rb +203 -0
- data/lib/onc_certification_g10_test_kit/smart_scopes_test.rb +14 -4
- data/lib/onc_certification_g10_test_kit/unrestricted_resource_type_access_group.rb +106 -31
- data/lib/onc_certification_g10_test_kit/version.rb +1 -1
- data/lib/onc_certification_g10_test_kit/well_known_capabilities_test.rb +1 -1
- data/lib/onc_certification_g10_test_kit.rb +14 -1
- metadata +13 -8
@@ -10,6 +10,7 @@ require_relative 'onc_certification_g10_test_kit/g10_options'
|
|
10
10
|
require_relative 'onc_certification_g10_test_kit/single_patient_api_group'
|
11
11
|
require_relative 'onc_certification_g10_test_kit/single_patient_us_core_4_api_group'
|
12
12
|
require_relative 'onc_certification_g10_test_kit/single_patient_us_core_5_api_group'
|
13
|
+
require_relative 'onc_certification_g10_test_kit/single_patient_us_core_6_api_group'
|
13
14
|
require_relative 'onc_certification_g10_test_kit/smart_app_launch_invalid_aud_group'
|
14
15
|
require_relative 'onc_certification_g10_test_kit/smart_invalid_token_group'
|
15
16
|
require_relative 'onc_certification_g10_test_kit/smart_invalid_token_group_stu2'
|
@@ -64,7 +65,9 @@ module ONCCertificationG10TestKit
|
|
64
65
|
[
|
65
66
|
G10Options::US_CORE_3_REQUIREMENT,
|
66
67
|
G10Options::US_CORE_4_REQUIREMENT,
|
67
|
-
G10Options::US_CORE_5_REQUIREMENT
|
68
|
+
G10Options::US_CORE_5_REQUIREMENT,
|
69
|
+
G10Options::US_CORE_6_REQUIREMENT
|
70
|
+
|
68
71
|
].each do |us_core_version_requirement|
|
69
72
|
validator :default, required_suite_options: us_core_version_requirement do
|
70
73
|
url ENV.fetch('G10_VALIDATOR_URL', 'http://validator_service:4567')
|
@@ -77,6 +80,8 @@ module ONCCertificationG10TestKit
|
|
77
80
|
USCoreTestKit::USCoreV400::USCoreTestSuite::VALIDATION_MESSAGE_FILTERS
|
78
81
|
when G10Options::US_CORE_5
|
79
82
|
USCoreTestKit::USCoreV501::USCoreTestSuite::VALIDATION_MESSAGE_FILTERS
|
83
|
+
when G10Options::US_CORE_6
|
84
|
+
USCoreTestKit::USCoreV610::USCoreTestSuite::VALIDATION_MESSAGE_FILTERS
|
80
85
|
end
|
81
86
|
|
82
87
|
exclude_message do |message|
|
@@ -102,6 +107,8 @@ module ONCCertificationG10TestKit
|
|
102
107
|
perform_additional_validation do |resource, profile_url|
|
103
108
|
versionless_profile_url, profile_version = profile_url.split('|')
|
104
109
|
profile_version = case profile_version
|
110
|
+
when '6.1.0'
|
111
|
+
'610'
|
105
112
|
when '4.0.0'
|
106
113
|
'400'
|
107
114
|
when '5.0.1'
|
@@ -174,6 +181,10 @@ module ONCCertificationG10TestKit
|
|
174
181
|
{
|
175
182
|
label: 'US Core 5.0.1 / USCDI v2',
|
176
183
|
value: G10Options::US_CORE_5
|
184
|
+
},
|
185
|
+
{
|
186
|
+
label: 'US Core 6.1.0 / USCDI v3',
|
187
|
+
value: G10Options::US_CORE_6
|
177
188
|
}
|
178
189
|
]
|
179
190
|
|
@@ -274,6 +285,8 @@ module ONCCertificationG10TestKit
|
|
274
285
|
required_suite_options: G10Options::US_CORE_4_REQUIREMENT
|
275
286
|
group from: 'g10_single_patient_us_core_5_api',
|
276
287
|
required_suite_options: G10Options::US_CORE_5_REQUIREMENT
|
288
|
+
group from: 'g10_single_patient_us_core_6_api',
|
289
|
+
required_suite_options: G10Options::US_CORE_6_REQUIREMENT
|
277
290
|
|
278
291
|
group from: 'multi_patient_api',
|
279
292
|
required_suite_options: G10Options::BULK_DATA_1_REQUIREMENT
|
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:
|
4
|
+
version: 4.0.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: 2023-
|
11
|
+
date: 2023-11-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bloomer
|
@@ -42,16 +42,16 @@ dependencies:
|
|
42
42
|
name: inferno_core
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.4.
|
47
|
+
version: 0.4.20
|
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.4.
|
54
|
+
version: 0.4.20
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: json-jwt
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.6.
|
145
|
+
version: 0.6.1
|
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.6.
|
152
|
+
version: 0.6.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: database_cleaner-sequel
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -263,12 +263,16 @@ files:
|
|
263
263
|
- lib/onc_certification_g10_test_kit/export_kick_off_performer.rb
|
264
264
|
- lib/onc_certification_g10_test_kit/feature.rb
|
265
265
|
- lib/onc_certification_g10_test_kit/g10_options.rb
|
266
|
+
- lib/onc_certification_g10_test_kit/igs/CodeSystem-observation-category.json
|
266
267
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bodyheight.json
|
267
268
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bodytemp.json
|
268
269
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bodyweight.json
|
269
270
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-bp.json
|
271
|
+
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-condition-assertedDate.json
|
270
272
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-heartrate.json
|
271
273
|
- lib/onc_certification_g10_test_kit/igs/StructureDefinition-resprate.json
|
274
|
+
- lib/onc_certification_g10_test_kit/igs/ValueSet-observation-category.json
|
275
|
+
- lib/onc_certification_g10_test_kit/igs/ValueSet-servicerequest-category.json
|
272
276
|
- lib/onc_certification_g10_test_kit/incorrectly_permitted_tls_versions_messages_setup_test.rb
|
273
277
|
- lib/onc_certification_g10_test_kit/limited_scope_grant_test.rb
|
274
278
|
- lib/onc_certification_g10_test_kit/multi_patient_api_stu1.rb
|
@@ -285,6 +289,7 @@ files:
|
|
285
289
|
- lib/onc_certification_g10_test_kit/single_patient_api_group.rb
|
286
290
|
- lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb
|
287
291
|
- lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb
|
292
|
+
- lib/onc_certification_g10_test_kit/single_patient_us_core_6_api_group.rb
|
288
293
|
- lib/onc_certification_g10_test_kit/smart_app_launch_invalid_aud_group.rb
|
289
294
|
- lib/onc_certification_g10_test_kit/smart_ehr_patient_launch_group.rb
|
290
295
|
- lib/onc_certification_g10_test_kit/smart_ehr_patient_launch_group_stu2.rb
|