Sha256: c9d27c9c9a1ec720e9e12dea77f394fe1f200cc64469eb49f81b373d5748d907
Contents?: true
Size: 1.12 KB
Versions: 1
Compression:
Stored size: 1.12 KB
Contents
require_relative '../../must_support_test' module IpaTestKit class ImmunizationMustSupportTest < Inferno::Test include IpaTestKit::MustSupportTest title 'All must support elements are provided in the Immunization resources returned' description %( IPA Responders SHALL be capable of populating all data elements as part of the query results as specified by the IPA Server Capability Statement. This test will look through the Immunization resources found previously for the following must support elements: * Immunization.occurrence[x] * Immunization.patient * Immunization.primarySource * Immunization.status * Immunization.statusReason * Immunization.vaccineCode ) id :ipa_010_immunization_must_support_test def resource_type 'Immunization' end def self.metadata @metadata ||= Generator::GroupMetadata.new(YAML.load_file(File.join(__dir__, 'metadata.yml'))) end def scratch_resources scratch[:immunization_resources] ||= {} end run do perform_must_support_test(all_scratch_resources) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ipa_test_kit-0.2.0 | lib/ipa_test_kit/generated/immunization/immunization_must_support_test.rb |