Background Information:
Are you an OPN Member? Yes
Have you signed up to be in the Healthcare Developer Track? Yes
Are you a registered Code Program member? Yes
Does your App have a presence on the Oracle Healthcare App Marketplace? No - In validation sprint
Client ID: ed64ffbd-1ac7-45d8-811d-a6516e8b966f
App ID: 04d91da7-7d94-427d-b481-d7a83bcaee1c
Expected Result: When opening a patient chart within Powerchart, our application should launch as a MPage component, but is not loading. When we launch from the TOC link, it works as expected.
Actual Result: MPage launch works within the patient details
Debug Notes:
We have done some further digging into the MPage implementation. Please see below for our notes:
Here is what we are seeing on MPage. We added a debugger; tag in the cerner-smart-embeddable-lib-1.7.0.js library that will automatically make the inspector/debugger hit a breakpoint once the library is hit. When we run our normal launch, this hits properly. This debugger does not hit on MPage page at all. So we don't think it is hitting the same endpoint as the Launch page yet.
Then from MPage, I also see 505 (internal server error) to this:
https://smart.cerner.com/smart/apps/04d91da7-7d94-427d-b481-d7a83bcaee1c?PAT_PersonId=%24PAT_PersonId%24&VIS_EncntrId=%24VIS_EncntrId%24&USR_PersonId=%24USR_PersonId%24&PAT_PPRCode=%24PAT_PPRCode%24 which is our app id. So we think something is wrong with that request from the Mpage.
When the actual TOC launch runs we see:
https://smart.cerner.com/smart/apps/04d91da7-7d94-427d-b481-d7a83bcaee1c?PAT_PersonId=13403489.00&VIS_EncntrId=98423619.00&USR_PersonId=13175402.00&PAT_PPRC see how PAT PersonId, VIS_encntrId, USR_PersonId are actually populated and that works properly.
Let us know if any further details or information is needed.