us_core_test_kit 0.6.4 → 0.6.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/us_core_test_kit/fhir_resource_navigation.rb +3 -3
- data/lib/us_core_test_kit/generated/v3.1.1/us_core_test_suite.rb +2 -1
- data/lib/us_core_test_kit/generated/v4.0.0/us_core_test_suite.rb +2 -1
- data/lib/us_core_test_kit/generated/v5.0.1/us_core_test_suite.rb +2 -1
- data/lib/us_core_test_kit/generated/v6.1.0/us_core_test_suite.rb +2 -1
- data/lib/us_core_test_kit/generated/v7.0.0-ballot/us_core_test_suite.rb +2 -1
- data/lib/us_core_test_kit/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b523f64858f67e78b0320d2fdeb6d7627d325aaad65a3964fb8c6ee2b2d666c7
|
4
|
+
data.tar.gz: 1c7dac1bdf1ef473c38876d67dd2a80175debc4f2fb1ede9c691e86ff8891d4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 99baa30564cabcba6e7c288bf114269077b6710e0b78997490a596382a7eed519509d41d601f58d95f61281a9051546d7c2a7554517fab40803d4f3ee6bdeb69
|
7
|
+
data.tar.gz: 49cb5f382f48f3e3fcd154612bd3dbc01239a8cf06714825d460066fea85cf839532f6be75f601caf04383f59f09845a2df243b43b3b08db6c19e7463862b6ff
|
@@ -80,11 +80,11 @@ module USCoreTestKit
|
|
80
80
|
slices.find do |slice|
|
81
81
|
case discriminator[:type]
|
82
82
|
when 'patternCodeableConcept'
|
83
|
-
slice_value = discriminator[:path].present? ? slice.send("#{discriminator[:path]}")
|
84
|
-
slice_value
|
83
|
+
slice_value = discriminator[:path].present? ? slice.send("#{discriminator[:path]}")&.coding : slice.coding
|
84
|
+
slice_value&.any? { |coding| coding.code == discriminator[:code] && coding.system == discriminator[:system] }
|
85
85
|
when 'patternCoding'
|
86
86
|
slice_value = discriminator[:path].present? ? slice.send(discriminator[:path]) : slice
|
87
|
-
slice_value
|
87
|
+
slice_value&.code == discriminator[:code] && slice_value&.system == discriminator[:system]
|
88
88
|
when 'patternIdentifier'
|
89
89
|
slice.identifier.system == discriminator[:system]
|
90
90
|
when 'value'
|
@@ -64,7 +64,8 @@ module USCoreTestKit
|
|
64
64
|
/Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in US Core v3.1.1
|
65
65
|
/Provenance.agent\[\d*\]: Rule provenance-1/, #Invalid invariant in US Core v5.0.1
|
66
66
|
%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
|
-
%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
|
+
%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
|
+
%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
69
|
].freeze
|
69
70
|
|
70
71
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -66,7 +66,8 @@ module USCoreTestKit
|
|
66
66
|
/Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in US Core v3.1.1
|
67
67
|
/Provenance.agent\[\d*\]: Rule provenance-1/, #Invalid invariant in US Core v5.0.1
|
68
68
|
%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
|
-
%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
|
+
%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
|
+
%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
71
|
].freeze
|
71
72
|
|
72
73
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -76,7 +76,8 @@ module USCoreTestKit
|
|
76
76
|
/Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in US Core v3.1.1
|
77
77
|
/Provenance.agent\[\d*\]: Rule provenance-1/, #Invalid invariant in US Core v5.0.1
|
78
78
|
%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
|
-
%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
|
+
%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
|
+
%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
81
|
].freeze
|
81
82
|
|
82
83
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -82,7 +82,8 @@ module USCoreTestKit
|
|
82
82
|
/Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in US Core v3.1.1
|
83
83
|
/Provenance.agent\[\d*\]: Rule provenance-1/, #Invalid invariant in US Core v5.0.1
|
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
|
-
%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
|
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
|
+
%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
|
86
87
|
].freeze
|
87
88
|
|
88
89
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
@@ -86,7 +86,8 @@ module USCoreTestKit
|
|
86
86
|
/Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in US Core v3.1.1
|
87
87
|
/Provenance.agent\[\d*\]: Rule provenance-1/, #Invalid invariant in US Core v5.0.1
|
88
88
|
%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
|
89
|
-
%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
|
89
|
+
%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
|
90
|
+
%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
|
90
91
|
].freeze
|
91
92
|
|
92
93
|
VERSION_SPECIFIC_MESSAGE_FILTERS = [].freeze
|
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: 0.6.
|
4
|
+
version: 0.6.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: inferno_core
|
@@ -2548,12 +2548,12 @@ files:
|
|
2548
2548
|
- lib/us_core_test_kit/us_core_options.rb
|
2549
2549
|
- lib/us_core_test_kit/validation_test.rb
|
2550
2550
|
- lib/us_core_test_kit/version.rb
|
2551
|
-
homepage: https://github.com/
|
2551
|
+
homepage: https://github.com/inferno-framework/us-core-test-kit
|
2552
2552
|
licenses:
|
2553
2553
|
- Apache-2.0
|
2554
2554
|
metadata:
|
2555
|
-
homepage_uri: https://github.com/
|
2556
|
-
source_code_uri: https://github.com/
|
2555
|
+
homepage_uri: https://github.com/inferno-framework/us-core-test-kit
|
2556
|
+
source_code_uri: https://github.com/inferno-framework/us-core-test-kit
|
2557
2557
|
post_install_message:
|
2558
2558
|
rdoc_options: []
|
2559
2559
|
require_paths:
|