Sha256: 88b0989f396aff125cf35f41e82e20e4b8313e31814ad92804011320c0f3ac77
Contents?: true
Size: 1.16 KB
Versions: 17
Compression:
Stored size: 1.16 KB
Contents
module ONCCertificationG10TestKit class PatientScopeTest < Inferno::Test title 'Patient-level scopes were granted' description %( Systems are required to support the `permission-patient` capability as part of the Clinician Access for EHR Launch Capability Set. This test verifies that systems are capable of granting patient-level scopes during an EHR Launch. * [Clinician Access for EHR Launch Capability Set STU 1](http://hl7.org/fhir/smart-app-launch/1.0.0/conformance/index.html#clinician-access-for-ehr-launch) * [Clinician Access for EHR Launch Capability Set STU 2](http://hl7.org/fhir/smart-app-launch/STU2/conformance.html#clinician-access-for-ehr-launch) ) id :g10_patient_scope input :received_scopes run do expected_scope = if config.options[:scope_version] == :v2 'patient/Patient.rs' else 'patient/Patient.read' end assert received_scopes&.include?(expected_scope), "#{expected_scope} scope was requested, but not received. Received: `#{received_scopes}`" end end end
Version data entries
17 entries across 17 versions & 1 rubygems