Skip to content

Commit

Permalink
FI-2406: Add Encounter context for US Core 6 (#481)
Browse files Browse the repository at this point in the history
* add encounter context test for us core 6

* update short id map

* fix linting error
  • Loading branch information
Jammjammjamm authored Jan 9, 2024
1 parent 2f2ac4f commit 85ab966
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/onc_certification_g10_test_kit/short_id_map.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_smart_scop
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_unauthorized_access: 3.3.11
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_patient_context: 3.3.12
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_encounter_context: 3.3.13
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-g10_encounter_context_us_core_6: 3.3.16
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-Test13: 3.3.14
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch-Test14: 3.3.15
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2: '3.4'
Expand All @@ -160,6 +161,7 @@ g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_smart
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_unauthorized_access: 3.4.11
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_patient_context: 3.4.12
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_encounter_context: 3.4.13
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_encounter_context_us_core_6: 3.4.16
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_smart_style_url: 3.4.14
g10_certification-g10_smart_ehr_practitioner_app-smart_ehr_launch_stu2-g10_smart_need_patient_banner: 3.4.15
g10_certification-g10_smart_ehr_practitioner_app-smart_openid_connect: '3.5'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,16 @@ class SmartEHRPractitionerAppGroup < Inferno::TestGroup
},
required_suite_options: G10Options::US_CORE_5_REQUIREMENT

test from: :g10_encounter_context,
id: :g10_encounter_context_us_core_6, # rubocop:disable Naming/VariableNumber
config: {
inputs: {
encounter_id: { name: :ehr_encounter_id },
access_token: { name: :ehr_access_token }
}
},
required_suite_options: G10Options::US_CORE_6_REQUIREMENT

test do
title 'Launch context contains smart_style_url which links to valid JSON'
description %(
Expand Down Expand Up @@ -326,6 +336,16 @@ class SmartEHRPractitionerAppGroup < Inferno::TestGroup
},
required_suite_options: G10Options::US_CORE_5_REQUIREMENT

test from: :g10_encounter_context,
id: :g10_encounter_context_us_core_6, # rubocop:disable Naming/VariableNumber
config: {
inputs: {
encounter_id: { name: :ehr_encounter_id },
access_token: { name: :ehr_access_token }
}
},
required_suite_options: G10Options::US_CORE_6_REQUIREMENT

test do
title 'Launch context contains smart_style_url which links to valid JSON'
description %(
Expand Down

0 comments on commit 85ab966

Please sign in to comment.