{% extends 'Pdf/pdf_base.html.twig' %} {% block title %} {{ 'case'|trans({}, 'label', locale) }} - {{ patientCase.code }} {% endblock %} {% block body %}

{{ 'case'|trans({}, 'label', locale) }} {{ patientCase.code }}

1. {{ 'overview_patient'|trans({}, 'button', locale) }}

{{ 'case_code'|trans({}, 'label', locale) }} {{ patientCase.code }}
{{ 'last_name'|trans({}, 'label', locale) }} {{ patient.lastName }}
{{ 'first_name'|trans({}, 'label', locale) }} {{ patient.firstName }}
{{ 'sex'|trans({}, 'label', locale) }} {{ patient.gender }}
{{ 'address_1'|trans({}, 'label', locale) }} {{ patient.address1 }}
{{ 'number'|trans({}, 'label', locale) }} {{ patient.streetNumber }}
{{ 'postal_code'|trans({}, 'label', locale) }} {{ patient.zip }}
{{ 'city'|trans({}, 'label', locale) }} {{ patient.city }}
{{ 'date_of_birth'|trans({}, 'label', locale) }} {{ patient.dateOfBirth|date('d/m/Y') }}
{{ 'nationality'|trans({}, 'label', locale) }} {{ patient.nationality }}
{{ 'age_on_accident'|trans({}, 'label', locale) }} {{ accident.ageInYears }} {{ 'years'|trans({}, 'label', locale) }} {{ accident.ageInMonths }} {{ 'months'|trans({}, 'label', locale) }}
{{ 'phone'|trans({}, 'label', locale) }} {{ patient.phone }}
{{ 'mobile'|trans({}, 'label', locale) }} {{ patient.mobile }}
{{ 'email'|trans({}, 'label', locale) }} {{ patient.email }}
{{ 'status'|trans({}, 'label', locale) }} {{ patient.maritalStatus|trans({}, 'enum', locale) }}
{{ 'occupation'|trans({}, 'label', locale) }} {{ patient.occupation|trans({}, 'enum', locale) }}

2. {{ 'beneficiary'|trans({}, 'label', locale) }}

{% if isBeneficiary %} {% else %} {% endif %}
{{ 'is_patient_beneficiary'|trans({}, 'label', locale) }} {{ 'yes'|trans({}, 'label', locale) }}
{{ 'is_patient_beneficiary'|trans({}, 'label', locale) }} {{ 'no'|trans({}, 'label', locale) }}
{{ 'patient_relation'|trans({}, 'label', locale) }} {{ patient.relation|trans({}, 'enum', locale) }}
{{ 'last_name'|trans({}, 'label', locale) }} {{ patient.relationLastName }}
{{ 'first_name'|trans({}, 'label', locale) }} {{ patient.relationFirstName }}
{{ 'email'|trans({}, 'label', locale) }} {{ patient.relationEmail }}
{{ 'phone'|trans({}, 'label', locale) }} {{ patient.relationPhone }}

3. {{ 'family_aid'|trans({}, 'enum', locale) }}

{{ 'number_of_person_on_incoming'|trans({}, 'label', locale) }} {{ familySituation }}

4. {{ 'accident_info'|trans({}, 'info', locale) }}

{% for hospitalization in accident.hospitalizationItems %} {% if hospitalization.type == 'burncenter' %} {% else %} {% endif %} {% endfor %}
{{ 'date_accident'|trans({}, 'label', locale) }} {{ accident.accidentDate|date('d/m/Y') }}
{{ 'country_accident'|trans({}, 'label', locale) }} {{ accident.country }}
{{ 'postcode_accident'|trans({}, 'label', locale) }} {{ accident.postalCode }}
{{ 'category'|trans({}, 'label', locale) }} {% for category in accident.categorisation %} {{ category|trans({}, 'enum', locale) }}{{ not loop.last ? ',' }} {% endfor %}
{{ 'location_burnwounds'|trans({}, 'label', locale) }} {% for locationBurnWound in accident.locationBurnWounds %} {{ locationBurnWound|trans({}, 'enum', locale) }}{{ not loop.last ? ',' }} {% endfor %}
{{ 'depth_burnwounds'|trans({}, 'label', locale) }} {% for depthBurnWound in accident.depthOfWounds %} {{ depthBurnWound|trans({}, 'enum', locale) }}{{ not loop.last ? ',' }} {% endfor %}
{{ 'percentage_burnwounds'|trans({}, 'label', locale) }} {{ accident.percentageOfWounds }}
{{ 'burnwound_criteria'|trans({}, 'label', locale) }} {% for admissionCriteria in accident.admissionCriteria %} {{ admissionCriteria|trans({}, 'enum', locale) }}{{ not loop.last ? ',' }} {% endfor %}
{{ 'cause_of_accident'|trans({}, 'label', locale) }} {{ accident.cause|trans({}, 'enum', locale) }}
{{ 'kind_of_accident'|trans({}, 'label', locale) }} {{ accident.type|trans({}, 'enum', locale) }}
{{ 'reponsability_third_party'|trans({}, 'label', locale) }} {{ accident.responsabilityThirdParties ? 'yes'|trans({}, 'label', locale) : 'no'|trans({}, 'label', locale) }}
{{ 'extra_information'|trans({}, 'label', locale) }} {{ accident.moreInformation }}
{{ 'hospitalization'|trans({}, 'enum', locale) }}
{{ 'type'|trans({}, 'label', locale) }} {{ hospitalization.type|trans({}, 'enum', locale) }}
{{ 'location'|trans({}, 'label', locale) }}{{ burnCenterRepository.byId(hospitalization.location).name }}{{ hospitalization.location }}
{{ 'start_date'|trans({}, 'label', locale) }} {{ hospitalization.startDate|date('d/m/Y') }}
{{ 'end_date'|trans({}, 'label', locale) }} {{ hospitalization.endDate|date('d/m/Y') }}
{{ 'duration'|trans({}, 'label', locale) }} {{ hospitalization.startDate.diff(hospitalization.endDate).days }}

5. {{ 'insurance'|trans({}, 'enum', locale) }}

{% for insurance in insuranceItems %} {% endfor %}
{{ 'insurance'|trans({}, 'enum', locale) }}
{{ 'name'|trans({}, 'label', locale) }} {{ insurance.name }}
{{ 'type'|trans({}, 'label', locale) }} {{ insurance.type|trans({}, 'enum', locale) }}
{{ 'contract_number'|trans({}, 'label', locale) }} {{ insurance.contractNumber }}

6. {{ 'financial_situation'|trans({}, 'tab', locale) }}

{% for financialItem in financialItemsIn %} {% if loop.first %} {% endif %} {% if loop.last %} {% endif %} {% endfor %} {% for financialItem in financialItemsOut %} {% if loop.first %} {% endif %} {% if loop.last %} {% endif %} {% endfor %}
{{ financialItem.type|trans({}, 'enum', locale) }}
{{ financialItem.subType|trans({}, 'enum', locale) }} {{ financialItem.amount|number_format(2, ',', '') }} €
{{ 'total'|trans({}, 'label', locale) }} {{ financialItemsInTotal|number_format(2, ',', '') }} €
{{ financialItem.type|trans({}, 'enum', locale) }}
{{ financialItem.subType|trans({}, 'enum', locale) }} {{ financialItem.amount|number_format(2, ',', '') }} €
{{ 'total'|trans({}, 'label', locale) }} {{ financialItemsOutTotal|number_format(2, ',', '') }} €
{{ 'saldo'|trans({}, 'label', locale) }} {{ financialItemsSaldo|number_format(2, ',', '') }} €
{{ 'saldo_per_person'|trans({}, 'label', locale) }} {{ financialItemsSaldoPerPerson|number_format(2, ',', '') }} €

7. {{ 'additional_care'|trans({}, 'enum', locale) }}

{% for expensesByType in expensesByTypes %} {% for expense in expensesByType %} {% if loop.first %} {% endif %} {% if expense.expenseItemCalculation %} {% endif %} {% if loop.last %} {% endif %} {% endfor %} {% endfor %} {% if payments is not empty %} {% for payment in payments %} {% endfor %} {% endif %} {% if accident.documentTracker.documents is not empty %} {% for document in accident.documentTracker.documents %} {% endfor %} {% for payment in payments %} {% for document in payment.documentTracker.documents %} {% endfor %} {% endfor %} {% endif %}
{{ 'refund_level'|trans({}, 'label', locale) }} {{ refundPercentage }} %
{{ expense.category|trans({}, 'enum', locale) }} {{ 'amount_requested'|trans({}, 'label', locale) }} {{ 'refund_level'|trans({}, 'label', locale) }} {{ 'amount_decision'|trans({}, 'label', locale) }}
{{ expense.subcategory|trans({}, 'enum', locale) }} {{ expense.amount|number_format(2, ',', '') }} €{{ expense.expenseItemCalculation.percentage }} % {{ expense.expenseItemCalculation.calculatedAmount|number_format(2, ',', '') }}€
{{ 'total'|trans({}, 'label', locale) }} {{ patientCase.totalAmountForExpenses(expensesByType)|number_format(2, ',', '') }} € {{ patientCase.totalCalculatedAmountForExpenses(expensesByType)|number_format(2, ',', '') }} €
{{ 'general_total'|trans({}, 'label', locale) }} {{ patientCase.totalAmountForExpenses(expenses)|number_format(2, ',', '') }} € {{ patientCase.totalCalculatedAmountForExpenses(expenses)|number_format(2, ',', '') }}€
{{ 'payements'|trans({}, 'label', locale) }}
{{ 'amount'|trans({}, 'label', locale) }} {{ 'iban'|trans({}, 'label', locale) }} {{ 'bic'|trans({}, 'label', locale) }} {{ 'name_beneficiary'|trans({}, 'label', locale) }} {{ 'expense_message'|trans({}, 'label', locale) }} {{ 'internal_reference'|trans({}, 'label', locale) }}
{{ payment.expenseItemCalculation.calculatedAmount|number_format(2, ',', '') }}€ {{ payment.ibanBeneficiary }} {{ payment.bicBeneficiary }} {{ payment.nameBeneficiary }} {{ payment.freeMessage ? payment.freeMessage : payment.structuredMessage }} Ref: E{{ payment.id }} - {{ patient.lastName }} {{ patient.firstName }}
{{ 'motivation'|trans({}, 'label', locale) }} {{ motivation }}
{{ 'decision_commission'|trans({}, 'label', locale) }} {{ commissionStatus|trans({}, 'enum', locale) }}
{{ 'n_docs'|trans({}, 'label', locale) }}
{{ document.originalName }}
{{ document.originalName }}
{% endblock %} {% block style %} {% endblock %}