us_core_test_kit 1.1.4 → 1.1.6
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/execution_scripts/reference_server/fhir_api_only/us_core_server_311.yaml +1 -0
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_311_expected.json +25910 -25068
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_400.yaml +1 -0
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_400_expected.json +27440 -1
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_501.yaml +1 -0
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_501_expected.json +39609 -41388
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_610.yaml +1 -0
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_610_expected.json +46044 -1
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_700.yaml +1 -0
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_700_expected.json +52533 -1
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_800.yaml +1 -0
- data/execution_scripts/reference_server/fhir_api_only/us_core_server_800_expected.json +50970 -53181
- data/execution_scripts/reference_server/us_core_server_610_smart_2_with_commands.yaml +2 -0
- data/execution_scripts/reference_server/us_core_server_610_smart_2_with_commands_expected.json +95754 -1
- data/lib/us_core_test_kit/client/server_proxy.rb +2 -6
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +5 -5
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +3 -3
- data/lib/us_core_test_kit/generator/suite_generator.rb +8 -8
- data/lib/us_core_test_kit/version.rb +2 -2
- metadata +4 -4
|
@@ -58,12 +58,8 @@ module USCoreTestKit
|
|
|
58
58
|
|
|
59
59
|
def replace_bundle_urls(bundle)
|
|
60
60
|
reference_server_base = ENV.fetch('FHIR_REFERENCE_SERVER')
|
|
61
|
-
bundle&.link&.
|
|
62
|
-
bundle&.entry&.
|
|
63
|
-
{ fullUrl: bundled_resource.fullUrl.gsub(reference_server_base, new_link),
|
|
64
|
-
resource: bundled_resource.resource,
|
|
65
|
-
search: bundled_resource.search }
|
|
66
|
-
end
|
|
61
|
+
bundle&.link&.each { |link| link.url = link.url.gsub(reference_server_base, new_link) }
|
|
62
|
+
bundle&.entry&.each { |entry| entry.fullUrl = entry.fullUrl.gsub(reference_server_base, new_link) }
|
|
67
63
|
bundle
|
|
68
64
|
end
|
|
69
65
|
|
|
@@ -85,11 +85,11 @@ module USCoreTestKit
|
|
|
85
85
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [
|
|
86
86
|
%r{A definition for CodeSystem 'http://terminology\.hl7\.org/CodeSystem/v3-AdministrativeGender' version '2021-12-01' could not be found, so the code cannot be validated},
|
|
87
87
|
%r{A definition for CodeSystem 'http://terminology\.hl7\.org/CodeSystem/v3-NullFlavor' version '2021-12-01' could not be found, so the code cannot be validated},
|
|
88
|
-
%r{The value provided \('M'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
89
|
-
%r{The value provided \('F'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
90
|
-
%r{The value provided \('ASKU'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
91
|
-
%r{The value provided \('OTH'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
92
|
-
%r{The value provided \('UNK'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
88
|
+
%r{The value provided \('M'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
89
|
+
%r{The value provided \('F'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
90
|
+
%r{The value provided \('ASKU'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
91
|
+
%r{The value provided \('OTH'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
92
|
+
%r{The value provided \('UNK'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)}
|
|
93
93
|
].freeze
|
|
94
94
|
|
|
95
95
|
VALIDATION_MESSAGE_FILTERS = GENERAL_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
|
|
@@ -90,9 +90,9 @@ module USCoreTestKit
|
|
|
90
90
|
].freeze
|
|
91
91
|
|
|
92
92
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [
|
|
93
|
-
%r{Observation\.effective\.ofType\(Period\):.*http://hl7
|
|
94
|
-
%r{Observation: Slice 'Observation\.effective\[x\]:effectiveDateTime':.*http://hl7
|
|
95
|
-
%r{Observation\.effective\.ofType\(Period\)\.(start|end): This element is not allowed by the profile http://hl7
|
|
93
|
+
%r{Observation\.effective\.ofType\(Period\):.*http://hl7\.org/fhir/us/core/StructureDefinition/us-core-smokingstatus\|6\.1\.0},
|
|
94
|
+
%r{Observation: Slice 'Observation\.effective\[x\]:effectiveDateTime':.*http://hl7\.org/fhir/us/core/StructureDefinition/us-core-smokingstatus\|6\.1\.0},
|
|
95
|
+
%r{Observation\.effective\.ofType\(Period\)\.(start|end): This element is not allowed by the profile http://hl7\.org/fhir/StructureDefinition/dateTime}
|
|
96
96
|
].freeze
|
|
97
97
|
|
|
98
98
|
VALIDATION_MESSAGE_FILTERS = GENERAL_MESSAGE_FILTERS + VERSION_SPECIFIC_MESSAGE_FILTERS
|
|
@@ -21,19 +21,19 @@ module USCoreTestKit
|
|
|
21
21
|
case ig_metadata.reformatted_version
|
|
22
22
|
when 'v610'
|
|
23
23
|
[
|
|
24
|
-
%r{Observation\.effective\.ofType\(Period\):.*http://hl7
|
|
25
|
-
%r{Observation: Slice 'Observation\.effective\[x\]:effectiveDateTime':.*http://hl7
|
|
26
|
-
%r{Observation\.effective\.ofType\(Period\)\.(start|end): This element is not allowed by the profile http://hl7
|
|
24
|
+
%r{Observation\.effective\.ofType\(Period\):.*http://hl7\.org/fhir/us/core/StructureDefinition/us-core-smokingstatus\|6\.1\.0},
|
|
25
|
+
%r{Observation: Slice 'Observation\.effective\[x\]:effectiveDateTime':.*http://hl7\.org/fhir/us/core/StructureDefinition/us-core-smokingstatus\|6\.1\.0},
|
|
26
|
+
%r{Observation\.effective\.ofType\(Period\)\.(start|end): This element is not allowed by the profile http://hl7\.org/fhir/StructureDefinition/dateTime}
|
|
27
27
|
]
|
|
28
28
|
when 'v501'
|
|
29
29
|
[
|
|
30
30
|
%r{A definition for CodeSystem 'http://terminology\.hl7\.org/CodeSystem/v3-AdministrativeGender' version '2021-12-01' could not be found, so the code cannot be validated},
|
|
31
31
|
%r{A definition for CodeSystem 'http://terminology\.hl7\.org/CodeSystem/v3-NullFlavor' version '2021-12-01' could not be found, so the code cannot be validated},
|
|
32
|
-
%r{The value provided \('M'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
33
|
-
%r{The value provided \('F'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
34
|
-
%r{The value provided \('ASKU'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
35
|
-
%r{The value provided \('OTH'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
36
|
-
%r{The value provided \('UNK'\) was not found in the value set 'Birth Sex' (http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5
|
|
32
|
+
%r{The value provided \('M'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
33
|
+
%r{The value provided \('F'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
34
|
+
%r{The value provided \('ASKU'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
35
|
+
%r{The value provided \('OTH'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)},
|
|
36
|
+
%r{The value provided \('UNK'\) was not found in the value set 'Birth Sex' \(http://hl7\.org/fhir/us/core/ValueSet/birthsex\|5\.0\.1\)}
|
|
37
37
|
]
|
|
38
38
|
else
|
|
39
39
|
[]
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: us_core_test_kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Inferno Team
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-09-03 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: inferno_core
|
|
@@ -19,7 +19,7 @@ dependencies:
|
|
|
19
19
|
version: '1.4'
|
|
20
20
|
- - ">="
|
|
21
21
|
- !ruby/object:Gem::Version
|
|
22
|
-
version: 1.4.
|
|
22
|
+
version: 1.4.3
|
|
23
23
|
type: :runtime
|
|
24
24
|
prerelease: false
|
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -29,7 +29,7 @@ dependencies:
|
|
|
29
29
|
version: '1.4'
|
|
30
30
|
- - ">="
|
|
31
31
|
- !ruby/object:Gem::Version
|
|
32
|
-
version: 1.4.
|
|
32
|
+
version: 1.4.3
|
|
33
33
|
- !ruby/object:Gem::Dependency
|
|
34
34
|
name: smart_app_launch_test_kit
|
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|