Search 1.3 billion lines of Odoo code on GitHub


Author: LasLabs, Odoo Community Association (OCA)
License: GPL-3
Branch: 10.0
Repository: anhvu-sg/vertical-medical
Dependencies: base, base_locale_uom_default, product, and web
Languages: JavaScript (19, 0.5%), PO File (2681, 67.2%), Python (486, 12.2%), XML (717, 18.0%), and reStructuredText (84, 2.1%)
Other repositories: 3etechinns/vertical-medical, Abdullah-Alghoul/vertical-medical, BalighMehrez/vertical-medical, CarlosEsauToledoFlores/vertical-medical, Colorlessgold/vertical-medical, DITIntl/vertical-medical, Gabinete-Digital/vertical-medical, GrupoAlvamex/vertical-medical, Guobower/vertical-medical, JulianoCristian/vertical-medical, LasLabs/vertical-medical, MrYuo/vertical-medical, Nucleoos/oca-vertical-medical, Nucleoos/oemedical, OCA/vertical-medical, Palpid/vertical-medical, VisiionSolucionesTecnologicas/vertical-medical, ajaygowtham/vertical-medical, apetbiz/vertical-medical, bachmanna/vertical-medical, bopo/vertical-medical, bouvyd/dbo-odoo, cyb3rdog/vertical-medical, daramousk/vertical-medical, dbo-odoo/dbo-odoo, edynson-coronado/vertical-medical, esantos-octagono/vertical-medical, eslammohamed13/oca-vertical-medical, fabianofilho/vertical-medical, fagan2888/vertical-medical, gaanto/vertical-medical, gleke/vertical-medical, gongxiaodong/vertical-medical, hassanfadl/vertical-medical, hidext/oemedical, huber-yaoer/vertical-medical, hxsam/vertical-medical, isoscl/vertical-medical, jackusa/vertical-medical, kidbrion/vertical-medical, lakhlaifi/vertical-medical, lideritjnma/vertical-medical, litwinski/vertical-medical-1, moarefk/medical2, mohammed0115/vertical-medical, odoo-mastercore/vertical-medical, onaconsulting/vertical-medical, rainygoblin/vertical-medical, rikybonano/oca-vertical-medical, robertsvx27/vertical-medical, sc4you/vertical-medical, sepehrche/vertical-medical, skukered/vertical-medical, thodinh/vertical-medical, wahhid/oca-vertical-medical, westlyou/oemedical, ygdmxy/vertical-medical, yunambu/vertical-medical, and yusniermatos/vertical-medical

License: GPL-3

Odoo Medical

This module extends Odoo with the base functionality of medical patients.


This module depends on modules located in the following repos: *

Check the for the specific dependencies.



Patients are available in the Medical App, in the Patients submenu.

Medical Abstract Entity

The Medical Abstract Entity (medical.abstract.entity) is an AbstractModel that provides for a central base that all medical entities should inherit from.

A Medical Entity is any partner that also requires a medical context. Examples:

  • MedicalCenter
  • MedicalPatient
  • MedicalPhysician
  • MedicalPharmacy

Some base views are also provided in order to make it easy to create new medical entities & maintain uniformity between them:

  • Kanban - medical_asbsract_entity_view_kanban
  • Tree - medical_asbsract_entity_view_tree
  • Form - medical_asbsract_entity_view_form
  • Search - medical_asbsract_entity_view_search

When inheriting these views, you must define the inheritance mode as primary, such as in the following example:

<record id="medical_patient_view_tree" model="ir.ui.view">
    <field name="name">medical.patient.tree</field>
    <field name="model">medical.patient</field>
    <field name="inherit_id" ref="medical_abstract_entity_view_tree" />
    <field name="mode">primary</field>
    <field name="arch" type="xml">
        <xpath expr="//tree" position="attributes">
            <attribute name="string">Patients</attribute>
        <xpath expr="//field[@name='email']" position="after">
            <field name="identification_code" />
            <field name="age" />
            <field name="gender" />

Take a look at medical/views/medical_patient.xml, or any of the other medical entity views for more examples.

Try me on Runbot

Known issues / Roadmap

  • There is a singleton issue with the ID numbers pass-thru & crossing could occur.
  • v11 - Move Marital status into a new module in OCA/partner-contact

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.




The current project as it is today represents an evolution of the original work started by Luis Falcon. See, that later became GNU Health (see The original code was licensed under GPL.

On Nov 27, 2012 derivative code was published in, by Tech-Receptives Solutions Pvt. Ltd., licensed under AGPL. The license change was unauthorized by the original author. See

On Feb 17, 2017 the branch 9.0 of the project was relicensed to LGPL. Various prior contributors approved the relicense, but not all.

On Jan 25, 2018, GNU Health claimed that the original code and attribution should be respected, and after further investigation the Odoo Community Association Board agreed to switch the license back to GPL v3 to respect the rights of the original author.

Although no trace of relationship was found between the code at the date and the original code from 2012, through the commit history of the project one can see that the current status of the project is the end result of an evolutionary process. The Odoo Community Association Board concluded that the original license should be respected for ethical reasons.

More information can be read here -


Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit