us_core_test_kit 0.10.0 → 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.
- checksums.yaml +4 -4
- data/config/presets/inferno_reference_server_311_preset.json +7 -35
- data/config/presets/inferno_reference_server_400_preset.json +7 -35
- data/config/presets/inferno_reference_server_501_preset.json +7 -35
- data/config/presets/inferno_reference_server_610_preset.json +25 -35
- data/config/presets/inferno_reference_server_700_preset.json +25 -35
- data/lib/us_core_test_kit/custom_groups/base_smart_granular_scopes_group.rb +20 -20
- data/lib/us_core_test_kit/custom_groups/smart_app_launch_group.rb +6 -42
- data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb +26 -12
- data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb +26 -12
- data/lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2_2.rb +26 -12
- data/lib/us_core_test_kit/custom_groups/smart_scopes_constants.rb +6 -0
- data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu1_group.rb +27 -13
- data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu2_2_group.rb +27 -13
- data/lib/us_core_test_kit/custom_groups/smart_standalone_launch_stu2_group.rb +27 -13
- data/lib/us_core_test_kit/custom_groups/v3.1.1/capability_statement_group.rb +1 -9
- data/lib/us_core_test_kit/custom_groups/v3.1.1/resource_support_test.rb +1 -1
- data/lib/us_core_test_kit/custom_groups/v4.0.0/capability_statement_group.rb +1 -9
- data/lib/us_core_test_kit/custom_groups/v5.0.1/capability_statement_group.rb +1 -9
- data/lib/us_core_test_kit/custom_groups/v6.1.0/capability_statement_group.rb +1 -9
- data/lib/us_core_test_kit/custom_groups/v6.1.0/smart_granular_scopes_group.rb +22 -6
- data/lib/us_core_test_kit/custom_groups/v7.0.0/capability_statement_group.rb +1 -9
- data/lib/us_core_test_kit/custom_groups/v7.0.0/smart_granular_scopes_group.rb +22 -6
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +7 -5
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +7 -5
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +7 -5
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes1_group.rb +3 -3
- data/lib/us_core_test_kit/generated/v6.1.0/granular_scopes2_group.rb +3 -3
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +7 -5
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scopes1_group.rb +3 -3
- data/lib/us_core_test_kit/generated/v7.0.0/granular_scopes2_group.rb +3 -3
- data/lib/us_core_test_kit/generated/v7.0.0/us_core_test_suite.rb +7 -5
- data/lib/us_core_test_kit/generator/templates/granular_scope_group.rb.erb +3 -3
- data/lib/us_core_test_kit/generator/templates/suite.rb.erb +7 -5
- data/lib/us_core_test_kit/granular_scope_search_test.rb +2 -1
- data/lib/us_core_test_kit/search_test.rb +26 -50
- data/lib/us_core_test_kit/version.rb +2 -2
- metadata +6 -6
@@ -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.
|
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
|
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.
|
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.
|
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.
|
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
|
-
|
35
|
-
name: :
|
36
|
-
|
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
|
-
|
65
|
-
name: :
|
66
|
-
|
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.
|
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
|
-
|
35
|
-
name: :
|
36
|
-
|
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
|
-
|
65
|
-
name: :
|
66
|
-
|
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: {
|
@@ -65,7 +65,8 @@ module USCoreTestKit
|
|
65
65
|
%r{Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
66
66
|
%r{URL value 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags' does not resolve}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
67
67
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
68
|
-
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'} # Known issue with the Pulse Oximetry Profile
|
68
|
+
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'}, # Known issue with the Pulse Oximetry Profile
|
69
|
+
%r{Slice 'Observation\.value\[x\]:valueQuantity': a matching slice is required, but not found \(from (http://hl7\.org/fhir/StructureDefinition/bmi\|4\.0\.1|http://hl7\.org/fhir/StructureDefinition/bmi\%7C4\.0\.1)\)}
|
69
70
|
].freeze
|
70
71
|
|
71
72
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -100,6 +101,7 @@ module USCoreTestKit
|
|
100
101
|
|
101
102
|
suite_option :smart_app_launch_version,
|
102
103
|
title: 'SMART App Launch Version',
|
104
|
+
default: USCoreOptions::SMART_2,
|
103
105
|
list_options: [
|
104
106
|
{
|
105
107
|
label: 'SMART App Launch 1.0.0',
|
@@ -107,7 +109,7 @@ module USCoreTestKit
|
|
107
109
|
},
|
108
110
|
{
|
109
111
|
label: 'SMART App Launch 2.0.0',
|
110
|
-
value: USCoreOptions::SMART_2
|
112
|
+
value: USCoreOptions::SMART_2,
|
111
113
|
},
|
112
114
|
{
|
113
115
|
label: 'SMART App Launch 2.2.0',
|
@@ -118,14 +120,14 @@ module USCoreTestKit
|
|
118
120
|
group from: :us_core_smart_app_launch
|
119
121
|
|
120
122
|
group do
|
121
|
-
input :
|
123
|
+
input :smart_auth_info,
|
122
124
|
title: 'OAuth Credentials',
|
123
|
-
type: :
|
125
|
+
type: :auth_info,
|
124
126
|
optional: true
|
125
127
|
|
126
128
|
fhir_client do
|
127
129
|
url :url
|
128
|
-
|
130
|
+
auth_info :smart_auth_info
|
129
131
|
end
|
130
132
|
|
131
133
|
title 'US Core FHIR API'
|
@@ -67,7 +67,8 @@ module USCoreTestKit
|
|
67
67
|
%r{Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
68
68
|
%r{URL value 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags' does not resolve}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
69
69
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
70
|
-
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'} # Known issue with the Pulse Oximetry Profile
|
70
|
+
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'}, # Known issue with the Pulse Oximetry Profile
|
71
|
+
%r{Slice 'Observation\.value\[x\]:valueQuantity': a matching slice is required, but not found \(from (http://hl7\.org/fhir/StructureDefinition/bmi\|4\.0\.1|http://hl7\.org/fhir/StructureDefinition/bmi\%7C4\.0\.1)\)}
|
71
72
|
].freeze
|
72
73
|
|
73
74
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -102,6 +103,7 @@ module USCoreTestKit
|
|
102
103
|
|
103
104
|
suite_option :smart_app_launch_version,
|
104
105
|
title: 'SMART App Launch Version',
|
106
|
+
default: USCoreOptions::SMART_2,
|
105
107
|
list_options: [
|
106
108
|
{
|
107
109
|
label: 'SMART App Launch 1.0.0',
|
@@ -109,7 +111,7 @@ module USCoreTestKit
|
|
109
111
|
},
|
110
112
|
{
|
111
113
|
label: 'SMART App Launch 2.0.0',
|
112
|
-
value: USCoreOptions::SMART_2
|
114
|
+
value: USCoreOptions::SMART_2,
|
113
115
|
},
|
114
116
|
{
|
115
117
|
label: 'SMART App Launch 2.2.0',
|
@@ -120,14 +122,14 @@ module USCoreTestKit
|
|
120
122
|
group from: :us_core_smart_app_launch
|
121
123
|
|
122
124
|
group do
|
123
|
-
input :
|
125
|
+
input :smart_auth_info,
|
124
126
|
title: 'OAuth Credentials',
|
125
|
-
type: :
|
127
|
+
type: :auth_info,
|
126
128
|
optional: true
|
127
129
|
|
128
130
|
fhir_client do
|
129
131
|
url :url
|
130
|
-
|
132
|
+
auth_info :smart_auth_info
|
131
133
|
end
|
132
134
|
|
133
135
|
title 'US Core FHIR API'
|
@@ -77,7 +77,8 @@ module USCoreTestKit
|
|
77
77
|
%r{Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
78
78
|
%r{URL value 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags' does not resolve}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
79
79
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
80
|
-
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'} # Known issue with the Pulse Oximetry Profile
|
80
|
+
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'}, # Known issue with the Pulse Oximetry Profile
|
81
|
+
%r{Slice 'Observation\.value\[x\]:valueQuantity': a matching slice is required, but not found \(from (http://hl7\.org/fhir/StructureDefinition/bmi\|4\.0\.1|http://hl7\.org/fhir/StructureDefinition/bmi\%7C4\.0\.1)\)}
|
81
82
|
].freeze
|
82
83
|
|
83
84
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -112,6 +113,7 @@ module USCoreTestKit
|
|
112
113
|
|
113
114
|
suite_option :smart_app_launch_version,
|
114
115
|
title: 'SMART App Launch Version',
|
116
|
+
default: USCoreOptions::SMART_2,
|
115
117
|
list_options: [
|
116
118
|
{
|
117
119
|
label: 'SMART App Launch 1.0.0',
|
@@ -119,7 +121,7 @@ module USCoreTestKit
|
|
119
121
|
},
|
120
122
|
{
|
121
123
|
label: 'SMART App Launch 2.0.0',
|
122
|
-
value: USCoreOptions::SMART_2
|
124
|
+
value: USCoreOptions::SMART_2,
|
123
125
|
},
|
124
126
|
{
|
125
127
|
label: 'SMART App Launch 2.2.0',
|
@@ -130,14 +132,14 @@ module USCoreTestKit
|
|
130
132
|
group from: :us_core_smart_app_launch
|
131
133
|
|
132
134
|
group do
|
133
|
-
input :
|
135
|
+
input :smart_auth_info,
|
134
136
|
title: 'OAuth Credentials',
|
135
|
-
type: :
|
137
|
+
type: :auth_info,
|
136
138
|
optional: true
|
137
139
|
|
138
140
|
fhir_client do
|
139
141
|
url :url
|
140
|
-
|
142
|
+
auth_info :smart_auth_info
|
141
143
|
end
|
142
144
|
|
143
145
|
title 'US Core FHIR API'
|
@@ -19,9 +19,9 @@ based on the following granular scopes:
|
|
19
19
|
|
20
20
|
)
|
21
21
|
|
22
|
-
input :
|
22
|
+
input :granular_scopes_1_auth_info,
|
23
23
|
title: 'SMART Credentials for Granular Scopes 1',
|
24
|
-
type: :
|
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
|
-
|
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 :
|
22
|
+
input :granular_scopes_2_auth_info,
|
23
23
|
title: 'SMART Credentials for Granular Scopes 2',
|
24
|
-
type: :
|
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
|
-
|
43
|
+
auth_info :granular_scopes_2_auth_info
|
44
44
|
url :url
|
45
45
|
end
|
46
46
|
|
@@ -84,7 +84,8 @@ module USCoreTestKit
|
|
84
84
|
%r{Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
85
85
|
%r{URL value 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags' does not resolve}, # Validator has an issue with this US Core 5 code system in US Core 6 resource
|
86
86
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
87
|
-
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'} # Known issue with the Pulse Oximetry Profile
|
87
|
+
%r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\) was not found in the value set 'Vital Signs Units'}, # Known issue with the Pulse Oximetry Profile
|
88
|
+
%r{Slice 'Observation\.value\[x\]:valueQuantity': a matching slice is required, but not found \(from (http://hl7\.org/fhir/StructureDefinition/bmi\|4\.0\.1|http://hl7\.org/fhir/StructureDefinition/bmi\%7C4\.0\.1)\)}
|
88
89
|
].freeze
|
89
90
|
|
90
91
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [
|
@@ -123,6 +124,7 @@ module USCoreTestKit
|
|
123
124
|
|
124
125
|
suite_option :smart_app_launch_version,
|
125
126
|
title: 'SMART App Launch Version',
|
127
|
+
default: USCoreOptions::SMART_2,
|
126
128
|
list_options: [
|
127
129
|
{
|
128
130
|
label: 'SMART App Launch 1.0.0',
|
@@ -130,7 +132,7 @@ module USCoreTestKit
|
|
130
132
|
},
|
131
133
|
{
|
132
134
|
label: 'SMART App Launch 2.0.0',
|
133
|
-
value: USCoreOptions::SMART_2
|
135
|
+
value: USCoreOptions::SMART_2,
|
134
136
|
},
|
135
137
|
{
|
136
138
|
label: 'SMART App Launch 2.2.0',
|
@@ -141,14 +143,14 @@ module USCoreTestKit
|
|
141
143
|
group from: :us_core_smart_app_launch
|
142
144
|
|
143
145
|
group do
|
144
|
-
input :
|
146
|
+
input :smart_auth_info,
|
145
147
|
title: 'OAuth Credentials',
|
146
|
-
type: :
|
148
|
+
type: :auth_info,
|
147
149
|
optional: true
|
148
150
|
|
149
151
|
fhir_client do
|
150
152
|
url :url
|
151
|
-
|
153
|
+
auth_info :smart_auth_info
|
152
154
|
end
|
153
155
|
|
154
156
|
title 'US Core FHIR API'
|