Am writing a fragment that includes the patient search widget and am interested in setting the afterSelectedUrl to something like: ‘/chartsearch/chartsearch.page?patientId={{patient.patientId}}’, so i have so-far tried this:
${ ui.includeFragment("coreapps", "patientsearch/patientSearchWidget",
[ afterSelectedUrl: '/chartsearch/chartsearch.page?patientId={{patient.patientId}}',
showLastViewedPatients: true
])}
but this fails on selecting a result, with a NPE as http://pastebin.com/D0QU0NpH
@mogoodrich and @darius , plus @wyclif, et-cetera, how do i go about this?