Pass Inferno tests with Smartbox
This article will guide you through passing ONC Certification (g)(10) Standardized API on Inferno framework.
Last updated
Was this helpful?
This article will guide you through passing ONC Certification (g)(10) Standardized API on Inferno framework.
Last updated
Was this helpful?
Once you have your Smartbox instance you need to register a FHIR server by creating Tenant resource and upload necessary resources for Inferno.
Patient record with all USCDIv1 data elements in us-core format,
User resource, associated with the patient record
Client resource for smart launch flows
Client resource for bulk api
Demo patient record with all USCDI elements for Inferno test is available on Google Storage and maintained by Health Samurai team. You can upload with /$load
endpoint:
It contains at least two patients test-pt-1
and test-pt-2
. Second patient will be required for Multi-Patient API test.
Let's created then User resource for test-pt-1
:
Now you can login to My Clinic patient portal with example@mail.com / password
.
Press the Run all tests
button then provide require parameters for the tests:
FHIR Endpoint:
[aidbox-url]/tenant/my-clinic/patient/smart-api
Standalone Client ID: inferno-confidential-patient-smart-app
Standalone Client Secret: inferno-confidential-patient-smart-app-secret
EHR Launch Client ID: inferno-confidential-patient-smart-app
EHR Launch Client Secret: inferno-confidential-patient-smart-app-secret
Bulk Data FHIR URL:
[aidbox-url]/tenant/my-clinic/bulk-api
Backend Services Token Endpoint:
[aidbox-url]/auth/token
Bulk Data Client ID: inferno-my-clinic-bulk-client
Encryption method RS384
Group ID: test-group-1
Patient IDs in exported Group: test-pt-1,test-pt-2
Public Launch Client ID: inferno-public-patient-smart-app
EHR Launch Client ID: inferno-confidential-patient-smart-app
EHR Launch Client Secret: inferno-confidential-patient-smart-app-secret
Once you run all tests, follow Inferno instructions.
Click the Standalone Patient App
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
FHIR Endpoint:
[aidbox-url]/tenant/my-clinic/patient/smart-api
Standalone Client ID: inferno-confidential-patient-smart-app
Standalone Client Secret: inferno-confidential-patient-smart-app-secret
Click the Submit
button
Once you run tests, follow the Inferno instructions.
This test depends on the Standalone Patient App
test. Pass the first sequence then continue that one
Click the 2 Limited Access App
link in the left sidebar
Click the Run tests
button
Click the Submit
button
Once you run tests, follow the Inferno instructions.
Click the EHR Practitioner App
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
FHIR Endpoint:
[aidbox-url]/tenant/my-clinic/patient/smart-api
EHR Launch Client ID: inferno-confidential-patient-smart-app
EHR Launch Client Secret: inferno-confidential-patient-smart-app-secret
Click the Submit
button
Open the patient portal UI [aidbox-url]/tenant/my-clinic/patient/portal
Login to the portal using credentials we created before example@mail.com / password
Find the inferno-confidential-patient-smart-app
application
Click the Launch
button
Once you perform EHR launch, follow the Inferno instructions.
This test depends on the Standalone Patient App
test. Pass the first sequence then continue that one
Click the 4 Single Patient API
link in the left sidebar
Click the Run tests
button
Click the Submit
button
Once you run tests, follow the Inferno instructions.
Click the 7 Multi-Patient API
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
Bulk Data FHIR URL:
[aidbox-url]/tenant/my-clinic/bulk-api
Backend Services Token Endpoint:
[aidbox-url]/auth/token
Bulk Data Client ID: inferno-my-clinic-bulk-client
Encryption method RS384
Group ID: test-group-1
Patient IDs in exported Group: test-pt-1,test-pt-2
Click the Submit
button
Click the 9.1 SMART Public Client Launch
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
Bulk Data FHIR URL:
[aidbox-url]/tenant/my-clinic/patient/smart-api
Public Launch Client ID: inferno-public-patient-smart-app
OAuth 2.0 Authorize Endpoint: [aidbox-url]/tenant/my-clinic/patient/auth/authorize
OAuth 2.0 Token Endpoint: [aidbox-url]/auth/token
Click the Submit
button
This test depends on the Standalone Patient App
test. Pass the first sequence then continue that one
Click the 9.3 Token Revocation
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
Prior to executing test, Health IT developer demonstrated revoking tokens provided during patient standalone launch.: Yes
Keep other parameters unchanged
Wait up to 30 seconds
Click the Submit
button
Click the 9.4 SMART Invalid AUD Launch
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
FHIR Endpoint:
[aidbox-url]/tenant/my-clinic/patient/smart-api
Standalone Client ID: inferno-confidential-patient-smart-app
Standalone Client Secret: inferno-confidential-patient-smart-app-secret
OAuth 2.0 Authorize Endpoint: [aidbox-url]/tenant/my-clinic/patient/auth/authorize
Click the Submit
button
Click the Perform Invalid Launch
link
Click the 9.5 SMART Invalid Token Request
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
FHIR Endpoint:
[aidbox-url]/tenant/my-clinic/patient/smart-api
Standalone Client ID: inferno-confidential-patient-smart-app
Standalone Client Secret: inferno-confidential-patient-smart-app-secret
OAuth 2.0 Authorize Endpoint: [aidbox-url]/tenant/my-clinic/patient/auth/authorize
OAuth 2.0 Token Endpoint: [aidbox-url]/auth/token
Click the Submit
button
Click the Follow this link to authorize with the SMART server
link
Press the Allow
button on the consent screen
Click the 9.8 EHR Launch with Patient Scopes
link in the left sidebar
Click the Run tests
button
Provide require parameters for tests
EHR launch FHIR Endpoint:
[aidbox-url]/tenant/my-clinic/patient/smart-api
EHR Launch Client ID: inferno-confidential-patient-smart-app
EHR Launch Client Secret: inferno-confidential-patient-smart-app-secret
OAuth 2.0 Authorize Endpoint: [aidbox-url]/tenant/my-clinic/patient/auth/authorize
OAuth 2.0 Token Endpoint: [aidbox-url]/auth/token
Click the Submit
button
Open the patient portal UI [aidbox-url]/tenant/my-clinic/patient/portal
Login to the portal using credentials we created before example@mail.com / password
Find the inferno-confidential-patient-smart-app
application
Click the Launch
button
Click the Follow this link to authorize with the SMART server
link
Press the Allow
button on the consent screen
In the requests below the simples way of adding Clients is shown. In some cases it's important to create Client resources without predefined secret
and id
(see for more details).
Create Inferno test session by following the link .
To pass the EHR Practitioner App
inferno sequence see the guide
See to pass the Token Revocation
Inferno test
To pass the visual inspection see the guide.