onc_certification_g10_test_kit 6.0.3 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +4 -4
  2. data/lib/inferno/repositiories/validators.rb +0 -6
  3. data/lib/inferno/repositiories/value_sets.rb +1 -7
  4. data/lib/inferno/terminology/expected_manifest.yml +5 -5
  5. data/lib/inferno/terminology/fhir_package_manager.rb +13 -4
  6. data/lib/inferno/terminology/loader.rb +2 -1
  7. data/lib/inferno/terminology/tasks/download_fhir_terminology.rb +2 -1
  8. data/lib/inferno/terminology/tasks/download_umls.rb +2 -1
  9. data/lib/inferno/terminology/tasks/expand_value_set_to_file.rb +1 -1
  10. data/lib/inferno/terminology/tasks/run_umls_jar.rb +2 -1
  11. data/lib/inferno/terminology/validator.rb +1 -0
  12. data/lib/inferno/terminology/value_set.rb +2 -0
  13. data/lib/onc_certification_g10_test_kit/all_resources.rb +74 -0
  14. data/lib/onc_certification_g10_test_kit/bulk_data_group_export_validation.rb +361 -59
  15. data/lib/onc_certification_g10_test_kit/bulk_export_validation_tester.rb +4 -3
  16. data/lib/onc_certification_g10_test_kit/g10_options.rb +20 -1
  17. data/lib/onc_certification_g10_test_kit/limited_scope_grant_test.rb +4 -0
  18. data/lib/onc_certification_g10_test_kit/multi_patient_api_stu1.rb +2 -1
  19. data/lib/onc_certification_g10_test_kit/multi_patient_api_stu2.rb +2 -1
  20. data/lib/onc_certification_g10_test_kit/patient_scope_test.rb +1 -1
  21. data/lib/onc_certification_g10_test_kit/profile_selector.rb +40 -15
  22. data/lib/onc_certification_g10_test_kit/restricted_resource_type_access_group.rb +89 -2
  23. data/lib/onc_certification_g10_test_kit/short_id_map.yml +1417 -12
  24. data/lib/onc_certification_g10_test_kit/single_patient_us_core_7_api_group.rb +219 -0
  25. data/lib/onc_certification_g10_test_kit/smart_app_launch_invalid_aud_group.rb +41 -1
  26. data/lib/onc_certification_g10_test_kit/smart_asymmetric_launch_group.rb +33 -1
  27. data/lib/onc_certification_g10_test_kit/smart_ehr_patient_launch_group_stu2_2.rb +128 -0
  28. data/lib/onc_certification_g10_test_kit/smart_ehr_practitioner_app_group.rb +234 -0
  29. data/lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_group_stu2_2.rb +188 -0
  30. data/lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group.rb +188 -0
  31. data/lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group_stu2_2.rb +188 -0
  32. data/lib/onc_certification_g10_test_kit/smart_granular_scope_selection_group.rb +67 -1
  33. data/lib/onc_certification_g10_test_kit/smart_limited_app_group.rb +128 -1
  34. data/lib/onc_certification_g10_test_kit/smart_public_standalone_launch_group_stu2_2.rb +162 -0
  35. data/lib/onc_certification_g10_test_kit/smart_scopes_test.rb +10 -2
  36. data/lib/onc_certification_g10_test_kit/smart_standalone_patient_app_group.rb +159 -0
  37. data/lib/onc_certification_g10_test_kit/smart_v1_scopes_group.rb +117 -0
  38. data/lib/onc_certification_g10_test_kit/terminology_binding_validator.rb +5 -1
  39. data/lib/onc_certification_g10_test_kit/token_introspection_group_stu2_2.rb +97 -0
  40. data/lib/onc_certification_g10_test_kit/unrestricted_resource_type_access_group.rb +85 -31
  41. data/lib/onc_certification_g10_test_kit/version.rb +1 -1
  42. data/lib/onc_certification_g10_test_kit/visual_inspection_and_attestations_group.rb +171 -0
  43. data/lib/onc_certification_g10_test_kit/well_known_capabilities_test.rb +1 -1
  44. data/lib/onc_certification_g10_test_kit.rb +72 -5
  45. metadata +18 -10
@@ -708,5 +708,176 @@ module ONCCertificationG10TestKit
708
708
  pass clinical_test_scope_attestation_notes if clinical_test_scope_attestation_notes.present?
709
709
  end
710
710
  end
711
+
712
+ test do
713
+ required_suite_options G10Options::SMART_2_2_REQUIREMENT.merge(G10Options::US_CORE_6_REQUIREMENT)
714
+ title 'Health IT developer attested that the Health IT Module supports ' \
715
+ 'granting a sub resource scope for Clinical Test Observations.'
716
+
717
+ description <<~DESCRIPTION
718
+ As finalized in the HTI-1 Final Rule (89 FR 1294), Health IT Modules are
719
+ required to support SMART App Launch v2.0.0 "Finer-grained resource
720
+ constraints using search parameters" for the “category” parameter for
721
+ the Condition resource with Condition sub-resources Encounter Diagnosis,
722
+ Problem List, and Health Concern, and the Observation resource with
723
+ Observation sub-resources Clinical Test, Laboratory, Social History,
724
+ SDOH, Survey, and Vital Signs. We defer to the implementation guides
725
+ referenced at § 170.215(b)(1) and § 170.215(c) for specific
726
+ implementation guidance for this requirement. In the context of the US
727
+ Core 6.1.0 implementation guide, the Observation sub-resources of
728
+ Clinical Test and SDOH may have scopes supported as follows:
729
+
730
+ * support for scopes for the Observation sub-resource Clinical Test
731
+ using the "procedure" code from the US Core Clinical Result
732
+ Observation Category value set.
733
+
734
+ * support for scopes for the Observation sub-resource SDOH using the
735
+ "sdoh" code from the US Core Category code system .
736
+ DESCRIPTION
737
+ id :g10_clinical_test_scope_attestation_stu2_2 # rubocop:disable Naming/VariableNumber
738
+ input :clinical_test_scope_attestation,
739
+ title: 'Health IT developer attested that the Health IT Module supports ' \
740
+ 'granting a sub resource scope for Clinical Test Observations.',
741
+ type: 'radio',
742
+ default: 'false',
743
+ options: {
744
+ list_options: [
745
+ {
746
+ label: 'Yes',
747
+ value: 'true'
748
+ },
749
+ {
750
+ label: 'No',
751
+ value: 'false'
752
+ }
753
+ ]
754
+ }
755
+ input :clinical_test_scope_attestation_notes,
756
+ title: 'Notes, if applicable:',
757
+ type: 'textarea',
758
+ optional: true
759
+
760
+ run do
761
+ assert clinical_test_scope_attestation == 'true',
762
+ 'Health IT developer did not attest that the Health IT Module supports ' \
763
+ 'granting a sub resource scope for Clinical Test Observations.'
764
+
765
+ pass clinical_test_scope_attestation_notes if clinical_test_scope_attestation_notes.present?
766
+ end
767
+ end
768
+
769
+ test do
770
+ required_suite_options G10Options::SMART_2_REQUIREMENT.merge(G10Options::US_CORE_7_REQUIREMENT)
771
+ title 'Health IT developer attested that the Health IT Module supports ' \
772
+ 'granting a sub resource scope for Clinical Test Observations.'
773
+
774
+ description <<~DESCRIPTION
775
+ As finalized in the HTI-1 Final Rule (89 FR 1294), Health IT Modules are
776
+ required to support SMART App Launch v2.0.0 "Finer-grained resource
777
+ constraints using search parameters" for the “category” parameter for
778
+ the Condition resource with Condition sub-resources Encounter Diagnosis,
779
+ Problem List, and Health Concern, and the Observation resource with
780
+ Observation sub-resources Clinical Test, Laboratory, Social History,
781
+ SDOH, Survey, and Vital Signs. We defer to the implementation guides
782
+ referenced at § 170.215(b)(1) and § 170.215(c) for specific
783
+ implementation guidance for this requirement. In the context of the US
784
+ Core 6.1.0 implementation guide, the Observation sub-resources of
785
+ Clinical Test and SDOH may have scopes supported as follows:
786
+
787
+ * support for scopes for the Observation sub-resource Clinical Test
788
+ using the "procedure" code from the US Core Clinical Result
789
+ Observation Category value set.
790
+
791
+ * support for scopes for the Observation sub-resource SDOH using the
792
+ "sdoh" code from the US Core Category code system .
793
+ DESCRIPTION
794
+ id :g10_us_core_7_clinical_test_scope_attestation
795
+ input :clinical_test_scope_attestation,
796
+ title: 'Health IT developer attested that the Health IT Module supports ' \
797
+ 'granting a sub resource scope for Clinical Test Observations.',
798
+ type: 'radio',
799
+ default: 'false',
800
+ options: {
801
+ list_options: [
802
+ {
803
+ label: 'Yes',
804
+ value: 'true'
805
+ },
806
+ {
807
+ label: 'No',
808
+ value: 'false'
809
+ }
810
+ ]
811
+ }
812
+ input :clinical_test_scope_attestation_notes,
813
+ title: 'Notes, if applicable:',
814
+ type: 'textarea',
815
+ optional: true
816
+
817
+ run do
818
+ assert clinical_test_scope_attestation == 'true',
819
+ 'Health IT developer did not attest that the Health IT Module supports ' \
820
+ 'granting a sub resource scope for Clinical Test Observations.'
821
+
822
+ pass clinical_test_scope_attestation_notes if clinical_test_scope_attestation_notes.present?
823
+ end
824
+ end
825
+
826
+ test do
827
+ required_suite_options G10Options::SMART_2_2_REQUIREMENT.merge(G10Options::US_CORE_7_REQUIREMENT)
828
+ title 'Health IT developer attested that the Health IT Module supports ' \
829
+ 'granting a sub resource scope for Clinical Test Observations.'
830
+
831
+ description <<~DESCRIPTION
832
+ As finalized in the HTI-1 Final Rule (89 FR 1294), Health IT Modules are
833
+ required to support SMART App Launch v2.0.0 "Finer-grained resource
834
+ constraints using search parameters" for the “category” parameter for
835
+ the Condition resource with Condition sub-resources Encounter Diagnosis,
836
+ Problem List, and Health Concern, and the Observation resource with
837
+ Observation sub-resources Clinical Test, Laboratory, Social History,
838
+ SDOH, Survey, and Vital Signs. We defer to the implementation guides
839
+ referenced at § 170.215(b)(1) and § 170.215(c) for specific
840
+ implementation guidance for this requirement. In the context of the US
841
+ Core 6.1.0 implementation guide, the Observation sub-resources of
842
+ Clinical Test and SDOH may have scopes supported as follows:
843
+
844
+ * support for scopes for the Observation sub-resource Clinical Test
845
+ using the "procedure" code from the US Core Clinical Result
846
+ Observation Category value set.
847
+
848
+ * support for scopes for the Observation sub-resource SDOH using the
849
+ "sdoh" code from the US Core Category code system .
850
+ DESCRIPTION
851
+ id :g10_us_core_7_clinical_test_scope_attestation_stu2_2 # rubocop:disable Naming/VariableNumber
852
+ input :clinical_test_scope_attestation,
853
+ title: 'Health IT developer attested that the Health IT Module supports ' \
854
+ 'granting a sub resource scope for Clinical Test Observations.',
855
+ type: 'radio',
856
+ default: 'false',
857
+ options: {
858
+ list_options: [
859
+ {
860
+ label: 'Yes',
861
+ value: 'true'
862
+ },
863
+ {
864
+ label: 'No',
865
+ value: 'false'
866
+ }
867
+ ]
868
+ }
869
+ input :clinical_test_scope_attestation_notes,
870
+ title: 'Notes, if applicable:',
871
+ type: 'textarea',
872
+ optional: true
873
+
874
+ run do
875
+ assert clinical_test_scope_attestation == 'true',
876
+ 'Health IT developer did not attest that the Health IT Module supports ' \
877
+ 'granting a sub resource scope for Clinical Test Observations.'
878
+
879
+ pass clinical_test_scope_attestation_notes if clinical_test_scope_attestation_notes.present?
880
+ end
881
+ end
711
882
  end
712
883
  end
@@ -23,7 +23,7 @@ module ONCCertificationG10TestKit
23
23
 
24
24
  required_capabilities = config.options[:required_capabilities] || []
25
25
 
26
- if (using_us_core_5? || using_us_core_6?) && required_capabilities.include?('launch-ehr')
26
+ if (using_us_core_5? || using_us_core_6? || using_us_core_7?) && required_capabilities.include?('launch-ehr')
27
27
  required_capabilities += ['context-ehr-encounter']
28
28
  end
29
29
 
@@ -1,5 +1,6 @@
1
1
  require 'smart_app_launch/smart_stu1_suite'
2
2
  require 'smart_app_launch/smart_stu2_suite'
3
+ require 'smart_app_launch/smart_stu2_2_suite'
3
4
  require 'us_core_test_kit'
4
5
 
5
6
  require_relative 'onc_certification_g10_test_kit/configuration_checker'
@@ -13,6 +14,7 @@ require_relative 'onc_certification_g10_test_kit/single_patient_api_group'
13
14
  require_relative 'onc_certification_g10_test_kit/single_patient_us_core_4_api_group'
14
15
  require_relative 'onc_certification_g10_test_kit/single_patient_us_core_5_api_group'
15
16
  require_relative 'onc_certification_g10_test_kit/single_patient_us_core_6_api_group'
17
+ require_relative 'onc_certification_g10_test_kit/single_patient_us_core_7_api_group'
16
18
  require_relative 'onc_certification_g10_test_kit/smart_app_launch_invalid_aud_group'
17
19
  require_relative 'onc_certification_g10_test_kit/smart_asymmetric_launch_group'
18
20
  require_relative 'onc_certification_g10_test_kit/smart_granular_scope_selection_group'
@@ -23,13 +25,19 @@ require_relative 'onc_certification_g10_test_kit/smart_limited_app_group'
23
25
  require_relative 'onc_certification_g10_test_kit/smart_standalone_patient_app_group'
24
26
  require_relative 'onc_certification_g10_test_kit/smart_public_standalone_launch_group'
25
27
  require_relative 'onc_certification_g10_test_kit/smart_public_standalone_launch_group_stu2'
28
+ require_relative 'onc_certification_g10_test_kit/smart_public_standalone_launch_group_stu2_2'
26
29
  require_relative 'onc_certification_g10_test_kit/smart_ehr_patient_launch_group'
27
30
  require_relative 'onc_certification_g10_test_kit/smart_ehr_patient_launch_group_stu2'
31
+ require_relative 'onc_certification_g10_test_kit/smart_ehr_patient_launch_group_stu2_2'
28
32
  require_relative 'onc_certification_g10_test_kit/smart_ehr_practitioner_app_group'
29
33
  require_relative 'onc_certification_g10_test_kit/smart_fine_grained_scopes_group'
34
+ require_relative 'onc_certification_g10_test_kit/smart_fine_grained_scopes_group_stu2_2'
35
+ require_relative 'onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group'
36
+ require_relative 'onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group_stu2_2'
30
37
  require_relative 'onc_certification_g10_test_kit/smart_v1_scopes_group'
31
38
  require_relative 'onc_certification_g10_test_kit/terminology_binding_validator'
32
39
  require_relative 'onc_certification_g10_test_kit/token_introspection_group'
40
+ require_relative 'onc_certification_g10_test_kit/token_introspection_group_stu2_2'
33
41
  require_relative 'onc_certification_g10_test_kit/token_revocation_group'
34
42
  require_relative 'onc_certification_g10_test_kit/visual_inspection_and_attestations_group'
35
43
 
@@ -76,7 +84,7 @@ module ONCCertificationG10TestKit
76
84
  /\A\S+: \S+: The Coding provided \(\S*\) was not found in the value set/,
77
85
  /\A\S+: \S+: A definition for CodeSystem '.*' could not be found, so the code cannot be validated/,
78
86
  /\A\S+: \S+: URL value '.*' does not resolve/,
79
- /\A\S+: \S+: .*\[No server available\]/, # Catch-all for certain errors when TX server is disabled
87
+ /\A\S+: \S+: .*\[No server available\]/, # Catch-all for certain errors when TX server is disabled
80
88
  %r{\A\S+: \S+: .*\[Error from http://tx.fhir.org/r4:} # Catch-all for TX server errors that slip through
81
89
  ].freeze
82
90
 
@@ -112,6 +120,8 @@ module ONCCertificationG10TestKit
112
120
  USCoreTestKit::USCoreV501::USCoreTestSuite::VALIDATION_MESSAGE_FILTERS
113
121
  when G10Options::US_CORE_6
114
122
  USCoreTestKit::USCoreV610::USCoreTestSuite::VALIDATION_MESSAGE_FILTERS
123
+ when G10Options::US_CORE_7
124
+ USCoreTestKit::USCoreV700::USCoreTestSuite::VALIDATION_MESSAGE_FILTERS
115
125
  end
116
126
 
117
127
  exclude_message do |message|
@@ -173,7 +183,8 @@ module ONCCertificationG10TestKit
173
183
  G10Options::US_CORE_3_REQUIREMENT,
174
184
  G10Options::US_CORE_4_REQUIREMENT,
175
185
  G10Options::US_CORE_5_REQUIREMENT,
176
- G10Options::US_CORE_6_REQUIREMENT
186
+ G10Options::US_CORE_6_REQUIREMENT,
187
+ G10Options::US_CORE_7_REQUIREMENT
177
188
 
178
189
  ].each do |us_core_version_requirement|
179
190
  setup_validator(us_core_version_requirement)
@@ -214,6 +225,10 @@ module ONCCertificationG10TestKit
214
225
  {
215
226
  label: 'US Core 6.1.0 / USCDI v3',
216
227
  value: G10Options::US_CORE_6
228
+ },
229
+ {
230
+ label: 'US Core 7.0.0 / USCDI v4',
231
+ value: G10Options::US_CORE_7
217
232
  }
218
233
  ]
219
234
 
@@ -227,6 +242,10 @@ module ONCCertificationG10TestKit
227
242
  {
228
243
  label: 'SMART App Launch 2.0.0',
229
244
  value: G10Options::SMART_2
245
+ },
246
+ {
247
+ label: 'SMART App Launch 2.2.0',
248
+ value: G10Options::SMART_2_2
230
249
  }
231
250
  ]
232
251
 
@@ -308,8 +327,10 @@ module ONCCertificationG10TestKit
308
327
 
309
328
  Systems may adopt later versions of standards than those named in the rule
310
329
  as approved by the ONC Standards Version Advancement Process (SVAP).
311
- Please select which approved version of each standard to use, and click
312
- ‘Start Testing’ to begin testing.
330
+ When using US Core v7, the tester must select SMART v2 or above
331
+ because SMART App Launch granular scopes are required by US Core v7
332
+ and are not available in SMART v1. Please select which approved version
333
+ of each standard to use, and click ‘Start Testing’ to begin testing.
313
334
  )
314
335
 
315
336
  input_instructions %(
@@ -338,6 +359,8 @@ module ONCCertificationG10TestKit
338
359
  required_suite_options: G10Options::US_CORE_5_REQUIREMENT
339
360
  group from: 'g10_single_patient_us_core_6_api',
340
361
  required_suite_options: G10Options::US_CORE_6_REQUIREMENT
362
+ group from: 'g10_single_patient_us_core_7_api',
363
+ required_suite_options: G10Options::US_CORE_7_REQUIREMENT
341
364
 
342
365
  group from: 'multi_patient_api',
343
366
  required_suite_options: G10Options::BULK_DATA_1_REQUIREMENT
@@ -388,9 +411,11 @@ module ONCCertificationG10TestKit
388
411
  group from: :g10_public_standalone_launch_stu2,
389
412
  required_suite_options: G10Options::SMART_2_REQUIREMENT,
390
413
  config: { options: { redirect_message_proc: default_redirect_message_proc } }
414
+ group from: :g10_public_standalone_launch_stu2_2, # rubocop:disable Naming/VariableNumber
415
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT,
416
+ config: { options: { redirect_message_proc: default_redirect_message_proc } }
391
417
 
392
418
  group from: :g10_token_revocation
393
-
394
419
  group from: :g10_smart_invalid_aud,
395
420
  config: { options: { redirect_message_proc: default_redirect_message_proc } }
396
421
 
@@ -400,20 +425,34 @@ module ONCCertificationG10TestKit
400
425
  group from: :g10_smart_invalid_token_request_stu2,
401
426
  required_suite_options: G10Options::SMART_2_REQUIREMENT,
402
427
  config: { options: { redirect_message_proc: default_redirect_message_proc } }
428
+ group from: :g10_smart_invalid_token_request_stu2,
429
+ id: :g10_smart_invalid_token_request_stu2_2, # rubocop:disable Naming/VariableNumber
430
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT,
431
+ config: { options: { redirect_message_proc: default_redirect_message_proc } }
403
432
 
404
433
  group from: :g10_smart_invalid_pkce_code_verifier_group,
405
434
  required_suite_options: G10Options::SMART_2_REQUIREMENT
435
+ group from: :g10_smart_invalid_pkce_code_verifier_group,
436
+ id: :g10_smart_invalid_pkce_code_verifier_group_stu2_2, # rubocop:disable Naming/VariableNumber
437
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT
406
438
 
407
439
  group from: :g10_ehr_patient_launch,
408
440
  required_suite_options: G10Options::SMART_1_REQUIREMENT
409
441
  group from: :g10_ehr_patient_launch_stu2,
410
442
  required_suite_options: G10Options::SMART_2_REQUIREMENT
443
+ group from: :g10_ehr_patient_launch_stu2_2, # rubocop:disable Naming/VariableNumber
444
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT
411
445
 
412
446
  group from: :g10_token_introspection,
413
447
  required_suite_options: G10Options::SMART_2_REQUIREMENT
448
+ group from: :g10_token_introspection_stu2_2, # rubocop:disable Naming/VariableNumber
449
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT
414
450
 
415
451
  group from: :g10_asymmetric_launch,
416
452
  required_suite_options: G10Options::SMART_2_REQUIREMENT
453
+ group from: :g10_asymmetric_launch,
454
+ id: :g10_asymmetric_launch_stu2_2, # rubocop:disable Naming/VariableNumber
455
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT
417
456
 
418
457
  group from: :g10_smart_v1_scopes,
419
458
  required_suite_options: G10Options::SMART_2_REQUIREMENT,
@@ -422,13 +461,41 @@ module ONCCertificationG10TestKit
422
461
  client_auth_encryption_method: { locked: true }
423
462
  }
424
463
  }
464
+ group from: :g10_smart_v1_scopes,
465
+ id: :g10_smart_v1_scopes_stu2_2, # rubocop:disable Naming/VariableNumber
466
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT,
467
+ config: {
468
+ inputs: {
469
+ client_auth_encryption_method: { locked: true }
470
+ }
471
+ }
425
472
 
426
473
  group from: :g10_smart_fine_grained_scopes,
427
474
  required_suite_options: G10Options::SMART_2_REQUIREMENT.merge(G10Options::US_CORE_6_REQUIREMENT),
428
475
  exclude_optional: true
476
+ group from: :g10_smart_fine_grained_scopes_stu2_2, # rubocop:disable Naming/VariableNumber
477
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT.merge(G10Options::US_CORE_6_REQUIREMENT),
478
+ exclude_optional: true
479
+
480
+ group from: :g10_us_core_7_smart_fine_grained_scopes,
481
+ required_suite_options: G10Options::SMART_2_REQUIREMENT.merge(G10Options::US_CORE_7_REQUIREMENT),
482
+ exclude_optional: true
483
+ group from: :g10_us_core_7_smart_fine_grained_scopes_stu2_2, # rubocop:disable Naming/VariableNumber
484
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT.merge(G10Options::US_CORE_7_REQUIREMENT),
485
+ exclude_optional: true
429
486
 
430
487
  group from: :g10_smart_granular_scope_selection,
431
488
  required_suite_options: G10Options::SMART_2_REQUIREMENT.merge(G10Options::US_CORE_6_REQUIREMENT)
489
+ group from: :g10_smart_granular_scope_selection,
490
+ id: :g10_smart_granular_scope_selection_stu2_2, # rubocop:disable Naming/VariableNumber
491
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT.merge(G10Options::US_CORE_6_REQUIREMENT)
492
+
493
+ group from: :g10_smart_granular_scope_selection,
494
+ id: :g10_us_core_7_smart_granular_scope_selection,
495
+ required_suite_options: G10Options::SMART_2_REQUIREMENT.merge(G10Options::US_CORE_7_REQUIREMENT)
496
+ group from: :g10_smart_granular_scope_selection,
497
+ id: :g10_us_core_7_smart_granular_scope_selection_stu2_2, # rubocop:disable Naming/VariableNumber
498
+ required_suite_options: G10Options::SMART_2_2_REQUIREMENT.merge(G10Options::US_CORE_7_REQUIREMENT)
432
499
  end
433
500
 
434
501
  group from: :g10_visual_inspection_and_attestations
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: 6.0.3
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen MacVicar
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-10-08 00:00:00.000000000 Z
11
+ date: 2024-11-21 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.4.34
47
+ version: 0.5.0
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.34
54
+ version: 0.5.0
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.4.5
117
+ version: 0.4.6
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.4.5
124
+ version: 0.4.6
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.2.2
131
+ version: 0.2.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.2.2
138
+ version: 0.2.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.8.2
145
+ version: 0.9.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.8.2
152
+ version: 0.9.2
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: database_cleaner-sequel
155
155
  requirement: !ruby/object:Gem::Requirement
@@ -247,6 +247,7 @@ files:
247
247
  - lib/inferno/terminology/validator.rb
248
248
  - lib/inferno/terminology/value_set.rb
249
249
  - lib/onc_certification_g10_test_kit.rb
250
+ - lib/onc_certification_g10_test_kit/all_resources.rb
250
251
  - lib/onc_certification_g10_test_kit/authorization_request_builder.rb
251
252
  - lib/onc_certification_g10_test_kit/base_token_refresh_group.rb
252
253
  - lib/onc_certification_g10_test_kit/base_token_refresh_stu2_group.rb
@@ -291,12 +292,17 @@ files:
291
292
  - lib/onc_certification_g10_test_kit/single_patient_us_core_4_api_group.rb
292
293
  - lib/onc_certification_g10_test_kit/single_patient_us_core_5_api_group.rb
293
294
  - lib/onc_certification_g10_test_kit/single_patient_us_core_6_api_group.rb
295
+ - lib/onc_certification_g10_test_kit/single_patient_us_core_7_api_group.rb
294
296
  - lib/onc_certification_g10_test_kit/smart_app_launch_invalid_aud_group.rb
295
297
  - lib/onc_certification_g10_test_kit/smart_asymmetric_launch_group.rb
296
298
  - lib/onc_certification_g10_test_kit/smart_ehr_patient_launch_group.rb
297
299
  - lib/onc_certification_g10_test_kit/smart_ehr_patient_launch_group_stu2.rb
300
+ - lib/onc_certification_g10_test_kit/smart_ehr_patient_launch_group_stu2_2.rb
298
301
  - lib/onc_certification_g10_test_kit/smart_ehr_practitioner_app_group.rb
299
302
  - lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_group.rb
303
+ - lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_group_stu2_2.rb
304
+ - lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group.rb
305
+ - lib/onc_certification_g10_test_kit/smart_fine_grained_scopes_us_core_7_group_stu2_2.rb
300
306
  - lib/onc_certification_g10_test_kit/smart_granular_scope_selection_group.rb
301
307
  - lib/onc_certification_g10_test_kit/smart_granular_scope_selection_test.rb
302
308
  - lib/onc_certification_g10_test_kit/smart_invalid_pkce_group.rb
@@ -306,6 +312,7 @@ files:
306
312
  - lib/onc_certification_g10_test_kit/smart_limited_app_group.rb
307
313
  - lib/onc_certification_g10_test_kit/smart_public_standalone_launch_group.rb
308
314
  - lib/onc_certification_g10_test_kit/smart_public_standalone_launch_group_stu2.rb
315
+ - lib/onc_certification_g10_test_kit/smart_public_standalone_launch_group_stu2_2.rb
309
316
  - lib/onc_certification_g10_test_kit/smart_scopes_test.rb
310
317
  - lib/onc_certification_g10_test_kit/smart_standalone_patient_app_group.rb
311
318
  - lib/onc_certification_g10_test_kit/smart_v1_scopes_group.rb
@@ -313,6 +320,7 @@ files:
313
320
  - lib/onc_certification_g10_test_kit/tasks/test_procedure.rb
314
321
  - lib/onc_certification_g10_test_kit/terminology_binding_validator.rb
315
322
  - lib/onc_certification_g10_test_kit/token_introspection_group.rb
323
+ - lib/onc_certification_g10_test_kit/token_introspection_group_stu2_2.rb
316
324
  - lib/onc_certification_g10_test_kit/token_revocation_group.rb
317
325
  - lib/onc_certification_g10_test_kit/unauthorized_access_test.rb
318
326
  - lib/onc_certification_g10_test_kit/unrestricted_resource_type_access_group.rb