Sha256: 5fcd903064fb3f2859d4088ce9dd48b2a455d4d94f4be34643b2155062fecc70

Contents?: true

Size: 1.02 KB

Versions: 13

Compression:

Stored size: 1.02 KB

Contents

module USCoreTestKit
  class SmartEHRLaunchSTU2 < Inferno::TestGroup
    id :us_core_smart_ehr_launch_stu2
    title 'EHR Launch'

    run_as_group

    group from: :smart_discovery_stu2,
          run_as_group: true
    group from: :smart_ehr_launch_stu2,
          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_stu2.rb
us_core_test_kit-0.9.2 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.9.1 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.9.0 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.8.2 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.8.1 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.8.0 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.7.2 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.7.1 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.7.0 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.6.5 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.6.4 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb
us_core_test_kit-0.6.3 lib/us_core_test_kit/custom_groups/smart_ehr_launch_stu2.rb