Module: IpaTestKit::Generator::SpecialCases

Defined in:
lib/ipa_test_kit/generator/special_cases.rb

Constant Summary collapse

RESOURCES_TO_EXCLUDE =
[
  'Location'
].freeze
PROFILES_TO_EXCLUDE =
[
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-observation-survey',
  'http://hl7.org/fhir/us/core/StructureDefinition/us-core-vital-signs'
].freeze

Class Method Summary collapse

Class Method Details

.exclude_group?(group) ⇒ Boolean

Returns:

  • (Boolean)


14
15
16
# File 'lib/ipa_test_kit/generator/special_cases.rb', line 14

def exclude_group?(group)
  RESOURCES_TO_EXCLUDE.include?(group&.resource)
end