Sha256: 3e71c6779727ae7ba79c414cb9f8c09940610248d72f8ed01c0aab8d5b3fcd78

Contents?: true

Size: 1.85 KB

Versions: 2

Compression:

Stored size: 1.85 KB

Contents

require_relative '../screening_assessment_category_test'

module USCoreTestKit
  module USCoreV610
    class ScreeningAssessmentGroup < Inferno::TestGroup
      id :us_core_v610_screening_assessment
      title 'Screening Assessments Guidance'
      short_description 'Verify Condition and Observation resources support the ' \
                        'US Core Screening And Assessments Guidance.'
      description %(
        The #{title} Sequence tests Condition and Observation
        resources associated with the provided patient. The resources returned
        will be checked for consistency against the [US Core Screening And Assessments
        Guidance](https://hl7.org/fhir/us/core/STU6.1/screening-and-assessments.html)
        and FHIR JIRA ticket [FHIR-45319](https://jira.hl7.org/browse/FHIR-45319)

        In this set of tests, Inferno serves as a FHIR client that attempts to
        access the different types of Screening and Assessments specified in the guidance.
        The provided patient needs to have the following four common Screening and Assessements
        as Observation categories:

        * SDOH Assessment (sdoh)
        * Functional Status (functional-status)
        * Disability Status (disability-status)
        * Mental/Cognitive Status (cognitive-status)

        The provided patient also needs to have the following common Screening and Assessment
        as Condition category:

        * SDOH Assessment (sdoh)
      )
      run_as_group

      test from: :us_core_screening_assessment_category do
        config(
          options: {
            condition_screening_assessment_categories: ['sdoh'].freeze,
            observation_screening_assessment_categories: ['sdoh', 'functional-status', 'disability-status',
                                                          'cognitive-status'].freeze
          }
        )
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
us_core_test_kit-0.7.2 lib/us_core_test_kit/custom_groups/v6.1.0/screening_assessment_group.rb
us_core_test_kit-0.7.1 lib/us_core_test_kit/custom_groups/v6.1.0/screening_assessment_group.rb