Page tree

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.


Code Block
	// pass a list of names of diagnoses from the patientSummary received from the controller into a javascriptMethodjavascriptFunction, i use '|s|' as my splitter and then remove empty items after the split
		javascriptFunction("<% patientSummary.diagnoses.each { d -> %>|s|${}<% } %>".split("|s|").filter(v=>v!=''));