We have deployed our application to the client’s sandbox environment. However, when attempting to launch the app from PowerChart, the following issue is occurring.
The URL currently configured in PowerChart is:
https://smart.sandboxcerner.com/smart/apps/4ec4333f-20c1-4388-b723-163fe723f603?PAT_PersonId=$PAT_PersonId$&VIS_EncntrId=$VIS_EncntrId$&USR_PersonId=$USR_PersonId$&PAT_PPRCode=$PAT_PPRCode$
We noticed that this launch behavior differs from how the application is launched via the Cerner Code Console.
When launched from Code Console, the application uses the SMART preauthorization flow:
https://smart.cerner.com/smart/user/preauth?context_id=05c88c30-4d63-42bf-8256-2a017a69c7fe&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d
This indicates that the PowerChart launch may not currently be initiating the SMART on FHIR OAuth workflow and instead appears to be using Millennium URL substitution variables (PAT_PersonId, VIS_EncntrId, etc.).
Since SMART launch requires the application to be invoked with launch context parameters (such as iss and launch) rather than Millennium substitution variables, this difference could explain why the application is not receiving the required tenant and user context during launch.
Could you please confirm:
- Whether the application has been configured in PowerChart as a SMART Application Activity rather than a URL / External Application launch?
- Whether the launch configuration is expected to initiate the SMART OAuth flow?
- If any additional configuration is required on the client side to ensure SMART context is passed during launch?
As this is our first Cerner client implementation, we would appreciate your guidance on aligning the PowerChart launch configuration with the SMART launch setup defined in Code Console.

