Revision 6bebd793
Added by Jérôme Schneider almost 12 years ago
| calebasse/dossiers/templates/dossiers/patientrecord_tab3_adresses.html | ||
|---|---|---|
|
{{ object.job }}
|
||
|
</li>
|
||
|
{% endif %}
|
||
|
<li><label>Données d'assuré social</label>
|
||
|
<!-- <button class="blind">détails</button>-->
|
||
|
<ul>
|
||
|
{% if object.social_security_id %}
|
||
|
<li><label>Numéro d'assuré social :</label>
|
||
|
{{ object.social_security_id }} {{ object.get_control_key }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.birthdate %}
|
||
|
<li><label>Date de naissance :</label>
|
||
|
{{ object.birthdate|date:"SHORT_DATE_FORMAT" }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.birthplace %}
|
||
|
<li><label>Lieu de naissance :</label>
|
||
|
{{ object.birthplace }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.begin_rights %}
|
||
|
<li><label>Début de droits :</label>
|
||
|
{{ object.begin_rights }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.end_rights %}
|
||
|
<li><label>Fin de droits :</label>
|
||
|
{{ object.end_rights }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.health_center %}
|
||
|
<li><label>Caisse :</label>
|
||
|
{{ object.health_center }} ({{ object.health_center.address }} {{ object.health_center.address_complement }} {{ object.health_center.zip_code }} {{ object.health_center.city }})</li>
|
||
|
{% endif %}
|
||
|
{% if object.other_health_center %}
|
||
|
<li><label>Centre spécifique :</label>
|
||
|
{{ object.other_health_center }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.management_code %}
|
||
|
<li><label>Code de gestion :</label>
|
||
|
{{ object.management_code }}</li>
|
||
|
{% endif %}
|
||
|
<li><label>Tiers-payant :</label>
|
||
|
{% if object.thirdparty_payer %}
|
||
|
Oui
|
||
|
{% else %}
|
||
|
Non
|
||
|
{% endif %}
|
||
|
</li>
|
||
|
{% if object.twinning_rank %}
|
||
|
<li><label>Rang (gémellité) :</label>
|
||
|
{{ object.twinning_rank }}</li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</li>
|
||
|
</ul>
|
||
|
<div id="social-security-contact">
|
||
|
<label id="social-security-label">Données d'assuré social [+]</label>
|
||
|
<ul>
|
||
|
{% if object.social_security_id %}
|
||
|
<li><label>Numéro d'assuré social :</label>
|
||
|
{{ object.social_security_id }} {{ object.get_control_key }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.birthdate %}
|
||
|
<li><label>Date de naissance :</label>
|
||
|
{{ object.birthdate|date:"SHORT_DATE_FORMAT" }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.birthplace %}
|
||
|
<li><label>Lieu de naissance :</label>
|
||
|
{{ object.birthplace }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.begin_rights %}
|
||
|
<li><label>Début de droits :</label>
|
||
|
{{ object.begin_rights }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.end_rights %}
|
||
|
<li><label>Fin de droits :</label>
|
||
|
{{ object.end_rights }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.health_center %}
|
||
|
<li><label>Caisse :</label>
|
||
|
{{ object.health_center }} ({{ object.health_center.address }} {{ object.health_center.address_complement }} {{ object.health_center.zip_code }} {{ object.health_center.city }})</li>
|
||
|
{% endif %}
|
||
|
{% if object.other_health_center %}
|
||
|
<li><label>Centre spécifique :</label>
|
||
|
{{ object.other_health_center }}</li>
|
||
|
{% endif %}
|
||
|
{% if object.management_code %}
|
||
|
<li><label>Code de gestion :</label>
|
||
|
{{ object.management_code }}</li>
|
||
|
{% endif %}
|
||
|
<li><label>Tiers-payant :</label>
|
||
|
{% if object.thirdparty_payer %}
|
||
|
Oui
|
||
|
{% else %}
|
||
|
Non
|
||
|
{% endif %}
|
||
|
</li>
|
||
|
{% if object.twinning_rank %}
|
||
|
<li><label>Rang (gémellité) :</label>
|
||
|
{{ object.twinning_rank }}</li>
|
||
|
{% endif %}
|
||
|
</ul>
|
||
|
</div>
|
||
|
<hr>
|
||
|
<span>
|
||
|
<form method="post" id="contact-form">{% csrf_token %}
|
||
| calebasse/static/css/style.css | ||
|---|---|---|
|
color: orange;
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
#social-security-label {
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
|
||
|
label#social-security-label:hover {
|
||
|
font-weight: bold;
|
||
|
}
|
||
|
|
||
|
#social-security-contact ul {
|
||
|
display: none;
|
||
|
}
|
||
|
|
||
| calebasse/static/js/calebasse.dossiers.js | ||
|---|---|---|
|
$('button.blind').click(function() {
|
||
|
$(this).next().toggle('blind');
|
||
|
});
|
||
|
$('#social-security-label').click(function() {
|
||
|
var label = $(this).html();
|
||
|
var data = $(this).next();
|
||
|
if (($(data).is(':hidden'))) {
|
||
|
$(this).html(label.replace('+', '-'));
|
||
|
$(this).css("font-weight", "bold");
|
||
|
} else {
|
||
|
$(this).html(label.replace('-', '+'));
|
||
|
$(this).css("font-weight", "");
|
||
|
}
|
||
|
$(data).toggle();
|
||
|
});
|
||
|
$('#prescription-transport-btn').click(function() {
|
||
|
$('#ajax-dlg').load('prescription-transport',
|
||
|
function () {
|
||
Also available in: Unified diff
dossiers: toggle social security datas in contacts tab
Closes #4377