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

Potentially embed app in PowerChart #16

Open
jmandel opened this issue Jul 3, 2012 · 0 comments
Open

Potentially embed app in PowerChart #16

jmandel opened this issue Jul 3, 2012 · 0 comments

Comments

@jmandel
Copy link
Contributor

jmandel commented Jul 3, 2012

Need to assess whether this works because I haven't seen the approach documented, but in:
https://github.com/chb/smart_grails_proxy/blob/master/mpage/chb_smart_launch_bpcentiles.prg

Try replacing:

    row +1 "    APPLINK(100, "
    row +1 "        grails_proxy_url + "
    row +1 "        'initial_app='+initial_app + "
    row +1 "        '&record_id=' + record_id + "
    row +1 "        '&encounter_id=' + encounter_id + "
    row +1 "        '&cas_token=' + cas_token,"
    row +1 "        ''"
    row +1 "    );"

with:

    row +1 "    var redirect_to = grails_proxy_url + "
    row +1 "        'initial_app='+initial_app + "
    row +1 "        '&record_id=' + record_id + "
    row +1 "        '&encounter_id=' + encounter_id + "
    row +1 "        '&cas_token=' + cas_token; "
followed by one of:
    row +1 "    window.location = redirect_to;  "
    row +1 "     CCLNEWSESSIONWINDOW(redirect_to,  '_self', '', 1, 0);  "

Details at:
https://wiki.ucern.com/display/MPDEVWIKI/CCLNEWSESSIONWINDOW

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant