Merge lp:~echeverrifm/oemedical/oemedical_lifestyle into lp:oemedical

Proposed by Federico Manuel Echeverri Choux
Status: Needs review
Proposed branch: lp:~echeverrifm/oemedical/oemedical_lifestyle
Merge into: lp:oemedical
Diff against target: 519 lines (+32/-421)
6 files modified
oemedical_lifestyle/__openerp__.py (+9/-100)
oemedical_lifestyle/oemedical_menu.xml (+7/-0)
oemedical_lifestyle/security/ir.model.access.csv (+0/-41)
oemedical_lifestyle/security/oemedical_security.xml (+15/-0)
oemedical_lifestyle/views/oemedical_lifestyle_view.xml (+1/-1)
prescription_order.rml (+0/-279)
To merge this branch: bzr merge lp:~echeverrifm/oemedical/oemedical_lifestyle
Reviewer Review Type Date Requested Status
Alexandre Fayolle - camptocamp Needs Resubmitting
Pedro Manuel Baeza code review Approve
Yannick Vaucher @ Camptocamp Needs Fixing
Review via email: mp+205518@code.launchpad.net

Description of the change

Improve oemedical Lifestyle

- Problems with instalation
- Security file and group for lifestyle
- Fix inherit page of view patient

To post a comment you must log in.
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

Needs a description

review: Needs Fixing
127. By Federico Manuel Echeverri Choux

[IMP] oemedical_lifestyle module [ Add description of module ]

Revision history for this message
Federico Manuel Echeverri Choux (echeverrifm) wrote :

Hello

I did

Regards

Revision history for this message
Pedro Manuel Baeza (pedro.baeza) wrote :

LGTM.

Regards.

review: Approve (code review)
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

Hello,

The management of the project has moved to Github: https://github.com/OCA/vertical-medical

Please migrate your merge proposal to Github. You may want to check https://github.com/OCA/maintainers-tools/wiki/How-to-move-a-Merge-Proposal-to-GitHub for an explanation on how to proceed.

Thanks for contributing to the project

review: Needs Resubmitting

Unmerged revisions

127. By Federico Manuel Echeverri Choux

[IMP] oemedical_lifestyle module [ Add description of module ]

126. By Federico Manuel Echeverri Choux

[IMP] Improve oemedical lifestyle module (Fix some problems to install, dependences and create group for lifestyle for security)

125. By Federico Manuel Echeverri Choux

[IMP] Improve __openerp__.py clean some lines of others modules

124. By Federico Manuel Echeverri Choux

[REM] Remove prescription_order file

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'oemedical_lifestyle/__openerp__.py'
2--- oemedical_lifestyle/__openerp__.py 2014-01-15 10:20:02 +0000
3+++ oemedical_lifestyle/__openerp__.py 2014-04-29 20:03:00 +0000
4@@ -34,110 +34,24 @@
5 ##############################################################################
6 {
7
8- 'name': 'OeMedical : Free Health and Hospital Information System',
9+ 'name': '''OeMedical : LifeStyle Module ''',
10 'version': '1.0',
11 'author': "OeMEdical Team",
12 'category': 'Generic Modules/Others',
13- 'depends': ['base', 'sale', 'purchase', 'account', 'product'],
14+ 'depends': ['base', 'oemedical'],
15 'application': True,
16 'description': """
17
18-About OeMedical
19----------------
20-
21-OeMedical is a multi-user, highly scalable, centralized Electronic
22-Medical Record (EMR) and Hospital Information System for openERP.
23-
24-OeMedical provides a free universal Health and Hospital Information System,
25-so doctors and institutions all over the world,
26-specially in developing countries will benefit from a centralized,
27-high quality, secure and scalable system.
28-
29-OeMedical at a glance:
30-
31- * Strong focus in family medicine and Primary Health Care
32-
33- * Major interest in Socio-economics (housing conditions, substance abuse,
34- education...)
35-
36- * Diseases and Medical procedures standards (like ICD-10 / ICD-10-PCS ...)
37-
38- * Patient Genetic and Hereditary risks : Over 4200 genes related to
39- diseases (NCBI / Genecards)
40-
41- * Epidemiological and other statistical reports
42-
43- * 100% paperless patient examination and history taking
44-
45- * Patient Administration
46- (creation, evaluations / consultations, history ... )
47-
48- * Doctor Administration
49-
50- * Lab Administration
51-
52- * Medicine / Drugs information (vademécum)
53-
54- * Medical stock and supply chain management
55-
56- * Hospital Financial Administration
57-
58- * Designed with industry standards in mind
59-
60- * Open Source : Licensed under AGPL
61+About OeMedical life style
62+--------------------------
63+
64+This module collects the information of the patient's lifestyle working on various aspects such as diet and exersice, addictions, sexuality and safety.
65
66 """,
67 "website": "http://launchpad.net/oemedical",
68 "licence": "AGPL v3",
69 "data": [
70- 'sequence/oemedical_sequence.xml',
71- 'views/oemedical_secondary_condition_view.xml',
72- 'views/oemedical_pathology_category_view.xml',
73- 'views/oemedical_signs_and_symptoms_view.xml',
74- 'views/product_product_view.xml',
75- 'views/oemedical_physician_view.xml',
76- 'views/oemedical_directions_view.xml',
77- 'views/oemedical_insurance_view.xml',
78- 'views/res_partner_view.xml',
79- 'views/oemedical_pathology_view.xml',
80- 'views/oemedical_operational_area_view.xml',
81- 'views/oemedical_ethnicity_view.xml',
82- 'views/oemedical_operational_sector_view.xml',
83- 'views/oemedical_prescription_order_view.xml',
84- 'views/oemedical_medicament_category_view.xml',
85- 'views/oemedical_insurance_plan_view.xml',
86- 'views/oemedical_diagnostic_hypothesis_view.xml',
87- 'views/oemedical_procedure_view.xml',
88- 'views/oemedical_medication_template_view.xml',
89- 'views/oemedical_vaccination_view.xml',
90- 'views/oemedical_medication_dosage_view.xml',
91- 'views/oemedical_family_member_view.xml',
92- 'views/oemedical_hospital_ward_view.xml',
93- 'views/oemedical_hospital_or_view.xml',
94- 'views/oemedical_drug_form_view.xml',
95- 'views/oemedical_patient_medication_view.xml',
96- 'views/oemedical_patient_evaluation_view.xml',
97- 'views/oemedical_hospital_building_view.xml',
98- 'views/oemedical_patient_view.xml',
99- 'views/oemedical_prescription_line_view.xml',
100- 'views/oemedical_patient_disease_view.xml',
101- 'views/oemedical_drug_route_view.xml',
102- 'views/oemedical_hospital_unit_view.xml',
103- 'views/oemedical_appointment_view.xml',
104- 'views/oemedical_specialty_view.xml',
105- 'views/oemedical_family_view.xml',
106- 'views/oemedical_hospital_bed_view.xml',
107- 'views/oemedical_occupation_view.xml',
108- 'views/oemedical_disease_group_members_view.xml',
109- 'views/oemedical_medicament_view.xml',
110- 'views/oemedical_pathology_group_view.xml',
111- #'views/oemedical_gynecology_and_obstetrics_view.xml', # view has errors, please correct before enabling....
112- #'views/oemedical_lifestyle_view.xml',
113- 'views/data/recreational_drugs.xml',
114- #'views/oemedical_disease_gene_view.xml', # view has errors, please correct before enabling....
115- 'views/data/disease_genes.xml',
116- #'views/oemedical_socioeconomics_view.xml', # view has errors, please correct before enabling....
117- #'views/oemedical_lab_view.xml', # view has errors, please correct before enabling....
118+ 'views/oemedical_lifestyle_view.xml',
119 'security/oemedical_security.xml',
120 'security/ir.model.access.csv',
121 'oemedical_menu.xml',
122@@ -146,12 +60,7 @@
123
124 ],
125 'test':[
126- 'test/physician.yml',
127- 'test/patient.yml',
128- 'test/partners.yml',
129- 'test/insurance_plan.yml',
130- 'test/insurance.yml',
131- 'test/physician_speciality.yml'
132+
133 ],
134 'css': [
135
136@@ -163,6 +72,6 @@
137
138 ],
139 "active": False,
140- "installable": False,
141+ "installable": True,
142 }
143 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
144
145=== added file 'oemedical_lifestyle/oemedical_menu.xml'
146--- oemedical_lifestyle/oemedical_menu.xml 1970-01-01 00:00:00 +0000
147+++ oemedical_lifestyle/oemedical_menu.xml 2014-04-29 20:03:00 +0000
148@@ -0,0 +1,7 @@
149+<?xml version="1.0" encoding="UTF-8"?>
150+<openerp>
151+ <data>
152+
153+
154+ </data>
155+</openerp>
156
157=== modified file 'oemedical_lifestyle/security/ir.model.access.csv'
158--- oemedical_lifestyle/security/ir.model.access.csv 2014-01-15 10:20:02 +0000
159+++ oemedical_lifestyle/security/ir.model.access.csv 2014-04-29 20:03:00 +0000
160@@ -1,42 +1,1 @@
161 id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
162-access_oemedical_secondary_condition,model,model_oemedical_secondary_condition,group_oemedical_user,1,1,1,0
163-access_oemedical_pathology_category,model,model_oemedical_pathology_category,group_oemedical_user,1,1,1,0
164-access_oemedical_signs_and_symptoms,model,model_oemedical_signs_and_symptoms,group_oemedical_user,1,1,1,0
165-access_product_product,model,model_product_product,group_oemedical_user,1,1,1,0
166-access_oemedical_physician,model,model_oemedical_physician,group_oemedical_user,1,1,1,0
167-access_oemedical_directions,model,model_oemedical_directions,group_oemedical_user,1,1,1,0
168-access_oemedical_insurance,model,model_oemedical_insurance,group_oemedical_user,1,1,1,0
169-access_res_partner,model,model_res_partner,group_oemedical_user,1,1,1,0
170-access_oemedical_pathology,model,model_oemedical_pathology,group_oemedical_user,1,1,1,0
171-access_oemedical_operational_area,model,model_oemedical_operational_area,group_oemedical_user,1,1,1,0
172-access_oemedical_ethnicity,model,model_oemedical_ethnicity,group_oemedical_user,1,1,1,0
173-access_oemedical_operational_sector,model,model_oemedical_operational_sector,group_oemedical_user,1,1,1,0
174-access_oemedical_prescription_order,model,model_oemedical_prescription_order,group_oemedical_user,1,1,1,0
175-access_oemedical_medicament_category,model,model_oemedical_medicament_category,group_oemedical_user,1,1,1,0
176-access_oemedical_insurance_plan,model,model_oemedical_insurance_plan,group_oemedical_user,1,1,1,0
177-access_oemedical_diagnostic_hypothesis,model,model_oemedical_diagnostic_hypothesis,group_oemedical_user,1,1,1,0
178-access_oemedical_procedure,model,model_oemedical_procedure,group_oemedical_user,1,1,1,0
179-access_oemedical_medication_template,model,model_oemedical_medication_template,group_oemedical_user,1,1,1,0
180-access_oemedical_vaccination,model,model_oemedical_vaccination,group_oemedical_user,1,1,1,0
181-access_oemedical_medication_dosage,model,model_oemedical_medication_dosage,group_oemedical_user,1,1,1,0
182-access_oemedical_family_member,model,model_oemedical_family_member,group_oemedical_user,1,1,1,0
183-access_oemedical_hospital_ward,model,model_oemedical_hospital_ward,group_oemedical_user,1,1,1,0
184-access_oemedical_hospital_or,model,model_oemedical_hospital_or,group_oemedical_user,1,1,1,0
185-access_oemedical_drug_form,model,model_oemedical_drug_form,group_oemedical_user,1,1,1,0
186-access_oemedical_patient_medication,model,model_oemedical_patient_medication,group_oemedical_user,1,1,1,0
187-access_oemedical_patient_evaluation,model,model_oemedical_patient_evaluation,group_oemedical_user,1,1,1,0
188-access_oemedical_hospital_building,model,model_oemedical_hospital_building,group_oemedical_user,1,1,1,0
189-access_oemedical_patient,model,model_oemedical_patient,group_oemedical_user,1,1,1,0
190-access_oemedical_prescription_line,model,model_oemedical_prescription_line,group_oemedical_user,1,1,1,0
191-access_oemedical_patient_disease,model,model_oemedical_patient_disease,group_oemedical_user,1,1,1,0
192-access_oemedical_drug_route,model,model_oemedical_drug_route,group_oemedical_user,1,1,1,0
193-access_oemedical_hospital_unit,model,model_oemedical_hospital_unit,group_oemedical_user,1,1,1,0
194-access_oemedical_appointment_history,model,model_oemedical_appointment_history,group_oemedical_user,1,1,1,0
195-access_oemedical_appointment,model,model_oemedical_appointment,group_oemedical_user,1,1,1,0
196-access_oemedical_specialty,model,model_oemedical_specialty,group_oemedical_user,1,1,1,0
197-access_oemedical_family,model,model_oemedical_family,group_oemedical_user,1,1,1,0
198-access_oemedical_hospital_bed,model,model_oemedical_hospital_bed,group_oemedical_user,1,1,1,0
199-access_oemedical_occupation,model,model_oemedical_occupation,group_oemedical_user,1,1,1,0
200-access_oemedical_disease_group_members,model,model_oemedical_disease_group_members,group_oemedical_user,1,1,1,0
201-access_oemedical_medicament,model,model_oemedical_medicament,group_oemedical_user,1,1,1,0
202-access_oemedical_pathology_group,model,model_oemedical_pathology_group,group_oemedical_user,1,1,1,0
203
204=== added file 'oemedical_lifestyle/security/oemedical_security.xml'
205--- oemedical_lifestyle/security/oemedical_security.xml 1970-01-01 00:00:00 +0000
206+++ oemedical_lifestyle/security/oemedical_security.xml 2014-04-29 20:03:00 +0000
207@@ -0,0 +1,15 @@
208+<?xml version="1.0" encoding="utf-8"?>
209+<openerp>
210+<data noupdate="0">
211+
212+ <record id="group_oemedical_lifestyle" model="res.groups">
213+ <field name="name">OEMedical Lifestyle</field>
214+ <field name="category_id" ref="base.module_category_accounting_and_finance"/>
215+ <field name="users" eval="[(4, ref('base.user_root'))]"/>
216+ <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
217+ </record>
218+
219+</data>
220+
221+
222+</openerp>
223
224=== modified file 'oemedical_lifestyle/views/oemedical_lifestyle_view.xml'
225--- oemedical_lifestyle/views/oemedical_lifestyle_view.xml 2014-01-15 10:20:02 +0000
226+++ oemedical_lifestyle/views/oemedical_lifestyle_view.xml 2014-04-29 20:03:00 +0000
227@@ -9,7 +9,7 @@
228 <field name="type">form</field>
229 <field name="arch" type="xml">
230 <data>
231- <xpath expr="//notebook/page[@string='Misc']" position="before">
232+ <xpath expr="//notebook/page[@string='General Information']" position="after">
233 <page string="Lifestyle" id="patient_lifestyle">
234 <notebook>
235 <page string="Diet and Exersice" id="diet_and_exercise">
236
237=== removed file 'prescription_order.rml'
238--- prescription_order.rml 2014-01-15 10:20:02 +0000
239+++ prescription_order.rml 1970-01-01 00:00:00 +0000
240@@ -1,279 +0,0 @@
241-<?xml version="1.0"?>
242-<document filename="Purchase Order.pdf">
243- <template title="Purchase Order" author="OpenERP S.A.(sales@openerp.com)" allowSplitting="20">
244- <pageTemplate id="first">
245- <frame id="first" x1="18.0" y1="22.0" width="535" height="770"/>
246- </pageTemplate>
247- </template>
248- <stylesheet>
249- <blockTableStyle id="Standard_Outline">
250- <blockAlignment value="LEFT"/>
251- <blockValign value="TOP"/>
252- </blockTableStyle>
253- <blockTableStyle id="Tableau1">
254- <blockAlignment value="LEFT"/>
255- <blockValign value="TOP"/>
256- </blockTableStyle>
257- <blockTableStyle id="Tableau2">
258- <blockAlignment value="LEFT"/>
259- <blockValign value="TOP"/>
260- </blockTableStyle>
261- <blockTableStyle id="Header_Order_Reference_Tbl">
262- <blockAlignment value="LEFT"/>
263- <blockValign value="TOP"/>
264- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="0,0" stop="0,-1"/>
265- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="0,0" stop="0,0"/>
266- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
267- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="1,0" stop="1,-1"/>
268- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="1,0" stop="1,0"/>
269- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
270- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
271- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
272- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
273- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
274- <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
275- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
276- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
277- </blockTableStyle>
278- <blockTableStyle id="Content_Order_Reference_Table">
279- <blockAlignment value="LEFT"/>
280- <blockValign value="TOP"/>
281- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="0,0" stop="0,-1"/>
282- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="0,0" stop="0,0"/>
283- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
284- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="1,0" stop="1,-1"/>
285- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="1,0" stop="1,0"/>
286- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
287- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
288- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
289- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
290- <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
291- <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
292- <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
293- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
294- </blockTableStyle>
295- <blockTableStyle id="Table_Header_Pur_ord_Line">
296- <blockAlignment value="LEFT"/>
297- <blockValign value="TOP"/>
298- <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
299- <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
300- <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
301- <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
302- <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
303- <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
304- </blockTableStyle>
305- <blockTableStyle id="Table_Order_Pur_line_Content">
306- <blockAlignment value="LEFT"/>
307- <blockValign value="TOP"/>
308- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
309- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
310- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
311- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
312- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="4,-1" stop="4,-1"/>
313- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="5,-1" stop="5,-1"/>
314- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
315- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
316- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
317- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
318- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="4,-1" stop="4,-1"/>
319- <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="5,-1" stop="5,-1"/>
320- </blockTableStyle>
321- <blockTableStyle id="Table_All_Total_Detail">
322- <blockAlignment value="LEFT"/>
323- <blockValign value="TOP"/>
324- <lineStyle kind="LINEABOVE" colorName="#ffffff" start="0,0" stop="0,0"/>
325- <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
326- <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
327- <lineStyle kind="LINEABOVE" colorName="#000000" start="1,2" stop="1,2"/>
328- <lineStyle kind="LINEABOVE" colorName="#000000" start="2,2" stop="2,2"/>
329- </blockTableStyle>
330- <blockTableStyle id="Table_Outer_Notes">
331- <blockAlignment value="LEFT"/>
332- <blockValign value="TOP"/>
333- </blockTableStyle>
334- <initialize>
335- <paraStyle name="all" alignment="justify"/>
336- </initialize>
337- <paraStyle name="P1" fontName="Times-Roman" alignment="RIGHT"/>
338- <paraStyle name="P2" fontName="Times-Roman" fontSize="8.0" leading="10"/>
339- <paraStyle name="P3" fontName="Helvetica" fontSize="8.0" leading="10"/>
340- <paraStyle name="P4" fontName="Helvetica" fontSize="10.0" leading="13"/>
341- <paraStyle name="P5" fontName="Times-Roman"/>
342- <paraStyle name="P6" fontName="Times-Roman" alignment="RIGHT"/>
343- <paraStyle name="P6l" fontName="Times-Roman" fontSize="6.0" leading="8" rightIndent="0.0" alignment="LEFT"/>
344- <paraStyle name="P6a" fontName="Times-Roman" fontSize="6.0" leading="8" alignment="LEFT"/>
345- <paraStyle name="P7a" fontName="Times-Roman" fontSize="8.0" leading="8" alignment="LEFT"/>
346- <paraStyle name="P7bl" fontName="Times-Roman" fontSize="8.0" leftIndent="0.0" leading="8" alignment="LEFT"/>
347- <paraStyle name="P7bc" fontName="Times-Bold" fontSize="8.0" leading="8" alignment="CENTER"/>
348- <paraStyle name="P7c" fontName="Times-Roman" fontSize="7.0" leading="8" alignment="CENTER"/>
349- <paraStyle name="P7l" fontName="Times-Roman" fontSize="7.0" leading="7" rightIndent="0.0" alignment="LEFT"/>
350- <paraStyle name="P7r" fontName="Times-Roman" fontSize="7.0" leading="8" rightIndent="0.0" alignment="RIGHT"/>
351- <paraStyle name="P7" fontName="Times-Roman"/>
352- <paraStyle name="P8" fontName="Helvetica" fontSize="12.0" leading="15"/>
353- <paraStyle name="P8a" fontName="Times-Roman" fontSize="8.0" leading="8" alignment="LEFT"/>
354- <paraStyle name="P9" fontName="Helvetica" fontSize="2.0" leading="3"/>
355- <paraStyle name="P9l" fontName="Times-Roman" fontSize="9.0" leading="8" alignment="LEFT"/>
356- <paraStyle name="P9r" fontName="Times-Roman" fontSize="9.0" leading="8" alignment="RIGHT"/>
357- <paraStyle name="P10" fontName="Times-Bold" fontSize="6.0" leading="8" alignment="CENTER"/>
358- <paraStyle name="P11" fontName="Times-Roman" fontSize="6.0" leading="8" alignment="CENTER"/>
359- <paraStyle name="P11l" fontName="Times-Roman" fontSize="11.0" leading="7" rightIndent="0.0" alignment="LEFT"/>
360- <paraStyle name="P12" fontName="Times-Roman" fontSize="6.0" leading="8" alignment="CENTER"/>
361- <paraStyle name="P12r" fontName="Times-Roman" fontSize="12.0" leading="12" rightIndent="0.1" alignment="RIGHT"/>
362- <paraStyle name="P12l" fontName="Times-Roman" fontSize="12.0" leading="12" rightIndent="0.0" alignment="LEFT"/>
363- <paraStyle name="Standard" fontName="Helvetica"/>
364- <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
365- <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
366- <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
367- <paraStyle name="Table Contents" fontName="Helvetica"/>
368- <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
369- <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
370- <paraStyle name="Index" fontName="Helvetica"/>
371- <paraStyle name="Footer" fontName="Helvetica"/>
372- <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
373- <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
374- <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
375- <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
376- <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
377- <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
378- <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
379- <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
380- <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
381- <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
382- <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
383- <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
384- <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
385- <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
386- <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
387- <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
388- <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
389- <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
390- <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
391- <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
392- <paraStyle name="terp_default_Bold_9_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
393- <paraStyle name="terp_default_8_Italic" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
394- <paraStyle name="terp_default_2" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
395- <images/>
396- </stylesheet>
397- <story>
398- <pto>
399- <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
400-
401- <blockTable colWidths="292.0,272.0,20.0" >
402- <tr>
403- <td>
404- </td>
405- <td>
406- <para style="P12r">Fecha [[ formatLang(o.prescription_date,date = True) ]]</para>
407- </td>
408- <td>
409- </td>
410- </tr>
411- <tr>
412- <td>
413- </td>
414- <td>
415- <para style="P6">
416- <font color="white"> </font>
417- </para>
418- <para style="P6">
419- <font color="white"> </font>
420- </para>
421- <para style="P12l">Paciente: [[ o.patient_id.name ]]</para>
422- </td>
423- <td>
424- </td>
425- </tr>
426- </blockTable>
427- <section>
428- <para style="terp_default_1">[[ repeatIn(o.prescription_line,'pres_line') ]]</para>
429- <blockTable colWidths="292.0,270.0,20.0" >
430- <tr>
431- <td>
432- <para style="P7l"> </para>
433- </td>
434- <td>
435- <para style="P12l">Medicamento: [[ (pres_line.template.medicament_id.product_id.name) or '' ]]</para>
436- <para style="P12l">Nombre Generico: [[ (pres_line.template.medicament_id.active_component) or '' ]]</para>
437- </td>
438- <td>
439- <para style="P7l"> </para>
440- </td>
441- </tr>
442- <tr>
443- <td>
444- <para style="P7l"> </para>
445- </td>
446- <td>
447- <para style="P11l">Dosis: [[ (pres_line.dose) or '0' ]] [[ (pres_line.dose_unit.name) or '0' ]] [[ pres_line.duration ]] [[ pres_line.duration_period ]] - Frecuencia: [[ (pres_line.frequency) or '0' ]] ( [[ (pres_line.admin_times) ]] ) </para>
448- </td>
449- <td>
450- <para style="P7l"> </para>
451- </td>
452- </tr>
453- </blockTable>
454- </section>
455- <blockTable colWidths="292.0,272.0,20.0" >
456- <tr>
457- <td>
458- </td>
459- <td>
460- <para style="P6">
461- <font color="white"> </font>
462- </para>
463- <para style="P6">
464- <font color="white"> </font>
465- </para>
466- <para style="P6">
467- <font color="white"> </font>
468- </para>
469- <para style="P6">
470- <font color="white"> </font>
471- </para>
472- </td>
473- <td>
474- </td>
475- </tr>
476- <tr>
477- <td>
478- </td>
479- <td>
480- <para style="P6">
481- <font color="white"> </font>
482- </para>
483- <para style="P6">
484- <font color="white"> </font>
485- </para>
486- <para style="P6">
487- <font color="white"> </font>
488- </para>
489- <para style="P6">
490- <font color="white"> </font>
491- </para>
492- </td>
493- <td>
494- </td>
495- </tr>
496- <tr>
497- <td>
498- </td>
499- <td>
500-
501- <para style="P6">
502- <font color="white"> </font>
503- </para>
504- <para style="P12l">[[ o.physician_id.name ]]</para>
505-
506- </td>
507- <td>
508- </td>
509- </tr>
510- </blockTable>
511-
512-
513-
514- <para style="terp_default_9">
515- <font color="white"> </font>
516- </para>
517- </pto>
518- </story>
519-</document>