{% extends "layouts/base.html" %} {% load i18n %} {% block title %}{% trans "Survey Template Mappings" %} - PX360{% 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" %}
{% if mapping.hospital %} {{ mapping.hospital.name }} {% else %} {% trans "All Hospitals" %} {% endif %}
{{ mapping.get_patient_type_display }}
{{ mapping.survey_template.name }}
{% if mapping.is_active %} {% trans "Active" %} {% else %} {% trans "Inactive" %} {% endif %}
{% else %}

{% trans "No Mappings Configured" %}

{% trans "No survey template mappings configured yet. Click 'Add Mapping' to create your first mapping." %}

{% endif %}
{% endblock %} {% block extra_js %} {% endblock %}