Search 1.9 billion lines of Odoo code on GitHub

medical

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, CLVsol/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, Mefistous/vertical-medical, MrYuo/vertical-medical, NeatNerdPrime/vertical-medical, Nucleoos/oca-vertical-medical, Nucleoos/oemedical, OCA/vertical-medical, Palpid/vertical-medical, Roobonet/vertical-medical, ScottAI/vertical-medical, Talilili/vertical-medical, VisiionSolucionesTecnologicas/vertical-medical, abdawone/vertical-medical, ajaygowtham/vertical-medical, amirunpri2018/vertical-medical, aomiitinc/vertical-medical, apetbiz/vertical-medical, bachmanna/vertical-medical, bopo/vertical-medical, bouvyd/dbo-odoo, cedvict/vertical-medical, cyb3rdog/vertical-medical, daramousk/vertical-medical, dbo-odoo/dbo-odoo, detian08/vertical-medical, 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, iunui/vertical-medical, jackusa/vertical-medical, jhonaelramos/vertical-medical, kidbrion/vertical-medical, lakhlaifi/vertical-medical, lateef10/vertical-medical, lideritjnma/vertical-medical, litwinski/vertical-medical-1, mediaengagers/vertical-medical-1, moarefk/medical2, mohammed0115/vertical-medical, muhammadkashif/vertical-medical, nteej/vertical-medical, odoo-mastercore/vertical-medical, onaconsulting/vertical-medical, oubrou/vertical-medical, pscloud/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, walidsayed/vertical-medical, weddingjuma/vertical-medical, westlyou/oemedical, westlyou/vertical-medical, yanpierchirino/vertical-medical, ygdmxy/vertical-medical, yunambu/vertical-medical, yusniermatos/vertical-medical, and zarumaru/vertical-medical

<a class="reference external image-reference" href="http://www.gnu.org/licenses/gpl-3.0-standalone.html"><img alt="License: GPL-3" src="https://img.shields.io/badge/license-GPL--3-blue.svg"> </a> <a name="odoo-medical"></a> <h2>Odoo Medical</h2> <p>This module extends Odoo with the base functionality of medical patients.</p> <a name="installation"></a> <h3>Installation</h3> <p>This module depends on modules located in the following repos: * <a class="reference external" href="https://github.com/OCA/partner-contact">https://github.com/OCA/partner-contact</a></p> <p>Check the <code>__manifest__.py</code> for the specific dependencies.</p> <a name="usage"></a> <h3>Usage</h3> <a name="patients"></a> <h4>Patients</h4> <p>Patients are available in the <code>Medical</code> App, in the <code>Patients</code> submenu.</p> <a name="medical-abstract-entity"></a> <h4>Medical Abstract Entity</h4> <p>The Medical Abstract Entity (<code>medical.abstract.entity</code>) is an AbstractModel that provides for a central base that all medical entities should inherit from.</p> <p>A Medical Entity is any partner that also requires a medical context. Examples:</p> <ul class="simple"> <li>MedicalCenter</li> <li>MedicalPatient</li> <li>MedicalPhysician</li> <li>MedicalPharmacy</li> </ul> <p>Some base views are also provided in order to make it easy to create new medical entities &amp; maintain uniformity between them:</p> <ul class="simple"> <li>Kanban - <code>medical_asbsract_entity_view_kanban</code></li> <li>Tree - <code>medical_asbsract_entity_view_tree</code></li> <li>Form - <code>medical_asbsract_entity_view_form</code></li> <li>Search - <code>medical_asbsract_entity_view_search</code></li> </ul> <p>When inheriting these views, you must define the inheritance mode as <code>primary</code>, such as in the following example:</p> <pre> <code lang="xml">&lt;record id=&quot;medical_patient_view_tree&quot; model=&quot;ir.ui.view&quot;&gt; &lt;field name=&quot;name&quot;&gt;medical.patient.tree&lt;/field&gt; &lt;field name=&quot;model&quot;&gt;medical.patient&lt;/field&gt; &lt;field name=&quot;inherit_id&quot; ref=&quot;medical_abstract_entity_view_tree&quot; /&gt; &lt;field name=&quot;mode&quot;&gt;primary&lt;/field&gt; &lt;field name=&quot;arch&quot; type=&quot;xml&quot;&gt; &lt;xpath expr=&quot;//tree&quot; position=&quot;attributes&quot;&gt; &lt;attribute name=&quot;string&quot;&gt;Patients&lt;/attribute&gt; &lt;/xpath&gt; &lt;xpath expr=&quot;//field[&#64;name='email']&quot; position=&quot;after&quot;&gt; &lt;field name=&quot;identification_code&quot; /&gt; &lt;field name=&quot;age&quot; /&gt; &lt;field name=&quot;gender&quot; /&gt; &lt;/xpath&gt; &lt;/field&gt; &lt;/record&gt;</code> </pre> <p>Take a look at <code>medical/views/medical_patient.xml</code>, or any of the other medical entity views for more examples.</p> <a class="reference external image-reference" href="https://runbot.odoo-community.org/runbot/159/10.0"><img alt="Try me on Runbot" src="https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas" /></a> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>There is a singleton issue with the ID numbers pass-thru &amp; crossing could occur.</li> <li>v11 - Move Marital status into a new module in OCA/partner-contact</li> </ul> <a name="bug-tracker"></a> <h3>Bug Tracker</h3> <p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/vertical-medical/issues">GitHub Issues</a>. 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.</p> <a name="credits"></a> <h3>Credits</h3> <a name="images"></a> <h4>Images</h4> <ul class="simple"> <li>Odoo Community Association: <a class="reference external" href="https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg">Icon</a>.</li> <li>DevCom: <a class="reference external" href="http://www.devcom.com/">Patient Avatar</a>.</li> </ul> <a name="contributors"></a> <h4>Contributors</h4> <ul class="simple"> <li>Dave Lasley &lt;<a class="reference external" href="mailto:dave&#64;laslabs.com">dave&#64;laslabs.com</a>&gt;</li> <li>Jonathan Nemry &lt;<a class="reference external" href="mailto:jonathan.nemry&#64;acsone.eu">jonathan.nemry&#64;acsone.eu</a>&gt;</li> <li>Brett Wood &lt;<a class="reference external" href="mailto:bwood&#64;laslabs.com">bwood&#64;laslabs.com</a>&gt;</li> <li>Jordi Ballester Alomar &lt;<a class="reference external" href="mailto:jordi.ballester&#64;eficent.com">jordi.ballester&#64;eficent.com</a>&gt;</li> </ul> <p>The current project as it is today represents an evolution of the original work started by Luis Falcon. See <a class="reference external" href="https://sourceforge.net/projects/medical/files/Oldfiles/1.0.1">https://sourceforge.net/projects/medical/files/Oldfiles/1.0.1</a>, that later became GNU Health (see <a class="reference external" href="http://health.gnu.org/">http://health.gnu.org/</a>). The original code was licensed under GPL.</p> <p>On Nov 27, 2012 derivative code was published in <a class="reference external" href="https://github.com/OCA/vertical-medical">https://github.com/OCA/vertical-medical</a>, by Tech-Receptives Solutions Pvt. Ltd., licensed under AGPL. The license change was unauthorized by the original author. See <a class="reference external" href="https://github.com/OCA/vertical-medical/commit/f0a664749edaea36f6749c34bfb04f1fc4cc9ea4">https://github.com/OCA/vertical-medical/commit/f0a664749edaea36f6749c34bfb04f1fc4cc9ea4</a></p> <p>On Feb 17, 2017 the branch 9.0 of the project was relicensed to LGPL. <a class="reference external" href="https://github.com/OCA/vertical-medical/pull/166">https://github.com/OCA/vertical-medical/pull/166</a>. Various prior contributors approved the relicense, but not all.</p> <p>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.</p> <p>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.</p> <p>More information can be read here - <a class="reference external" href="https://odoo-community.org/blog/our-blog-1/post/vertical-medical-75">https://odoo-community.org/blog/our-blog-1/post/vertical-medical-75</a>.</p> <a name="maintainer"></a> <h4>Maintainer</h4> <a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a> <p>This module is maintained by the OCA.</p> <p>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.</p> <p>To contribute to this module, please visit <a class="reference external" href="http://odoo-community.org">http://odoo-community.org</a>.</p>