{% extends "dossiers/base.html" %} {% load url from future %} {% block extrascripts %} {% endblock %} {% block title %}{{ object.last_name }} {{ object.first_name }}{% if object.paper_id %} - Dossier {{ object.paper_id}}{% endif %}{% endblock %} {% block appbar %}

{% if current_state.status.type == 'CLOS' %}{% endif %}{{ object.last_name }} {{ object.first_name }}{% if object.paper_id %} - Dossier {{ object.paper_id}}{% endif %}{% if current_state.status.type == 'CLOS' %} clos{% endif %}

Retourner aux dossiers {% if 'validator' in role %}{% if object.can_be_deleted %}{% endif %}{% endif %} {% endblock %} {% block content %} {% if messages %} {% endif %}
{% include "dossiers/patientrecord_tab1.html" %}
{% include "dossiers/patientrecord_tab2.html" %}
{% csrf_token %}

{{ object.first_name }} {{ object.last_name }} (Patient)

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|date:"SHORT_DATE_FORMAT" }}
    • {% 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 }} ({{ object.health_center.address }} {{ object.health_center.address_complement }} {{ object.health_center.zip_code }} {{ object.health_center.city }})
    • {% endif %} {% if object.other_health_center %}
    • {{ object.other_health_center }}
    • {% endif %} {% if object.management_code %}
    • {{ object.management_code }}
    • {% endif %}
    • {% if object.thirdparty_payer %} Oui {% else %} Non {% endif %}
    • {% if object.twinning_rank %}
    • {{ object.twinning_rank }}
    • {% endif %}
{% for address in object.addresses.all %}

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

Lieu de vie
{% if address.phone %}

{{ address.phone }}

{% endif %} {% 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 %}

Assuré
    {% if contact.parente %}
  • {{ contact.parente }}
  • {% endif %} {% if contact.mobile %}
  • {{ contact.mobile }} (perso)
  • {% endif %} {% if contact.phone %}
  • {{ contact.phone }} (pro)
  • {% endif %} {% if contact.email %}
  • {{ contact.email }}
  • {% endif %} {% if contact.job %}
  • {{ contact.job }}
  • {% endif %} {% if contact.contact_comment %}
  • {{ contact.contact_comment }}
  • {% endif %}
    • {% if contact.social_security_id %}
    • {{ contact.social_security_id }} {{ contact.get_control_key }}
    • {% endif %} {% if contact.birthdate %}
    • {{ contact.birthdate|date:"SHORT_DATE_FORMAT" }}
    • {% endif %} {% if contact.birthplace %}
    • {{ contact.birthplace }}
    • {% endif %} {% if contact.begin_rights %}
    • {{ contact.begin_rights }}
    • {% endif %} {% if contact.end_rights %}
    • {{ contact.end_rights }}
    • {% endif %} {% if contact.health_center %}
    • {{ contact.health_center }} ({{ contact.health_center.address }} {{ contact.health_center.address_complement }} {{ contact.health_center.zip_code }} {{ contact.health_center.city }})
    • {% endif %} {% if contact.management_code %}
    • {{ contact.management_code }}
    • {% endif %}
    • {% if contact.thirdparty_payer %} Oui {% else %} Non {% endif %}
    • {% if contact.twinning_rank %}
    • {{ contact.twinning_rank }}
    • {% endif %}
{% endif %} {% endfor %}
{% endfor %}
{% if object.service.name == "CMPP" %}

Information sur la prise en charge

  • {{ hc_status.0 }}
  • {% if object.pause %}
  • Le dossier est en pause facturation.
  • {% endif %} {% if missing_policy %}
  • Informations d'assuré sociale manquantes.
  • {% endif %} {% if missing_birthdate %}
  • Date de naissance manquante.
  • {% endif %}

{% if acts_losts %}

{{ acts_losts|length }} actes facturables qui ne peuvent pas être facturés : {% for act in acts_losts %} {% endfor %}
Date Heure Type d'acte Intervenants Commentaire Refacturation
{{ act.date|date:"SHORT_DATE_FORMAT" }} {{ act.time }} {{ act.act_type }} {% for participant in act.doctors.all %} {{ participant.first_name }} {{ participant.last_name }} {% endfor %} {{ act.comment|default_if_none:"" }} {% for i in act.invoice_set.all %}{{ i.number }}{% if not forloop.last %} - {% endif %}{% endfor %}

{% endif %} {% if acts_pause %}

{{ acts_pause|length }} actes qui sont en pause :

    {% for act in acts_pause %}
  • {{ act }}
  • {% endfor %}

{% endif %} {% if hcs %} {% for hc, acts, acts_cared in hcs %} {% if hc.cmpphealthcarediagnostic %}

Prise en charge de diagnostic, débutée le {{ hc.start_date|date:"d/m/Y" }}{% if hc.cmpphealthcarediagnostic.end_date %}, se terminant le {{ hc.cmpphealthcarediagnostic.end_date|date:"d/m/Y" }}{% endif %}

    {% if hc.cmpphealthcarediagnostic.end_date %}
  • : {{ hc.cmpphealthcarediagnostic.end_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.request_date %}
  • : {{ hc.request_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.comment %}
  • : {{ hc.comment }}
  • {% endif %}
  • : {{ hc.cmpphealthcarediagnostic.get_act_number }}
  • {% if acts %}
  • {{ acts|length }} actes pouvant être pris en charge lors de la prochaine facturation :
  • {% for act in acts %} {% endfor %}
    Date Heure Type d'acte Intervenants Commentaire Refacturation
    {{ act.date|date:"SHORT_DATE_FORMAT" }} {{ act.time }} {{ act.act_type }} {% for participant in act.doctors.all %} {{ participant.first_name }} {{ participant.last_name }} {% endfor %} {{ act.comment|default_if_none:"" }} {% for i in act.invoice_set.all %}{{ i.number }}{% if not forloop.last %} - {% endif %}{% endfor %}
    {% endif %} {% if hc.get_nb_acts_cared %}
  • {{ hc.get_nb_acts_cared }} actes déja facturés :
  • {% for act in acts_cared %} {% endfor %}
    Date Heure N° facture Type d'acte Intervenants Commentaire
    {{ act.date|date:"SHORT_DATE_FORMAT" }} {{ act.time }} {{ act.get_invoice_number|default_if_none:"Ancienne facturation" }} {{ act.act_type }} {% for participant in act.doctors.all %} {{ participant.first_name }} {{ participant.last_name }} {% endfor %} {{ act.comment|default_if_none:"" }}
    {% else %}
  • Aucun acte facturé.
  • {% endif %}
{% else %}

Prise en charge de traitement, débutée le {{ hc.start_date|date:"d/m/Y" }}{% if hc.cmpphealthcaretreatment.end_date %}, se terminant le {{ hc.cmpphealthcaretreatment.end_date|date:"d/m/Y" }}{% endif %}

    {% if hc.cmpphealthcaretreatment.end_date %}
  • : {{ hc.cmpphealthcaretreatment.end_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.request_date %}
  • : {{ hc.request_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.comment %}
  • : {{ hc.comment }}
  • {% endif %}
  • : {{ hc.cmpphealthcaretreatment.get_act_number }}
  • {% if acts %}
  • {{ acts|length }} actes pouvant être pris en charge lors de la prochaine facturation :
  • {% for act in acts %} {% endfor %}
    Date Heure Type d'acte Intervenants Commentaire Refacturation
    {{ act.date|date:"SHORT_DATE_FORMAT" }} {{ act.time }} {{ act.act_type }} {% for participant in act.doctors.all %} {{ participant.first_name }} {{ participant.last_name }} {% endfor %} {{ act.comment|default_if_none:"" }} {% for i in act.invoice_set.all %}{{ i.number }}{% if not forloop.last %} - {% endif %}{% endfor %}
    {% endif %} {% if hc.get_nb_acts_cared %}
  • {{ hc.get_nb_acts_cared }} actes déja facturés :
  • {% for act in acts_cared %} {% endfor %}
    Date Heure N° facture Type d'acte Intervenants Commentaire
    {{ act.date|date:"SHORT_DATE_FORMAT" }} {{ act.time }} {{ act.get_invoice_number|default_if_none:"Ancienne facturation" }} {{ act.act_type }} {% for participant in act.doctors.all %} {{ participant.first_name }} {{ participant.last_name }} {% endfor %} {{ act.comment|default_if_none:"" }}
    {% else %}
  • Aucun acte facturé.
  • {% endif %}
{% endif %} {% endfor %} {% endif %} {% endif %} {% if object.service.name == "SESSAD TED" or object.service.name == "SESSAD DYS" %}

{% if hcs %} {% for hc in hcs %} {% if hc.sessadhealthcarenotification %}

Notification

    {% if hc.start_date %}
  • : {{ hc.start_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.sessadhealthcarenotification.end_date %}
  • : {{ hc.sessadhealthcarenotification.end_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.request_date %}
  • : {{ hc.request_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.agree_date %}
  • : {{ hc.agree_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.insist_date %}
  • : {{ hc.insist_date|date:"d/m/Y" }}
  • {% endif %} {% if hc.comment %}
  • : {{ hc.comment }}
  • {% endif %}
{% endif %} {% endfor %} {% endif %} {% endif %}
{% for state, last_rdvs in history %}

{{ state.status.name }} depuis le {{ state.date_selected|date:"SHORT_DATE_FORMAT" }}

{% if last_rdvs %} {% for act, state, missing_workers in last_rdvs %} {% endfor %}
Date Pointage Type d'acte Intervenants Commentaire
{{ act.date|date:"SHORT_DATE_FORMAT" }} {{ act.time|date:"H:i" }}{% if missing_workers %} {% endif %} {% if state %}{% if act.is_absent %}{% endif %}{% if state.state_name == 'ACT_DOUBLE' or state.state_name == 'ACT_LOST' %}Présent ({{ state }}){% else %}{{ state }}{% endif %}{% if act.is_absent %}{% endif %}{% else %}Non pointé.{% endif %} {{ act.act_type }} {% for doctor in act.doctors.all %} {% if doctor in missing_workers %}{% endif %} {{ doctor.first_name }} {{ doctor.last_name }} {% if doctor in missing_workers %}{% endif %} {% endfor %} {% if act.comment %}{{ act.comment }}{% endif %}
{% endif %}
{% endfor %}
{% for event, state, missing_participants in next_rdvs %} {% endfor %}
Date Pointage Type d'acte Intervenants Commentaire
{% firstof event.start_datetime|date:"l d/m/y H:i"|title %}{% if missing_participants %} {% endif %} {% if state %}{% if state.state_name != 'VALIDE' %}{% endif %}{{ state }}{% if state.state_name != 'VALIDE' %}{% endif %}{% else %}Non pointé.{% endif %} {{ event.act_type }} {% for participant in event.participants.all %} {% if participant in missing_participants %}{% endif %} {{ participant.first_name }} {{ participant.last_name }} {% if participant in missing_participants %}{% endif %} {% endfor %} {{ event.description }}

Périodes de socialisation

{% for duration in object.socialisation_durations.all %}
Arrivée le {{ duration.start_date }} dans {% if duration.school %}l'établissement {{ duration.school }}{% else %}un établissement non renseigné{% endif %}{% if duration.level %} (en {{ duration.level }}){% endif %}
    {% if duration.end_date %}
  • : {{ duration.end_date }}
  • {% endif %} {% if duration.comment %}
  • : {{ duration.comment }}
  • {% endif %}
{% endfor %}

Demandes MDPH

{% for request in object.mdph_requests.all %}
Demande le {{ request.start_date }} à la MDPH {{ request.mdph }}
    {% if request.comment %}
  • : {{ request.comment }}
  • {% endif %}
{% endfor %}

Réponses MDPH

{% for response in object.mdph_responses.all %}
Du {{ response.start_date }} au {{ response.end_date }} à la MDPH {{ response.mdph }}
    {% if response.comment %}
  • : {{ response.comment }}
  • {% endif %} {% if response.type_aide %}
  • : {{ response.type_aide }}
  • {% endif %} {% if response.name %}
  • : {{ response.name }}
  • {% endif %} {% if response.rate %}
  • : {{ response.rate }}
  • {% endif %}
{% endfor %}
{% csrf_token %} {% for field in forms.physiology %}

{{ field.errors }}

{{ field.label_tag }} {{ field }}

{% endfor %}

{% endblock %} {% block dialogs %}
{% csrf_token %}
{% endblock %}