davinci_us_drug_formulary_test_kit 0.10.0 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/basic/basic_formulary_include_search_test.rb +5 -4
- data/lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/basic/basic_subject_include_search_test.rb +5 -4
- data/lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/basic/metadata.yml +2 -2
- data/lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/formulary/metadata.yml +1 -1
- data/lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/metadata.yml +3 -3
- data/lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/payer_insurance_plan/metadata.yml +1 -1
- data/lib/davinci_us_drug_formulary_test_kit/generated/v2.0.1/payer_insurance_plan/payer_insurance_plan_formulary_coverage_include_search_test.rb +5 -4
- data/lib/davinci_us_drug_formulary_test_kit/generator/ig_loader.rb +20 -3
- data/lib/davinci_us_drug_formulary_test_kit/generator/include_search_test_generator.rb +15 -3
- data/lib/davinci_us_drug_formulary_test_kit/igs/package_supersede/CapabilityStatement-usdf-server.json +896 -0
- data/lib/davinci_us_drug_formulary_test_kit/search_test.rb +3 -1
- data/lib/davinci_us_drug_formulary_test_kit/search_test_properties.rb +1 -0
- data/lib/davinci_us_drug_formulary_test_kit/version.rb +1 -1
- metadata +4 -3
- /data/lib/davinci_us_drug_formulary_test_kit/igs/{package → package_supplement}/r4_search-parameters.json +0 -0
@@ -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(
|
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
|
|
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.
|
4
|
+
version: 0.10.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen MacVicar
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2024-
|
13
|
+
date: 2024-07-03 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: inferno_core
|
@@ -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/
|
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
|
File without changes
|