onc_certification_g10_test_kit 7.0.1 → 7.0.3

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.
@@ -6,6 +6,7 @@ g10_certification-g10_smart_standalone_patient_app-smart_discovery-Test02: 1.1.0
6
6
  g10_certification-g10_smart_standalone_patient_app-smart_discovery-Test03: 1.1.03
7
7
  g10_certification-g10_smart_standalone_patient_app-smart_discovery-Test04: 1.1.04
8
8
  g10_certification-g10_smart_standalone_patient_app-smart_discovery-g10_smart_well_known_capabilities: 1.1.05
9
+ g10_certification-g10_smart_standalone_patient_app-smart_discovery-g10_us_core_7_smart_version_check: 1.1.06
9
10
  g10_certification-g10_smart_standalone_patient_app-smart_discovery_stu2: '1.2'
10
11
  g10_certification-g10_smart_standalone_patient_app-smart_discovery_stu2-well_known_endpoint: 1.2.01
11
12
  g10_certification-g10_smart_standalone_patient_app-smart_discovery_stu2-well_known_capabilities_stu2: 1.2.02
@@ -90,6 +90,32 @@ module ONCCertificationG10TestKit
90
90
  ]
91
91
  }
92
92
  }
93
+
94
+ test do
95
+ required_suite_options(G10Options::US_CORE_7_REQUIREMENT)
96
+
97
+ id :g10_us_core_7_smart_version_check
98
+ title 'US Core 7 requires SMART App Launch 2.0.0 or above'
99
+ description %(
100
+ The [US Core 7 SMART on FHIR Obligations and
101
+ Capabilities](https://hl7.org/fhir/us/core/STU7/scopes.html) require
102
+ SMART App Launch 2.0.0 or above, so systems can not certify with US
103
+ Core 7 and SMART App Launch 1.0.0.
104
+
105
+ The [Test
106
+ Procedure](https://www.healthit.gov/test-method/standardized-api-patient-and-population-services)
107
+ also states in **Paragraph (g)(10)(v)(A) – Authentication and
108
+ authorization for patient and user scopes**:
109
+
110
+ > Note: US Core 7.0.0 must be tested with SMART App Launch 2.0.0 or
111
+ above.
112
+ )
113
+
114
+ run do
115
+ assert false, 'US Core 7 is not eligible for certification with SMART App Launch 1.0.0. ' \
116
+ 'Start a new session with SMART App Launch 2.0.0 or higher.'
117
+ end
118
+ end
93
119
  end
94
120
 
95
121
  group from: :smart_discovery_stu2 do
@@ -1,3 +1,3 @@
1
1
  module ONCCertificationG10TestKit
2
- VERSION = '7.0.1'.freeze
2
+ VERSION = '7.0.3'.freeze
3
3
  end
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: 7.0.1
4
+ version: 7.0.3
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-11-21 00:00:00.000000000 Z
11
+ date: 2025-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bloomer
@@ -142,14 +142,14 @@ dependencies:
142
142
  requirements:
143
143
  - - '='
144
144
  - !ruby/object:Gem::Version
145
- version: 0.9.2
145
+ version: 0.9.3
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.9.2
152
+ version: 0.9.3
153
153
  - !ruby/object:Gem::Dependency
154
154
  name: database_cleaner-sequel
155
155
  requirement: !ruby/object:Gem::Requirement