davinci_us_drug_formulary_test_kit 0.10.1 → 0.10.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,6 +13,7 @@ module DaVinciUSDrugFormularyTestKit
13
13
  :resource_type,
14
14
  :search_param_names,
15
15
  :include_param,
16
+ :include_search_look_up_param,
16
17
  :saves_delayed_references?,
17
18
  :first_search?,
18
19
  :fixed_value_search?,
@@ -48,6 +49,7 @@ module DaVinciUSDrugFormularyTestKit
48
49
  def all_include_search_params
49
50
  @all_include_search_params ||=
50
51
  search_param_names.each_with_object({}) do |value, params|
52
+
51
53
  params[value] ||= fixed_value_search_param_values.filter_map do |fixed_value|
52
54
  fixed_value_search_params(fixed_value, value).merge('_include' => include_param)
53
55
  end
@@ -92,7 +94,7 @@ module DaVinciUSDrugFormularyTestKit
92
94
 
93
95
  # For resources in the bundle with the relevant reference, check the bundle for the referenced resource
94
96
  matched_resources&.each do |match|
95
- search_param_paths(include_param).each do |include_ref_path|
97
+ search_param_paths(include_search_look_up_param).each do |include_ref_path|
96
98
  include_ref = resolve_path(match, include_ref_path).first
97
99
  next unless include_ref.present?
98
100
 
@@ -4,6 +4,7 @@ module DaVinciUSDrugFormularyTestKit
4
4
  :resource_type,
5
5
  :search_param_names,
6
6
  :include_param,
7
+ :include_search_look_up_param,
7
8
  :input_ids,
8
9
  :first_search,
9
10
  :fixed_value_search,
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DaVinciUSDrugFormularyTestKit
4
- VERSION = '0.10.1'
4
+ VERSION = '0.10.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: davinci_us_drug_formulary_test_kit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.1
4
+ version: 0.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen MacVicar
@@ -10,22 +10,22 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2024-06-06 00:00:00.000000000 Z
13
+ date: 2024-11-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: inferno_core
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - "~>"
20
20
  - !ruby/object:Gem::Version
21
- version: 0.4.37
21
+ version: 0.5.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - "~>"
27
27
  - !ruby/object:Gem::Version
28
- version: 0.4.37
28
+ version: 0.5.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: tls_test_kit
31
31
  requirement: !ruby/object:Gem::Requirement
@@ -208,7 +208,8 @@ files:
208
208
  - lib/davinci_us_drug_formulary_test_kit/generator/validation_test_generator.rb
209
209
  - lib/davinci_us_drug_formulary_test_kit/generator/value_extractor.rb
210
210
  - lib/davinci_us_drug_formulary_test_kit/igs/package.tgz
211
- - lib/davinci_us_drug_formulary_test_kit/igs/package/r4_search-parameters.json
211
+ - lib/davinci_us_drug_formulary_test_kit/igs/package_supersede/CapabilityStatement-usdf-server.json
212
+ - lib/davinci_us_drug_formulary_test_kit/igs/package_supplement/r4_search-parameters.json
212
213
  - lib/davinci_us_drug_formulary_test_kit/must_support_test.rb
213
214
  - lib/davinci_us_drug_formulary_test_kit/read_test.rb
214
215
  - lib/davinci_us_drug_formulary_test_kit/reference_resolution_test.rb