Class: USCoreTestKit::USCoreV311::ExplanationOfBenefitProvenanceRevincludeSearchTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
SearchTest
Defined in:
lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_provenance_revinclude_search_test.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.metadataObject



31
32
33
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_provenance_revinclude_search_test.rb', line 31

def self.
  @metadata ||= USCoreTestKit::Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml')))
end

.provenance_metadataObject



35
36
37
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_provenance_revinclude_search_test.rb', line 35

def self.
  @provenance_metadata ||= USCoreTestKit::Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, '..', 'provenance', 'metadata.yml'), aliases: true))
end

Instance Method Details

#propertiesObject



24
25
26
27
28
29
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_provenance_revinclude_search_test.rb', line 24

def properties
  @properties ||= USCoreTestKit::SearchTestProperties.new(
    resource_type: 'ExplanationOfBenefit',
  search_param_names: ['patient']
  )
end

#scratch_provenance_resourcesObject



43
44
45
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_provenance_revinclude_search_test.rb', line 43

def scratch_provenance_resources
  scratch[:provenance_resources] ||= {}
end

#scratch_resourcesObject



39
40
41
# File 'lib/davinci_pdex_test_kit/pdex_payer_server/explanation_of_benefit/explanation_of_benefit_provenance_revinclude_search_test.rb', line 39

def scratch_resources
  scratch[:explanation_of_benefit_resources] ||= {}
end