us_core_test_kit 0.9.3 → 0.10.1
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 +66 -0
- data/config/presets/inferno_reference_server_400_preset.json +66 -0
- data/config/presets/inferno_reference_server_501_preset.json +66 -0
- data/config/presets/inferno_reference_server_610_preset.json +66 -0
- data/config/presets/inferno_reference_server_700_preset.json +66 -0
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +22 -3
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +22 -3
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +22 -3
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +22 -3
- data/lib/us_core_test_kit/generated/v7.0.0/us_core_test_suite.rb +22 -3
- data/lib/us_core_test_kit/generator/templates/granular_scope_group.rb.erb +41 -0
- data/lib/us_core_test_kit/generator/templates/granular_scope_read_test.rb.erb +29 -0
- data/lib/us_core_test_kit/generator/templates/granular_scope_resource_type_group.rb.erb +19 -0
- data/lib/us_core_test_kit/generator/templates/granular_scope_test.rb.erb +38 -0
- data/lib/us_core_test_kit/generator/templates/group.rb.erb +24 -0
- data/lib/us_core_test_kit/generator/templates/must_support.rb.erb +41 -0
- data/lib/us_core_test_kit/generator/templates/practitioner_address_test.rb.erb +32 -0
- data/lib/us_core_test_kit/generator/templates/provenance_revinclude_search.rb.erb +50 -0
- data/lib/us_core_test_kit/generator/templates/read.rb.erb +26 -0
- data/lib/us_core_test_kit/generator/templates/reference_resolution.rb.erb +40 -0
- data/lib/us_core_test_kit/generator/templates/search.rb.erb +46 -0
- data/lib/us_core_test_kit/generator/templates/suite.rb.erb +162 -0
- data/lib/us_core_test_kit/generator/templates/validation.rb.erb +31 -0
- data/lib/us_core_test_kit/granular_scope_search_test.rb +2 -1
- data/lib/us_core_test_kit/igs/README.md +21 -0
- data/lib/us_core_test_kit/metadata.rb +70 -0
- data/lib/us_core_test_kit/reference_resolution_test.rb +1 -16
- data/lib/us_core_test_kit/search_test.rb +26 -50
- data/lib/us_core_test_kit/version.rb +2 -1
- data/lib/us_core_test_kit.rb +1 -0
- metadata +31 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c9cfc69a96024c39450f31a67620f263c113ef1dad361200e5458da181741985
|
4
|
+
data.tar.gz: 6adae46602da4bcaba0b302dae8e8176ccfb9ccb1dbbaef295644a57b98b6d31
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 438cf65702f3df6f213ab994b3c73d964a575d70c7c0b26b82266b315852fa1217c614e97a7b10efa718941fb480f0fc2a28c12e2c23ed2deb1ce84878053a20
|
7
|
+
data.tar.gz: 26b6615e1dbf4c2be906c6d9072f4c03bad43438a1c26de987914a2785142d539876c03ea5f0ac7d6602ea08003971d2d2734158fce9090ba26605786c42b90c
|
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"title": "Inferno Reference Server",
|
3
|
+
"id": null,
|
4
|
+
"test_suite_id": "us_core_v311",
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"name": "url",
|
8
|
+
"type": "text",
|
9
|
+
"title": "FHIR Endpoint",
|
10
|
+
"description": "URL of the FHIR endpoint",
|
11
|
+
"value": "https://inferno.healthit.gov/reference-server/r4"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "smart_credentials",
|
15
|
+
"type": "oauth_credentials",
|
16
|
+
"title": "OAuth Credentials",
|
17
|
+
"optional": true,
|
18
|
+
"value": "{\"access_token\":\"SAMPLE_TOKEN\"}"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "standalone_client_id",
|
22
|
+
"type": "text",
|
23
|
+
"title": "Standalone Client ID",
|
24
|
+
"description": "Client ID provided during registration of Inferno as a standalone application",
|
25
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "standalone_client_secret",
|
29
|
+
"type": "text",
|
30
|
+
"title": "Standalone Client Secret",
|
31
|
+
"description": "Client Secret provided during registration of Inferno as a standalone application",
|
32
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "ehr_client_id",
|
36
|
+
"type": "text",
|
37
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"name": "ehr_client_secret",
|
41
|
+
"type": "text",
|
42
|
+
"optional": false,
|
43
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"name": "client_auth_type",
|
47
|
+
"type": "text",
|
48
|
+
"value": "confidential_symmetric"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"name": "patient_ids",
|
52
|
+
"type": "text",
|
53
|
+
"title": "Patient IDs",
|
54
|
+
"description": "Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements",
|
55
|
+
"value": "85,355"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "implantable_device_codes",
|
59
|
+
"type": "text",
|
60
|
+
"title": "Implantable Device Type Code",
|
61
|
+
"description": "Enter the code for an Implantable Device type, or multiple codes separated by commas. If blank, Inferno will validate all Device resources against the Implantable Device profile",
|
62
|
+
"optional": true,
|
63
|
+
"value": null
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"title": "Inferno Reference Server",
|
3
|
+
"id": null,
|
4
|
+
"test_suite_id": "us_core_v400",
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"name": "url",
|
8
|
+
"type": "text",
|
9
|
+
"title": "FHIR Endpoint",
|
10
|
+
"description": "URL of the FHIR endpoint",
|
11
|
+
"value": "https://inferno.healthit.gov/reference-server/r4"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "smart_credentials",
|
15
|
+
"type": "oauth_credentials",
|
16
|
+
"title": "OAuth Credentials",
|
17
|
+
"optional": true,
|
18
|
+
"value": "{\"access_token\":\"SAMPLE_TOKEN\"}"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "standalone_client_id",
|
22
|
+
"type": "text",
|
23
|
+
"title": "Standalone Client ID",
|
24
|
+
"description": "Client ID provided during registration of Inferno as a standalone application",
|
25
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "standalone_client_secret",
|
29
|
+
"type": "text",
|
30
|
+
"title": "Standalone Client Secret",
|
31
|
+
"description": "Client Secret provided during registration of Inferno as a standalone application",
|
32
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "ehr_client_id",
|
36
|
+
"type": "text",
|
37
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"name": "ehr_client_secret",
|
41
|
+
"type": "text",
|
42
|
+
"optional": false,
|
43
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"name": "client_auth_type",
|
47
|
+
"type": "text",
|
48
|
+
"value": "confidential_symmetric"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"name": "patient_ids",
|
52
|
+
"type": "text",
|
53
|
+
"title": "Patient IDs",
|
54
|
+
"description": "Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements",
|
55
|
+
"value": "85,355"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "implantable_device_codes",
|
59
|
+
"type": "text",
|
60
|
+
"title": "Implantable Device Type Code",
|
61
|
+
"description": "Enter the code for an Implantable Device type, or multiple codes separated by commas. If blank, Inferno will validate all Device resources against the Implantable Device profile",
|
62
|
+
"optional": true,
|
63
|
+
"value": null
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"title": "Inferno Reference Server",
|
3
|
+
"id": null,
|
4
|
+
"test_suite_id": "us_core_v501",
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"name": "url",
|
8
|
+
"type": "text",
|
9
|
+
"title": "FHIR Endpoint",
|
10
|
+
"description": "URL of the FHIR endpoint",
|
11
|
+
"value": "https://inferno.healthit.gov/reference-server/r4"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "smart_credentials",
|
15
|
+
"type": "oauth_credentials",
|
16
|
+
"title": "OAuth Credentials",
|
17
|
+
"optional": true,
|
18
|
+
"value": "{\"access_token\":\"SAMPLE_TOKEN\"}"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "standalone_client_id",
|
22
|
+
"type": "text",
|
23
|
+
"title": "Standalone Client ID",
|
24
|
+
"description": "Client ID provided during registration of Inferno as a standalone application",
|
25
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "standalone_client_secret",
|
29
|
+
"type": "text",
|
30
|
+
"title": "Standalone Client Secret",
|
31
|
+
"description": "Client Secret provided during registration of Inferno as a standalone application",
|
32
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "ehr_client_id",
|
36
|
+
"type": "text",
|
37
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"name": "ehr_client_secret",
|
41
|
+
"type": "text",
|
42
|
+
"optional": false,
|
43
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"name": "client_auth_type",
|
47
|
+
"type": "text",
|
48
|
+
"value": "confidential_symmetric"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"name": "patient_ids",
|
52
|
+
"type": "text",
|
53
|
+
"title": "Patient IDs",
|
54
|
+
"description": "Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements",
|
55
|
+
"value": "85,355"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "implantable_device_codes",
|
59
|
+
"type": "text",
|
60
|
+
"title": "Implantable Device Type Code",
|
61
|
+
"description": "Enter the code for an Implantable Device type, or multiple codes separated by commas. If blank, Inferno will validate all Device resources against the Implantable Device profile",
|
62
|
+
"optional": true,
|
63
|
+
"value": null
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"title": "Inferno Reference Server",
|
3
|
+
"id": null,
|
4
|
+
"test_suite_id": "us_core_v610",
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"name": "url",
|
8
|
+
"type": "text",
|
9
|
+
"title": "FHIR Endpoint",
|
10
|
+
"description": "URL of the FHIR endpoint",
|
11
|
+
"value": "https://inferno.healthit.gov/reference-server/r4"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "smart_credentials",
|
15
|
+
"type": "oauth_credentials",
|
16
|
+
"title": "OAuth Credentials",
|
17
|
+
"optional": true,
|
18
|
+
"value": "{\"access_token\":\"SAMPLE_TOKEN\"}"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "standalone_client_id",
|
22
|
+
"type": "text",
|
23
|
+
"title": "Standalone Client ID",
|
24
|
+
"description": "Client ID provided during registration of Inferno as a standalone application",
|
25
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "standalone_client_secret",
|
29
|
+
"type": "text",
|
30
|
+
"title": "Standalone Client Secret",
|
31
|
+
"description": "Client Secret provided during registration of Inferno as a standalone application",
|
32
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "ehr_client_id",
|
36
|
+
"type": "text",
|
37
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"name": "ehr_client_secret",
|
41
|
+
"type": "text",
|
42
|
+
"optional": false,
|
43
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"name": "client_auth_type",
|
47
|
+
"type": "text",
|
48
|
+
"value": "confidential_symmetric"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"name": "patient_ids",
|
52
|
+
"type": "text",
|
53
|
+
"title": "Patient IDs",
|
54
|
+
"description": "Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements",
|
55
|
+
"value": "85,355"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "implantable_device_codes",
|
59
|
+
"type": "text",
|
60
|
+
"title": "Implantable Device Type Code",
|
61
|
+
"description": "Enter the code for an Implantable Device type, or multiple codes separated by commas. If blank, Inferno will validate all Device resources against the Implantable Device profile",
|
62
|
+
"optional": true,
|
63
|
+
"value": null
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
@@ -0,0 +1,66 @@
|
|
1
|
+
{
|
2
|
+
"title": "Inferno Reference Server",
|
3
|
+
"id": null,
|
4
|
+
"test_suite_id": "us_core_v700",
|
5
|
+
"inputs": [
|
6
|
+
{
|
7
|
+
"name": "url",
|
8
|
+
"type": "text",
|
9
|
+
"title": "FHIR Endpoint",
|
10
|
+
"description": "URL of the FHIR endpoint",
|
11
|
+
"value": "https://inferno.healthit.gov/reference-server/r4"
|
12
|
+
},
|
13
|
+
{
|
14
|
+
"name": "smart_credentials",
|
15
|
+
"type": "oauth_credentials",
|
16
|
+
"title": "OAuth Credentials",
|
17
|
+
"optional": true,
|
18
|
+
"value": "{\"access_token\":\"SAMPLE_TOKEN\"}"
|
19
|
+
},
|
20
|
+
{
|
21
|
+
"name": "standalone_client_id",
|
22
|
+
"type": "text",
|
23
|
+
"title": "Standalone Client ID",
|
24
|
+
"description": "Client ID provided during registration of Inferno as a standalone application",
|
25
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"name": "standalone_client_secret",
|
29
|
+
"type": "text",
|
30
|
+
"title": "Standalone Client Secret",
|
31
|
+
"description": "Client Secret provided during registration of Inferno as a standalone application",
|
32
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
33
|
+
},
|
34
|
+
{
|
35
|
+
"name": "ehr_client_id",
|
36
|
+
"type": "text",
|
37
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_ID"
|
38
|
+
},
|
39
|
+
{
|
40
|
+
"name": "ehr_client_secret",
|
41
|
+
"type": "text",
|
42
|
+
"optional": false,
|
43
|
+
"value": "SAMPLE_CONFIDENTIAL_CLIENT_SECRET"
|
44
|
+
},
|
45
|
+
{
|
46
|
+
"name": "client_auth_type",
|
47
|
+
"type": "text",
|
48
|
+
"value": "confidential_symmetric"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"name": "patient_ids",
|
52
|
+
"type": "text",
|
53
|
+
"title": "Patient IDs",
|
54
|
+
"description": "Comma separated list of patient IDs that in sum contain all MUST SUPPORT elements",
|
55
|
+
"value": "85,355"
|
56
|
+
},
|
57
|
+
{
|
58
|
+
"name": "implantable_device_codes",
|
59
|
+
"type": "text",
|
60
|
+
"title": "Implantable Device Type Code",
|
61
|
+
"description": "Enter the code for an Implantable Device type, or multiple codes separated by commas. If blank, Inferno will validate all Device resources against the Implantable Device profile",
|
62
|
+
"optional": true,
|
63
|
+
"value": null
|
64
|
+
}
|
65
|
+
]
|
66
|
+
}
|
@@ -55,7 +55,6 @@ module USCoreTestKit
|
|
55
55
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
56
56
|
API Test Suite.
|
57
57
|
)
|
58
|
-
version VERSION
|
59
58
|
|
60
59
|
GENERAL_MESSAGE_FILTERS = [
|
61
60
|
%r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
|
@@ -66,7 +65,8 @@ module USCoreTestKit
|
|
66
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
|
67
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
|
68
67
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
69
|
-
%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)\)}
|
70
70
|
].freeze
|
71
71
|
|
72
72
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -101,6 +101,7 @@ module USCoreTestKit
|
|
101
101
|
|
102
102
|
suite_option :smart_app_launch_version,
|
103
103
|
title: 'SMART App Launch Version',
|
104
|
+
default: USCoreOptions::SMART_2,
|
104
105
|
list_options: [
|
105
106
|
{
|
106
107
|
label: 'SMART App Launch 1.0.0',
|
@@ -108,7 +109,7 @@ module USCoreTestKit
|
|
108
109
|
},
|
109
110
|
{
|
110
111
|
label: 'SMART App Launch 2.0.0',
|
111
|
-
value: USCoreOptions::SMART_2
|
112
|
+
value: USCoreOptions::SMART_2,
|
112
113
|
},
|
113
114
|
{
|
114
115
|
label: 'SMART App Launch 2.2.0',
|
@@ -166,6 +167,24 @@ module USCoreTestKit
|
|
166
167
|
group from: :us_core_v311_clinical_notes_guidance
|
167
168
|
group from: :us_core_311_data_absent_reason
|
168
169
|
end
|
170
|
+
|
171
|
+
links [
|
172
|
+
{
|
173
|
+
type: 'report_issue',
|
174
|
+
label: 'Report Issue',
|
175
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/issues/'
|
176
|
+
},
|
177
|
+
{
|
178
|
+
type: 'source_code',
|
179
|
+
label: 'Open Source',
|
180
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/'
|
181
|
+
},
|
182
|
+
{
|
183
|
+
type: 'download',
|
184
|
+
label: 'Download',
|
185
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/releases/'
|
186
|
+
}
|
187
|
+
]
|
169
188
|
end
|
170
189
|
end
|
171
190
|
end
|
@@ -57,7 +57,6 @@ module USCoreTestKit
|
|
57
57
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
58
58
|
API Test Suite.
|
59
59
|
)
|
60
|
-
version VERSION
|
61
60
|
|
62
61
|
GENERAL_MESSAGE_FILTERS = [
|
63
62
|
%r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
|
@@ -68,7 +67,8 @@ module USCoreTestKit
|
|
68
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
|
69
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
|
70
69
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
71
|
-
%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)\)}
|
72
72
|
].freeze
|
73
73
|
|
74
74
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -103,6 +103,7 @@ module USCoreTestKit
|
|
103
103
|
|
104
104
|
suite_option :smart_app_launch_version,
|
105
105
|
title: 'SMART App Launch Version',
|
106
|
+
default: USCoreOptions::SMART_2,
|
106
107
|
list_options: [
|
107
108
|
{
|
108
109
|
label: 'SMART App Launch 1.0.0',
|
@@ -110,7 +111,7 @@ module USCoreTestKit
|
|
110
111
|
},
|
111
112
|
{
|
112
113
|
label: 'SMART App Launch 2.0.0',
|
113
|
-
value: USCoreOptions::SMART_2
|
114
|
+
value: USCoreOptions::SMART_2,
|
114
115
|
},
|
115
116
|
{
|
116
117
|
label: 'SMART App Launch 2.2.0',
|
@@ -170,6 +171,24 @@ module USCoreTestKit
|
|
170
171
|
group from: :us_core_v400_clinical_notes_guidance
|
171
172
|
group from: :us_core_311_data_absent_reason
|
172
173
|
end
|
174
|
+
|
175
|
+
links [
|
176
|
+
{
|
177
|
+
type: 'report_issue',
|
178
|
+
label: 'Report Issue',
|
179
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/issues/'
|
180
|
+
},
|
181
|
+
{
|
182
|
+
type: 'source_code',
|
183
|
+
label: 'Open Source',
|
184
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/'
|
185
|
+
},
|
186
|
+
{
|
187
|
+
type: 'download',
|
188
|
+
label: 'Download',
|
189
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/releases/'
|
190
|
+
}
|
191
|
+
]
|
173
192
|
end
|
174
193
|
end
|
175
194
|
end
|
@@ -67,7 +67,6 @@ module USCoreTestKit
|
|
67
67
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
68
68
|
API Test Suite.
|
69
69
|
)
|
70
|
-
version VERSION
|
71
70
|
|
72
71
|
GENERAL_MESSAGE_FILTERS = [
|
73
72
|
%r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
|
@@ -78,7 +77,8 @@ module USCoreTestKit
|
|
78
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
|
79
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
|
80
79
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
81
|
-
%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)\)}
|
82
82
|
].freeze
|
83
83
|
|
84
84
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -113,6 +113,7 @@ module USCoreTestKit
|
|
113
113
|
|
114
114
|
suite_option :smart_app_launch_version,
|
115
115
|
title: 'SMART App Launch Version',
|
116
|
+
default: USCoreOptions::SMART_2,
|
116
117
|
list_options: [
|
117
118
|
{
|
118
119
|
label: 'SMART App Launch 1.0.0',
|
@@ -120,7 +121,7 @@ module USCoreTestKit
|
|
120
121
|
},
|
121
122
|
{
|
122
123
|
label: 'SMART App Launch 2.0.0',
|
123
|
-
value: USCoreOptions::SMART_2
|
124
|
+
value: USCoreOptions::SMART_2,
|
124
125
|
},
|
125
126
|
{
|
126
127
|
label: 'SMART App Launch 2.2.0',
|
@@ -190,6 +191,24 @@ module USCoreTestKit
|
|
190
191
|
group from: :us_core_v400_clinical_notes_guidance
|
191
192
|
group from: :us_core_311_data_absent_reason
|
192
193
|
end
|
194
|
+
|
195
|
+
links [
|
196
|
+
{
|
197
|
+
type: 'report_issue',
|
198
|
+
label: 'Report Issue',
|
199
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/issues/'
|
200
|
+
},
|
201
|
+
{
|
202
|
+
type: 'source_code',
|
203
|
+
label: 'Open Source',
|
204
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/'
|
205
|
+
},
|
206
|
+
{
|
207
|
+
type: 'download',
|
208
|
+
label: 'Download',
|
209
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/releases/'
|
210
|
+
}
|
211
|
+
]
|
193
212
|
end
|
194
213
|
end
|
195
214
|
end
|
@@ -74,7 +74,6 @@ module USCoreTestKit
|
|
74
74
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
75
75
|
API Test Suite.
|
76
76
|
)
|
77
|
-
version VERSION
|
78
77
|
|
79
78
|
GENERAL_MESSAGE_FILTERS = [
|
80
79
|
%r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
|
@@ -85,7 +84,8 @@ module USCoreTestKit
|
|
85
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
|
86
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
|
87
86
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
88
|
-
%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)\)}
|
89
89
|
].freeze
|
90
90
|
|
91
91
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [
|
@@ -124,6 +124,7 @@ module USCoreTestKit
|
|
124
124
|
|
125
125
|
suite_option :smart_app_launch_version,
|
126
126
|
title: 'SMART App Launch Version',
|
127
|
+
default: USCoreOptions::SMART_2,
|
127
128
|
list_options: [
|
128
129
|
{
|
129
130
|
label: 'SMART App Launch 1.0.0',
|
@@ -131,7 +132,7 @@ module USCoreTestKit
|
|
131
132
|
},
|
132
133
|
{
|
133
134
|
label: 'SMART App Launch 2.0.0',
|
134
|
-
value: USCoreOptions::SMART_2
|
135
|
+
value: USCoreOptions::SMART_2,
|
135
136
|
},
|
136
137
|
{
|
137
138
|
label: 'SMART App Launch 2.2.0',
|
@@ -220,6 +221,24 @@ module USCoreTestKit
|
|
220
221
|
id: :us_core_v610_smart_granular_scopes_stu2_2,
|
221
222
|
required_suite_options: USCoreOptions::SMART_2_2_REQUIREMENT
|
222
223
|
|
224
|
+
|
225
|
+
links [
|
226
|
+
{
|
227
|
+
type: 'report_issue',
|
228
|
+
label: 'Report Issue',
|
229
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/issues/'
|
230
|
+
},
|
231
|
+
{
|
232
|
+
type: 'source_code',
|
233
|
+
label: 'Open Source',
|
234
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/'
|
235
|
+
},
|
236
|
+
{
|
237
|
+
type: 'download',
|
238
|
+
label: 'Download',
|
239
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/releases/'
|
240
|
+
}
|
241
|
+
]
|
223
242
|
end
|
224
243
|
end
|
225
244
|
end
|
@@ -80,7 +80,6 @@ module USCoreTestKit
|
|
80
80
|
the US Core Test Suite and the ONC Certification (g)(10) Standardized
|
81
81
|
API Test Suite.
|
82
82
|
)
|
83
|
-
version VERSION
|
84
83
|
|
85
84
|
GENERAL_MESSAGE_FILTERS = [
|
86
85
|
%r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
|
@@ -91,7 +90,8 @@ module USCoreTestKit
|
|
91
90
|
%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
|
92
91
|
%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
|
93
92
|
/\A\S+: \S+: URL value '.*' does not resolve/,
|
94
|
-
%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
|
93
|
+
%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
|
94
|
+
%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)\)}
|
95
95
|
].freeze
|
96
96
|
|
97
97
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -126,6 +126,7 @@ module USCoreTestKit
|
|
126
126
|
|
127
127
|
suite_option :smart_app_launch_version,
|
128
128
|
title: 'SMART App Launch Version',
|
129
|
+
default: USCoreOptions::SMART_2,
|
129
130
|
list_options: [
|
130
131
|
{
|
131
132
|
label: 'SMART App Launch 1.0.0',
|
@@ -133,7 +134,7 @@ module USCoreTestKit
|
|
133
134
|
},
|
134
135
|
{
|
135
136
|
label: 'SMART App Launch 2.0.0',
|
136
|
-
value: USCoreOptions::SMART_2
|
137
|
+
value: USCoreOptions::SMART_2,
|
137
138
|
},
|
138
139
|
{
|
139
140
|
label: 'SMART App Launch 2.2.0',
|
@@ -232,6 +233,24 @@ module USCoreTestKit
|
|
232
233
|
id: :us_core_v700_smart_granular_scopes_stu2_2,
|
233
234
|
required_suite_options: USCoreOptions::SMART_2_2_REQUIREMENT
|
234
235
|
|
236
|
+
|
237
|
+
links [
|
238
|
+
{
|
239
|
+
type: 'report_issue',
|
240
|
+
label: 'Report Issue',
|
241
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/issues/'
|
242
|
+
},
|
243
|
+
{
|
244
|
+
type: 'source_code',
|
245
|
+
label: 'Open Source',
|
246
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/'
|
247
|
+
},
|
248
|
+
{
|
249
|
+
type: 'download',
|
250
|
+
label: 'Download',
|
251
|
+
url: 'https://github.com/inferno-framework/us-core-test-kit/releases/'
|
252
|
+
}
|
253
|
+
]
|
235
254
|
end
|
236
255
|
end
|
237
256
|
end
|