diff --git a/calebasse/dossiers/templates/dossiers/patientrecord_update.html b/calebasse/dossiers/templates/dossiers/patientrecord_update.html index ca870ebd..d1f931a2 100644 --- a/calebasse/dossiers/templates/dossiers/patientrecord_update.html +++ b/calebasse/dossiers/templates/dossiers/patientrecord_update.html @@ -57,9 +57,105 @@ $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
+
{% csrf_token %} + +
+

{% if object.gender == 1 %}M.{% elif object.gender == 2 %}Mme{% endif %} + {{ object.first_name }} {{ object.last_name }} {% if object.id == object.id %} (PATIENT){% endif %}

+
Assuré + + +
+
+
    + {% if object.parente %} +
  • + {{ object.parente }}
  • + {% endif %} + {% if object.mobile %} +
  • + {{ object.mobile }} (perso) +
  • + {% endif %} + {% if object.phone %} +
  • + {{ object.phone }} (pro) +
  • + {% endif %} + {% if object.email %} +
  • + + {{ object.email }} +
  • + {% endif %} + {% if object.job %} +
  • + + {{ object.job }} +
  • + {% endif %} + {% if object.contact_comment %} +
  • + + {{ object.contact_comment }} +
  • + {% endif %} +
  • + +
      + {% if object.social_security_id %} +
    • + {{ object.social_security_id }} {{ object.get_control_key }}
    • + {% endif %} + {% if object.birthdate %} +
    • + {{ object.birthdate }}
    • + {% endif %} + {% if object.birthplace %} +
    • + {{ object.birthplace }}
    • + {% endif %} + {% if object.begin_rights %} +
    • + {{ object.begin_rights }}
    • + {% endif %} + {% if object.end_rights %} +
    • + {{ object.end_rights }}
    • + {% endif %} + {% if object.health_center %} +
    • + {{ object.health_center }}
    • + {% endif %} + {% if object.other_health_center %} +
    • + {{ object.other_health_center }}
    • + {% endif %} +
    • + {% if object.thirdparty_payer %} + Oui + {% else %} + Non + {% endif %} +
    • + {% if object.twinning_rank %} +
    • + {{ object.twinning_rank }}
    • + {% endif %} +
    +
  • +
+
+
+ - {% csrf_token %} + {% for address in object.addresses.all %}

{% if not address.display_name %}Non renseigné{% else %}{{ address.display_name }}{% endif %}

@@ -74,6 +170,7 @@ $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow'); {% if address.comment %}

{{ address.comment }}

{% endif %} {% if not address.phone and not address.comment %}

 

{% endif %} {% for contact in address.patientcontact_set.all %} + {% if contact.id != object.id %}

{% if contact.gender == 1 %}M.{% elif contact.gender == 2 %}Mme{% endif %} {{ contact.first_name }} {{ contact.last_name }} {% if contact.id == object.id %} (PATIENT){% endif %}

@@ -164,6 +261,7 @@ $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
+ {% endif %} {% endfor %}
{% endfor %}