Sha256: 84b0b93f8988aba540fe97f59dcaccc1365bbb3780b2568e6eb12447d0a023ac

Contents?: true

Size: 1.01 KB

Versions: 13

Compression:

Stored size: 1.01 KB

Contents

module USCoreTestKit
  class SmartEHRLaunchSTU1 < Inferno::TestGroup
    id :us_core_smart_ehr_launch_stu1
    title 'EHR Launch'

    run_as_group

    group from: :smart_discovery,
          run_as_group: true
    group from: :smart_ehr_launch,
          run_as_group: true

    group from: :smart_openid_connect do
      run_as_group
      optional
      config(
        inputs: {
          id_token: { name: :ehr_id_token },
          client_id: { name: :ehr_client_id },
          requested_scopes: { name: :ehr_requested_scopes },
          access_token: { name: :ehr_access_token },
          smart_credentials: { name: :ehr_smart_credentials }
        }
      )
    end

    group from: :smart_token_refresh do
      run_as_group
      optional
      config(
        inputs: {
          refresh_token: { name: :ehr_refresh_token },
          client_id: { name: :ehr_client_id },
          client_secret: { name: :ehr_client_secret },
          received_scopes: { name: :ehr_received_scopes }
        }
      )
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
us_core_test_kit-0.9.3 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.9.2 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.9.1 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.9.0 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.8.2 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.8.1 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.8.0 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.7.2 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.7.1 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.7.0 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.6.5 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.6.4 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb
us_core_test_kit-0.6.3 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu1.rb