Versions Compared

Key

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

...

Code that can be entered into a Report Template:

<%
Output.Write("<table border='1' cellspacing='0' cellpadding='5'>");
Output.Write("<tr><th>Encounter Date</th> <th>Encounter Name</th></tr>");

for (var index=0; index < ENCOUNTERS.Count; index++) {
         var encounter = ENCOUNTERS.GetEncounter(index);
             var encounterDate = encounter.#EncounterDate;
             var encounterName = encounter.#IntervalName;

       Output.Write("<tr><td>" + encounterDate +   "</td>");
       Output.Write("<td>" + encounterName +   "</td></tr>");
}

Output.Write("</table>");

...