← Back to team overview

openerp-community-reviewer team mailing list archive

[Merge] lp:~the-clone-master/oemedical/oemedical into lp:oemedical

 

Mario Arias has proposed merging lp:~the-clone-master/oemedical/oemedical into lp:oemedical.

Requested reviews:
  Nhomar - Vauxoo (nhomar)
  Pedro Manuel Baeza (pedro.baeza): code review, no test

For more details, see:
https://code.launchpad.net/~the-clone-master/oemedical/oemedical/+merge/193431

Modified python files to new 'from openerp import xxxx' standard

added basic oemedical security groups

oemedical_surgery clean-up - but still not integrated to oemedical:
  *Updated oemedical_surgery module filenames to oemedical naming convention
  *removed oemedical_surgery translation and security files, comming from original "medical" project

Patient and Physician models cleanup
 *Removed Patient SSN field as redundant: field 'ref' from partner already overwriten as SSN 
 *ref can not be a sequence in Patient\nRedundant photo field for patient as partner already has image field 
 *Physician and Patient made to inherit from User, in preparation to online web access to oemedical using new website CMS modules in trunk !
 *Please help with form layouts for Patient and Physician...  ;-)
-- 
https://code.launchpad.net/~the-clone-master/oemedical/oemedical/+merge/193431
Your team OEmedical Commiter is subscribed to branch lp:oemedical.
=== modified file 'oemedical/__openerp__.py'
--- oemedical/__openerp__.py	2013-09-23 18:29:30 +0000
+++ oemedical/__openerp__.py	2013-10-31 14:52:55 +0000
@@ -133,13 +133,14 @@
         'oemedical_disease_group_members_view.xml',
         'oemedical_medicament/oemedical_medicament_view.xml',
         'oemedical_pathology_group/oemedical_pathology_group_view.xml',
-        'oemedical_gynecology_and_obstetrics/oemedical_gynecology_and_obstetrics_view.xml',
-        'oemedical_lifestyle/oemedical_lifestyle_view.xml',
+        #'oemedical_gynecology_and_obstetrics/oemedical_gynecology_and_obstetrics_view.xml',   # view has errors, please correct before enabling....
+        #'oemedical_lifestyle/oemedical_lifestyle_view.xml',
         'oemedical_lifestyle/data/recreational_drugs.xml',
-        'oemedical_genetics/oemedical_disease_gene_view.xml',
+        #'oemedical_genetics/oemedical_disease_gene_view.xml',  # view has errors, please correct before enabling....
         'oemedical_genetics/data/disease_genes.xml',
-        'oemedical_socioeconomics/oemedical_socioeconomics_view.xml',
-        'oemedical_lab/oemedical_lab_view.xml',
+        #'oemedical_socioeconomics/oemedical_socioeconomics_view.xml', # view has errors, please correct before enabling....
+        #'oemedical_lab/oemedical_lab_view.xml',  # view has errors, please correct before enabling....
+        'security/oemedical_security.xml',
         'security/ir.model.access.csv',
         'oemedical_menu.xml',
     ],

=== modified file 'oemedical/oemedical_appointment/oemedical_appointment.py'
--- oemedical/oemedical_appointment/oemedical_appointment.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_appointment/oemedical_appointment.py	2013-10-31 14:52:55 +0000
@@ -19,15 +19,19 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
 import time
+from datetime import datetime
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalAppointment(osv.Model):
     _name = 'oemedical.appointment'
 
     _columns = {
+        'user_id': fields.many2one('res.users', 'Responsible', readonly=True, states={'draft':[('readonly',False)]}),
         'patient_id': fields.many2one('oemedical.patient', string='Patient',
                                    required=True, select=True,
                                    help='Patient Name'),
@@ -78,7 +82,8 @@
         'duration': fields.float('Duration'),
         'doctor': fields.many2one('oemedical.physician',
                                   string='Physician',select=True, 
-                                  help='Physician\'s Name'),
+                                  help='Physician\'s Name',
+                                  domain="[('is_doctor', '=', True)]"),
         'alias' : fields.char(size=256, string='Alias', ),
         'comments': fields.text(string='Comments'),
         'appointment_type': fields.selection([
@@ -88,12 +93,12 @@
         ], string='Type'),
         'institution': fields.many2one('res.partner',
                                        string='Health Center',
-                                       help='Medical Center'
-                                        , domain="[('category_id', '=', 'Doctor Office')]"),
+                                       help='Medical Center',
+                                       domain="[('is_institution', '=', True)]"),
         'consultations': fields.many2one('product.product',
                                          string='Consultation Services',
-                                          help='Consultation Services'
-                                        , domain="[('type', '=', 'service'), ]"),
+                                         help='Consultation Services',
+                                         domain="[('type', '=', 'service'), ]"),
         'urgency': fields.selection([
             ('a', 'Normal'),
             ('b', 'Urgent'),
@@ -121,14 +126,14 @@
         'duration': 30.00,
         'urgency': 'a',
         'state': 'draft',
-
+        'user_id': lambda s, cr, u, c: u,
                  }
 
     def create(self, cr, uid, vals, context=None):
         val_history = {}
         ait_obj = self.pool.get('oemedical.appointment.history')
-
-
+        date_time_str = vals['appointment_day']+' '+vals['appointment_hour']+':'+vals['appointment_minute']
+        vals['appointment_date'] = datetime.strptime(date_time_str, '%Y-%m-%d %H:%M')
 
         val_history['name'] = uid
         val_history['date'] = time.strftime('%Y-%m-%d %H:%M:%S')

=== modified file 'oemedical/oemedical_diagnostic_hypothesis/oemedical_diagnostic_hypothesis.py'
--- oemedical/oemedical_diagnostic_hypothesis/oemedical_diagnostic_hypothesis.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_diagnostic_hypothesis/oemedical_diagnostic_hypothesis.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalDiagnosticHypothesis(osv.Model):

=== modified file 'oemedical/oemedical_directions/oemedical_directions.py'
--- oemedical/oemedical_directions/oemedical_directions.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_directions/oemedical_directions.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalDirections(osv.Model):

=== modified file 'oemedical/oemedical_disease_group_members/oemedical_disease_group_members.py'
--- oemedical/oemedical_disease_group_members/oemedical_disease_group_members.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_disease_group_members/oemedical_disease_group_members.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalDiseaseGroupMembers(osv.Model):

=== modified file 'oemedical/oemedical_drug_form/oemedical_drug_form.py'
--- oemedical/oemedical_drug_form/oemedical_drug_form.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_drug_form/oemedical_drug_form.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalDrugForm(osv.Model):

=== modified file 'oemedical/oemedical_drug_route/oemedical_drug_route.py'
--- oemedical/oemedical_drug_route/oemedical_drug_route.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_drug_route/oemedical_drug_route.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalDrugRoute(osv.Model):

=== modified file 'oemedical/oemedical_ethnicity/oemedical_ethnicity.py'
--- oemedical/oemedical_ethnicity/oemedical_ethnicity.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_ethnicity/oemedical_ethnicity.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalEthnicity(osv.Model):

=== modified file 'oemedical/oemedical_family/oemedical_family.py'
--- oemedical/oemedical_family/oemedical_family.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_family/oemedical_family.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalFamily(osv.Model):

=== modified file 'oemedical/oemedical_family_member/oemedical_family_member.py'
--- oemedical/oemedical_family_member/oemedical_family_member.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_family_member/oemedical_family_member.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalFamilyMember(osv.Model):

=== modified file 'oemedical/oemedical_genetics/oemedical_disease_gene.py'
--- oemedical/oemedical_genetics/oemedical_disease_gene.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_genetics/oemedical_disease_gene.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalDiseaseGene(osv.osv):

=== modified file 'oemedical/oemedical_gynecology_and_obstetrics/oemedical_gynecology_and_obstetrics.py'
--- oemedical/oemedical_gynecology_and_obstetrics/oemedical_gynecology_and_obstetrics.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_gynecology_and_obstetrics/oemedical_gynecology_and_obstetrics.py	2013-10-31 14:52:55 +0000
@@ -20,8 +20,9 @@
 #
 #/#############################################################################
 
-from osv import osv
-from osv import fields
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+
 
 class PatientPregnancy(osv.Model):
     

=== modified file 'oemedical/oemedical_hospital_bed/oemedical_hospital_bed.py'
--- oemedical/oemedical_hospital_bed/oemedical_hospital_bed.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_hospital_bed/oemedical_hospital_bed.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalHospitalBed(osv.Model):

=== modified file 'oemedical/oemedical_hospital_building/oemedical_hospital_building.py'
--- oemedical/oemedical_hospital_building/oemedical_hospital_building.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_hospital_building/oemedical_hospital_building.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalHospitalBuilding(osv.Model):

=== modified file 'oemedical/oemedical_hospital_or/oemedical_hospital_or.py'
--- oemedical/oemedical_hospital_or/oemedical_hospital_or.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_hospital_or/oemedical_hospital_or.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalHospitalOr(osv.Model):

=== modified file 'oemedical/oemedical_hospital_unit/oemedical_hospital_unit.py'
--- oemedical/oemedical_hospital_unit/oemedical_hospital_unit.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_hospital_unit/oemedical_hospital_unit.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalHospitalUnit(osv.Model):

=== modified file 'oemedical/oemedical_hospital_ward/oemedical_hospital_ward.py'
--- oemedical/oemedical_hospital_ward/oemedical_hospital_ward.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_hospital_ward/oemedical_hospital_ward.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalHospitalWard(osv.Model):

=== modified file 'oemedical/oemedical_insurance/oemedical_insurance.py'
--- oemedical/oemedical_insurance/oemedical_insurance.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_insurance/oemedical_insurance.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalInsurance(osv.Model):

=== modified file 'oemedical/oemedical_insurance_plan/oemedical_insurance_plan.py'
--- oemedical/oemedical_insurance_plan/oemedical_insurance_plan.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_insurance_plan/oemedical_insurance_plan.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalInsurancePlan(osv.Model):

=== modified file 'oemedical/oemedical_invoice/medical_invoice.py'
--- oemedical/oemedical_invoice/medical_invoice.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_invoice/medical_invoice.py	2013-10-31 14:52:55 +0000
@@ -20,8 +20,9 @@
 #
 ##############################################################################
 
-from osv import fields, osv
-from tools.translate import _
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+
 from mx import DateTime
 import datetime
 

=== modified file 'oemedical/oemedical_invoice/wizard/wizard_appointment_invoice.py'
--- oemedical/oemedical_invoice/wizard/wizard_appointment_invoice.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_invoice/wizard/wizard_appointment_invoice.py	2013-10-31 14:52:55 +0000
@@ -22,9 +22,8 @@
 
 import logging
 
-from osv import fields, osv
-import pooler
-from tools.translate import _
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 logging.basicConfig(level=logging.DEBUG)
 

=== modified file 'oemedical/oemedical_invoice/wizard/wizard_create_lab_invoice.py'
--- oemedical/oemedical_invoice/wizard/wizard_create_lab_invoice.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_invoice/wizard/wizard_create_lab_invoice.py	2013-10-31 14:52:55 +0000
@@ -21,12 +21,12 @@
 ##############################################################################
 
 import logging
-
-from osv import fields, osv
 import pooler
-from tools.translate import _
 import sys
 
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+
 logging.basicConfig(level=logging.DEBUG)
 
 class create_test_invoice(osv.osv_memory):

=== modified file 'oemedical/oemedical_invoice/wizard/wizard_prescription_invoice.py'
--- oemedical/oemedical_invoice/wizard/wizard_prescription_invoice.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_invoice/wizard/wizard_prescription_invoice.py	2013-10-31 14:52:55 +0000
@@ -22,10 +22,8 @@
 
 import logging
 
-from osv import fields, osv
-import pooler
-from tools.translate import _
-
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 logging.basicConfig(level=logging.DEBUG)
 

=== modified file 'oemedical/oemedical_lab/oemedical_lab.py'
--- oemedical/oemedical_lab/oemedical_lab.py	2013-09-23 18:55:14 +0000
+++ oemedical/oemedical_lab/oemedical_lab.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 import time
 from mx import DateTime
 import datetime
-from osv import fields, osv
-from tools.translate import _
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 # Add Lab test information to the Patient object
 

=== modified file 'oemedical/oemedical_lifestyle/oemedical_lifestyle.py'
--- oemedical/oemedical_lifestyle/oemedical_lifestyle.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_lifestyle/oemedical_lifestyle.py	2013-10-31 14:52:55 +0000
@@ -20,8 +20,9 @@
 #
 #/#############################################################################
 
-from osv import osv
-from osv import fields
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+
 
 class DrugsRecreational(osv.Model):
     

=== modified file 'oemedical/oemedical_medicament/oemedical_medicament.py'
--- oemedical/oemedical_medicament/oemedical_medicament.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_medicament/oemedical_medicament.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalMedicament(osv.Model):

=== modified file 'oemedical/oemedical_medicament_category/oemedical_medicament_category.py'
--- oemedical/oemedical_medicament_category/oemedical_medicament_category.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_medicament_category/oemedical_medicament_category.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalMedicamentCategory(osv.Model):

=== modified file 'oemedical/oemedical_medication_dosage/oemedical_medication_dosage.py'
--- oemedical/oemedical_medication_dosage/oemedical_medication_dosage.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_medication_dosage/oemedical_medication_dosage.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalMedicationDosage(osv.Model):

=== modified file 'oemedical/oemedical_medication_template/oemedical_medication_template.py'
--- oemedical/oemedical_medication_template/oemedical_medication_template.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_medication_template/oemedical_medication_template.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalMedicationTemplate(osv.Model):

=== modified file 'oemedical/oemedical_occupation/oemedical_occupation.py'
--- oemedical/oemedical_occupation/oemedical_occupation.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_occupation/oemedical_occupation.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalOccupation(osv.Model):

=== modified file 'oemedical/oemedical_operational_area/oemedical_operational_area.py'
--- oemedical/oemedical_operational_area/oemedical_operational_area.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_operational_area/oemedical_operational_area.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalOperationalArea(osv.Model):

=== modified file 'oemedical/oemedical_operational_sector/oemedical_operational_sector.py'
--- oemedical/oemedical_operational_sector/oemedical_operational_sector.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_operational_sector/oemedical_operational_sector.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalOperationalSector(osv.Model):

=== modified file 'oemedical/oemedical_pathology/oemedical_pathology.py'
--- oemedical/oemedical_pathology/oemedical_pathology.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_pathology/oemedical_pathology.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPathology(osv.Model):

=== modified file 'oemedical/oemedical_pathology_category/oemedical_pathology_category.py'
--- oemedical/oemedical_pathology_category/oemedical_pathology_category.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_pathology_category/oemedical_pathology_category.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPathologyCategory(osv.Model):

=== modified file 'oemedical/oemedical_pathology_group/oemedical_pathology_group.py'
--- oemedical/oemedical_pathology_group/oemedical_pathology_group.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_pathology_group/oemedical_pathology_group.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPathologyGroup(osv.Model):

=== modified file 'oemedical/oemedical_patient/oemedical_patient.py'
--- oemedical/oemedical_patient/oemedical_patient.py	2013-09-09 22:55:15 +0000
+++ oemedical/oemedical_patient/oemedical_patient.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,10 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+
 from dateutil.relativedelta import relativedelta
 from datetime import datetime
 
@@ -28,23 +30,9 @@
 class OeMedicalPatient(osv.Model):
     _name='oemedical.patient'
     _inherits={
-        'res.partner': 'partner_id',
+        'res.users': 'partner_id',
     }
 
-    def onchange_name(self, cr, uid, ids, first_name, lastname, slastname, context=None):
-        if first_name == False:
-            first_name = ''
-        if lastname == False:
-            lastname = ''
-        if slastname == False:
-            slastname = ''
-
-        res = {}
-        res = {'value': { 
-                        'name' : first_name + ' ' + lastname + ' ' + slastname
-                         } }
-        return res
-
     def _get_age(self, cr, uid, ids, field_name, arg, context=None):
         res = {}
         age = ''
@@ -76,13 +64,9 @@
 
     _columns={
         'partner_id': fields.many2one(
-            'res.partner', 'Related Partner', required=True,
+            'res.users', 'Related User', required=True,
             ondelete='cascade', help='Partner-related data of the patient'),
-        'first_name': fields.char(size=256, string='Name', required=True),
-        'lastname': fields.char(size=256, string='Lastname', required=True),    
-        'slastname': fields.char(size=256, string='Second Lastname',),
         'family': fields.many2one('oemedical.family', string='Family', help='Family Code'),
-        'photo': fields.binary(string='Picture'),
         'sex': fields.selection([('m', 'Male'), ('f', 'Female'), ], string='Sex', required=True),
         'blood_type': fields.selection([
                                         ('A', 'A'), 
@@ -100,7 +84,6 @@
         'critical_info': fields.text( string='Important disease, allergy or procedures information', help='Write any important information on the patient\'s disease, surgeries, allergies, ...'),
         'diseases': fields.one2many('oemedical.patient.disease', 'patient_id', string='Diseases', help='Mark if the patient has died'),
         'ethnic_group': fields.many2one('oemedical.ethnicity', string='Ethnic group',),
-        'ssn': fields.char(size=256, string='SSN',),
         'vaccinations': fields.one2many('oemedical.vaccination', 'patient_id', 'Vaccinations',),
         'dob': fields.date(string='DoB'),
         'age': fields.function(_get_age, type='char', string='Age', help="It shows the age of the patient in years(y), months(m) and days(d).\nIf the patient has died, the age shown is the age at time of death, the age corresponding to the date on the death certificate. It will show also \"deceased\" on the field", multi=False),
@@ -118,11 +101,6 @@
         'deceased': fields.boolean(string='Deceased'),
     }
     
-    _defaults={
-         'ref': lambda obj, cr, uid, context: 
-                obj.pool.get('ir.sequence').get(cr, uid, 'oemedical.patient'),
-                 }
-
     def create(self, cr, uid, vals, context=None):
         sequence = unicode (self.pool.get('ir.sequence').get(cr, uid, 'oemedical.patient'))
         vals['identification_code'] = sequence

=== modified file 'oemedical/oemedical_patient/oemedical_patient_view.xml'
--- oemedical/oemedical_patient/oemedical_patient_view.xml	2013-09-22 21:37:07 +0000
+++ oemedical/oemedical_patient/oemedical_patient_view.xml	2013-10-31 14:52:55 +0000
@@ -8,8 +8,8 @@
  			<field name="arch" type="xml"> 
  				<tree string="Oemedical Patient"> 
  					<field name="name" />
-<!-- 					<field name="lastname" />-->
- 					<field name="ssn" /> 
+ 					<field name="lastname" />
+ 					<field name="ref" /> 
  					<field name="identification_code" /> 
  					<field name="age" />
  					<field name="sex" /> 
@@ -25,25 +25,22 @@
  			 <form string="Patient" version="7.0"> 
                     <sheet> 
                         <div>
-                            <field name="photo" widget='image' class="oe_left oe_avatar"/> 
+                            <field name="image" widget='image' class="oe_left oe_avatar"/> 
                             <div> 
                                  <h1> 
-		                            <field name="first_name" placeholder="First Name" style="width: 20%%" on_change="onchange_name(first_name, lastname, slastname, context)"  /> 
-		                            <field name="lastname" placeholder="Last Name" style="width: 20%%" on_change="onchange_name(first_name, lastname, slastname, context)" /> 
-		                            <field name="slastname" placeholder="S Last Name" style="width: 20%%" on_change="onchange_name(first_name, lastname, slastname, context)" /> 
-	                            </h1> 
+		                            <field name="name" placeholder="First Name" style="width: 20%%" /> 
+		                            <field name="lastname" placeholder="Last Name" style="width: 20%%" /> 
+		                            <field name="login" placeholder="Login" style="width: 20%%" /> 
+		                         </h1> 
                             </div> 
      						<div> 
      							<label for="sex" class="oe_edit_only"/> 
      							<field name="sex" style="width: 30%%"/> 
-     							<label for="ssn"/> 
-     							<field name="ssn" style="width: 20%%"/> 
+     							<label for="ref"/> 
+     							<field name="ref" style="width: 20%%"/> 
      							<label for="identification_code"/> 
      							<field name="identification_code" style="width: 17%%" attrs="{'readonly': True }"/> 
      						</div> 
-     						<div> 
-     							<field name="name" invisible="1"/> 
-     						</div> 
                             <div>
      							<label for="dob"/> 
      							<field name="dob" style="width: 30%%"/> 
@@ -209,26 +206,28 @@
             <field name="arch" type="xml">
                 <kanban version="7.0" class="oe_background_grey">
                     <field name="name"/>
+                    <field name="lastname"/>
                     <templates>
                         <t t-name="kanban-box">
                             <div class="oe_kanban_content">
                                 <div class="oe_kanban_vignette oe_semantic_html_override">
-                                    <a type="open"><img t-att-src="kanban_image('oemedical.patient', 'photo', record.id.value)" width="150" height="110" class="oe_employee_picture"/></a>
+                                    <a type="open"><img t-att-src="kanban_image('oemedical.patient', 'image', record.id.value)" width="150" height="110" class="oe_employee_picture"/></a>
                                     <div class="oe_kanban_details">
                                         <h3>
                                             <a type="open"><field name="name"/></a>
+                                            <a type="open"><field name="lastname"/></a>
                                         </h3>
                                         <ul>
                                             <li t-if="record.age.raw_value"><b>Age:</b> <field name="age"/></li>
                                             <li t-if="record.sex.raw_value"><b>Sex:</b> <field name="sex"/></li>
-                                            <li t-if="record.blood_type.raw_value"><b>Blond:</b> <field name="blood_type"/><field name="rh"/></li>
-                                            <li t-if="record.ssn.raw_value"><b>SSN:</b> <field name="ssn"/></li>
+                                            <li t-if="record.blood_type.raw_value"><b>Blood:</b> <field name="blood_type"/><field name="rh"/></li>
+                                            <li t-if="record.ref.raw_value"><b>SSN:</b> <field name="ref"/></li>
                                         </ul>
                                     </div>
                                 </div>
                             </div>
                         </t>
-                    </templates>
+                    </templates> 
                 </kanban>
             </field>
         </record>
@@ -247,7 +246,7 @@
  					<field name="critical_info" /> 
  					<field name="lastname" /> 
  					<field name="ethnic_group" /> 
- 					<field name="ssn" /> 
+ 					<field name="ref" /> 
  					<field name="dob" /> 
  					<field name="age" /> 
  					<field name="dod" /> 
@@ -257,7 +256,7 @@
  					<field name="deceased" /> 
  					<newline /> 
  					<group expand="0" string="Group By...">  
- 						<filter string="SSN" domain="[]" context="{'group_by':'ssn'}" /> 
+ 						<filter string="SSN" domain="[]" context="{'group_by':'ref'}" /> 
  						<filter string="DoB" domain="[]" context="{'group_by':'dob'}" /> 
  						<filter string="Age" domain="[]" context="{'group_by':'age'}" /> 
  						<filter string="Date of Death" domain="[]" context="{'group_by':'dod'}" /> 

=== modified file 'oemedical/oemedical_patient_disease/oemedical_patient_disease.py'
--- oemedical/oemedical_patient_disease/oemedical_patient_disease.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_patient_disease/oemedical_patient_disease.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPatientDisease(osv.Model):

=== modified file 'oemedical/oemedical_patient_evaluation/oemedical_patient_evaluation.py'
--- oemedical/oemedical_patient_evaluation/oemedical_patient_evaluation.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_patient_evaluation/oemedical_patient_evaluation.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPatientEvaluation(osv.Model):

=== modified file 'oemedical/oemedical_patient_medication/oemedical_patient_medication.py'
--- oemedical/oemedical_patient_medication/oemedical_patient_medication.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_patient_medication/oemedical_patient_medication.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPatientMedication(osv.Model):

=== modified file 'oemedical/oemedical_physician/oemedical_physician.py'
--- oemedical/oemedical_physician/oemedical_physician.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_physician/oemedical_physician.py	2013-10-31 14:52:55 +0000
@@ -19,27 +19,24 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPhysician(osv.Model):
     _name = 'oemedical.physician'
-
-    def _get_name(self, cr, uid, ids, field_name, arg, context=None):
-        res = {}
-        for record in self.browse(cr, uid, ids, context=context):
-            res[record.id] = record.physician_id.name
-        return res
-
-
+    _inherits={
+        'res.users': 'partner_id',
+    }
     _columns = {
-        'physician_id': fields.many2one('res.partner', string='Health Professional',required=True , help='Physician' ,domain=[('category_id', '=', 'Physician')]  ),
+        'partner_id': fields.many2one(
+            'res.users', 'Related User', required=True,
+            ondelete='cascade', help='Partner-related data of the physician'),
         'code': fields.char(size=256, string='ID'),
-        'name': fields.function(_get_name, type='char', string='Health Professional', help="", multi=False),
         'specialty': fields.many2one('oemedical.specialty', string='Specialty',required=True, help='Specialty Code'),
-        'institution': fields.many2one('res.partner', string='Institution', help='Instituion where she/he works' ),
         'info': fields.text(string='Extra info'),
+        'active': fields.boolean('Active', help="If unchecked, it will allow you to hide the physician without removing it."),
     }
 
 OeMedicalPhysician()

=== modified file 'oemedical/oemedical_physician/oemedical_physician_view.xml'
--- oemedical/oemedical_physician/oemedical_physician_view.xml	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_physician/oemedical_physician_view.xml	2013-10-31 14:52:55 +0000
@@ -10,7 +10,7 @@
 					<field name="name" />
 					<field name="code" />
 					<field name="specialty" />
-					<field name="institution" />
+					<field name="parent_id" />
 				</tree>
 			</field>
 		</record>
@@ -20,18 +20,51 @@
 			<field name="model">oemedical.physician</field>
 			<field name="priority" eval="8" />
 			<field name="arch" type="xml">
-				<form string="Oemedical Physician">
-                    <group colspan="2" >
-					    <field name="code" />
-					    <field name="physician_id" />
-					    <field name="name" invisible="1"/>
-					    <field name="specialty" />				
-					    <field name="institution" />
-                    </group>
+				<form string="Oemedical Physician" version="7.0">
+				    <sheet>
+					<field name="image" widget='image' class="oe_left oe_avatar"/> 
+					<div> 
+						<h1> 
+							<field name="name" placeholder="Doctor's Name" style="width: 20%%" /> 
+                            <field name="login" placeholder="Login" style="width: 20%%" /> 
+						</h1> 
+					</div> 
+					<div> 
+						<label for="code"/> 
+   					    <field name="code" style="width: 20%%"/>
+   					    <label for="specialty"/>
+						<field name="specialty" style="width: 20%%"/>
+					</div> 
+					<group>
+					<label for="ref"/> 
+					<field name="ref" style="width: 20%%"/> 
+					<field name="parent_id" />
 					<newline/>
-                    <group colspan="4" col="4" string="Extra Information">
-    					<field name="info" colspan="4" nolabel="1"/>
-                    </group>
+					<field name="info" colspan="4"/>
+					</group>
+                    <group> 
+                        <field name="active"/>
+                        <field name="phone" placeholder="e.g. +506 5555 5555"/>
+                        <field name="mobile"/>
+                        <field name="fax"/>
+                       	<field name="user_ids" invisible="1"/>
+                        <field name="email" widget="email" attrs="{'required': [('user_ids','!=', [])]}"/>
+                    </group> 
+                    <group> 
+                       	<label for="street" string="Address"/>
+                        <div>
+                            <field name="use_parent_address" invisible="1"/>
+                            <field name="street" placeholder="Street..."  attrs="{'readonly': [('use_parent_address','=',True)]}"/>
+                            <field name="street2"  attrs="{'readonly': [('use_parent_address','=',True)]}"/>
+                            <div class="address_format">
+                                <field name="city" placeholder="City" style="width: 40%%" attrs="{'readonly': [('use_parent_address','=',True)]}"/>
+                                <field name="state_id" class="oe_no_button" placeholder="State" style="width: 37%%" options='{"no_open": True}' on_change="onchange_state(state_id)" attrs="{'readonly': [('use_parent_address','=',True)]}"/>
+                                <field name="zip" placeholder="ZIP" style="width: 20%%" attrs="{'readonly': [('use_parent_address','=',True)]}"/>
+                            </div>
+                            <field name="country_id" placeholder="Country" class="oe_no_button" options='{"no_open": True}' attrs="{'readonly': [('use_parent_address','=',True)]}"/>
+                        </div>
+                    </group> 
+					</sheet>
 				</form>
 			</field>
 		</record>
@@ -45,7 +78,7 @@
 					<field name="name" />
 					<field name="code" />
 					<field name="specialty" />
-					<field name="institution" />
+					<field name="parent_id" />
 					<field name="info" />
 					<newline />
 					<group expand="0" string="Group By...">
@@ -53,7 +86,7 @@
 						<filter string="Name" domain="[]" context="{'group_by':'name'}" />
 						<filter string="ID" domain="[]" context="{'group_by':'code'}" />
 						<filter string="Specialty" domain="[]"	context="{'group_by':'specialty'}" />
-						<filter string="Institution" domain="[]" context="{'group_by':'institution'}" />
+						<filter string="Institution" domain="[]" context="{'group_by':'parent_id'}" />
 					</group>
 				</search>
 			</field>

=== modified file 'oemedical/oemedical_prescription_line/oemedical_prescription_line.py'
--- oemedical/oemedical_prescription_line/oemedical_prescription_line.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_prescription_line/oemedical_prescription_line.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalPrescriptionLine(osv.Model):

=== modified file 'oemedical/oemedical_prescription_order/oemedical_prescription_order.py'
--- oemedical/oemedical_prescription_order/oemedical_prescription_order.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_prescription_order/oemedical_prescription_order.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 from openerp import netsvc
 from datetime import datetime, timedelta
 from dateutil.relativedelta import relativedelta

=== modified file 'oemedical/oemedical_prescription_order/report/prescription_order.py'
--- oemedical/oemedical_prescription_order/report/prescription_order.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_prescription_order/report/prescription_order.py	2013-10-31 14:52:55 +0000
@@ -1,5 +1,5 @@
 import time
-from report import report_sxw
+from openerp.report import report_sxw
 
 
 class order(report_sxw.rml_parse):

=== modified file 'oemedical/oemedical_procedure/oemedical_procedure.py'
--- oemedical/oemedical_procedure/oemedical_procedure.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_procedure/oemedical_procedure.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalProcedure(osv.Model):

=== modified file 'oemedical/oemedical_secondary_condition/oemedical_secondary_condition.py'
--- oemedical/oemedical_secondary_condition/oemedical_secondary_condition.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_secondary_condition/oemedical_secondary_condition.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalSecondaryCondition(osv.Model):

=== modified file 'oemedical/oemedical_signs_and_symptoms/oemedical_signs_and_symptoms.py'
--- oemedical/oemedical_signs_and_symptoms/oemedical_signs_and_symptoms.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_signs_and_symptoms/oemedical_signs_and_symptoms.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalSignsAndSymptoms(osv.Model):

=== modified file 'oemedical/oemedical_socioeconomics/oemedical_socioeconomics.py'
--- oemedical/oemedical_socioeconomics/oemedical_socioeconomics.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_socioeconomics/oemedical_socioeconomics.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 from dateutil.relativedelta import relativedelta
 from datetime import datetime
 

=== modified file 'oemedical/oemedical_specialty/oemedical_specialty.py'
--- oemedical/oemedical_specialty/oemedical_specialty.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_specialty/oemedical_specialty.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalSpecialty(osv.Model):

=== modified file 'oemedical/oemedical_surgery/__init__.py'
--- oemedical/oemedical_surgery/__init__.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/__init__.py	2013-10-31 14:52:55 +0000
@@ -1,1 +1,1 @@
-import medical_surgery 
+import oemedical_surgery 

=== removed file 'oemedical/oemedical_surgery/__openerp__.py'
--- oemedical/oemedical_surgery/__openerp__.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/__openerp__.py	1970-01-01 00:00:00 +0000
@@ -1,19 +0,0 @@
-# -*- encoding: utf-8 -*-
-{
-
-	'name' : 'Medical : Surgery module',  
-	'version' : '1.0',
-	'author' : 'Thymbra',
-	'category' : 'Generic Modules/Others',
-	'depends' : ['medical'],
-	'description' : """
-
-Surgery Module for Medical.
-
-If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)
-""",
-	"website" : "http://medical.sourceforge.net";,
-	"init_xml" : [],
-	"update_xml" : ["medical_surgery_view.xml","security/ir.model.access.csv"],
-	"active": False 
-}

=== removed directory 'oemedical/oemedical_surgery/data'
=== removed directory 'oemedical/oemedical_surgery/i18n'
=== removed file 'oemedical/oemedical_surgery/i18n/de.po'
--- oemedical/oemedical_surgery/i18n/de.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/de.po	1970-01-01 00:00:00 +0000
@@ -1,142 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-02-05 18:44+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: German <None>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: de\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr "Das Objekt muss mit x_ beginnen und darf keine Sonderzeichen enthalten!"
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Medical : Operationen"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Hauptbeschwerde"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Operationsklassifikation"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr "Prozeduren Code, z.B. OPS"
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr "Alter des Patienten zum Zeitpunkt der OP. Kann geschätzt werden"
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Operateur"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Optional"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr "Ungültige XML für die Architektur der View"
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr "Arzt, der die Operation durchgeführt hat"
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-"\n"
-"\n"
-"Operationsmodule für Medical.\n"
-"\n"
-"Wenn Sie die Datenbank für die Prozeduren (Operationsschlüssel haben möchten, dann installieren sie das entsprechende Modul, medical_icd10\n"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr "Erforderlich"
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Datum der Operation"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr "Operationen"
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Prozeduren"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Beschreibung"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Code"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Hauptbeschwerde / Grund"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Dringend"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "Extra Info"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Patientenalter"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Patienteninformationen"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr "Operation"

=== removed file 'oemedical/oemedical_surgery/i18n/es.po'
--- oemedical/oemedical_surgery/i18n/es.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/es.po	1970-01-01 00:00:00 +0000
@@ -1,141 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-02-05 18:45+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Spanish (Castilian) <>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: es\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr "¡El nombre del Objeto debe empezar con x_ y no contener ningún carácter especial!"
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Medical: Módulo de Cirugía"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Condición Base"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Clasificación de la Intervención"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr "Códigos de Procedimiento, por ejemplo CIE-10-PCS Código de 7 caracteres"
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr "Edad del paciente al momento de la intervención quirúrgica. Puede ser estimativa"
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Cirujano"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Opcional"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr "XML inválido para la definición de la vista"
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr "Cirujano que intervino en la operación"
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-"\n"
-"Módulo de Cirugía para Medical.\n"
-"\n"
-"Si quiere incluir procedimientos estándar, por favor instale el correspondiente módulo del procedimiento (como medical_icd10)\n"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr "Requerido"
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Fecha de la operación"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr "Cirugías"
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Procedimiento"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Descripción"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Código"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Condición de base / Razón"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Urgente"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "Información Extra"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Edad del paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Información relativa al paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr "Cirugía"

=== removed file 'oemedical/oemedical_surgery/i18n/es_AR.po'
--- oemedical/oemedical_surgery/i18n/es_AR.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/es_AR.po	1970-01-01 00:00:00 +0000
@@ -1,141 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-01-10 22:20+0000\n"
-"Last-Translator: mariomop <mariomop@xxxxxxxxx>\n"
-"Language-Team: Spanish (Argentinian) <>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: es_AR\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr "¡El nombre del Objeto debe empezar con x_ y no contener ningún carácter especial!"
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Medical: Módulo de Cirugía"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Condición base"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Clasificación de la Intervención"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr "Códigos de Procedimiento, por ejemplo CIE-10-PCS Código de 7 caracteres"
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr "Edad del paciente al momento de la intervención quirúrgica. Puede ser estimativa"
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Cirujano"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Opcional"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr "XML inválido para la definición de la vista"
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr "Cirujano que intervino en la operación"
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-"\n"
-"Módulo de Cirugía para Medical.\n"
-"\n"
-"Si quiere incluir procedimientos estándar, por favor instale el correspondiente módulo del procedimiento (como medical_icd10)\n"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr "Requerido"
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Fecha de la operación"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr "Cirugías"
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Procedimiento"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Descripción"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Código"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Condición de base / Razón"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Urgente"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "Información extra"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Edad del paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Información relativa al paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr "Cirugía"

=== removed file 'oemedical/oemedical_surgery/i18n/fr_FR.po'
--- oemedical/oemedical_surgery/i18n/fr_FR.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/fr_FR.po	1970-01-01 00:00:00 +0000
@@ -1,140 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-02-05 18:44+0000\n"
-"Last-Translator: gestionRessources <klinik_mailinglist@xxxxxxxxxxxxxxxxxxxxxx>\n"
-"Language-Team: French (France) <>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: fr_FR\n"
-"Plural-Forms: nplurals=2; plural=(n > 1)\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr "Le nom de l'objet doit commencer par x_ et ne pas contenir de caractères spéciaux!"
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Médical: Module Chirurgie"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Condition de base"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Classification de l'intervention"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr "Code de la procédure : par exemple CIM-10-PCS Code 7-chaine de caractères"
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr "Age du patient au moment de l'intervention - peut être approximatif"
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Chirurgien"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Facultatif"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr "Architecture  XML non valide pour la vue!"
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr "Chirurgien qui a effectué l'intervention"
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-"Module Chirurgie. \n"
-"\n"
-"Si vous souhaitez inclure les procédures standards, s'il vous plaît installer le module correspondant de procédure (par exemple  medical_icd10 (CIM-10))\n"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr "Requis"
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Date de la chirurgie"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr "Chirurgies"
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Intervention"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Description"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Code"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Condition de base / Raison"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Urgent"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "Info supplémentaire"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Âge du patient"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Renseignements sur le patient"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr "Chirurgie"

=== removed file 'oemedical/oemedical_surgery/i18n/it.po'
--- oemedical/oemedical_surgery/i18n/it.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/it.po	1970-01-01 00:00:00 +0000
@@ -1,141 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-02-05 18:47+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Spanish (Argentinian) <>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: es_AR\n"
-"Plural-Forms: nplurals=2; plural=(n != 1)\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr "¡El nombre del Objeto debe empezar con x_ y no contener ningún carácter especial!"
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Medical: Módulo de Cirugía"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Condición base"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Clasificación de la Intervención"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr "Códigos de Procedimiento, por ejemplo CIE-10-PCS Código de 7 caracteres"
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr "Edad del paciente al momento de la intervención quirúrgica. Puede ser estimativa"
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Cirujano"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Opcional"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr "XML inválido para la definición de la vista"
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr "Cirujano que intervino en la operación"
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-"\n"
-"Módulo de Cirugía para Medical.\n"
-"\n"
-"Si quiere incluir procedimientos estándar, por favor instale el correspondiente módulo del procedimiento (como medical_icd10)\n"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr "Requerido"
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Fecha de la operación"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr "Cirugías"
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Procedimiento"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Descripción"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Código"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Condición de base / Razón"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Urgente"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "Información extra"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Edad del paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Información relativa al paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr "Cirugía"

=== removed file 'oemedical/oemedical_surgery/i18n/medical_surgery.pot'
--- oemedical/oemedical_surgery/i18n/medical_surgery.pot	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/medical_surgery.pot	1970-01-01 00:00:00 +0000
@@ -1,139 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-#	* medical_surgery
-#
-msgid ""
-msgstr ""
-"Project-Id-Version: OpenERP Server 6.0.0-rc1\n"
-"Report-Msgid-Bugs-To: support@xxxxxxxxxxx\n"
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2010-12-05 21:38:03+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: \n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Plural-Forms: \n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr ""
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr ""
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr ""
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr ""
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr ""
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr ""
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr ""
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid "\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-""
-msgstr ""
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr ""
-
-#. module: medical_surgery
-#: view:medical.patient:0
-#: field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr ""
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr ""
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr ""
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr ""
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr ""
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr ""
-

=== removed file 'oemedical/oemedical_surgery/i18n/pt_BR.po'
--- oemedical/oemedical_surgery/i18n/pt_BR.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/pt_BR.po	1970-01-01 00:00:00 +0000
@@ -1,146 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-02-05 18:46+0000\n"
-"Last-Translator: brower <bogdan.czaplinski@xxxxxxxxx>\n"
-"Language-Team: Portuguese (Brazilian) <None>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: pt_BR\n"
-"Plural-Forms: nplurals=2; plural=(n > 1)\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr "O nome do Objeto deve começar com x_ e não conter qualquer caractere especial!"
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Medical: Módulo Cirúrgico\n"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Condição de base"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Classificação Cirúrgica"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr "Código de Procedimento, por exemplo, código CID-10-PCS seqüência de 7 caracteres "
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr "A idade do paciente no momento da cirurgia. Pode ser estimativa"
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Cirurgião"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Opcional"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr "XML inválido para Visualização de Arquitetura!"
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr "Cirurgião que fez o procedimento"
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-"\n"
-"\n"
-"\n"
-"\n"
-"Módulo Cirúrgico para o Medical.\n"
-"\n"
-"\n"
-"Se você quiser incluir os procedimentos padrões, instale o módulo de procedimento correspondente (como o medical_icd10)\n"
-"\n"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr "Obrigatório"
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Data da cirurgia"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr "Cirurgias"
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Procedimento"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Descrição"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Código"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Condição Básica / Razão"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Urgente"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "Informação extra"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Idade do paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Informação relacionada ao paciente"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr "Cirurgia"

=== removed file 'oemedical/oemedical_surgery/i18n/tr.po'
--- oemedical/oemedical_surgery/i18n/tr.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/tr.po	1970-01-01 00:00:00 +0000
@@ -1,137 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-02-05 18:48+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Turkish <None>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: tr\n"
-"Plural-Forms: nplurals=1; plural=0\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr ""
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Tıp: Cerrahi modülü"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Temel koşul"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Cerrahi Sınıflandırma"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr ""
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Cerrah"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Isteğe bağlı"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr ""
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr ""
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr ""
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Ameliyat tarihi"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr ""
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Prosedür"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Açıklama"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Kod"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Baz Durumu / Sebep"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Acil"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "İlave Bilgiler"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Hasta yaşı"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Hasta ile ilgili bilgiler"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr ""

=== removed file 'oemedical/oemedical_surgery/i18n/vi.po'
--- oemedical/oemedical_surgery/i18n/vi.po	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/i18n/vi.po	1970-01-01 00:00:00 +0000
@@ -1,142 +0,0 @@
-# Translation of OpenERP Server.
-# This file contains the translation of the following modules:
-# 
-msgid ""
-msgstr ""
-"Project-Id-Version: Medical\n"
-"Report-Msgid-Bugs-To: https://sourceforge.net/apps/mantisbt/medical\n";
-"POT-Creation-Date: 2010-12-05 21:38:03+0000\n"
-"PO-Revision-Date: 2011-02-05 18:46+0000\n"
-"Last-Translator: <>\n"
-"Language-Team: Vietnamese <None>\n"
-"MIME-Version: 1.0\n"
-"Content-Type: text/plain; charset=UTF-8\n"
-"Content-Transfer-Encoding: \n"
-"Language: vi\n"
-"Plural-Forms: nplurals=1; plural=0\n"
-
-#. module: medical_surgery
-#: constraint:ir.model:0
-msgid "The Object name must start with x_ and not contain any special character !"
-msgstr "Tên đối tượng phải bắt đầu bằng x_ và không bao gồm bất kỳ ký tự đặc biệt nào!"
-
-#. module: medical_surgery
-#: model:ir.module.module,shortdesc:medical_surgery.module_meta_information
-msgid "Medical : Surgery module"
-msgstr "Y khoa: Mô đun Phẫu thuật"
-
-#. module: medical_surgery
-#: field:medical.surgery,pathology:0
-msgid "Base condition"
-msgstr "Tình trạng ban đầu"
-
-#. module: medical_surgery
-#: field:medical.surgery,classification:0
-msgid "Surgery Classification"
-msgstr "Phân loại phẫu thuật"
-
-#. module: medical_surgery
-#: help:medical.surgery,name:0
-msgid "Procedure Code, for example ICD-10-PCS Code 7-character string"
-msgstr "Mã thủ tục, ví dụ ICD-10-PCS Mã chuỗi 7 ký tự"
-
-#. module: medical_surgery
-#: help:medical.surgery,age:0
-msgid "Patient age at the moment of the surgery. Can be estimative"
-msgstr "Tuổi bệnh nhân tại thời điểm phẫu thuật, có thể ước lượng"
-
-#. module: medical_surgery
-#: field:medical.surgery,surgeon:0
-msgid "Surgeon"
-msgstr "Bác sĩ phẫu thuật"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Optional"
-msgstr "Tùy chọn"
-
-#. module: medical_surgery
-#: constraint:ir.ui.view:0
-msgid "Invalid XML for View Architecture!"
-msgstr "XML không hợp lệ cho Kiến trúc Xem!"
-
-#. module: medical_surgery
-#: help:medical.surgery,surgeon:0
-msgid "Surgeon who did the procedure"
-msgstr "Bác sĩ thực hiện phẫu thuật"
-
-#. module: medical_surgery
-#: model:ir.module.module,description:medical_surgery.module_meta_information
-msgid ""
-"\n"
-"\n"
-"Surgery Module for Medical.\n"
-"\n"
-"If you want to include standard procedures, please install the correspondant procedure module (such as medical_icd10)\n"
-msgstr ""
-"\n"
-"\n"
-"Mô đun Phẫu thuật cho Y tế\n"
-"\n"
-"Nếu bạn muốn bao gồm các thủ tục tiêu chuẩn, hãy cài đặt các module thủ tục liên quan (ví dụ medical_icd10)\n"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Required"
-msgstr "Bắt buộc"
-
-#. module: medical_surgery
-#: field:medical.surgery,date:0
-msgid "Date of the surgery"
-msgstr "Ngày phẫu thuật"
-
-#. module: medical_surgery
-#: view:medical.patient:0 field:medical.patient,surgery:0
-msgid "Surgeries"
-msgstr "Phẫu thuật"
-
-#. module: medical_surgery
-#: view:medical.procedure:0
-msgid "Procedure"
-msgstr "Thủ tục"
-
-#. module: medical_surgery
-#: field:medical.surgery,description:0
-msgid "Description"
-msgstr "Mô tả"
-
-#. module: medical_surgery
-#: field:medical.surgery,name:0
-msgid "Code"
-msgstr "Mã"
-
-#. module: medical_surgery
-#: help:medical.surgery,pathology:0
-msgid "Base Condition / Reason"
-msgstr "Tình trạng ban đầu / Lý do"
-
-#. module: medical_surgery
-#: selection:medical.surgery,classification:0
-msgid "Urgent"
-msgstr "Khẩn"
-
-#. module: medical_surgery
-#: field:medical.surgery,extra_info:0
-msgid "Extra Info"
-msgstr "Thông tin thêm"
-
-#. module: medical_surgery
-#: field:medical.surgery,age:0
-msgid "Patient age"
-msgstr "Tuổi bệnh nhân"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_patient
-msgid "Patient related information"
-msgstr "Thông tin liên quan đến bệnh nhân"
-
-#. module: medical_surgery
-#: model:ir.model,name:medical_surgery.model_medical_surgery
-#: view:medical.surgery:0
-msgid "Surgery"
-msgstr "Phẫu thuật"

=== removed file 'oemedical/oemedical_surgery/medical_surgery.py'
--- oemedical/oemedical_surgery/medical_surgery.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/medical_surgery.py	1970-01-01 00:00:00 +0000
@@ -1,58 +0,0 @@
-# coding=utf-8
-
-#    Copyright (C) 2008-2010  Luis Falcon
-
-#    This program is free software: you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation, either version 3 of the License, or
-#    (at your option) any later version.
-
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-
-#    You should have received a copy of the GNU General Public License
-#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
-
-
-
-from osv import fields, osv
-
-
-class surgery (osv.osv):
-	_name = "medical.surgery"
-	_description = "Surgery"
-	_columns = {
-		'name' : fields.many2one ('medical.procedure','Code', help="Procedure Code, for example ICD-10-PCS Code 7-character string"),
-		'pathology' : fields.many2one ('medical.pathology','Base condition', help="Base Condition / Reason"),
-		'classification' : fields.selection ([
-				('o','Optional'),
-				('r','Required'),
-				('u','Urgent'),
-                                ], 'Surgery Classification', select=True),
-		'surgeon' : fields.many2one('medical.physician','Surgeon', help="Surgeon who did the procedure"),
-		'date': fields.datetime ('Date of the surgery'),
-		'age': fields.char ('Patient age',size=3,help='Patient age at the moment of the surgery. Can be estimative'),
-		'description' : fields.char ('Description', size=128),
-		'extra_info' : fields.text ('Extra Info'),
-		}
-
-surgery ()
-
-
-# Add to the Medical patient_data class (medical.patient) the surgery field.
-
-class medical_patient (osv.osv):
-	_name = "medical.patient"
-	_inherit = "medical.patient"
-	_columns = {
-		'surgery' : fields.many2many ('medical.surgery', 'patient_surgery_rel','patient_id','surgery_id', 'Surgeries'),
-		
-	}
-
-medical_patient ()
-
-
-
-

=== removed file 'oemedical/oemedical_surgery/medical_surgery_view.xml'
--- oemedical/oemedical_surgery/medical_surgery_view.xml	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/medical_surgery_view.xml	1970-01-01 00:00:00 +0000
@@ -1,91 +0,0 @@
-<?xml version="1.0" ?>
-<openerp>
-        <data>
-
-
-<!-- Surgery -->
-
-	<record model="ir.ui.view" id="medical_surgery_view">
-		<field name="name">Surgery</field>
-		<field name="model">medical.surgery</field>
-		<field name="type">form</field>
-			<field name="arch" type="xml">
-				<form string="Surgery">
-					<field name="name"></field>
-					<field name="description" required="1"></field>
-					<newline/>
-					<field name="pathology"></field>
-					<field name="classification"></field>
-					<newline/>
-					<field name="date"></field>
-					<field name="age"></field>
-					<field name="surgeon"></field>
-					<newline/>
-					<field name="extra_info" colspan='4'></field>
-				</form>
-			</field>
-	</record>
-
-
-		<record model="ir.ui.view" id="medical_surgery_tree">
-			<field name="name">Surgery Lists</field>
-			<field name="model">medical.surgery</field>
-			<field name="type">tree</field>
-			<field name="arch" type="xml">
-				<tree string='Surgery'>
-					<field name="name"></field>
-					<field name="description"></field>
-					<field name="pathology"></field>
-					<field name="classification"></field>
-					<field name="date"></field>
-				</tree>
-			</field>
-		</record>
-
-
-<!-- Procedure -->
-
-	<record model="ir.ui.view" id="medical_procedure_view">
-		<field name="name">Procedure</field>
-		<field name="model">medical.procedure</field>
-		<field name="type">form</field>
-			<field name="arch" type="xml">
-				<form string="Procedure">
-					<field name="name"></field>
-					<field name="description"></field>
-				</form>
-			</field>
-	</record>
-
-
-		<record model="ir.ui.view" id="medical_procedure_tree">
-			<field name="name">Procedure List</field>
-			<field name="model">medical.procedure</field>
-			<field name="type">tree</field>
-			<field name="arch" type="xml">
-				<tree string='Procedure'>
-					<field name="name"></field>
-					<field name="description"></field>
-				</tree>
-			</field>
-		</record>
-
-
-<!-- Include the Surgery page into the Patient History -->
-
-		<record model="ir.ui.view" id="medical_patient_view">
-			<field name="name">Patient</field>
-			<field name="model">medical.patient</field>
-                        <field name="inherit_id" ref="medical.medical_patient_view" />
-			<field name="type">form</field>
-			<field name="arch" type="xml">
-				<notebook>
-				        <page string="Surgeries">
-					        <field name="surgery" colspan="4" nolabel="1" widget="one2many_list"/>
-				        </page>
-				</notebook>
-			</field>
-		</record>
-	</data>
-</openerp>
-

=== added file 'oemedical/oemedical_surgery/oemedical_surgery.py'
--- oemedical/oemedical_surgery/oemedical_surgery.py	1970-01-01 00:00:00 +0000
+++ oemedical/oemedical_surgery/oemedical_surgery.py	2013-10-31 14:52:55 +0000
@@ -0,0 +1,59 @@
+# coding=utf-8
+
+#    Copyright (C) 2008-2010  Luis Falcon
+
+#    This program is free software: you can redistribute it and/or modify
+#    it under the terms of the GNU General Public License as published by
+#    the Free Software Foundation, either version 3 of the License, or
+#    (at your option) any later version.
+
+#    This program is distributed in the hope that it will be useful,
+#    but WITHOUT ANY WARRANTY; without even the implied warranty of
+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+#    GNU General Public License for more details.
+
+#    You should have received a copy of the GNU General Public License
+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
+
+
+class surgery (osv.osv):
+	_name = "oemedical.surgery"
+	_description = "Surgery"
+	_columns = {
+		'name' : fields.many2one ('oemedical.procedure','Code', help="Procedure Code, for example ICD-10-PCS Code 7-character string"),
+		'pathology' : fields.many2one ('oemedical.pathology','Base condition', help="Base Condition / Reason"),
+		'classification' : fields.selection ([
+				('o','Optional'),
+				('r','Required'),
+				('u','Urgent'),
+                                ], 'Surgery Classification', select=True),
+		'surgeon' : fields.many2one('oemedical.physician','Surgeon', help="Surgeon who did the procedure"),
+		'date': fields.datetime ('Date of the surgery'),
+		'age': fields.char ('Patient age',size=3,help='Patient age at the moment of the surgery. Can be estimative'),
+		'description' : fields.char ('Description', size=128),
+		'extra_info' : fields.text ('Extra Info'),
+		}
+
+surgery ()
+
+
+# Add to the Medical patient_data class (oemedical.patient) the surgery field.
+
+class oemedical_patient (osv.osv):
+	_name = "oemedical.patient"
+	_inherit = "oemedical.patient"
+	_columns = {
+		'surgery' : fields.many2many ('oemedical.surgery', 'patient_surgery_rel','patient_id','surgery_id', 'Surgeries'),
+		
+	}
+
+oemedical_patient ()
+
+
+
+

=== added file 'oemedical/oemedical_surgery/oemedical_surgery_view.xml'
--- oemedical/oemedical_surgery/oemedical_surgery_view.xml	1970-01-01 00:00:00 +0000
+++ oemedical/oemedical_surgery/oemedical_surgery_view.xml	2013-10-31 14:52:55 +0000
@@ -0,0 +1,91 @@
+<?xml version="1.0" ?>
+<openerp>
+        <data>
+
+
+<!-- Surgery -->
+
+	<record model="ir.ui.view" id="oemedical_surgery_view">
+		<field name="name">Surgery</field>
+		<field name="model">oemedical.surgery</field>
+		<field name="type">form</field>
+			<field name="arch" type="xml">
+				<form string="Surgery">
+					<field name="name"></field>
+					<field name="description" required="1"></field>
+					<newline/>
+					<field name="pathology"></field>
+					<field name="classification"></field>
+					<newline/>
+					<field name="date"></field>
+					<field name="age"></field>
+					<field name="surgeon"></field>
+					<newline/>
+					<field name="extra_info" colspan='4'></field>
+				</form>
+			</field>
+	</record>
+
+
+		<record model="ir.ui.view" id="oemedical_surgery_tree">
+			<field name="name">Surgery Lists</field>
+			<field name="model">oemedical.surgery</field>
+			<field name="type">tree</field>
+			<field name="arch" type="xml">
+				<tree string='Surgery'>
+					<field name="name"></field>
+					<field name="description"></field>
+					<field name="pathology"></field>
+					<field name="classification"></field>
+					<field name="date"></field>
+				</tree>
+			</field>
+		</record>
+
+
+<!-- Procedure -->
+
+	<record model="ir.ui.view" id="oemedical_procedure_view">
+		<field name="name">Procedure</field>
+		<field name="model">oemedical.procedure</field>
+		<field name="type">form</field>
+			<field name="arch" type="xml">
+				<form string="Procedure">
+					<field name="name"></field>
+					<field name="description"></field>
+				</form>
+			</field>
+	</record>
+
+
+		<record model="ir.ui.view" id="oemedical_procedure_tree">
+			<field name="name">Procedure List</field>
+			<field name="model">oemedical.procedure</field>
+			<field name="type">tree</field>
+			<field name="arch" type="xml">
+				<tree string='Procedure'>
+					<field name="name"></field>
+					<field name="description"></field>
+				</tree>
+			</field>
+		</record>
+
+
+<!-- Include the Surgery page into the Patient History -->
+
+		<record model="ir.ui.view" id="oemedical_patient_view">
+			<field name="name">Patient</field>
+			<field name="model">oemedical.patient</field>
+                        <field name="inherit_id" ref="oemedical.oemedical_patient_view" />
+			<field name="type">form</field>
+			<field name="arch" type="xml">
+				<notebook>
+				        <page string="Surgeries">
+					        <field name="surgery" colspan="4" nolabel="1" widget="one2many_list"/>
+				        </page>
+				</notebook>
+			</field>
+		</record>
+	</data>
+</openerp>
+

=== removed directory 'oemedical/oemedical_surgery/security'
=== removed file 'oemedical/oemedical_surgery/security/ir.model.access.csv'
--- oemedical/oemedical_surgery/security/ir.model.access.csv	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_surgery/security/ir.model.access.csv	1970-01-01 00:00:00 +0000
@@ -1,2 +0,0 @@
-"id","name","model_id:id","group_id:id","perm_read","perm_write","perm_create","perm_unlink"
-"access_medical_surgery","medical.surgery","model_medical_surgery","medical.group_medical_user",1,1,1,1

=== modified file 'oemedical/oemedical_vaccination/oemedical_vaccination.py'
--- oemedical/oemedical_vaccination/oemedical_vaccination.py	2013-09-09 22:50:51 +0000
+++ oemedical/oemedical_vaccination/oemedical_vaccination.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class OeMedicalVaccination(osv.Model):

=== modified file 'oemedical/product_product/product_product.py'
--- oemedical/product_product/product_product.py	2013-09-09 22:50:51 +0000
+++ oemedical/product_product/product_product.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class ProductProduct(osv.Model):

=== modified file 'oemedical/res_partner/res_partner.py'
--- oemedical/res_partner/res_partner.py	2013-09-09 22:50:51 +0000
+++ oemedical/res_partner/res_partner.py	2013-10-31 14:52:55 +0000
@@ -19,8 +19,9 @@
 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 #
 #/#############################################################################
-from osv import osv
-from osv import fields
+
+from openerp.osv import fields, osv
+from openerp.tools.translate import _
 
 
 class ResPartner(osv.Model):
@@ -60,7 +61,7 @@
         'is_school': fields.boolean(string='School'),
         'is_pharmacy': fields.boolean(string='Pharmacy', 
                                       help='Check if the party is a Pharmacy'),
-        'ref': fields.char(size=256, string='SSN', 
+        'ref': fields.char(size=256, string='ID/SSN', 
                            help='Patient Social Security Number or equivalent'),
         #'insurance': fields.one2many('oemedical.insurance', 'relation_id',
         #                               string='Insurance', ),

=== modified file 'oemedical/res_partner/res_partner_view.xml'
--- oemedical/res_partner/res_partner_view.xml	2013-09-09 22:50:51 +0000
+++ oemedical/res_partner/res_partner_view.xml	2013-10-31 14:52:55 +0000
@@ -10,10 +10,6 @@
                 <notebook position="inside">
                     <page string="OeMedical">
                         <group colspan="4" col="6">
-<!--							<field name="firstname" />-->
-<!--							<field name="lastname" />-->
-<!--							<field name="slastname" />-->
-                            <!--field name="insurance_plan_ids"/ -->
                             <field name="is_insurance_company" />
                             <field name="relationship" />
                             <!--field name="insurance_company_type"/ -->

=== modified file 'oemedical/security/ir.model.access.csv'
--- oemedical/security/ir.model.access.csv	2013-09-09 22:50:51 +0000
+++ oemedical/security/ir.model.access.csv	2013-10-31 14:52:55 +0000
@@ -1,41 +1,42 @@
 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,base.group_user,1,1,1,0
-access_oemedical_pathology_category,model,model_oemedical_pathology_category,base.group_user,1,1,1,0
-access_oemedical_signs_and_symptoms,model,model_oemedical_signs_and_symptoms,base.group_user,1,1,1,0
-access_product_product,model,model_product_product,base.group_user,1,1,1,0
-access_oemedical_physician,model,model_oemedical_physician,base.group_user,1,1,1,0
-access_oemedical_directions,model,model_oemedical_directions,base.group_user,1,1,1,0
-access_oemedical_insurance,model,model_oemedical_insurance,base.group_user,1,1,1,0
-access_res_partner,model,model_res_partner,base.group_user,1,1,1,0
-access_oemedical_pathology,model,model_oemedical_pathology,base.group_user,1,1,1,0
-access_oemedical_operational_area,model,model_oemedical_operational_area,base.group_user,1,1,1,0
-access_oemedical_ethnicity,model,model_oemedical_ethnicity,base.group_user,1,1,1,0
-access_oemedical_operational_sector,model,model_oemedical_operational_sector,base.group_user,1,1,1,0
-access_oemedical_prescription_order,model,model_oemedical_prescription_order,base.group_user,1,1,1,0
-access_oemedical_medicament_category,model,model_oemedical_medicament_category,base.group_user,1,1,1,0
-access_oemedical_insurance_plan,model,model_oemedical_insurance_plan,base.group_user,1,1,1,0
-access_oemedical_diagnostic_hypothesis,model,model_oemedical_diagnostic_hypothesis,base.group_user,1,1,1,0
-access_oemedical_procedure,model,model_oemedical_procedure,base.group_user,1,1,1,0
-access_oemedical_medication_template,model,model_oemedical_medication_template,base.group_user,1,1,1,0
-access_oemedical_vaccination,model,model_oemedical_vaccination,base.group_user,1,1,1,0
-access_oemedical_medication_dosage,model,model_oemedical_medication_dosage,base.group_user,1,1,1,0
-access_oemedical_family_member,model,model_oemedical_family_member,base.group_user,1,1,1,0
-access_oemedical_hospital_ward,model,model_oemedical_hospital_ward,base.group_user,1,1,1,0
-access_oemedical_hospital_or,model,model_oemedical_hospital_or,base.group_user,1,1,1,0
-access_oemedical_drug_form,model,model_oemedical_drug_form,base.group_user,1,1,1,0
-access_oemedical_patient_medication,model,model_oemedical_patient_medication,base.group_user,1,1,1,0
-access_oemedical_patient_evaluation,model,model_oemedical_patient_evaluation,base.group_user,1,1,1,0
-access_oemedical_hospital_building,model,model_oemedical_hospital_building,base.group_user,1,1,1,0
-access_oemedical_patient,model,model_oemedical_patient,base.group_user,1,1,1,0
-access_oemedical_prescription_line,model,model_oemedical_prescription_line,base.group_user,1,1,1,0
-access_oemedical_patient_disease,model,model_oemedical_patient_disease,base.group_user,1,1,1,0
-access_oemedical_drug_route,model,model_oemedical_drug_route,base.group_user,1,1,1,0
-access_oemedical_hospital_unit,model,model_oemedical_hospital_unit,base.group_user,1,1,1,0
-access_oemedical_appointment,model,model_oemedical_appointment,base.group_user,1,1,1,0
-access_oemedical_specialty,model,model_oemedical_specialty,base.group_user,1,1,1,0
-access_oemedical_family,model,model_oemedical_family,base.group_user,1,1,1,0
-access_oemedical_hospital_bed,model,model_oemedical_hospital_bed,base.group_user,1,1,1,0
-access_oemedical_occupation,model,model_oemedical_occupation,base.group_user,1,1,1,0
-access_oemedical_disease_group_members,model,model_oemedical_disease_group_members,base.group_user,1,1,1,0
-access_oemedical_medicament,model,model_oemedical_medicament,base.group_user,1,1,1,0
-access_oemedical_pathology_group,model,model_oemedical_pathology_group,base.group_user,1,1,1,0
+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/security/oemedical_security.xml'
--- oemedical/security/oemedical_security.xml	1970-01-01 00:00:00 +0000
+++ oemedical/security/oemedical_security.xml	2013-10-31 14:52:55 +0000
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="utf-8"?>
+<openerp>
+<data noupdate="0">
+
+    <record id="group_oemedical_user" model="res.groups">
+        <field name="name">OEMedical User</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>
+
+    <record id="group_oemedical_doctor" model="res.groups">
+        <field name="name">OEMedical Doctor</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>
+
+    <record id="group_oemedical_center_manager" model="res.groups">
+        <field name="name">OEMedical Center Manager</field>
+        <field name="category_id" ref="base.module_category_accounting_and_finance"/>
+        <field name="implied_ids" eval="[(4, ref('group_oemedical_user')),(4, ref('group_oemedical_doctor'))]"/>
+    </record>
+
+    <record id="group_oemedical_manager" model="res.groups">
+        <field name="name">OEMedical Manager</field>
+        <field name="category_id" ref="base.module_category_accounting_and_finance"/>
+        <field name="implied_ids" eval="[(4, ref('group_oemedical_center_manager'))]"/>
+    </record>
+
+</data>
+
+<data noupdate="1">
+    <record id="oemedical_appointment_access_rule" model="ir.rule">
+        <field name="name">Appointment Entry</field>
+        <field name="model_id" ref="model_oemedical_appointment"/>
+        <field name="global" eval="True"/>
+        <field name="domain_force">['|',('user_id', '=', user.id),('institution','=',user.partner_id.parent_id.id)]</field>
+    </record>
+
+</data>
+</openerp>


Follow ups