← Back to team overview

openerp-community-reviewer team mailing list archive

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

 

Federico Manuel Echeverri Choux has proposed merging lp:~echeverrifm/oemedical/oemedical_lifestyle into lp:oemedical.

Requested reviews:
  OEmedical Commiter (oemedical-commiter)

For more details, see:
https://code.launchpad.net/~echeverrifm/oemedical/oemedical_lifestyle/+merge/205518

Improve oemedical Lifestyle 

-  Problems with instalation
-  Security file and group for lifestyle
-  Fix inherit page of view patient
-- 
https://code.launchpad.net/~echeverrifm/oemedical/oemedical_lifestyle/+merge/205518
Your team OEmedical Commiter is requested to review the proposed merge of lp:~echeverrifm/oemedical/oemedical_lifestyle into lp:oemedical.
=== modified file 'oemedical_lifestyle/__openerp__.py'
--- oemedical_lifestyle/__openerp__.py	2014-01-15 10:20:02 +0000
+++ oemedical_lifestyle/__openerp__.py	2014-02-10 03:40:10 +0000
@@ -34,110 +34,25 @@
 ##############################################################################
 {
 
-    'name': 'OeMedical : Free Health and Hospital Information System',
+    'name': '''OeMedical : LifeStyle Module -
+            Free Health and Hospital Information System
+            ''',
     'version': '1.0',
     'author': "OeMEdical Team",
     'category': 'Generic Modules/Others',
-    'depends': ['base', 'sale', 'purchase', 'account', 'product'],
+    'depends': ['base', 'oemedical'],
     'application': True,
     'description': """
 
-About OeMedical
----------------
-
-OeMedical is a multi-user, highly scalable, centralized Electronic
-Medical Record (EMR) and Hospital Information System for openERP.
-
-OeMedical provides a free universal Health and Hospital Information System,
-so doctors and institutions all over the world,
-specially in developing countries will benefit from a centralized,
-high quality, secure and scalable system.
-
-OeMedical at a glance:
-
-    * Strong focus in family medicine and Primary Health Care
-    
-    * Major interest in Socio-economics (housing conditions, substance abuse,
-    education...)
-    
-    * Diseases and Medical procedures standards (like ICD-10 / ICD-10-PCS ...)
-    
-    * Patient Genetic and Hereditary risks : Over 4200 genes related to
-    diseases (NCBI / Genecards)
-    
-    * Epidemiological and other statistical reports
-    
-    * 100% paperless patient examination and history taking
-    
-    * Patient Administration 
-    (creation, evaluations / consultations, history ... )
-    
-    * Doctor Administration
-    
-    * Lab Administration
-    
-    * Medicine / Drugs information (vademécum)
-    
-    * Medical stock and supply chain management
-    
-    * Hospital Financial Administration
-    
-    * Designed with industry standards in mind
-    
-    * Open Source : Licensed under AGPL
+About OeMedical life style
+--------------------------
+
     
 """,
     "website": "http://launchpad.net/oemedical";,
     "licence": "AGPL v3",
     "data": [
-        'sequence/oemedical_sequence.xml',
-        'views/oemedical_secondary_condition_view.xml',
-        'views/oemedical_pathology_category_view.xml',
-        'views/oemedical_signs_and_symptoms_view.xml',
-        'views/product_product_view.xml',
-        'views/oemedical_physician_view.xml',
-        'views/oemedical_directions_view.xml',
-        'views/oemedical_insurance_view.xml',
-        'views/res_partner_view.xml',
-        'views/oemedical_pathology_view.xml',
-        'views/oemedical_operational_area_view.xml',
-        'views/oemedical_ethnicity_view.xml',
-        'views/oemedical_operational_sector_view.xml',
-        'views/oemedical_prescription_order_view.xml',
-        'views/oemedical_medicament_category_view.xml',
-        'views/oemedical_insurance_plan_view.xml',
-        'views/oemedical_diagnostic_hypothesis_view.xml',
-        'views/oemedical_procedure_view.xml',
-        'views/oemedical_medication_template_view.xml',
-        'views/oemedical_vaccination_view.xml',
-        'views/oemedical_medication_dosage_view.xml',
-        'views/oemedical_family_member_view.xml',
-        'views/oemedical_hospital_ward_view.xml',
-        'views/oemedical_hospital_or_view.xml',
-        'views/oemedical_drug_form_view.xml',
-        'views/oemedical_patient_medication_view.xml',
-        'views/oemedical_patient_evaluation_view.xml',
-        'views/oemedical_hospital_building_view.xml',
-        'views/oemedical_patient_view.xml',
-        'views/oemedical_prescription_line_view.xml',
-        'views/oemedical_patient_disease_view.xml',
-        'views/oemedical_drug_route_view.xml',
-        'views/oemedical_hospital_unit_view.xml',
-        'views/oemedical_appointment_view.xml',
-        'views/oemedical_specialty_view.xml',
-        'views/oemedical_family_view.xml',
-        'views/oemedical_hospital_bed_view.xml',
-        'views/oemedical_occupation_view.xml',
-        'views/oemedical_disease_group_members_view.xml',
-        'views/oemedical_medicament_view.xml',
-        'views/oemedical_pathology_group_view.xml',
-        #'views/oemedical_gynecology_and_obstetrics_view.xml',   # view has errors, please correct before enabling....
-        #'views/oemedical_lifestyle_view.xml',
-        'views/data/recreational_drugs.xml',
-        #'views/oemedical_disease_gene_view.xml',  # view has errors, please correct before enabling....
-        'views/data/disease_genes.xml',
-        #'views/oemedical_socioeconomics_view.xml', # view has errors, please correct before enabling....
-        #'views/oemedical_lab_view.xml',  # view has errors, please correct before enabling....
+        'views/oemedical_lifestyle_view.xml',
         'security/oemedical_security.xml',
         'security/ir.model.access.csv',
         'oemedical_menu.xml',
@@ -146,12 +61,7 @@
 
     ],
     'test':[
-            'test/physician.yml',
-            'test/patient.yml',
-            'test/partners.yml',
-            'test/insurance_plan.yml',
-            'test/insurance.yml',
-            'test/physician_speciality.yml'
+
     ],
     'css': [
 
@@ -163,6 +73,6 @@
 
     ],
     "active": False,
-    "installable": False,
+    "installable": True,
 }
 # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:

=== added file 'oemedical_lifestyle/oemedical_menu.xml'
--- oemedical_lifestyle/oemedical_menu.xml	1970-01-01 00:00:00 +0000
+++ oemedical_lifestyle/oemedical_menu.xml	2014-02-10 03:40:10 +0000
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<openerp>
+	<data>
+
+
+	</data>
+</openerp>

=== modified file 'oemedical_lifestyle/security/ir.model.access.csv'
--- oemedical_lifestyle/security/ir.model.access.csv	2014-01-15 10:20:02 +0000
+++ oemedical_lifestyle/security/ir.model.access.csv	2014-02-10 03:40:10 +0000
@@ -1,42 +1,1 @@
 id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
-access_oemedical_secondary_condition,model,model_oemedical_secondary_condition,group_oemedical_user,1,1,1,0
-access_oemedical_pathology_category,model,model_oemedical_pathology_category,group_oemedical_user,1,1,1,0
-access_oemedical_signs_and_symptoms,model,model_oemedical_signs_and_symptoms,group_oemedical_user,1,1,1,0
-access_product_product,model,model_product_product,group_oemedical_user,1,1,1,0
-access_oemedical_physician,model,model_oemedical_physician,group_oemedical_user,1,1,1,0
-access_oemedical_directions,model,model_oemedical_directions,group_oemedical_user,1,1,1,0
-access_oemedical_insurance,model,model_oemedical_insurance,group_oemedical_user,1,1,1,0
-access_res_partner,model,model_res_partner,group_oemedical_user,1,1,1,0
-access_oemedical_pathology,model,model_oemedical_pathology,group_oemedical_user,1,1,1,0
-access_oemedical_operational_area,model,model_oemedical_operational_area,group_oemedical_user,1,1,1,0
-access_oemedical_ethnicity,model,model_oemedical_ethnicity,group_oemedical_user,1,1,1,0
-access_oemedical_operational_sector,model,model_oemedical_operational_sector,group_oemedical_user,1,1,1,0
-access_oemedical_prescription_order,model,model_oemedical_prescription_order,group_oemedical_user,1,1,1,0
-access_oemedical_medicament_category,model,model_oemedical_medicament_category,group_oemedical_user,1,1,1,0
-access_oemedical_insurance_plan,model,model_oemedical_insurance_plan,group_oemedical_user,1,1,1,0
-access_oemedical_diagnostic_hypothesis,model,model_oemedical_diagnostic_hypothesis,group_oemedical_user,1,1,1,0
-access_oemedical_procedure,model,model_oemedical_procedure,group_oemedical_user,1,1,1,0
-access_oemedical_medication_template,model,model_oemedical_medication_template,group_oemedical_user,1,1,1,0
-access_oemedical_vaccination,model,model_oemedical_vaccination,group_oemedical_user,1,1,1,0
-access_oemedical_medication_dosage,model,model_oemedical_medication_dosage,group_oemedical_user,1,1,1,0
-access_oemedical_family_member,model,model_oemedical_family_member,group_oemedical_user,1,1,1,0
-access_oemedical_hospital_ward,model,model_oemedical_hospital_ward,group_oemedical_user,1,1,1,0
-access_oemedical_hospital_or,model,model_oemedical_hospital_or,group_oemedical_user,1,1,1,0
-access_oemedical_drug_form,model,model_oemedical_drug_form,group_oemedical_user,1,1,1,0
-access_oemedical_patient_medication,model,model_oemedical_patient_medication,group_oemedical_user,1,1,1,0
-access_oemedical_patient_evaluation,model,model_oemedical_patient_evaluation,group_oemedical_user,1,1,1,0
-access_oemedical_hospital_building,model,model_oemedical_hospital_building,group_oemedical_user,1,1,1,0
-access_oemedical_patient,model,model_oemedical_patient,group_oemedical_user,1,1,1,0
-access_oemedical_prescription_line,model,model_oemedical_prescription_line,group_oemedical_user,1,1,1,0
-access_oemedical_patient_disease,model,model_oemedical_patient_disease,group_oemedical_user,1,1,1,0
-access_oemedical_drug_route,model,model_oemedical_drug_route,group_oemedical_user,1,1,1,0
-access_oemedical_hospital_unit,model,model_oemedical_hospital_unit,group_oemedical_user,1,1,1,0
-access_oemedical_appointment_history,model,model_oemedical_appointment_history,group_oemedical_user,1,1,1,0
-access_oemedical_appointment,model,model_oemedical_appointment,group_oemedical_user,1,1,1,0
-access_oemedical_specialty,model,model_oemedical_specialty,group_oemedical_user,1,1,1,0
-access_oemedical_family,model,model_oemedical_family,group_oemedical_user,1,1,1,0
-access_oemedical_hospital_bed,model,model_oemedical_hospital_bed,group_oemedical_user,1,1,1,0
-access_oemedical_occupation,model,model_oemedical_occupation,group_oemedical_user,1,1,1,0
-access_oemedical_disease_group_members,model,model_oemedical_disease_group_members,group_oemedical_user,1,1,1,0
-access_oemedical_medicament,model,model_oemedical_medicament,group_oemedical_user,1,1,1,0
-access_oemedical_pathology_group,model,model_oemedical_pathology_group,group_oemedical_user,1,1,1,0

=== added file 'oemedical_lifestyle/security/oemedical_security.xml'
--- oemedical_lifestyle/security/oemedical_security.xml	1970-01-01 00:00:00 +0000
+++ oemedical_lifestyle/security/oemedical_security.xml	2014-02-10 03:40:10 +0000
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data noupdate="0">
+
+    <record id="group_oemedical_lifestyle" model="res.groups">
+        <field name="name">OEMedical Lifestyle</field>
+        <field name="category_id" ref="base.module_category_accounting_and_finance"/>
+        <field name="users" eval="[(4, ref('base.user_root'))]"/>
+        <field name="implied_ids" eval="[(4, ref('base.group_user'))]"/>
+    </record>
+
+</data>
+
+
+</openerp>

=== modified file 'oemedical_lifestyle/views/oemedical_lifestyle_view.xml'
--- oemedical_lifestyle/views/oemedical_lifestyle_view.xml	2014-01-15 10:20:02 +0000
+++ oemedical_lifestyle/views/oemedical_lifestyle_view.xml	2014-02-10 03:40:10 +0000
@@ -9,7 +9,7 @@
             <field name="type">form</field>
             <field name="arch" type="xml">
                 <data>
-                    <xpath expr="//notebook/page[@string='Misc']" position="before">
+                    <xpath expr="//notebook/page[@string='General Information']" position="after">
                         <page string="Lifestyle" id="patient_lifestyle">
                             <notebook>
                                 <page string="Diet and Exersice" id="diet_and_exercise">

=== removed file 'prescription_order.rml'
--- prescription_order.rml	2014-01-15 10:20:02 +0000
+++ prescription_order.rml	1970-01-01 00:00:00 +0000
@@ -1,279 +0,0 @@
-<?xml version="1.0"?>
-<document filename="Purchase Order.pdf">
-  <template title="Purchase Order" author="OpenERP S.A.(sales@xxxxxxxxxxx)" allowSplitting="20">
-    <pageTemplate id="first">
-      <frame id="first" x1="18.0" y1="22.0" width="535" height="770"/>
-    </pageTemplate>
-  </template>
-  <stylesheet>
-    <blockTableStyle id="Standard_Outline">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-    </blockTableStyle>
-    <blockTableStyle id="Tableau1">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-    </blockTableStyle>
-    <blockTableStyle id="Tableau2">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-    </blockTableStyle>
-    <blockTableStyle id="Header_Order_Reference_Tbl">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="0,0" stop="0,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="0,0" stop="0,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="1,0" stop="1,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="1,0" stop="1,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
-      <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
-    </blockTableStyle>
-    <blockTableStyle id="Content_Order_Reference_Table">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="0,0" stop="0,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="0,0" stop="0,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="1,0" stop="1,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="1,0" stop="1,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="2,0" stop="2,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="2,0" stop="2,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
-      <lineStyle kind="LINEBEFORE" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
-      <lineStyle kind="LINEAFTER" colorName="#e6e6e6" start="3,0" stop="3,-1"/>
-      <lineStyle kind="LINEABOVE" colorName="#e6e6e6" start="3,0" stop="3,0"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
-    </blockTableStyle>
-    <blockTableStyle id="Table_Header_Pur_ord_Line">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-      <lineStyle kind="LINEBELOW" colorName="#000000" start="0,-1" stop="0,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#000000" start="1,-1" stop="1,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#000000" start="2,-1" stop="2,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#000000" start="3,-1" stop="3,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#000000" start="4,-1" stop="4,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#000000" start="5,-1" stop="5,-1"/>
-    </blockTableStyle>
-    <blockTableStyle id="Table_Order_Pur_line_Content">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="4,-1" stop="4,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="5,-1" stop="5,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="0,-1" stop="0,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="1,-1" stop="1,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="2,-1" stop="2,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="3,-1" stop="3,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="4,-1" stop="4,-1"/>
-      <lineStyle kind="LINEBELOW" colorName="#e6e6e6" start="5,-1" stop="5,-1"/>
-    </blockTableStyle>
-    <blockTableStyle id="Table_All_Total_Detail">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-      <lineStyle kind="LINEABOVE" colorName="#ffffff" start="0,0" stop="0,0"/>
-      <lineStyle kind="LINEABOVE" colorName="#000000" start="1,0" stop="1,0"/>
-      <lineStyle kind="LINEABOVE" colorName="#000000" start="2,0" stop="2,0"/>
-      <lineStyle kind="LINEABOVE" colorName="#000000" start="1,2" stop="1,2"/>
-      <lineStyle kind="LINEABOVE" colorName="#000000" start="2,2" stop="2,2"/>
-    </blockTableStyle>
-    <blockTableStyle id="Table_Outer_Notes">
-      <blockAlignment value="LEFT"/>
-      <blockValign value="TOP"/>
-    </blockTableStyle>
-    <initialize>
-      <paraStyle name="all" alignment="justify"/>
-    </initialize>
-    <paraStyle name="P1" fontName="Times-Roman" alignment="RIGHT"/>
-    <paraStyle name="P2" fontName="Times-Roman" fontSize="8.0" leading="10"/>
-    <paraStyle name="P3" fontName="Helvetica" fontSize="8.0" leading="10"/>
-    <paraStyle name="P4" fontName="Helvetica" fontSize="10.0" leading="13"/>
-    <paraStyle name="P5" fontName="Times-Roman"/>
-    <paraStyle name="P6" fontName="Times-Roman" alignment="RIGHT"/>
-    <paraStyle name="P6l" fontName="Times-Roman" fontSize="6.0" leading="8" rightIndent="0.0" alignment="LEFT"/>
-    <paraStyle name="P6a" fontName="Times-Roman" fontSize="6.0" leading="8" alignment="LEFT"/>
-    <paraStyle name="P7a" fontName="Times-Roman" fontSize="8.0" leading="8" alignment="LEFT"/>
-    <paraStyle name="P7bl" fontName="Times-Roman" fontSize="8.0" leftIndent="0.0" leading="8" alignment="LEFT"/>
-    <paraStyle name="P7bc" fontName="Times-Bold" fontSize="8.0" leading="8" alignment="CENTER"/>
-    <paraStyle name="P7c" fontName="Times-Roman" fontSize="7.0" leading="8" alignment="CENTER"/>
-    <paraStyle name="P7l" fontName="Times-Roman" fontSize="7.0" leading="7" rightIndent="0.0" alignment="LEFT"/>
-    <paraStyle name="P7r" fontName="Times-Roman" fontSize="7.0" leading="8" rightIndent="0.0" alignment="RIGHT"/>
-    <paraStyle name="P7" fontName="Times-Roman"/>
-    <paraStyle name="P8" fontName="Helvetica" fontSize="12.0" leading="15"/>
-    <paraStyle name="P8a" fontName="Times-Roman" fontSize="8.0" leading="8" alignment="LEFT"/>
-    <paraStyle name="P9" fontName="Helvetica" fontSize="2.0" leading="3"/>
-    <paraStyle name="P9l" fontName="Times-Roman" fontSize="9.0" leading="8" alignment="LEFT"/>
-    <paraStyle name="P9r" fontName="Times-Roman" fontSize="9.0" leading="8" alignment="RIGHT"/>
-    <paraStyle name="P10" fontName="Times-Bold" fontSize="6.0" leading="8" alignment="CENTER"/>
-    <paraStyle name="P11" fontName="Times-Roman" fontSize="6.0" leading="8" alignment="CENTER"/>
-    <paraStyle name="P11l" fontName="Times-Roman" fontSize="11.0" leading="7" rightIndent="0.0" alignment="LEFT"/>
-    <paraStyle name="P12" fontName="Times-Roman" fontSize="6.0" leading="8" alignment="CENTER"/>
-    <paraStyle name="P12r" fontName="Times-Roman" fontSize="12.0" leading="12" rightIndent="0.1" alignment="RIGHT"/>
-    <paraStyle name="P12l" fontName="Times-Roman" fontSize="12.0" leading="12" rightIndent="0.0" alignment="LEFT"/>
-    <paraStyle name="Standard" fontName="Helvetica"/>
-    <paraStyle name="Text body" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
-    <paraStyle name="Heading" fontName="Helvetica" fontSize="14.0" leading="17" spaceBefore="12.0" spaceAfter="6.0"/>
-    <paraStyle name="List" fontName="Helvetica" spaceBefore="0.0" spaceAfter="6.0"/>
-    <paraStyle name="Table Contents" fontName="Helvetica"/>
-    <paraStyle name="Table Heading" fontName="Helvetica" alignment="CENTER"/>
-    <paraStyle name="Caption" fontName="Helvetica" fontSize="12.0" leading="15" spaceBefore="6.0" spaceAfter="6.0"/>
-    <paraStyle name="Index" fontName="Helvetica"/>
-    <paraStyle name="Footer" fontName="Helvetica"/>
-    <paraStyle name="Horizontal Line" fontName="Helvetica" fontSize="6.0" leading="8" spaceBefore="0.0" spaceAfter="14.0"/>
-    <paraStyle name="terp_header" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
-    <paraStyle name="Heading 9" fontName="Helvetica-Bold" fontSize="75%" leading="NaN" spaceBefore="12.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_tblheader_General" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_tblheader_Details" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="6.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_default_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_Bold_8" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_tblheader_General_Centre" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_tblheader_General_Right" fontName="Helvetica-Bold" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_tblheader_Details_Centre" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="6.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_tblheader_Details_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="6.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_default_Right_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_Centre_8" fontName="Helvetica" fontSize="8.0" leading="10" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_header_Right" fontName="Helvetica-Bold" fontSize="15.0" leading="19" alignment="LEFT" spaceBefore="12.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_header_Centre" fontName="Helvetica-Bold" fontSize="12.0" leading="15" alignment="CENTER" spaceBefore="12.0" spaceAfter="6.0"/>
-    <paraStyle name="terp_default_address" fontName="Helvetica" fontSize="10.0" leading="13" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_Bold_9" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_Centre_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="CENTER" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_Right_9" fontName="Helvetica" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_Bold_9_Right" fontName="Helvetica-Bold" fontSize="9.0" leading="11" alignment="RIGHT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_8_Italic" fontName="Helvetica-Oblique" fontSize="8.0" leading="10" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <paraStyle name="terp_default_2" fontName="Helvetica" fontSize="2.0" leading="3" alignment="LEFT" spaceBefore="0.0" spaceAfter="0.0"/>
-    <images/>
-  </stylesheet>
-  <story>
-  <pto>
-  <para style="terp_default_8">[[repeatIn(objects,'o')]]</para>
-
-    <blockTable colWidths="292.0,272.0,20.0" >
-      <tr>
-        <td>
-        </td>
-        <td>
-            <para style="P12r">Fecha [[ formatLang(o.prescription_date,date = True)  ]]</para>
-        </td>
-        <td>
-        </td>
-      </tr>
-      <tr>
-        <td>
-        </td>
-        <td>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P12l">Paciente: [[ o.patient_id.name ]]</para>
-        </td>
-        <td>
-        </td>
-      </tr>
-    </blockTable>
-    <section>
-      <para style="terp_default_1">[[ repeatIn(o.prescription_line,'pres_line') ]]</para>
-      <blockTable colWidths="292.0,270.0,20.0" >
-            <tr>
-                <td>
-                    <para style="P7l">  </para>
-                </td>
-                <td>
-                    <para style="P12l">Medicamento: [[ (pres_line.template.medicament_id.product_id.name) or '' ]]</para>
-                    <para style="P12l">Nombre Generico: [[ (pres_line.template.medicament_id.active_component) or '' ]]</para>
-                </td>
-                <td>
-                    <para style="P7l">  </para>
-                </td>
-            </tr>
-            <tr>
-                <td>
-                    <para style="P7l">  </para>
-                </td>
-                <td>
-                    <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>
-                </td>
-                <td>
-                    <para style="P7l">  </para>
-                </td>
-            </tr>
-      </blockTable>
-    </section>
-    <blockTable colWidths="292.0,272.0,20.0" >
-      <tr>
-        <td>
-        </td>
-        <td>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-        </td>
-        <td>
-        </td>
-      </tr>
-      <tr>
-        <td>
-        </td>
-        <td>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-        </td>
-        <td>
-        </td>
-      </tr>
-      <tr>
-        <td>
-        </td>
-        <td>
-
-            <para style="P6">
-                <font color="white"> </font>
-            </para>
-            <para style="P12l">[[ o.physician_id.name ]]</para>
-
-        </td>
-        <td>
-        </td>
-      </tr>
-    </blockTable>
-            
-
-
-    <para style="terp_default_9">
-      <font color="white"> </font>
-    </para>
-  </pto>
-  </story>
-</document>


Follow ups