{% extends "base.html" %} {% load static %} {% block title %}{% if object %}Edit Message{% else %}Compose Message{% endif %} - Communications{% endblock %} {% block content %}

{% if object %}Edit Message{% else %}Compose Message{% endif %}

{% csrf_token %}
Message Details
{{ form.subject }} {% if form.subject.errors %}
{{ form.subject.errors.0 }}
{% endif %}
Enter a clear, descriptive subject line
{{ form.message_type }} {% if form.message_type.errors %}
{{ form.message_type.errors.0 }}
{% endif %}
{{ form.priority }} {% if form.priority.errors %}
{{ form.priority.errors.0 }}
{% endif %}
{{ form.template }}
{% if form.template.errors %}
{{ form.template.errors.0 }}
{% endif %}
Optional: Select a template to pre-fill the message content
{{ form.body }} {% if form.body.errors %}
{{ form.body.errors.0 }}
{% endif %}
Enter your message content. You can use variables like {patient_name}, {appointment_date} 0 characters
Recipients
{{ form.recipients }}
{% if form.recipients.errors %}
{{ form.recipients.errors.0 }}
{% endif %}
Select one or more recipients for this message
Actions


Cancel
Help & Tips

Patient Variables:
{patient_name}, {patient_id}, {patient_phone}

Appointment Variables:
{appointment_date}, {appointment_time}, {provider_name}

System Variables:
{hospital_name}, {current_date}, {current_time}

Internal: Staff-to-staff communication
Email: External email messages
SMS: Text messages to mobile phones
Push: Mobile app notifications
System: Automated system messages

• Keep subjects clear and concise
• Use appropriate priority levels
• Test messages before sending
• Schedule non-urgent messages appropriately
• Use templates for consistency
Estimated Reach
Selected Recipients: 0
Estimated Cost: $0.00
Delivery Time: Immediate
{% endblock %} {% block js %} {% endblock %}