[% META title="Request History" %] [% # PROCESS dumper.tt dump = history.request_data %] [% # PROCESS dumper.tt dump = history.error_codes %] [% # PROCESS dumper.tt dump = request.as_tree %] [% # PROCESS dumper.tt dump = categorical.demographics %] [% # PROCESS dumper.tt dump = categorical.deletion_data %] [% INCLUDE record/patient_summary.tt %] [% BLOCK report_diff; IF event.action.match('(amend|modifi)ed [Mm]orphology') %] [view] [% ELSIF event.action.match('(amend|modifi)ed [Cc]omment') %] [view] [% END; END %] [% IF categorical.patient_data %]
| Day | Date | Time | UserID | Changed | From | To | Reason |
|---|---|---|---|---|---|---|---|
| [% changed_on.strftime('%a') %] | [% changed_on.strftime('%d.%b.%Y') %] | [% changed_on.strftime('%T') %] | [% changed_by | upper %] | [% field_name | replace('_', ' ') %] | [% changed_from || site.html.grey_null %] | [% changed_to || site.html.grey_null %] | [% categorical.error_codes.item(error_code).description %] [[% error_code | upper %]] |
| Day | Date | Time | UserID | Action |
|---|---|---|---|---|
| [% entry.time.strftime('%a') %] | [% entry.time.strftime('%d.%b.%Y') %] | [% entry.time.strftime('%T') %] | [% entry.user.username | upper %] | [% INCLUDE site/truncate.tt str = entry.action.replace('_', ' ') chars = 80 %] |
[% div_name = 'categories'; INCLUDE site/snippets/toggleview.tt %] By category
[% div_name = 'chronology'; INCLUDE site/snippets/toggleview.tt %] Chronological
| Day | Date | Time | UserID | Old diagnosis | Reason |
|---|---|---|---|---|---|
| [% event.time.strftime('%a') %] | [% event.time.strftime('%d.%b.%Y') %] | [% event.time.strftime('%T').match('00:00:00') # for legacy data: ? '??:??:??' : event.time.strftime('%T') %] | [% event.user.username | upper %] | [% event.diagnosis.name | html %] | [% event.option.option_name | html %] |
[% site.html.back_button %]