{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Survey Template Mappings" %} - {{ block.super }}{% endblock %} {% block content %}

{% trans "Survey Template Mappings" %}

{% trans "Configure which survey templates are sent for each patient type at each hospital." %}

{% if mappings %}
{% for mapping in mappings %} {% endfor %}
{% trans "Hospital" %} {% trans "Patient Type" %} {% trans "Survey Template" %} {% trans "Status" %} {% trans "Actions" %}
{{ mapping.hospital.name }} {{ mapping.patient_type_display }} ({{ mapping.patient_type }}) {{ mapping.survey_template.name }} {% if mapping.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %}
{% else %}
{% trans "No survey template mappings configured yet. Click 'Add Mapping' to create your first mapping." %}
{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}