[% META title = 'Admin » Edit Report Notification Contact' -%] [% # PROCESS dumper.tt dump = c.stash.errs %] [% # PROCESS dumper.tt dump = data # hashref not object %] [% # PROCESS dumper.tt dump = departments %] [% PROCESS site/autosuggest.tt varname = 'hospital' %] [% email_contacts_dfv_js %] [% # PROCESS admin/misc_nav.tt page = 'error-codes' %] [% meta_data = c.get_meta_data('ReportNotification') %]

Edit Report Notification Contact

[% INCLUDE site/snippets/help.tt file = 'reportnotification' %] [% IF data.type.match('organisation') %]
*** if changing type from organisation to hospital to you will need to replace the referral source entry with the required hospital ***
[% END %] [% IF dfv_errors %]
[% c.cfg('msg').dfv_errors %]
[% IF error_name %]
Display name [% error_name %]
[% END %] [% IF error_type %]
Type [% error_type %]
[% END %] [% IF error_department_id %]
Department [% error_department_id %]
[% END %] [% IF error_id_type %]
Referral source [% error_id_type %]
[% END %] [% IF error_status %]
Status [% error_status %]
[% END %] [% IF error_contact_address %]
Email [% error_contact_address %]
[% END %] [% IF error_active %]
Active [% error_active %]
[% END %]
[% END %]
[% UNLESS data.type.match('referrer') # not applicable %] [% END %] [% label = data.type.match('referrer') ? 'Identifier' : 'Referral Source' %] [% UNLESS data.type.match('referrer') # not applicable %] [% END %] [% IF data.type.match('referrer') %] [% ELSE # load referral source search function: %] [% END %]
Display name TypeDepartment[% label %] Status Email Active
[% IF data.type.match('referrer'); # can't change type %] [% ELSE %] [% site.html.submit %]

[% site.html.back_button %]