onc_certification_g10_test_kit 4.1.0 → 5.0.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dacaf1135e89243fcfc1b7a0595fcd0f0e0439a424f178bc171bca593051ac11
4
- data.tar.gz: 38f21fff356ec889a35db82652b1b16e4bece03079f7b8cd7986e14a2b798959
3
+ metadata.gz: 83389ac3e83644313336d270953a0c3f70e101c7b86cc18c3f367395f3d8db42
4
+ data.tar.gz: f039dbde0030ac8cd1ee389b4a38ca0d8cdb6afecaafac53af2b360ede008837
5
5
  SHA512:
6
- metadata.gz: 6ff91f8cb894beb076f4609d51ddbead1214c9ec4fa0ef15b067c8f53aa173c6d0d9480a2e2d97b2252f4d1af26de8756bd6341d0ee5f705b08d003174b8361a
7
- data.tar.gz: 9ff23a7eed9efe9e07549dd58179ee29ca8ae1266f83cc08314735a8b00849c6533e2f7e7dfae4863f8b88ee5270a4a0edc7258aade128cb9c4dca473c6168e6
6
+ metadata.gz: eb785eec56a192ae32934ff14925820ea010c976fedd3d0ed8d29602814b93e8af7b77c373e611b9edaf1fdda62426d024d72521bee81b5f4cc76be74b33d59f
7
+ data.tar.gz: 62d32f4cbd30fa25a09e8ddc3300cc3162d197a5fab14d6dd7119dadd2c342ca4ee75518ecbbf9afe47bda189f69bae95a0c423a9824b594ca88a3532c070209
@@ -77,7 +77,6 @@ procedure:
77
77
  - 3.4.06
78
78
  - 4.1.01
79
79
  - 5.1.01
80
- - 6.1.01
81
80
  - 10.1.01
82
81
  - 7.1.01
83
82
  - 7.2.01
@@ -244,6 +243,7 @@ procedure:
244
243
  “.well-known/smart-configuration.json” path to support at least the
245
244
  following as detailed in the implementation specification adopted in §
246
245
  170.215(a)(3):
246
+
247
247
  * “authorization_endpoint”;
248
248
  * “token_endpoint”;
249
249
  * “capabilities” including support for “launch-ehr",
@@ -259,13 +259,14 @@ procedure:
259
259
  not include support for “plain”
260
260
 
261
261
  Additionally, the following “capabilities” must be supported if using
262
- US Core 5.0.1:
262
+ US Core 5.0.1 or 6.1.0:
263
263
  * "context-ehr-encounter"
264
264
  TLV: |
265
265
  [Both] The tester verifies the ability of the
266
266
  “.well-known/smart-configuration.json” path to support at least the
267
267
  following as detailed in the implementation specification adopted in §
268
268
  170.215(a)(3):
269
+
269
270
  * “authorization_endpoint”;
270
271
  * “token_endpoint”;
271
272
  * “capabilities” including support for “launch-ehr",
@@ -281,7 +282,7 @@ procedure:
281
282
  not include support for “plain”
282
283
 
283
284
  Additionally, the following “capabilities” must be supported if using
284
- US Core 5.0.1:
285
+ US Core 5.0.1 or 6.1.0:
285
286
  * "context-ehr-encounter"
286
287
  inferno_supported: 'yes'
287
288
  inferno_tests:
@@ -797,6 +798,7 @@ procedure:
797
798
  IT Module to return a JSON object to applications according to the
798
799
  implementation specification adopted in § 170.215(a)(3) and standard
799
800
  adopted in § 170.215(b), including the following:
801
+
800
802
  * “access_token”;
801
803
  * “token_type”;
802
804
  * “scope”;
@@ -813,14 +815,16 @@ procedure:
813
815
  * “smart_style_url” (to support “context-style” “SMART on FHIR® Core
814
816
  Capability” for EHR-Launch mode only).
815
817
 
816
- Additionally, the following must be supported if using US Core 5.0.1:
817
- * “encounter” (to support"context-ehr-encounter" “SMART on FHIR®
818
+ Additionally, the following must be supported if using US Core 5.0.1
819
+ or 6.1.0:
820
+ * “encounter” (to support "context-ehr-encounter" “SMART on FHIR®
818
821
  Capability”)
819
822
  TLV: |
820
823
  [Both] The tester verifies the ability of the Health IT Module to
821
824
  return a JSON object to applications according to the implementation
822
825
  specification adopted in § 170.215(a)(3) and standard adopted in §
823
826
  170.215(b), including the following:
827
+
824
828
  * “access_token”;
825
829
  * “token_type”;
826
830
  * “scope”;
@@ -837,7 +841,8 @@ procedure:
837
841
  * “smart_style_url” (to support “context-style” “SMART on FHIR® Core
838
842
  Capability” for EHR-Launch mode only).
839
843
 
840
- Additionally, the following must be supported if using US Core 5.0.1:
844
+ Additionally, the following must be supported if using US Core 5.0.1
845
+ or 6.1.0:
841
846
  * “encounter” (to support"context-ehr-encounter" “SMART on FHIR®
842
847
  Capability”)
843
848
  inferno_supported: 'yes'
@@ -895,7 +900,7 @@ procedure:
895
900
  inferno_tests:
896
901
  - 2.1.02 - 2.1.09
897
902
  - 2.2.02 - 2.2.09
898
- - 2.3.01 - 2.3.15
903
+ - 2.3.01 - 2.3.19
899
904
  - 9.5.01 - 9.5.04
900
905
  - 9.6.01 - 9.6.04
901
906
  - id: AUT-PAT-19
@@ -932,8 +937,8 @@ procedure:
932
937
  implementation specification adopted in § 170.215(a)(2).
933
938
  inferno_supported: 'yes'
934
939
  inferno_tests:
935
- - 3.3.13
936
- - 3.4.13
940
+ - 3.3.16
941
+ - 3.4.16
937
942
  - id: AUT-PAT-20
938
943
  SUT: |
939
944
  [Both] The health IT developer demonstrates the ability of the Health
@@ -1237,7 +1242,6 @@ procedure:
1237
1242
  inferno_tests:
1238
1243
  - 4.1.02 - 4.1.05
1239
1244
  - 5.1.02 - 5.1.06
1240
- - 6.1.02 - 6.1.06
1241
1245
  - 10.1.02 - 10.1.06
1242
1246
  - id: SH-PAT-2
1243
1247
  SUT: |
@@ -1310,41 +1314,6 @@ procedure:
1310
1314
  - 5.26.01
1311
1315
  - 5.27.01
1312
1316
  - 5.28.01
1313
- - 6.2.01
1314
- - 6.3.01
1315
- - 6.4.01
1316
- - 6.5.01
1317
- - 6.6.01
1318
- - 6.7.01
1319
- - 6.8.01
1320
- - 6.9.01
1321
- - 6.10.01
1322
- - 6.11.01
1323
- - 6.12.01
1324
- - 6.13.01
1325
- - 6.14.01
1326
- - 6.15.01
1327
- - 6.16.01
1328
- - 6.17.01
1329
- - 6.18.01
1330
- - 6.19.01
1331
- - 6.20.01
1332
- - 6.21.01
1333
- - 6.22.01
1334
- - 6.23.01
1335
- - 6.24.01
1336
- - 6.25.01
1337
- - 6.26.01
1338
- - 6.27.01
1339
- - 6.28.01
1340
- - 6.29.01
1341
- - 6.30.01
1342
- - 6.31.01
1343
- - 6.32.01
1344
- - 6.33.01
1345
- - 6.34.01
1346
- - 6.35.01
1347
- - 6.36.01
1348
1317
  - 10.2.01
1349
1318
  - 10.3.01
1350
1319
  - 10.4.01
@@ -1452,41 +1421,6 @@ procedure:
1452
1421
  - 5.26.05
1453
1422
  - 5.27.05
1454
1423
  - 5.28.04
1455
- - 6.2.07
1456
- - 6.3.03
1457
- - 6.4.03
1458
- - 6.5.03
1459
- - 6.6.03
1460
- - 6.7.03
1461
- - 6.8.03
1462
- - 6.9.06
1463
- - 6.10.06
1464
- - 6.11.07
1465
- - 6.12.05
1466
- - 6.13.03
1467
- - 6.14.03
1468
- - 6.15.04
1469
- - 6.16.05
1470
- - 6.17.05
1471
- - 6.18.05
1472
- - 6.19.05
1473
- - 6.20.05
1474
- - 6.21.05
1475
- - 6.22.05
1476
- - 6.23.05
1477
- - 6.24.05
1478
- - 6.25.03
1479
- - 6.26.05
1480
- - 6.27.05
1481
- - 6.28.05
1482
- - 6.29.05
1483
- - 6.30.05
1484
- - 6.31.05
1485
- - 6.32.05
1486
- - 6.33.05
1487
- - 6.34.05
1488
- - 6.35.04
1489
- - 6.36.07
1490
1424
  - 10.2.01
1491
1425
  - 10.3.01
1492
1426
  - 10.4.01
@@ -1636,49 +1570,10 @@ procedure:
1636
1570
  - 5.30.01
1637
1571
  - 5.31.01
1638
1572
  - 5.32.01
1639
- - 6.2.06
1640
- - 6.3.02
1641
- - 6.4.02
1642
- - 6.5.02
1643
- - 6.6.02
1644
- - 6.7.02
1645
- - 6.8.02
1646
- - 6.9.05
1647
- - 6.10.05
1648
- - 6.11.06
1649
- - 6.12.04
1650
- - 6.13.02
1651
- - 6.14.02
1652
- - 6.15.03
1653
- - 6.16.04
1654
- - 6.17.04
1655
- - 6.18.04
1656
- - 6.19.04
1657
- - 6.20.04
1658
- - 6.21.04
1659
- - 6.22.04
1660
- - 6.23.04
1661
- - 6.24.04
1662
- - 6.25.02
1663
- - 6.26.04
1664
- - 6.27.04
1665
- - 6.28.04
1666
- - 6.29.04
1667
- - 6.30.04
1668
- - 6.31.04
1669
- - 6.32.04
1670
- - 6.33.04
1671
- - 6.34.04
1672
- - 6.35.03
1673
- - 6.36.06
1674
- - 6.37.01
1675
- - 6.38.01
1676
- - 6.39.01
1677
- - 6.40.01
1678
1573
  - 7.3.03
1679
- - 7.3.06 - 7.3.27
1574
+ - 7.3.06 - 7.3.34
1680
1575
  - 8.3.03
1681
- - 8.3.06 - 8.3.27
1576
+ - 8.3.06 - 8.3.34
1682
1577
  - 10.2.06
1683
1578
  - 10.3.02
1684
1579
  - 10.4.02
@@ -1813,45 +1708,6 @@ procedure:
1813
1708
  - 5.30.02 - 5.30.03
1814
1709
  - 5.31.02 - 5.31.03
1815
1710
  - 5.32.02 - 5.32.03
1816
- - 6.2.08 - 6.2.09
1817
- - 6.3.04 - 6.3.05
1818
- - 6.4.04 - 6.4.05
1819
- - 6.5.04 - 6.5.05
1820
- - 6.6.04 - 6.6.05
1821
- - 6.7.04 - 6.7.05
1822
- - 6.8.05 - 6.8.06
1823
- - 6.9.07 - 6.9.08
1824
- - 6.10.07 - 6.10.08
1825
- - 6.11.08 - 6.11.09
1826
- - 6.12.06 - 6.12.07
1827
- - 6.13.04 - 6.13.05
1828
- - 6.14.04 - 6.14.05
1829
- - 6.15.06 - 6.15.07
1830
- - 6.16.06 - 6.16.07
1831
- - 6.17.06 - 6.17.07
1832
- - 6.18.06 - 6.18.07
1833
- - 6.19.06 - 6.19.07
1834
- - 6.20.06 - 6.20.07
1835
- - 6.21.06 - 6.21.07
1836
- - 6.22.06 - 6.22.07
1837
- - 6.23.06 - 6.23.07
1838
- - 6.24.06 - 6.24.07
1839
- - 6.25.04 - 6.25.05
1840
- - 6.26.06 - 6.26.07
1841
- - 6.27.06 - 6.27.07
1842
- - 6.28.06 - 6.28.07
1843
- - 6.29.06 - 6.29.07
1844
- - 6.30.06 - 6.30.07
1845
- - 6.31.06 - 6.31.07
1846
- - 6.32.06 - 6.32.07
1847
- - 6.33.06 - 6.33.07
1848
- - 6.34.06 - 6.34.07
1849
- - 6.35.05 - 6.35.06
1850
- - 6.36.08 - 6.36.09
1851
- - 6.37.02 - 6.37.03
1852
- - 6.38.02 - 6.38.03
1853
- - 6.39.02 - 6.39.03
1854
- - 6.40.02 - 6.40.03
1855
1711
  - 10.2.08 - 10.2.09
1856
1712
  - 10.3.04 - 10.3.05
1857
1713
  - 10.4.04 - 10.4.05
@@ -1896,9 +1752,9 @@ procedure:
1896
1752
  - 10.43.02 - 10.43.03
1897
1753
  - 10.44.03 - 10.44.04
1898
1754
  - 7.3.03
1899
- - 7.3.06 - 7.3.27
1755
+ - 7.3.06 - 7.3.34
1900
1756
  - 8.3.03
1901
- - 8.3.06 - 8.3.27
1757
+ - 8.3.06 - 8.3.34
1902
1758
  inferno_notes: |
1903
1759
  The requirement "all information is accurate and without omission"
1904
1760
  cannot be verified automatically by Inferno, as Inferno only has
@@ -1981,42 +1837,6 @@ procedure:
1981
1837
  - 5.27.05
1982
1838
  - 5.28.04
1983
1839
  - 5.32.01 - 5.32.04
1984
- - 6.2.07
1985
- - 6.3.03
1986
- - 6.4.03
1987
- - 6.5.03
1988
- - 6.6.03
1989
- - 6.7.03
1990
- - 6.8.03
1991
- - 6.9.06
1992
- - 6.10.06
1993
- - 6.11.07
1994
- - 6.12.05
1995
- - 6.13.03
1996
- - 6.14.03
1997
- - 6.15.04
1998
- - 6.16.05
1999
- - 6.17.05
2000
- - 6.18.05
2001
- - 6.19.05
2002
- - 6.20.05
2003
- - 6.21.05
2004
- - 6.22.05
2005
- - 6.23.05
2006
- - 6.24.05
2007
- - 6.25.03
2008
- - 6.26.05
2009
- - 6.27.05
2010
- - 6.28.05
2011
- - 6.29.05
2012
- - 6.30.05
2013
- - 6.31.05
2014
- - 6.32.05
2015
- - 6.33.05
2016
- - 6.34.05
2017
- - 6.35.04
2018
- - 6.36.07
2019
- - 6.39.01 - 6.39.04
2020
1840
  - 10.2.07
2021
1841
  - 10.3.03
2022
1842
  - 10.4.03
@@ -2076,7 +1896,6 @@ procedure:
2076
1896
  inferno_tests:
2077
1897
  - 4.31.01 - 4.31.02
2078
1898
  - 5.33.01 - 5.33.02
2079
- - 6.41.01 - 6.41.02
2080
1899
  - 10.45.01 - 10.45.02
2081
1900
  - id: DAT-PAT-5
2082
1901
  SUT: |
@@ -2095,7 +1914,6 @@ procedure:
2095
1914
  inferno_tests:
2096
1915
  - 4.13.06
2097
1916
  - 5.13.06
2098
- - 6.15.06
2099
1917
  - 10.17.06
2100
1918
  - id: DAT-PAT-6
2101
1919
  SUT: |
@@ -2116,7 +1934,6 @@ procedure:
2116
1934
  inferno_tests:
2117
1935
  - 4.32.01 - 4.32.02
2118
1936
  - 5.34.01 - 5.34.02
2119
- - 6.42.01 - 6.42.02
2120
1937
  - 10.46.01 - 10.46.02
2121
1938
  - group: Response to Requests for a Single Patient’s Data
2122
1939
  id: DAT-PAT-7
@@ -2186,41 +2003,6 @@ procedure:
2186
2003
  - 5.26.01
2187
2004
  - 5.27.01
2188
2005
  - 5.28.01
2189
- - 6.2.01
2190
- - 6.3.01
2191
- - 6.4.01
2192
- - 6.5.01
2193
- - 6.6.01
2194
- - 6.7.01
2195
- - 6.8.01
2196
- - 6.9.01
2197
- - 6.10.01
2198
- - 6.11.01
2199
- - 6.12.01
2200
- - 6.13.01
2201
- - 6.14.01
2202
- - 6.15.01
2203
- - 6.16.01
2204
- - 6.17.01
2205
- - 6.18.01
2206
- - 6.19.01
2207
- - 6.20.01
2208
- - 6.21.01
2209
- - 6.22.01
2210
- - 6.23.01
2211
- - 6.24.01
2212
- - 6.25.01
2213
- - 6.26.01
2214
- - 6.27.01
2215
- - 6.28.01
2216
- - 6.29.01
2217
- - 6.30.01
2218
- - 6.31.01
2219
- - 6.32.01
2220
- - 6.33.01
2221
- - 6.34.01
2222
- - 6.35.01
2223
- - 6.36.01
2224
2006
  - 10.2.01
2225
2007
  - 10.3.01
2226
2008
  - 10.4.01
@@ -2550,8 +2332,8 @@ procedure:
2550
2332
  provided.
2551
2333
  inferno_supported: 'yes'
2552
2334
  inferno_tests:
2553
- - 7.3.01 - 7.3.27
2554
- - 8.3.01 - 8.3.27
2335
+ - 7.3.01 - 7.3.34
2336
+ - 8.3.01 - 8.3.34
2555
2337
  - id: DAT-PAT-15
2556
2338
  SUT: |
2557
2339
  The health IT developer demonstrates that the information provided as
@@ -144,6 +144,7 @@ g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_smart_scop
144
144
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_unauthorized_access: 3.3.11
145
145
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_patient_context: 3.3.12
146
146
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_encounter_context: 3.3.13
147
+ g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_encounter_context_us_core_6: 3.3.16
147
148
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-Test13: 3.3.14
148
149
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-Test14: 3.3.15
149
150
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2: '3.4'
@@ -160,6 +161,7 @@ g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_smart
160
161
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_unauthorized_access: 3.4.11
161
162
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_patient_context: 3.4.12
162
163
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_encounter_context: 3.4.13
164
+ g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_encounter_context_us_core_6: 3.4.16
163
165
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_smart_style_url: 3.4.14
164
166
  g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_smart_need_patient_banner: 3.4.15
165
167
  g10_certification-g10_smart_ehr_practitioner_app-smart_openid_connect: '3.5'
@@ -6,6 +6,11 @@ module ONCCertificationG10TestKit
6
6
  title 'Single Patient API (US Core 5.0.1)'
7
7
  short_title 'Single Patient API'
8
8
  description %(
9
+ **As of January 1, 2024, systems may no longer certify using US Core
10
+ 5.0.1/USCDI v2. The US Core 5.0.1 tests currently remain so that testers
11
+ can view their previous results, but will be removed at some point in the
12
+ future.**
13
+
9
14
  For each of the relevant USCDI data elements provided in the
10
15
  CapabilityStatement, this test executes the [required supported
11
16
  searches](http://hl7.org/fhir/us/core/STU4/CapabilityStatement-us-core-server.html)
@@ -53,6 +58,11 @@ module ONCCertificationG10TestKit
53
58
  oauth_credentials :smart_credentials
54
59
  end
55
60
 
61
+ # These tests can still be run if the user runs the entire suite at once
62
+ def self.user_runnable?
63
+ false
64
+ end
65
+
56
66
  input_order :url, :patient_id, :additional_patient_ids, :implantable_device_codes, :smart_credentials
57
67
 
58
68
  config(
@@ -180,6 +180,16 @@ module ONCCertificationG10TestKit
180
180
  },
181
181
  required_suite_options: G10Options::US_CORE_5_REQUIREMENT
182
182
 
183
+ test from: :g10_encounter_context,
184
+ id: :g10_encounter_context_us_core_6, # rubocop:disable Naming/VariableNumber
185
+ config: {
186
+ inputs: {
187
+ encounter_id: { name: :ehr_encounter_id },
188
+ access_token: { name: :ehr_access_token }
189
+ }
190
+ },
191
+ required_suite_options: G10Options::US_CORE_6_REQUIREMENT
192
+
183
193
  test do
184
194
  title 'Launch context contains smart_style_url which links to valid JSON'
185
195
  description %(
@@ -326,6 +336,16 @@ module ONCCertificationG10TestKit
326
336
  },
327
337
  required_suite_options: G10Options::US_CORE_5_REQUIREMENT
328
338
 
339
+ test from: :g10_encounter_context,
340
+ id: :g10_encounter_context_us_core_6, # rubocop:disable Naming/VariableNumber
341
+ config: {
342
+ inputs: {
343
+ encounter_id: { name: :ehr_encounter_id },
344
+ access_token: { name: :ehr_access_token }
345
+ }
346
+ },
347
+ required_suite_options: G10Options::US_CORE_6_REQUIREMENT
348
+
329
349
  test do
330
350
  title 'Launch context contains smart_style_url which links to valid JSON'
331
351
  description %(
@@ -61,6 +61,8 @@ module ONCCertificationG10TestKit
61
61
  column_borders = []
62
62
 
63
63
  test_suite.groups.each do |group|
64
+ next if group.short_id == '6' # Skip US Core 5
65
+
64
66
  matrix_worksheet.add_cell(1, col, group.title).change_text_wrap(true)
65
67
  matrix_worksheet.merge_cells(1, col, 1, col + group.groups.length - 1)
66
68
  matrix_worksheet.change_column_border(col, :left, 'medium')
@@ -1,3 +1,3 @@
1
1
  module ONCCertificationG10TestKit
2
- VERSION = '4.1.0'.freeze
2
+ VERSION = '5.0.0'.freeze
3
3
  end
@@ -178,10 +178,6 @@ module ONCCertificationG10TestKit
178
178
  label: 'US Core 4.0.0 / USCDI v1',
179
179
  value: G10Options::US_CORE_4
180
180
  },
181
- {
182
- label: 'US Core 5.0.1 / USCDI v2',
183
- value: G10Options::US_CORE_5
184
- },
185
181
  {
186
182
  label: 'US Core 6.1.0 / USCDI v3',
187
183
  value: G10Options::US_CORE_6
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.1.0
4
+ version: 5.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-12-13 00:00:00.000000000 Z
11
+ date: 2024-01-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bloomer