{# discharged_phrase.html #} {% comment %} template parameters: patient_lookup: PatientLookup consent_mode: ConsentMode permitted_to_contact_discharged_patients_for_n_days: int permitted_to_contact_discharged_patients_for_n_years: str {% endcomment %} {% if patient_lookup.pt_discharged == None %} {# operating in ignorance #} {% if consent_mode.consent_after_discharge %}