Odoo医疗
 
应用简介
分类标签
详细信息
技术名称:medical
支持版本:9.0, 10.0
开发者名称:LasLabs
模块下载
 
License: AGPL-3

Odoo Medical

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

Installation

This module depends on modules located in the following repos: * https://github.com/OCA/partner-contact

Check the __manifest__.py for the specific dependencies.

Usage

Patients

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> <xpath expr="//field[@name='email']" position="after">

<field name="identification_code" /> <field name="age" /> <field name="gender" />

</xpath>

</field>

</record>

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 smashing it by providing a detailed and welcomed feedback.

Credits

Images

Contributors

Maintainer

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 http://odoo-community.org.