{# The tests a wellness record ordered, grouped under the package they came from (tests picked by hand go under "Additional Tests"), each with where it stands. Shared by the record's detail page and the edit form so both show the same thing — and only THIS record's tests, never the rest of the case's. Expects: record (PatientWellnessRecord) #} {% set groups = record.diagnosticGroups %} {% if groups %} {% for group in groups %}