Sha256: 99718a03518ff70034f36dedd62d7ab461ba053b9737b417bbf55ca7d078fea1
Contents?: true
Size: 1.36 KB
Versions: 8
Compression:
Stored size: 1.36 KB
Contents
require_relative '../../../must_support_test' module IpaTestKit module IpaV100 class ImmunizationMustSupportTest < Inferno::Test include IpaTestKit::MustSupportTest title 'All must support elements are provided in the Immunization resources returned' description %( Responders conforming to a profile in IPA SHALL return a Must Support element if that element is available. This test will look through the Immunization resources found previously for the following must support elements: * Immunization.occurrence[x] * Immunization.patient * Immunization.status * Immunization.statusReason * Immunization.vaccineCode Note: Responders who cannot store or return a data element tagged as Supported in IPA profiles can still claim conformance to the IPA profiles per the IPA conformance resources. ) id :ipa_v100_immunization_must_support_test optional def resource_type 'Immunization' end def self.metadata @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)) end def scratch_resources scratch[:immunization_resources] ||= {} end run do perform_must_support_test(all_scratch_resources) end end end end
Version data entries
8 entries across 8 versions & 1 rubygems