Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Granular Scopes Tests Fail When Server Returns Separated .r and .s Scopes #551

Closed
Justin-Ramm opened this issue Aug 21, 2024 · 2 comments
Closed
Labels
bug This is a bug in Inferno g10-test-kit This issue affects onc-certification-g10-test-kit smart-app-launch-test-kit This issue affects smart-app-launch-test-kit v6.0.2 Release v6.0.2

Comments

@Justin-Ramm
Copy link

Justin-Ramm commented Aug 21, 2024

Related to #538, but in this case Inferno reports a failure.

Separated scopes are unexpectedly not recognized in tests 9.14.1.1.2.08 and 9.14.2.1.2.08.

image

Textual output of image copied below:

9.14.1.1.2.08 Required granular scopes were granted

The following granular scopes were not granted: Condition.rs?category=http://terminology.hl7.org/CodeSystem/condition-category|encounter-diagnosis, Condition.rs?category=http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern, Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory, and Observation.rs?category=http://terminology.hl7.org/CodeSystem/observation-category|social-history

standalone_received_scopes

patient/Condition.r?category=http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern patient/Condition.r?category=http://terminology.hl7.org/CodeSystem/condition-category|encounter-diagnosis patient/Condition.s?category=http://hl7.org/fhir/us/core/CodeSystem/condition-category|health-concern patient/Condition.s?category=http://terminology.hl7.org/CodeSystem/condition-category|encounter-diagnosis patient/Observation.r?category=http://terminology.hl7.org/CodeSystem-observation-category.html|social-history patient/Observation.r?category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory patient/Observation.s?category=http://terminology.hl7.org/CodeSystem-observation-category.html|social-history patient/Observation.s?category=http://terminology.hl7.org/CodeSystem/observation-category|laboratory fhirUser launch/patient openid

@Jammjammjamm Jammjammjamm added will fix Issue is planned to be addressed in future release bug This is a bug in Inferno labels Aug 21, 2024
@Jammjammjamm
Copy link
Contributor

I thought this was handled, but apparently not. Thanks for the report, we will look into this.

@Justin-Ramm
Copy link
Author

Note that this also appears to affect test 9.9.11 in the EHR Launch with Patient Scopes section.

@yunwwang yunwwang added g10-test-kit This issue affects onc-certification-g10-test-kit smart-app-launch-test-kit This issue affects smart-app-launch-test-kit labels Aug 28, 2024
@yunwwang yunwwang added resolved Fix is approved and merged. Working ticket closed v6.0.2 Release v6.0.2 and removed will fix Issue is planned to be addressed in future release resolved Fix is approved and merged. Working ticket closed labels Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This is a bug in Inferno g10-test-kit This issue affects onc-certification-g10-test-kit smart-app-launch-test-kit This issue affects smart-app-launch-test-kit v6.0.2 Release v6.0.2
Projects
None yet
Development

No branches or pull requests

3 participants