Module: CarinForBlueButtonTestKit::MustSupportTest

Extended by:
Forwardable
Includes:
FHIRResourceNavigation
Included in:
CARIN4BBV110::CoverageMustSupportTest, CARIN4BBV110::EobInpatientInstitutionalMustSupportTest, CARIN4BBV110::EobMustSupportTest, CARIN4BBV110::EobOutpatientInstitutionalMustSupportTest, CARIN4BBV110::EobPharmacyMustSupportTest, CARIN4BBV110::EobProfessionalNonClinicianMustSupportTest, CARIN4BBV110::OrganizationMustSupportTest, CARIN4BBV110::PatientMustSupportTest, CARIN4BBV110::PractitionerMustSupportTest, CARIN4BBV200::CoverageMustSupportTest, CARIN4BBV200::EobInpatientInstitutionalMustSupportTest, CARIN4BBV200::EobMustSupportTest, CARIN4BBV200::EobOralMustSupportTest, CARIN4BBV200::EobOutpatientInstitutionalMustSupportTest, CARIN4BBV200::EobPharmacyMustSupportTest, CARIN4BBV200::EobProfessionalNonClinicianMustSupportTest, CARIN4BBV200::OrganizationMustSupportTest, CARIN4BBV200::PatientMustSupportTest, CARIN4BBV200::PractitionerMustSupportTest, CARIN4BBV200::RelatedPersonMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::CoverageMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobInpatientInstitutionalMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobInpatientInstitutionalNonFinancialMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobOralMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobOralNonFinancialMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobOutpatientInstitutionalMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobOutpatientInstitutionalNonFinancialMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobPharmacyMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobPharmacyNonFinancialMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobProfessionalNonClinicianMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::EobProfessionalNonClinicianNonFinancialMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::OrganizationMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::PatientMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::PractitionerMustSupportTest, CARIN4BBV200DEVNONFINANCIAL::RelatedPersonMustSupportTest
Defined in:
lib/carin_for_blue_button_test_kit/must_support_test.rb

Constant Summary

Constants included from FHIRResourceNavigation

FHIRResourceNavigation::DAR_EXTENSION_URL

Instance Method Summary collapse

Methods included from FHIRResourceNavigation

#find_a_value_at, #get_next_value, #resolve_path

Instance Method Details

#all_scratch_resourcesObject



10
11
12
# File 'lib/carin_for_blue_button_test_kit/must_support_test.rb', line 10

def all_scratch_resources
  scratch_resources[:all]
end

#perform_must_support_test(resources) ⇒ Object



14
15
16
17
18
# File 'lib/carin_for_blue_button_test_kit/must_support_test.rb', line 14

def perform_must_support_test(resources)
  skip_if resources.blank?, "No #{resource_type} resources were found"

  skip { assert_must_support_elements_present(resources, nil, metadata:) }
end