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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e5f64b66899c95ac86e99b687c6e69ff55f028fd665de2ff6610bb5c12ce00c2
4
- data.tar.gz: 0cfd3cf951932a6d23aaf8a091e159a1cada8e4b3ff4dbb46d647cfb2a0a2f55
3
+ metadata.gz: b523f64858f67e78b0320d2fdeb6d7627d325aaad65a3964fb8c6ee2b2d666c7
4
+ data.tar.gz: 1c7dac1bdf1ef473c38876d67dd2a80175debc4f2fb1ede9c691e86ff8891d4b
5
5
  SHA512:
6
- metadata.gz: 95f63f4f08bf655030e14cf36459f2c5211cde68438dc76d5e34f534bfd5d8669d40e5df7a8c6acf0c13acacf607d1a23b205c11d510f2258f4e5a3c1b2f682e
7
- data.tar.gz: 25a35171350075894b263d3e62888183f55ef7f09537cc54ad9f6a76e3fc4808494baba7c962129c7e084e82d90ca314a549465283dfed063d18f430cff02a00
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]}").coding : slice.coding
84
- slice_value.any? { |coding| coding.code == discriminator[:code] && coding.system == discriminator[:system] }
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.code == discriminator[:code] && slice_value.system == discriminator[:system]
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module USCoreTestKit
4
- VERSION = '0.6.4'
4
+ VERSION = '0.6.5'
5
5
  end
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
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-03-07 00:00:00.000000000 Z
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/inferno_framework/us-core-test-kit
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/inferno_framework/us-core-test-kit
2556
- source_code_uri: https://github.com/inferno_framework/us-core-test-kit
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: