Changes for auditory
This commit is contained in:
parent
a06b55adc7
commit
5db30a7b37
|
@ -19,6 +19,12 @@ NEW_MEDIA = new_sel = [
|
||||||
('sede', 'Sede'),
|
('sede', 'Sede'),
|
||||||
('web', 'Web'),
|
('web', 'Web'),
|
||||||
('supersalud', 'Supersalud'),
|
('supersalud', 'Supersalud'),
|
||||||
|
('chat', 'Chat'),
|
||||||
|
('email', 'Email'),
|
||||||
|
('write', 'Write'),
|
||||||
|
('perzonalized', 'Perzonalized'),
|
||||||
|
('social_media', 'Social Media'),
|
||||||
|
('phone', 'Phone'),
|
||||||
]
|
]
|
||||||
|
|
||||||
CLASSIFICATION = new_sel = [
|
CLASSIFICATION = new_sel = [
|
||||||
|
@ -58,7 +64,7 @@ OPTION_SELECT = [
|
||||||
]
|
]
|
||||||
# pending
|
# pending
|
||||||
PENDING = [
|
PENDING = [
|
||||||
('', ''),
|
(None, ''),
|
||||||
('medicamentos', 'Medicamentos: recibido del medicamento, firma del usuario y/o familiar '),
|
('medicamentos', 'Medicamentos: recibido del medicamento, firma del usuario y/o familiar '),
|
||||||
('consultas', 'Consultas (generales y especializadas): historia clínica'),
|
('consultas', 'Consultas (generales y especializadas): historia clínica'),
|
||||||
('ayudas_diagnosticas', 'Ayudas diagnósticas: resultado de la ayuda diagnóstica'),
|
('ayudas_diagnosticas', 'Ayudas diagnósticas: resultado de la ayuda diagnóstica'),
|
||||||
|
@ -70,6 +76,76 @@ PENDING = [
|
||||||
('n.a', 'N.A'),
|
('n.a', 'N.A'),
|
||||||
('otro', 'OTRO')
|
('otro', 'OTRO')
|
||||||
]
|
]
|
||||||
|
DENIAL = [
|
||||||
|
('', ''),
|
||||||
|
('1', '1'),
|
||||||
|
('2', '2'),
|
||||||
|
('3', '3'),
|
||||||
|
('4', '4'),
|
||||||
|
('5', '5'),
|
||||||
|
('6', '6'),
|
||||||
|
('7', '7'),
|
||||||
|
('8', '8'),
|
||||||
|
('9', '9'),
|
||||||
|
('10','10'),
|
||||||
|
('11','11'),
|
||||||
|
('12','12'),
|
||||||
|
]
|
||||||
|
|
||||||
|
DENIAL_DICT = {
|
||||||
|
'1': 'Tratamientos de infertilidad.' +
|
||||||
|
'Entiéndase como los tratamientos' +
|
||||||
|
'y exámenes cuyo fin único y' +
|
||||||
|
'esencial sea el embarazo y' +
|
||||||
|
'la procreación.',
|
||||||
|
'2': 'Tratamientos considerados estéticos,' +
|
||||||
|
'cosméticos o suntuarios no encaminados' +
|
||||||
|
'a la restitución de la funcionalidad' +
|
||||||
|
'perdida por enfermedad o la grave' +
|
||||||
|
'afectación estética por trauma o cirugía' +
|
||||||
|
'mayor.',
|
||||||
|
'3': 'Todos los tratamientos quirúrgicos y' +
|
||||||
|
'medicamentos considerados experimentales' +
|
||||||
|
'o los no autorizados por las sociedades' +
|
||||||
|
'científicas debidamente reconocidas en el' +
|
||||||
|
'país, así serealicen y suministren por' +
|
||||||
|
'fuera del territorio Nacional.',
|
||||||
|
'4': 'Se excluyen expresamente todos los' +
|
||||||
|
'tratamientos médico-quirúrgicos realizados' +
|
||||||
|
'en el exterior.',
|
||||||
|
'5': 'Se excluyen todos los medicamentos no' +
|
||||||
|
'autorizados por el INVIMA o el ente regulador' +
|
||||||
|
'correspondiente.',
|
||||||
|
'6': 'Se excluyen tecnologías en salud sobre las' +
|
||||||
|
'cuales no exista evidencia científica, de' +
|
||||||
|
'seguridad o costo efectividad o que tengan' +
|
||||||
|
'alertas de seguridad o falta de efectividad que' +
|
||||||
|
'recomienden su retiro del mercado, de acuerdo' +
|
||||||
|
'con la normatividad vigente.',
|
||||||
|
'7': 'Prestaciones de salud en instituciones no' +
|
||||||
|
'habilitadas para tal fin dentro del sistema de' +
|
||||||
|
'salud.',
|
||||||
|
'8': 'No se suministrarán artículos suntuarios,' +
|
||||||
|
'cosméticos, complementos vitamínicos (excepto' +
|
||||||
|
'los relacionados con los Programas de Promoción y' +
|
||||||
|
'Prevención) líquidos para lentes de contacto,' +
|
||||||
|
'tratamientos capilares, champús, jabones, enjuagues' +
|
||||||
|
'bucales, cremas dentales, cepillo y seda dental y' +
|
||||||
|
'demás elementos de aseo; leches, cremas hidratantes,' +
|
||||||
|
'anti solares, drogas para la memoria, edulcorantes' +
|
||||||
|
'o sustitutos de la sal, anorexígenos, anti-solares y' +
|
||||||
|
'cremas hidratantes serán cubiertas cuando sean' +
|
||||||
|
'necesarios para el tratamiento de la patología integral' +
|
||||||
|
'del paciente.',
|
||||||
|
'9': 'No se reconocerán servicios por fuera del ámbito de' +
|
||||||
|
'la salud salvo algunos servicios complementarios y' +
|
||||||
|
'necesarios para el adecuado acceso a los servicios' +
|
||||||
|
'como el caso deltransporte.',
|
||||||
|
'10': 'Calzado Ortopédico.',
|
||||||
|
'11': 'Los pañales de niños y adultos y las toallas higiénicas.',
|
||||||
|
'12': 'Todo lo que no está explícitamente excluido se' +
|
||||||
|
'considera incluido.'
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
class ReceiverService(ModelSQL, ModelView):
|
class ReceiverService(ModelSQL, ModelView):
|
||||||
|
@ -216,6 +292,16 @@ class CustomerService(metaclass=PoolMeta):
|
||||||
older_adult_string = older_adult.translated('older_adult')
|
older_adult_string = older_adult.translated('older_adult')
|
||||||
current_risk = fields.Function(fields.Char('Current Risk'), 'get_current_risk',
|
current_risk = fields.Function(fields.Char('Current Risk'), 'get_current_risk',
|
||||||
searcher='search_current_risk')
|
searcher='search_current_risk')
|
||||||
|
age = fields.Function(fields.Integer('Age'), 'get_age')
|
||||||
|
media_string = older_adult.translated('media')
|
||||||
|
# petotionary data
|
||||||
|
petionary = fields.Char('petionary')
|
||||||
|
petionary_phone = fields.Char('Phone')
|
||||||
|
petionary_mail = fields.Char('Mail')
|
||||||
|
petionary_address = fields.Char('Address')
|
||||||
|
court_decision = fields.Boolean('Court Decision')
|
||||||
|
denial = fields.Selection(DENIAL, 'denial')
|
||||||
|
denial_text = fields.Function(fields.Text('Denial Text'), 'get_denial_text')
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def __setup__(cls):
|
def __setup__(cls):
|
||||||
|
@ -369,6 +455,14 @@ class CustomerService(metaclass=PoolMeta):
|
||||||
service.get_message(message)
|
service.get_message(message)
|
||||||
return res
|
return res
|
||||||
|
|
||||||
|
def get_denial_text(self, name):
|
||||||
|
if self.denial:
|
||||||
|
return DENIAL_DICT[self.denial]
|
||||||
|
|
||||||
|
def get_age(self, name):
|
||||||
|
if self.party:
|
||||||
|
return str(self.party.age)
|
||||||
|
|
||||||
def get_others_receivers_string(self, name):
|
def get_others_receivers_string(self, name):
|
||||||
string_ = ''
|
string_ = ''
|
||||||
for r in self.others_receivers:
|
for r in self.others_receivers:
|
||||||
|
|
Binary file not shown.
131
locale/es.po
131
locale/es.po
|
@ -82,10 +82,22 @@ msgctxt "field:crm.customer_service,classification:"
|
||||||
msgid "Classification"
|
msgid "Classification"
|
||||||
msgstr "Clasificación"
|
msgstr "Clasificación"
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,court_decision:"
|
||||||
|
msgid "Court Decision"
|
||||||
|
msgstr "Fallo Judicial"
|
||||||
|
|
||||||
msgctxt "field:crm.customer_service,current_risk:"
|
msgctxt "field:crm.customer_service,current_risk:"
|
||||||
msgid "Current Risk"
|
msgid "Current Risk"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,denial:"
|
||||||
|
msgid "denial"
|
||||||
|
msgstr "Negación"
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,denial_text:"
|
||||||
|
msgid "Denial Text"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "field:crm.customer_service,department_region:"
|
msgctxt "field:crm.customer_service,department_region:"
|
||||||
msgid "Department"
|
msgid "Department"
|
||||||
msgstr "Departamento de Región"
|
msgstr "Departamento de Región"
|
||||||
|
@ -146,6 +158,22 @@ msgctxt "field:crm.customer_service,pending:"
|
||||||
msgid "Pending"
|
msgid "Pending"
|
||||||
msgstr "Pendiente"
|
msgstr "Pendiente"
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,petionary:"
|
||||||
|
msgid "petionary"
|
||||||
|
msgstr "Peticionario"
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,petionary_address:"
|
||||||
|
msgid "Address"
|
||||||
|
msgstr "Dirección"
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,petionary_mail:"
|
||||||
|
msgid "Mail"
|
||||||
|
msgstr "Correo Electrónico"
|
||||||
|
|
||||||
|
msgctxt "field:crm.customer_service,petionary_phone:"
|
||||||
|
msgid "Phone"
|
||||||
|
msgstr "Teléfono"
|
||||||
|
|
||||||
msgctxt "field:crm.customer_service,pregnant_woman:"
|
msgctxt "field:crm.customer_service,pregnant_woman:"
|
||||||
msgid "Pregnan Woman"
|
msgid "Pregnan Woman"
|
||||||
msgstr "Mujer en Gestación"
|
msgstr "Mujer en Gestación"
|
||||||
|
@ -470,10 +498,33 @@ msgctxt "selection:crm.customer_receiver,media:"
|
||||||
msgid ""
|
msgid ""
|
||||||
msgstr "Punto de Orden"
|
msgstr "Punto de Orden"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
|
msgid "Chat"
|
||||||
|
msgstr "Chat"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
|
msgid "Email"
|
||||||
|
msgstr "Email"
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
|
msgid "Perzonalized"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
|
msgid "Phone"
|
||||||
|
msgstr "Teléfono"
|
||||||
|
|
||||||
msgctxt "selection:crm.customer_receiver,media:"
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
msgid "Sede"
|
msgid "Sede"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
|
msgid "Social Media"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "selection:crm.customer_receiver,media:"
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
msgid "Supersalud"
|
msgid "Supersalud"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -482,6 +533,10 @@ msgctxt "selection:crm.customer_receiver,media:"
|
||||||
msgid "Web"
|
msgid "Web"
|
||||||
msgstr "Web"
|
msgstr "Web"
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_receiver,media:"
|
||||||
|
msgid "Write"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
#, fuzzy
|
#, fuzzy
|
||||||
msgctxt "selection:crm.customer_service,classification:"
|
msgctxt "selection:crm.customer_service,classification:"
|
||||||
msgid ""
|
msgid ""
|
||||||
|
@ -499,14 +554,82 @@ msgctxt "selection:crm.customer_service,classification:"
|
||||||
msgid "Riesgo Vital"
|
msgid "Riesgo Vital"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "1"
|
||||||
|
msgstr "ACEITES Y LUBRICANTES"
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "10"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "11"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "12"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "2"
|
||||||
|
msgstr "2"
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "3"
|
||||||
|
msgstr "3"
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "4"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "5"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "6"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "7"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "8"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,denial:"
|
||||||
|
msgid "9"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
#, fuzzy
|
||||||
|
msgctxt "selection:crm.customer_service,media:"
|
||||||
|
msgid "Email"
|
||||||
|
msgstr "Email"
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,media:"
|
||||||
|
msgid "Perzonalized"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "selection:crm.customer_service,media:"
|
msgctxt "selection:crm.customer_service,media:"
|
||||||
msgid "Sede"
|
msgid "Sede"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,media:"
|
||||||
|
msgid "Social Media"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "selection:crm.customer_service,media:"
|
msgctxt "selection:crm.customer_service,media:"
|
||||||
msgid "Supersalud"
|
msgid "Supersalud"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgctxt "selection:crm.customer_service,media:"
|
||||||
|
msgid "Write"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgctxt "selection:crm.customer_service,nursing_mother:"
|
msgctxt "selection:crm.customer_service,nursing_mother:"
|
||||||
msgid "N.A"
|
msgid "N.A"
|
||||||
msgstr "N.A"
|
msgstr "N.A"
|
||||||
|
@ -725,6 +848,10 @@ msgctxt "view:crm.customer_service:"
|
||||||
msgid "Customers Attachments"
|
msgid "Customers Attachments"
|
||||||
msgstr "Adjuntos del Usuario"
|
msgstr "Adjuntos del Usuario"
|
||||||
|
|
||||||
|
msgctxt "view:crm.customer_service:"
|
||||||
|
msgid "Denail"
|
||||||
|
msgstr "Negación"
|
||||||
|
|
||||||
msgctxt "view:crm.customer_service:"
|
msgctxt "view:crm.customer_service:"
|
||||||
msgid "Localization Health Provider"
|
msgid "Localization Health Provider"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
@ -733,6 +860,10 @@ msgctxt "view:crm.customer_service:"
|
||||||
msgid "Others Receivers"
|
msgid "Others Receivers"
|
||||||
msgstr "Otros Receptores"
|
msgstr "Otros Receptores"
|
||||||
|
|
||||||
|
msgctxt "view:crm.customer_service:"
|
||||||
|
msgid "Petionary"
|
||||||
|
msgstr "Peticionario"
|
||||||
|
|
||||||
msgctxt "view:crm.customer_service:"
|
msgctxt "view:crm.customer_service:"
|
||||||
msgid "Process"
|
msgid "Process"
|
||||||
msgstr "Proceso"
|
msgstr "Proceso"
|
||||||
|
|
|
@ -2,7 +2,11 @@
|
||||||
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
<!-- This file is part of Tryton. The COPYRIGHT file at the top level of
|
||||||
this repository contains the full copyright notices and license terms. -->
|
this repository contains the full copyright notices and license terms. -->
|
||||||
<data>
|
<data>
|
||||||
|
<xpath expr="/form/field[@name='party']"
|
||||||
|
position="after">
|
||||||
|
<label name="age"/>
|
||||||
|
<field name="age"/>
|
||||||
|
</xpath>
|
||||||
<xpath expr="/form/group[@id='address']/label[@name='city']"
|
<xpath expr="/form/group[@id='address']/label[@name='city']"
|
||||||
position="replace">
|
position="replace">
|
||||||
</xpath>
|
</xpath>
|
||||||
|
@ -143,6 +147,23 @@ this repository contains the full copyright notices and license terms. -->
|
||||||
<page string="Response Attachments" id="response_attachment" col="4">
|
<page string="Response Attachments" id="response_attachment" col="4">
|
||||||
<field name="attachments" colspan="4"/>
|
<field name="attachments" colspan="4"/>
|
||||||
</page>
|
</page>
|
||||||
|
<page string="Denail" id="denial" col="4">
|
||||||
|
<label name="denial"/>
|
||||||
|
<field name="denial"/>
|
||||||
|
<label name="court_decision"/>
|
||||||
|
<field name="court_decision"/>
|
||||||
|
<field name="denial_text" colspan="4"/>
|
||||||
|
</page>
|
||||||
|
<page string="Petionary" id="petionary" col="4">
|
||||||
|
<label name="petionary"/>
|
||||||
|
<field name="petionary"/>
|
||||||
|
<label name="petionary_phone"/>
|
||||||
|
<field name="petionary_phone"/>
|
||||||
|
<label name="petionary_mail"/>
|
||||||
|
<field name="petionary_mail"/>
|
||||||
|
<label name="petionary_address"/>
|
||||||
|
<field name="petionary_address"/>
|
||||||
|
</page>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="/form/notebook/page[@id='info']/field[@name='efficacy']"
|
<xpath expr="/form/notebook/page[@id='info']/field[@name='efficacy']"
|
||||||
position="after">
|
position="after">
|
||||||
|
|
Loading…
Reference in New Issue