Class: CancerRegistryReportingTestKit::CCRRV100::HDEASuite

Inherits:
Inferno::TestSuite
  • Object
show all
Defined in:
lib/cancer_registry_reporting_test_kit/hdea_suite.rb

Constant Summary collapse

GENERAL_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 US Core v3.1.1
  /Provenance.agent\[\d*\]: Constraint failed: provenance-1/, # Invalid invariant in US Core v5.0.1
  %r{Unknown Code System 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags'}, # Validator has an issue with
  # this US Core 5 code system in US Core 6 resource
  %r{URL value 'http://hl7.org/fhir/us/core/CodeSystem/us-core-tags' does not resolve}, # Validator has an issue with this
  # US Core 5 code system in US Core 6 resource
  /\A\S+: \S+: URL value '.*' does not resolve/,
  %r{Observation.component\[\d+\].value.ofType\(Quantity\): The code provided \(http://unitsofmeasure.org#L/min\)
  was not found in the value set 'Vital Signs Units'} # Known issue with the Pulse Oximetry Profile
].freeze
VALIDATION_MESSAGE_FILTERS =

Known issue with the Pulse Oximetry Profile

GENERAL_MESSAGE_FILTERS

Class Method Summary collapse

Class Method Details

.metadataObject



58
59
60
61
62
# File 'lib/cancer_registry_reporting_test_kit/hdea_suite.rb', line 58

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