Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <ifMode mode="ENTER">
- <lookup complexExpression="
- #set( $encounter = 0 )
- #set( $encounter = $fn.latestEncounter('8d5b27bc-c2cc-11de-8d13-0010c6dffd0f') )
- #if( $encounter != 0 )
- <script type="text/javascript">
- if (window.location.href.indexOf('/module/htmlformentry/htmlForm.form?id=3') == -1)
- {
- // window.location=
- alert(window.location.host + "://" + window.location.host + openmrsContextPath + "/htmlformentry/htmlFormEntry.form?patientId=$encounter.patientId&encounterId=$encounter.encounterId");
- }
- </script>
- #end
- "/>
- </ifMode>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement