Class: AUCoreTestKit::AUCoreValidationSuite::AUCoreTestSuite

Inherits:
Inferno::TestSuite
  • Object
show all
Defined in:
lib/au_core_test_kit/custom_suites/validation_suite.rb

Constant Summary collapse

VALIDATION_MESSAGE_FILTERS =
[
  %r{Sub-extension url 'introspect' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
  %r{Sub-extension url 'revoke' is not defined by the Extension http://fhir-registry\.smarthealthit\.org/StructureDefinition/oauth-uris},
  /Observation\.effective\.ofType\(Period\): .*vs-1:/, # Invalid invariant in FHIR v4.0.1
  /Observation\.effective\.ofType\(Period\): .*us-core-1:/, # Invalid invariant in AU Core v3.1.1
  /Provenance.agent\[\d*\]: Rule provenance-1/, # Invalid invariant in AU Core v5.0.1
  /\A\S+: \S+: URL value '.*' does not resolve/
].freeze
VERSION_SPECIFIC_MESSAGE_FILTERS =
[].freeze

Class Method Summary collapse

Class Method Details

.metadataObject



22
23
24
25
26
# File 'lib/au_core_test_kit/custom_suites/validation_suite.rb', line 22

def self.
  @metadata ||= YAML.load_file(File.join(__dir__, 'metadata.yml'), aliases: true)[:groups].map do ||
    Generator::GroupMetadata.new()
  end
end