Pass Inferno tests with Aidbox
This functionality is available starting from version 2411. The FHIR Schema Validator Engine should be enabled.
Aidbox successfully passes the Inferno SMART App Launch Test Kit STU1.
Prerequisites
Aidbox must be publicly available from the Internet in order to Inferno could reach Aidbox and run tests. • Run Aidbox on Aidbox Portal • Run Aidbox locally
Once you have your Aidbox instance up and running you need to upload necessary resources for Inferno:
Patient's data
Test patient data for Inferno test is available on Google Storage and maintained by Health Samurai team. You can upload it with /$load
endpoint:
User resource, associated with the patient record
Now you can login to Aidbox as a patient with example@mail.com / password
.
Client resource for smart launch flows and Access Policy
Create Inferno test session
To create Inferno test session follow the link and click on Create Test Session
button. Make sure that SMART App Launch STU1
Test Suite has been selected.
Run Inferno tests one by one
1. Standalone Launch
Click the
Standalone Launch
link in the left sidebarClick the
Run tests
buttonProvide required parameters for tests
FHIR Endpoint:
[aidbox-url]/fhir
Standalone Client ID:
inferno-patient-smart-app
Proof Key for Code Exchange (PKCE):
Enabled
Click the
Submit
button
Once you run tests, follow the Inferno instructions:
Follow the link
Login as a patient user
example@mail.com / password
Allow requested scopes
2. EHR Launch
Before running this step you need to have launch URI. To get it use get-launch-uri
endpoint. You can run this request from Aidbox REST console or any HTTP client:
Copy uri
value from the response.
Click the
Standalone Launch
link in the left sidebarClick the
Run tests
buttonProvide required parameters for tests
FHIR Endpoint:
[aidbox-url]/fhir
EHR Launch Client ID:
inferno-patient-smart-app
Proof Key for Code Exchange (PKCE):
Enabled
Click the
Submit
buttonRun launch URI copied before in the browser.
Once you perform launch URI, follow the Inferno instructions:
Follow the link
Allow requested scopes
Last updated