us_core_test_kit 0.10.1 → 0.11.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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/config/presets/inferno_reference_server_311_preset.json +7 -35
  3. data/config/presets/inferno_reference_server_400_preset.json +7 -35
  4. data/config/presets/inferno_reference_server_501_preset.json +7 -35
  5. data/config/presets/inferno_reference_server_610_preset.json +25 -35
  6. data/config/presets/inferno_reference_server_700_preset.json +25 -35
  7. data/lib/us_core_test_kit/custom_groups/base_smart_granular_scopes_group.rb +20 -20
  8. data/lib/us_core_test_kit/custom_groups/smart_app_launch_group.rb +6 -42
  9. data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb +26 -12
  10. data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb +26 -12
  11. data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2_2.rb +26 -12
  12. data/lib/us_core_test_kit/custom_groups/smart_scopes_constants.rb +6 -0
  13. data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu1_group.rb +27 -13
  14. data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu2_2_group.rb +27 -13
  15. data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu2_group.rb +27 -13
  16. data/lib/us_core_test_kit/custom_groups/v3.1.1/capability_statement_group.rb +1 -9
  17. data/lib/us_core_test_kit/custom_groups/v3.1.1/resource_support_test.rb +1 -1
  18. data/lib/us_core_test_kit/custom_groups/v4.0.0/capability_statement_group.rb +1 -9
  19. data/lib/us_core_test_kit/custom_groups/v5.0.1/capability_statement_group.rb +1 -9
  20. data/lib/us_core_test_kit/custom_groups/v6.1.0/capability_statement_group.rb +1 -9
  21. data/lib/us_core_test_kit/custom_groups/v6.1.0/smart_granular_scopes_group.rb +22 -6
  22. data/lib/us_core_test_kit/custom_groups/v7.0.0/capability_statement_group.rb +1 -9
  23. data/lib/us_core_test_kit/custom_groups/v7.0.0/smart_granular_scopes_group.rb +22 -6
  24. data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +3 -3
  25. data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +3 -3
  26. data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +3 -3
  27. data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes1_group.rb +3 -3
  28. data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes2_group.rb +3 -3
  29. data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +3 -3
  30. data/lib/us_core_test_kit/generated/v7.0.0/granular_scopes1_group.rb +3 -3
  31. data/lib/us_core_test_kit/generated/v7.0.0/granular_scopes2_group.rb +3 -3
  32. data/lib/us_core_test_kit/generated/v7.0.0/us_core_test_suite.rb +3 -3
  33. data/lib/us_core_test_kit/generator/templates/granular_scope_group.rb.erb +3 -3
  34. data/lib/us_core_test_kit/generator/templates/suite.rb.erb +3 -3
  35. data/lib/us_core_test_kit/version.rb +2 -2
  36. metadata +4 -4
@@ -39,5 +39,11 @@ module USCoreTestKit
39
39
  'Observation',
40
40
  'ServiceRequest'
41
41
  ].map(&:freeze).freeze
42
+
43
+ SMART_V1_RESOURCE_LEVEL_SCOPES = 'launch/patient openid fhirUser offline_access patient/Patient.read patient/AllergyIntolerance.read patient/CarePlan.read patient/CareTeam.read patient/Condition.read patient/Coverage.read patient/Device.read patient/DiagnosticReport.read patient/DocumentReference.read patient/Encounter.read patient/Goal.read patient/Immunization.read patient/Location.read patient/Media.read patient/Medication.read patient/MedicationDispense.read patient/MedicationRequest.read patient/Observation.read patient/Organization.read patient/Practitioner.read patient/PractitionerRole.read patient/Procedure.read patient/Provenance.read patient/QuestionnaireResponse.read patient/RelatedPerson.read patient/ServiceRequest.read patient/Specimen.read'.freeze
44
+
45
+ SMART_V2_RESOURCE_LEVEL_SCOPES = 'launch/patient openid fhirUser offline_access patient/Patient.rs patient/AllergyIntolerance.rs patient/CarePlan.rs patient/CareTeam.rs patient/Condition.rs patient/Coverage.rs patient/Device.rs patient/DiagnosticReport.rs patient/DocumentReference.rs patient/Encounter.rs patient/Endpoint.rs patient/Goal.rs patient/Immunization.rs patient/Location.rs patient/Media.rs patient/Medication.rs patient/MedicationDispense.rs patient/MedicationRequest.rs patient/Observation.rs patient/Organization.rs patient/Practitioner.rs patient/PractitionerRole.rs patient/Procedure.rs patient/Provenance.rs patient/QuestionnaireResponse.rs patient/RelatedPerson.rs patient/ServiceRequest.rs patient/Specimen.rs'.freeze
46
+
47
+ SMART_V2_2_RESOURCE_LEVEL_SCOPES = 'launch/patient openid fhirUser offline_access patient/Patient.rs patient/AllergyIntolerance.rs patient/CarePlan.rs patient/CareTeam.rs patient/Condition.rs patient/Coverage.rs patient/Device.rs patient/DiagnosticReport.rs patient/DocumentReference.rs patient/Encounter.rs patient/Endpoint.rs patient/Goal.rs patient/Immunization.rs patient/Location.rs patient/Media.rs patient/Medication.rs patient/MedicationDispense.rs patient/MedicationRequest.rs patient/Observation.rs patient/Organization.rs patient/Practitioner.rs patient/PractitionerRole.rs patient/Procedure.rs patient/Provenance.rs patient/QuestionnaireResponse.rs patient/RelatedPerson.rs patient/ServiceRequest.rs patient/Specimen.rs'.freeze
42
48
  end
43
49
  end
@@ -1,10 +1,36 @@
1
+ require_relative 'smart_scopes_constants'
2
+
1
3
  module USCoreTestKit
2
4
  class SmartStandaloneLaunchSTU1 < Inferno::TestGroup
5
+ include SmartScopesConstants
6
+
3
7
  id :us_core_smart_standalone_launch_stu1
4
8
  title 'Standalone Launch'
5
9
 
6
10
  run_as_group
7
11
 
12
+ config(
13
+ inputs: {
14
+ smart_auth_info: {
15
+ name: :smart_auth_info,
16
+ options: {
17
+ components: [
18
+ {
19
+ name: :requested_scopes,
20
+ default: SMART_V1_RESOURCE_LEVEL_SCOPES
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ received_scopes: { name: :standalone_received_scopes }
26
+ },
27
+ outputs: {
28
+ smart_auth_info: {
29
+ name: :smart_auth_info
30
+ }
31
+ }
32
+ )
33
+
8
34
  group from: :smart_discovery,
9
35
  run_as_group: true
10
36
  group from: :smart_standalone_launch,
@@ -15,11 +41,7 @@ module USCoreTestKit
15
41
  optional
16
42
  config(
17
43
  inputs: {
18
- id_token: { name: :standalone_id_token },
19
- client_id: { name: :standalone_client_id },
20
- requested_scopes: { name: :standalone_requested_scopes },
21
- access_token: { name: :standalone_access_token },
22
- smart_credentials: { name: :standalone_smart_credentials }
44
+ id_token: { name: :standalone_id_token }
23
45
  }
24
46
  )
25
47
  end
@@ -27,14 +49,6 @@ module USCoreTestKit
27
49
  group from: :smart_token_refresh do
28
50
  run_as_group
29
51
  optional
30
- config(
31
- inputs: {
32
- refresh_token: { name: :standalone_refresh_token },
33
- client_id: { name: :standalone_client_id },
34
- client_secret: { name: :standalone_client_secret },
35
- received_scopes: { name: :standalone_received_scopes }
36
- }
37
- )
38
52
  end
39
53
  end
40
54
  end
@@ -1,10 +1,36 @@
1
+ require_relative 'smart_scopes_constants'
2
+
1
3
  module USCoreTestKit
2
4
  class SmartStandaloneLaunchSTU22 < Inferno::TestGroup
5
+ include SmartScopesConstants
6
+
3
7
  id :us_core_smart_standalone_launch_stu2_2
4
8
  title 'Standalone Launch'
5
9
 
6
10
  run_as_group
7
11
 
12
+ config(
13
+ inputs: {
14
+ smart_auth_info: {
15
+ name: :smart_auth_info,
16
+ options: {
17
+ components: [
18
+ {
19
+ name: :requested_scopes,
20
+ default: SMART_V2_2_RESOURCE_LEVEL_SCOPES
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ received_scopes: { name: :standalone_received_scopes }
26
+ },
27
+ outputs: {
28
+ smart_auth_info: {
29
+ name: :smart_auth_info
30
+ }
31
+ }
32
+ )
33
+
8
34
  group from: :smart_discovery_stu2_2,
9
35
  run_as_group: true
10
36
  group from: :smart_standalone_launch_stu2_2,
@@ -15,11 +41,7 @@ module USCoreTestKit
15
41
  optional
16
42
  config(
17
43
  inputs: {
18
- id_token: { name: :standalone_id_token },
19
- client_id: { name: :standalone_client_id },
20
- requested_scopes: { name: :standalone_requested_scopes },
21
- access_token: { name: :standalone_access_token },
22
- smart_credentials: { name: :standalone_smart_credentials }
44
+ id_token: { name: :standalone_id_token }
23
45
  }
24
46
  )
25
47
  end
@@ -27,14 +49,6 @@ module USCoreTestKit
27
49
  group from: :smart_token_refresh_stu2 do
28
50
  run_as_group
29
51
  optional
30
- config(
31
- inputs: {
32
- refresh_token: { name: :standalone_refresh_token },
33
- client_id: { name: :standalone_client_id },
34
- client_secret: { name: :standalone_client_secret },
35
- received_scopes: { name: :standalone_received_scopes }
36
- }
37
- )
38
52
  end
39
53
  end
40
54
  end
@@ -1,10 +1,36 @@
1
+ require_relative 'smart_scopes_constants'
2
+
1
3
  module USCoreTestKit
2
4
  class SmartStandaloneLaunchSTU2 < Inferno::TestGroup
5
+ include SmartScopesConstants
6
+
3
7
  id :us_core_smart_standalone_launch_stu2
4
8
  title 'Standalone Launch'
5
9
 
6
10
  run_as_group
7
11
 
12
+ config(
13
+ inputs: {
14
+ smart_auth_info: {
15
+ name: :smart_auth_info,
16
+ options: {
17
+ components: [
18
+ {
19
+ name: :requested_scopes,
20
+ default: SMART_V2_RESOURCE_LEVEL_SCOPES
21
+ }
22
+ ]
23
+ }
24
+ },
25
+ received_scopes: { name: :standalone_received_scopes }
26
+ },
27
+ outputs: {
28
+ smart_auth_info: {
29
+ name: :smart_auth_info
30
+ }
31
+ }
32
+ )
33
+
8
34
  group from: :smart_discovery_stu2,
9
35
  run_as_group: true
10
36
  group from: :smart_standalone_launch_stu2,
@@ -15,11 +41,7 @@ module USCoreTestKit
15
41
  optional
16
42
  config(
17
43
  inputs: {
18
- id_token: { name: :standalone_id_token },
19
- client_id: { name: :standalone_client_id },
20
- requested_scopes: { name: :standalone_requested_scopes },
21
- access_token: { name: :standalone_access_token },
22
- smart_credentials: { name: :standalone_smart_credentials }
44
+ id_token: { name: :standalone_id_token }
23
45
  }
24
46
  )
25
47
  end
@@ -27,14 +49,6 @@ module USCoreTestKit
27
49
  group from: :smart_token_refresh do
28
50
  run_as_group
29
51
  optional
30
- config(
31
- inputs: {
32
- refresh_token: { name: :standalone_refresh_token },
33
- client_id: { name: :standalone_client_id },
34
- client_secret: { name: :standalone_client_secret },
35
- received_scopes: { name: :standalone_received_scopes }
36
- }
37
- )
38
52
  end
39
53
  end
40
54
  end
@@ -16,9 +16,7 @@ module USCoreTestKit
16
16
  features supported by the API by using the [Capability
17
17
  Statement](https://www.hl7.org/fhir/capabilitystatement.html) resource.
18
18
  The features described in the Capability Statement must be consistent with
19
- the required capabilities of a US Core server. The Capability Statement
20
- must also advertise the location of the required SMART on FHIR endpoints
21
- that enable authenticated access to the FHIR server resources.
19
+ the required capabilities of a US Core server.
22
20
 
23
21
  The Capability Statement resource allows clients to determine which
24
22
  resources are supported by a FHIR Server. Not all servers are expected to
@@ -38,12 +36,6 @@ module USCoreTestKit
38
36
  * The server claims support for JSON encoding of resources
39
37
  * The server claims support for the Patient resource and one other
40
38
  resource
41
-
42
- It collects the following information that is saved in the testing session
43
- for use by later tests:
44
-
45
- * List of resources supported
46
- * List of queries parameters supported
47
39
  )
48
40
  run_as_group
49
41
 
@@ -2,7 +2,7 @@ module USCoreTestKit
2
2
  module USCoreV311
3
3
  class ProfileSupportTest < Inferno::Test
4
4
  id :us_core_v311_resource_support
5
- title 'Capability Statement lists support for required US Core Resoruce Types'
5
+ title 'Capability Statement lists support for required US Core Resource Types'
6
6
  description %(
7
7
  The US Core Implementation Guide states:
8
8
 
@@ -17,9 +17,7 @@ module USCoreTestKit
17
17
  features supported by the API by using the [Capability
18
18
  Statement](https://www.hl7.org/fhir/capabilitystatement.html) resource.
19
19
  The features described in the Capability Statement must be consistent with
20
- the required capabilities of a US Core server. The Capability Statement
21
- must also advertise the location of the required SMART on FHIR endpoints
22
- that enable authenticated access to the FHIR server resources.
20
+ the required capabilities of a US Core server.
23
21
 
24
22
  The Capability Statement resource allows clients to determine which
25
23
  resources are supported by a FHIR Server. Not all servers are expected to
@@ -39,12 +37,6 @@ module USCoreTestKit
39
37
  * The server claims support for JSON encoding of resources
40
38
  * The server claims support for the Patient resource and one other
41
39
  resource
42
-
43
- It collects the following information that is saved in the testing session
44
- for use by later tests:
45
-
46
- * List of resources supported
47
- * List of queries parameters supported
48
40
  )
49
41
  run_as_group
50
42
 
@@ -17,9 +17,7 @@ module USCoreTestKit
17
17
  features supported by the API by using the [Capability
18
18
  Statement](https://www.hl7.org/fhir/capabilitystatement.html) resource.
19
19
  The features described in the Capability Statement must be consistent with
20
- the required capabilities of a US Core server. The Capability Statement
21
- must also advertise the location of the required SMART on FHIR endpoints
22
- that enable authenticated access to the FHIR server resources.
20
+ the required capabilities of a US Core server.
23
21
 
24
22
  The Capability Statement resource allows clients to determine which
25
23
  resources are supported by a FHIR Server. Not all servers are expected to
@@ -39,12 +37,6 @@ module USCoreTestKit
39
37
  * The server claims support for JSON encoding of resources
40
38
  * The server claims support for the Patient resource and one other
41
39
  resource
42
-
43
- It collects the following information that is saved in the testing session
44
- for use by later tests:
45
-
46
- * List of resources supported
47
- * List of queries parameters supported
48
40
  )
49
41
  run_as_group
50
42
 
@@ -17,9 +17,7 @@ module USCoreTestKit
17
17
  features supported by the API by using the [Capability
18
18
  Statement](https://www.hl7.org/fhir/capabilitystatement.html) resource.
19
19
  The features described in the Capability Statement must be consistent with
20
- the required capabilities of a US Core server. The Capability Statement
21
- must also advertise the location of the required SMART on FHIR endpoints
22
- that enable authenticated access to the FHIR server resources.
20
+ the required capabilities of a US Core server.
23
21
 
24
22
  The Capability Statement resource allows clients to determine which
25
23
  resources are supported by a FHIR Server. Not all servers are expected to
@@ -39,12 +37,6 @@ module USCoreTestKit
39
37
  * The server claims support for JSON encoding of resources
40
38
  * The server claims support for the Patient resource and one other
41
39
  resource
42
-
43
- It collects the following information that is saved in the testing session
44
- for use by later tests:
45
-
46
- * List of resources supported
47
- * List of queries parameters supported
48
40
  )
49
41
  run_as_group
50
42
 
@@ -31,9 +31,17 @@ above scopes.
31
31
  .first
32
32
  .config(
33
33
  inputs: {
34
- requested_scopes: {
35
- name: :requested_scopes_group1,
36
- default: groups.first.default_group_scopes('v610')
34
+ smart_auth_info: {
35
+ name: :granular_scopes_1_auth_info,
36
+ title: 'Granular Scopes 1 Credentials',
37
+ options: {
38
+ components: [
39
+ {
40
+ name: :requested_scopes,
41
+ default: groups.first.default_group_scopes('v610')
42
+ }
43
+ ]
44
+ }
37
45
  }
38
46
  },
39
47
  options: {
@@ -61,9 +69,17 @@ above scopes.
61
69
  .last
62
70
  .config(
63
71
  inputs: {
64
- requested_scopes: {
65
- name: :requested_scopes_group2,
66
- default: groups.last.default_group_scopes('v610')
72
+ smart_auth_info: {
73
+ name: :granular_scopes_2_auth_info,
74
+ title: 'Granular Scopes 2 Credentials',
75
+ options: {
76
+ components: [
77
+ {
78
+ name: :requested_scopes,
79
+ default: groups.last.default_group_scopes('v610')
80
+ }
81
+ ]
82
+ }
67
83
  }
68
84
  },
69
85
  options: {
@@ -18,9 +18,7 @@ module USCoreTestKit
18
18
  features supported by the API by using the [Capability
19
19
  Statement](https://www.hl7.org/fhir/capabilitystatement.html) resource.
20
20
  The features described in the Capability Statement must be consistent with
21
- the required capabilities of a US Core server. The Capability Statement
22
- must also advertise the location of the required SMART on FHIR endpoints
23
- that enable authenticated access to the FHIR server resources.
21
+ the required capabilities of a US Core server.
24
22
 
25
23
  The Capability Statement resource allows clients to determine which
26
24
  resources are supported by a FHIR Server. Not all servers are expected to
@@ -40,12 +38,6 @@ module USCoreTestKit
40
38
  * The server claims support for JSON encoding of resources
41
39
  * The server claims support for the Patient resource and one other
42
40
  resource
43
-
44
- It collects the following information that is saved in the testing session
45
- for use by later tests:
46
-
47
- * List of resources supported
48
- * List of queries parameters supported
49
41
  )
50
42
  run_as_group
51
43
 
@@ -31,9 +31,17 @@ above scopes.
31
31
  .first
32
32
  .config(
33
33
  inputs: {
34
- requested_scopes: {
35
- name: :requested_scopes_group1,
36
- default: groups.first.default_group_scopes('v700')
34
+ smart_auth_info: {
35
+ name: :granular_scopes_1_auth_info,
36
+ title: 'Granular Scopes 1 Credentials',
37
+ options: {
38
+ components: [
39
+ {
40
+ name: :requested_scopes,
41
+ default: groups.first.default_group_scopes('v700')
42
+ }
43
+ ]
44
+ }
37
45
  }
38
46
  },
39
47
  options: {
@@ -61,9 +69,17 @@ above scopes.
61
69
  .last
62
70
  .config(
63
71
  inputs: {
64
- requested_scopes: {
65
- name: :requested_scopes_group2,
66
- default: groups.last.default_group_scopes('v700')
72
+ smart_auth_info: {
73
+ name: :granular_scopes_2_auth_info,
74
+ title: 'Granular Scopes 2 Credentials',
75
+ options: {
76
+ components: [
77
+ {
78
+ name: :requested_scopes,
79
+ default: groups.last.default_group_scopes('v700')
80
+ }
81
+ ]
82
+ }
67
83
  }
68
84
  },
69
85
  options: {
@@ -120,14 +120,14 @@ module USCoreTestKit
120
120
  group from: :us_core_smart_app_launch
121
121
 
122
122
  group do
123
- input :smart_credentials,
123
+ input :smart_auth_info,
124
124
  title: 'OAuth Credentials',
125
- type: :oauth_credentials,
125
+ type: :auth_info,
126
126
  optional: true
127
127
 
128
128
  fhir_client do
129
129
  url :url
130
- oauth_credentials :smart_credentials
130
+ auth_info :smart_auth_info
131
131
  end
132
132
 
133
133
  title 'US Core FHIR API'
@@ -122,14 +122,14 @@ module USCoreTestKit
122
122
  group from: :us_core_smart_app_launch
123
123
 
124
124
  group do
125
- input :smart_credentials,
125
+ input :smart_auth_info,
126
126
  title: 'OAuth Credentials',
127
- type: :oauth_credentials,
127
+ type: :auth_info,
128
128
  optional: true
129
129
 
130
130
  fhir_client do
131
131
  url :url
132
- oauth_credentials :smart_credentials
132
+ auth_info :smart_auth_info
133
133
  end
134
134
 
135
135
  title 'US Core FHIR API'
@@ -132,14 +132,14 @@ module USCoreTestKit
132
132
  group from: :us_core_smart_app_launch
133
133
 
134
134
  group do
135
- input :smart_credentials,
135
+ input :smart_auth_info,
136
136
  title: 'OAuth Credentials',
137
- type: :oauth_credentials,
137
+ type: :auth_info,
138
138
  optional: true
139
139
 
140
140
  fhir_client do
141
141
  url :url
142
- oauth_credentials :smart_credentials
142
+ auth_info :smart_auth_info
143
143
  end
144
144
 
145
145
  title 'US Core FHIR API'
@@ -19,9 +19,9 @@ based on the following granular scopes:
19
19
 
20
20
  )
21
21
 
22
- input :granular_scopes_1_credentials,
22
+ input :granular_scopes_1_auth_info,
23
23
  title: 'SMART Credentials for Granular Scopes 1',
24
- type: :oauth_credentials,
24
+ type: :auth_info,
25
25
  locked: true
26
26
 
27
27
  config(
@@ -40,7 +40,7 @@ based on the following granular scopes:
40
40
  )
41
41
 
42
42
  fhir_client do
43
- oauth_credentials :granular_scopes_1_credentials
43
+ auth_info :granular_scopes_1_auth_info
44
44
  url :url
45
45
  end
46
46
 
@@ -19,9 +19,9 @@ based on the following granular scopes:
19
19
 
20
20
  )
21
21
 
22
- input :granular_scopes_2_credentials,
22
+ input :granular_scopes_2_auth_info,
23
23
  title: 'SMART Credentials for Granular Scopes 2',
24
- type: :oauth_credentials,
24
+ type: :auth_info,
25
25
  locked: true
26
26
 
27
27
  config(
@@ -40,7 +40,7 @@ based on the following granular scopes:
40
40
  )
41
41
 
42
42
  fhir_client do
43
- oauth_credentials :granular_scopes_2_credentials
43
+ auth_info :granular_scopes_2_auth_info
44
44
  url :url
45
45
  end
46
46
 
@@ -143,14 +143,14 @@ module USCoreTestKit
143
143
  group from: :us_core_smart_app_launch
144
144
 
145
145
  group do
146
- input :smart_credentials,
146
+ input :smart_auth_info,
147
147
  title: 'OAuth Credentials',
148
- type: :oauth_credentials,
148
+ type: :auth_info,
149
149
  optional: true
150
150
 
151
151
  fhir_client do
152
152
  url :url
153
- oauth_credentials :smart_credentials
153
+ auth_info :smart_auth_info
154
154
  end
155
155
 
156
156
  title 'US Core FHIR API'
@@ -19,9 +19,9 @@ based on the following granular scopes:
19
19
 
20
20
  )
21
21
 
22
- input :granular_scopes_1_credentials,
22
+ input :granular_scopes_1_auth_info,
23
23
  title: 'SMART Credentials for Granular Scopes 1',
24
- type: :oauth_credentials,
24
+ type: :auth_info,
25
25
  locked: true
26
26
 
27
27
  config(
@@ -40,7 +40,7 @@ based on the following granular scopes:
40
40
  )
41
41
 
42
42
  fhir_client do
43
- oauth_credentials :granular_scopes_1_credentials
43
+ auth_info :granular_scopes_1_auth_info
44
44
  url :url
45
45
  end
46
46
 
@@ -19,9 +19,9 @@ based on the following granular scopes:
19
19
 
20
20
  )
21
21
 
22
- input :granular_scopes_2_credentials,
22
+ input :granular_scopes_2_auth_info,
23
23
  title: 'SMART Credentials for Granular Scopes 2',
24
- type: :oauth_credentials,
24
+ type: :auth_info,
25
25
  locked: true
26
26
 
27
27
  config(
@@ -40,7 +40,7 @@ based on the following granular scopes:
40
40
  )
41
41
 
42
42
  fhir_client do
43
- oauth_credentials :granular_scopes_2_credentials
43
+ auth_info :granular_scopes_2_auth_info
44
44
  url :url
45
45
  end
46
46
 
@@ -151,14 +151,14 @@ module USCoreTestKit
151
151
  required_suite_options: USCoreOptions::SMART_2_2_REQUIREMENT
152
152
 
153
153
  group do
154
- input :smart_credentials,
154
+ input :smart_auth_info,
155
155
  title: 'OAuth Credentials',
156
- type: :oauth_credentials,
156
+ type: :auth_info,
157
157
  optional: true
158
158
 
159
159
  fhir_client do
160
160
  url :url
161
- oauth_credentials :smart_credentials
161
+ auth_info :smart_auth_info
162
162
  end
163
163
 
164
164
  title 'US Core FHIR API'
@@ -10,9 +10,9 @@ module USCoreTestKit
10
10
  <%= description %>
11
11
  )
12
12
 
13
- input :granular_scopes_<%= group_number %>_credentials,
13
+ input :granular_scopes_<%= group_number %>_auth_info,
14
14
  title: 'SMART Credentials for Granular Scopes <%= group_number %>',
15
- type: :oauth_credentials,
15
+ type: :auth_info,
16
16
  locked: true
17
17
 
18
18
  config(
@@ -31,7 +31,7 @@ module USCoreTestKit
31
31
  )
32
32
 
33
33
  fhir_client do
34
- oauth_credentials :granular_scopes_<%= group_number %>_credentials
34
+ auth_info :granular_scopes_<%= group_number %>_auth_info
35
35
  url :url
36
36
  end
37
37
  <% group_id_list.each do |group_id| %>
@@ -106,14 +106,14 @@ module USCoreTestKit
106
106
  required_suite_options: USCoreOptions::SMART_2_2_REQUIREMENT<% end %>
107
107
 
108
108
  group do
109
- input :smart_credentials,
109
+ input :smart_auth_info,
110
110
  title: 'OAuth Credentials',
111
- type: :oauth_credentials,
111
+ type: :auth_info,
112
112
  optional: true
113
113
 
114
114
  fhir_client do
115
115
  url :url
116
- oauth_credentials :smart_credentials
116
+ auth_info :smart_auth_info
117
117
  end
118
118
 
119
119
  title 'US Core FHIR API'
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module USCoreTestKit
4
- VERSION = '0.10.1'
5
- LAST_UPDATED = '2025-02-25'
4
+ VERSION = '0.11.0'
5
+ LAST_UPDATED = '2025-03-18'
6
6
  end