Medical Disease

medical_disease
REPOSITORY
REPOSITORYOCA/vertical-medical
GIT
GIThttps://github.com/OCA/vertical-medical.git
GIT FOLDER
GIT FOLDERhttps://github.com/OCA/vertical-medical/tree/10.0/medical_disease
VERSION
VERSION 1.1.0
CATEGORY
CATEGORYMedical
LICENSE
LICENSEGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo Community Association (OCA), ACSONE SA/NV
MAINTAINERS
MAINTAINERSOdoo Community Association (OCA), ACSONE SA/NV
COMMITTERS
COMMITTERSPedro M. Baeza, Jordi Ballester, Dave Lasley
WEBSITE
WEBSITEhttp://www.acsone.eu
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:20:02
ODOO DEPENDENCIES
ODOO DEPENDENCIES OCA/server-tools:
    - base_locale_uom_default
OCA/vertical-medical:
    - medical
odoo/odoo:
    - product
    - base
    - decimal_precision
    - mail
    - base_setup
    - web_kanban
    - web
    - bus
    - web_tour
    - report
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION

Code Analysis

Views touched (13)
XML IDNameModelTypeStatus
medical_pathology_view_category_form medical.pathology.category.form medical.pathology.category form New
medical_pathology_view_category_search medical.pathology.category.search medical.pathology.category search New
medical_pathology_view_category_tree medical.pathology.category.tree medical.pathology.category tree New
medical_pathology_view_form medical.pathology.form medical.pathology form New
medical_pathology_view_group_form medical.pathology.group.form medical.pathology.group form New
medical_pathology_view_group_search medical.pathology.group.search medical.pathology.group search New
medical_pathology_view_group_tree medical.pathology.group.tree medical.pathology.group tree New
medical_pathology_view_search medical.pathology.search medical.pathology search New
medical_pathology_view_tree medical.pathology.tree medical.pathology tree New
medical_patient_view_disease_form medical.patient.disease.form medical.patient.disease form New
medical_patient_view_disease_search medical.patient.disease.search medical.patient.disease search New
medical_patient_view_disease_tree medical.patient.disease.tree medical.patient.disease tree New
medical_patient_view_form medical.patient.form (medical_disease) medical.patient xpath Inherits medical.medical_patient_view_form
Models touched (5)

New fields (8)
  • category_id Many2one → medical.pathology.category
    comodel_name='medical.pathology.category' index=True string='Category of Pathology'
  • chromosome Char
    string='Affected Chromosome'
  • code Char
    required=True
  • gene Char
  • medical_pathology_group_m2m_ids Many2many → medical.pathology.group
    colmun2='pathology_group_id' column1='pathology_id' comodel_name='medical.pathology.group' relation='pathology_id_pathology_group_id_rel' string='Medical Pathology Groups'
  • name Char
    required=True translate=True
  • notes Text
    translate=True
  • protein Char
    string='Protein involved'
Public methods (0)

No public methods.

New fields (3)
  • child_ids One2many → medical.pathology.category
    comodel_name='medical.pathology.category' inverse_name='parent_id' string='Children Categories'
  • name Char
    required=True translate=True
  • parent_id Many2one → medical.pathology.category
    comodel_name='medical.pathology.category' index=True string='Parent Category'
Public methods (0)

No public methods.

New fields (4)
  • code Char
    help='for example MDG6 code will contain the Millennium Development Goals # 6 diseases : Tuberculosis, Malaria and HIV/AIDS' required=True
  • description Text
    required=True string='Short Description' translate=True
  • name Char
    required=True translate=True
  • notes Text
    translate=True
Public methods (0)

No public methods.

New fields (2)
  • count_disease_ids Integer
    compute='compute_count_disease_ids' string='NB. Disease'
  • disease_ids One2many → medical.patient.disease
    comodel_name='medical.patient.disease' inverse_name='patient_id' string='Diseases'
Public methods (2)
  • action_invalidate(self)
    @api.one
  • compute_count_disease_ids(self)
    @api.one

New fields (23)
  • active Boolean
    default=True
  • age Integer
    string='Age when diagnosed'
  • allergy_type Selection
    args: [('da', 'Drug Allergy'), ('fa', 'Food Allergy'), ('ma', 'Misc Allergy'), ('mc', 'Misc Contraindication')]
  • diagnosed_date Date
    string='Date of Diagnosis'
  • disease_severity Selection
    string='Severity' args: [('1_mi', 'Mild'), ('2_mo', 'Moderate'), ('3_sv', 'Severe')]
  • expire_date Datetime
    compute='_compute_expire_date' store=True
  • healed_date Date
    string='Date of Healing'
  • is_allergy Boolean
    string='Allergic Disease'
  • is_infectious Boolean
    string='Infectious Disease'
  • is_on_treatment Boolean
    string='Currently on Treatment'
  • is_pregnant Boolean
    string='Pregnancy warning'
  • name Char
    compute='_compute_name' store=True
  • notes Text
  • pathology_id Many2one → medical.pathology
    comodel_name='medical.pathology' index=True required=True string='Pathology'
  • patient_id Many2one → medical.patient
    comodel_name='medical.patient' index=True required=True string='Patient'
  • physician_id Many2one → medical.physician
    comodel_name='medical.physician' index=True string='Physician'
  • pregnancy_warning Boolean
  • short_comment Char
  • state Selection
    string='Status of the disease' args: [('a', 'Acute'), ('c', 'Chronic'), ('u', 'Unchanged'), ('h', 'Healed'), ('i', 'Improving'), ('w', 'Worsening')]
  • treatment_description Char
  • treatment_end_date Date
  • treatment_start_date Date
  • weeks_of_pregnancy Integer
    help='Week number of pregnancy when disease contracted' string='Pregnancy Week#'
Public methods (2)
  • action_invalidate(self)
    @api.one
  • action_revalidate(self)
    @api.one