onc_certification_g10_test_kit 7.2.2 → 7.2.4
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.
- checksums.yaml +4 -4
- data/config/presets/g10_reference_server_preset.json +2 -2
- data/lib/inferno/terminology/fhir_package_manager.rb +9 -3
- data/lib/onc_certification_g10_test_kit/bulk_data_group_export_validation.rb +2 -0
- data/lib/onc_certification_g10_test_kit/configuration_checker.rb +1 -1
- data/lib/onc_certification_g10_test_kit/g10_certification_suite.rb +614 -0
- data/lib/onc_certification_g10_test_kit/requirements/(g)(10)-test-procedure_requirements.xlsx +0 -0
- data/lib/onc_certification_g10_test_kit/requirements/generated/g10_certification_requirements_coverage.csv +468 -0
- data/lib/onc_certification_g10_test_kit/requirements/onc_certification_g10_test_kit_requirements.csv +468 -0
- data/lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_group.rb +5 -0
- data/lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_group_stu2_2.rb +5 -0
- data/lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group.rb +5 -0
- data/lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group_stu2_2.rb +5 -0
- data/lib/onc_certification_g10_test_kit/test_procedure_requirements_manager.rb +83 -0
- data/lib/onc_certification_g10_test_kit/version.rb +2 -2
- data/lib/onc_certification_g10_test_kit.rb +1 -554
- metadata +14 -10
- data/lib/onc_certification_g10_test_kit/short_id_manager.rb +0 -48
- /data/lib/onc_certification_g10_test_kit/{short_id_map.yml → g10_certification_suite_short_id_map.yml} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e3a2a44cd79877dcc54e05adbbe2bb3e3e915a7d529f3d9fd28a288969a19a82
|
4
|
+
data.tar.gz: 4e64800d5bee93ae2d74b9f2cd414174e9bb9928b6c2a5c4c0bd33ff49e535e7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 823703ab44fce50a5242d9661663001e2420b9182c9b93629ca297790d627badb932b83cf4ed21cd45e4e890090cc3936c923e809b3d32a0551a2a59c9d295f6
|
7
|
+
data.tar.gz: 22ec29dc499c97f322d993c3ca6ed3c2aced6cd5af3c29f244f1338ab86ecbafd0bc09073d49f3ac98781b1ce4753c7eb95a8a1f0a118922ce1493280112aa06
|
@@ -449,7 +449,7 @@
|
|
449
449
|
},
|
450
450
|
{
|
451
451
|
"name": "additional_patient_ids",
|
452
|
-
"value": "85,355",
|
452
|
+
"value": "85,355,907",
|
453
453
|
"_title": "Additional Patient IDs",
|
454
454
|
"_description": "Comma separated list of Patient IDs that together with the Patient\nID from the SMART App Launch contain all MUST SUPPORT elements.\n",
|
455
455
|
"_type": "text",
|
@@ -479,7 +479,7 @@
|
|
479
479
|
},
|
480
480
|
{
|
481
481
|
"name": "bulk_patient_ids_in_group",
|
482
|
-
"value": "85,355",
|
482
|
+
"value": "85,355,907",
|
483
483
|
"_title": "Patient IDs in exported Group",
|
484
484
|
"_description": "Comma separated list of every Patient ID that is in the specified Group. This information is provided by\nthe system under test to verify that data returned matches expectations. Leave blank to not verify Group\ninclusion.\n",
|
485
485
|
"_type": "text",
|
@@ -11,7 +11,7 @@ module Inferno
|
|
11
11
|
class << self
|
12
12
|
REGISTRY_SERVER_URL = 'https://packages.fhir.org'.freeze
|
13
13
|
US_CORE_7_PACKAGE_URL = 'https://hl7.org/fhir/us/core/STU7/package.tgz'.freeze
|
14
|
-
VSAC_18_PACKAGE_URL = 'https://packages2.fhir.org/
|
14
|
+
VSAC_18_PACKAGE_URL = 'https://packages2.fhir.org/web//us.nlm.vsac-0.18.0.tgz'.freeze
|
15
15
|
REQUIRED_VSAC_VALUE_SET_URLS = [
|
16
16
|
'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.114222.4.11.836',
|
17
17
|
'http://cts.nlm.nih.gov/fhir/ValueSet/2.16.840.1.113883.1.11.14914',
|
@@ -63,10 +63,16 @@ module Inferno
|
|
63
63
|
File.open(tar_file_name, 'w') do |output_file|
|
64
64
|
output_file.binmode
|
65
65
|
block = proc do |response|
|
66
|
-
response.
|
67
|
-
|
66
|
+
if ['301', '302', '307'].include? response.code
|
67
|
+
RestClient::Request.execute(method: :get, url: response.header[:location], block_response: block)
|
68
|
+
else
|
69
|
+
response.read_body do |chunk|
|
70
|
+
output_file.write chunk
|
71
|
+
end
|
68
72
|
end
|
69
73
|
end
|
74
|
+
|
75
|
+
puts "Downloading #{package_url}"
|
70
76
|
RestClient::Request.execute(method: :get, url: package_url, block_response: block)
|
71
77
|
end
|
72
78
|
|
@@ -393,6 +393,7 @@ module ONCCertificationG10TestKit
|
|
393
393
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate
|
394
394
|
|
395
395
|
For US Core v6.1.0, this test expects evidence of the following US Core profiles
|
396
|
+
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result
|
396
397
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
|
397
398
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation
|
398
399
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent
|
@@ -413,6 +414,7 @@ module ONCCertificationG10TestKit
|
|
413
414
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-respiratory-rate
|
414
415
|
|
415
416
|
For US Core v7.0.0, this test expects evidence of the following US Core profiles
|
417
|
+
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-clinical-result
|
416
418
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-lab
|
417
419
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-occupation
|
418
420
|
* http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-pregnancyintent
|
@@ -2,7 +2,7 @@ require_relative '../inferno/terminology/tasks/check_built_terminology'
|
|
2
2
|
|
3
3
|
module ONCCertificationG10TestKit
|
4
4
|
class ConfigurationChecker
|
5
|
-
EXPECTED_HL7_VALIDATOR_VERSION = '1.0.
|
5
|
+
EXPECTED_HL7_VALIDATOR_VERSION = '1.0.66'.freeze
|
6
6
|
HL7_VALIDATOR_VERSION_KEY = 'validatorWrapperVersion'.freeze
|
7
7
|
|
8
8
|
def configuration_messages
|