Class: IpaTestKit::IpaV100::MedicationValidationTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
ValidationTest
Defined in:
lib/ipa_test_kit/generated/v1.0.0/medication/medication_validation_test.rb,
lib/ipa_test_kit/generated/v1.0.0/medication_request/medication_validation_test.rb

Constant Summary

Constants included from ValidationTest

ValidationTest::DAR_CODE_SYSTEM_URL, ValidationTest::DAR_EXTENSION_URL

Instance Method Summary collapse

Methods included from ValidationTest

#check_for_dar, #check_for_dar_code, #check_for_dar_extension, #perform_validation_test

Instance Method Details

#resource_typeObject



23
24
25
# File 'lib/ipa_test_kit/generated/v1.0.0/medication/medication_validation_test.rb', line 23

def resource_type
  'Medication'
end

#scratch_resourcesObject



27
28
29
# File 'lib/ipa_test_kit/generated/v1.0.0/medication/medication_validation_test.rb', line 27

def scratch_resources
  scratch[:medication_resources] ||= {}
end