Код: {'*'+currentOrganisation.miacCode+'.'+client.id+'*'} |
Ф.И.О.: {client.fullName} |
Пол: {client.sex} |
Дата рождения: {client.birthDate} |
Документ, удостоверяющий личность: {client.document.type + u" серия " + client.document.serial + u" номер " + client.document.number} |
Медицинский полис: {client.policy.type + u" серия " + client.policy.serial + u" номер " + client.policy.number + u" (выдан " + client.policy.insurer.fullName + ")"} |
Адрес регистрации: {client.regAddress.town + u", " + client.regAddress.street + u", д." + client.regAddress.number + u", корп." + client.regAddress.corpus + u", кв. " + client.regAddress.flat } |
Адрес проживания: {client.locAddress.town + u", " + client.locAddress.street + u", д." + client.locAddress.number + u", корп." + client.locAddress.corpus + u", кв. " + client.locAddress.flat } |
Телефон: {client.phones} |
СНИЛС: {client.SNILS} |
{if: len(client.permanentAttach.org.fullName)}Прикреплен: {client.permanentAttach.org.fullName} c {client.permanentAttach.begDate.date.toString("dd.MM.yyyy")} |
{end:}
{if: len(client.temporaryAttach.org.fullName)}Временно прикреплен: {client.temporaryAttach.org.fullName} c {client.temporaryAttach.begDate.date.toString("dd.MM.yyyy")} |
{end:}
Занятость: {if: len(client.work.shortName)}{client.work.shortName}, должность: {client.work.post}{end:} |
Соц. статусы: {for: socStatus in client.socStatuses}
{socStatus.classes[0]}: {socStatus.name};
{end:} |
Группа крови: {client.bloodType} |
Аллергии:{for: allergy in client.allergies}
{allergy.name} (степень - {(u"неизвестно", u"малая", u"средняя", u"высокая", u"строгая")[allergy.power]});
{end:} |
Лекарственные непереносимости: {for: intolerance in client.intolerances}
{intolerance.name} (степень - {(u"неизвестно", u"малая", u"средняя", u"высокая", u"строгая")[intolerance.power]});
{end:} |
{if:client.work.hurts}
Вредность и факторы:
{ for: i, hurt in enumerate(client.work.hurts)}
{hurt.name} (стаж - {hurt.stage});
{end:} |
{end:}