Commit f633eeb9 authored by Ángel Ramírez Isea's avatar Ángel Ramírez Isea
Browse files

refactor: Cambiar health_icu por commed_icu.

parent 28972f8e
GNU Health Intensive Care Unit Module
#####################################
Health ICU includes functionality in a Intensive Care Unit.
It incorporates scoring systems, such :
- GSC : Glasgow Coma Scale
- APACHE II : Acute Physiology and Chronic Health Evaluation II
The functionality is divided into two major sections :
- Patient ICU Information
- Patient Roundings
1) Patient ICU Information : Health -> Hospitalization -> Intensive Care -> Patient ICU Info
All the information is linked to the Inpatient record. This form allows you to have an idea of the patient status, days since admission at ICU and use of mechanical ventilation, among other functionalities.
From this form, you can directly create and evaluate :
- Electrocardiograms
- APACHE II Scoring
- Glasgow Coma Scale scoring
This is the preferred method to create new tests and evaluations on the patient, since it automatically takes the Inpatient Registration number and the patient information associated to it. This eliminates the error of assigning another inpatient record.
2) Patient Rounding : Health -> Nursing -> Roundings
All the ICU related information is on the new "ICU" tab. The assessment is divided in different systems :
- Neurological
- Respiratory
- Cardiovascular
- Blood and Skin
- Digestive
In this assesment (that can have different frequencies, depending on the center policies ), you should enter the information starting at the left tab (Main) and once you are done with this section, switch to the ICU tab.
The information in for the Glasgow Coma Scale and Electrocardiogram can be entered at that very same moment (if the EKG is done at bed side at evaluation time), or can be selected from the list. Please ask to put a short interpretation on the EKG.
For each EKG, in addition to fill in as much information as possible, please take a picture or scan the ECG strip, since it can provide valuable information for further evaluations ! The information related to the ECG in the rounding will be the Interpretation, so please be clear.
Of course, you can access to the rest of the information related to the ECG by opening the resource.
Xray picture : The ICU rounding allows to place an Xray (or other imaging diagnosis image). Unlike attachments related to the object, that you can also use, this image is even more contextual and graphic. Of course, this image should be very recent to the evaluation itself.
Drainages : Chest drainages are input from a One2many widget. This permits to have as many as in the patient, and with their own characteristics.
# Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
# Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
# Copyright 2020 LabViv.
# License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
from . import models
# Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
# Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
# Copyright 2020 LabViv.
# License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
{
'name': 'Community Medical ICU',
'description': '''Module to manage intensive care settings. health_icu
ported from GNUHealth.''',
'version': '13.0.0.0.1',
'category': 'Medical',
'author': 'LabViv',
'website': 'https://git.labviv.org.ve/',
'license': 'GPL-3',
'depends': [
'base',
'commed_base',
'commed_lifestyle',
'commed_procedure',
'commed_medicament',
'commed_center',
'commed_disease',
'commed_practitioner',
'commed_medication',
'commed_evaluation',
'commed_inpatient'
],
'data': [
'security/ir.model.access.csv',
'views/commed_icu_apache2_form.xml',
'views/commed_icu_apache2_tree.xml',
'views/commed_icu_chest_drainage_form.xml',
'views/commed_icu_chest_drainage_tree.xml',
'views/commed_icu_glasgow_form.xml',
'views/commed_icu_glasgow_tree.xml',
'views/commed_icu_ventilation_form.xml',
'views/commed_icu_ventilation_tree.xml',
'views/commed_patient.xml',
# 'views/gnuhealth_patient_icu_rounding.xml',
'views/commed_icu_view.xml'
],
'installable': True,
'application': True,
'maintainer': 'Julio César Méndez <mendezjcx@thoriumcorp.website>'
}
This diff is collapsed.
# Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
# Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
# Copyright 2020 LabViv.
# License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
from . import commed_icu
This diff is collapsed.
id,name,model_id:id,group_id:id,perm_read,perm_write,perm_create,perm_unlink
access_inpatient_registration,access_inpatient_registration,model_commed_inpatient_registration,base.group_user,1,1,1,1
access_inpatient_icu,access_inpatient_icu,model_commed_inpatient_icu,base.group_user,1,1,1,1
access_icu_glasgow,access_icu_glasgow,model_icu_glasgow,base.group_user,1,1,1,1
access_icu_apache2,access_icu_apache2,model_icu_apache2,base.group_user,1,1,1,1
access_icu_ventilation,access_icu_ventilation,model_commed_icu_ventilation,base.group_user,1,1,1,1
access_icu_chest_drainage,access_icu_chest_drainage,model_icu_chest_drainage,base.group_user,1,1,1,1
access_patient_rounding,access_patient_rounding,model_patient_rounding,base.group_user,1,1,1,1
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id="commed_icu_apache2_form_view" model="ir.ui.view">
<field name="name">icu.apache2.form.view</field>
<field name="model">icu.apache2</field>
<field name="arch" type="xml">
<form>
<group colspan="4">
<field name="name"/>
<field name="score_date"/>
<field name="age"/>
</group>
<newline/>
<group id="group_apache_physisological" string="Physiological" colspan="4">
<field name="temperature"/>
<field name="mean_ap"/>
<field name="heart_rate"/>
<field name="respiratory_rate"/>
<field name="fio2"/>
<field name="pao2"/>
<field name="paco2"/>
<field name="aado2"/>
<field name="ph"/>
<field name="serum_sodium"/>
<field name="serum_potassium"/>
<field name="serum_creatinine"/>
<field name="hematocrit"/>
<field name="wbc"/>
<field name="arf"/>
</group>
<newline/>
<group id="group_apache_chronic" string="Chronic" colspan="4">
<field name="chronic_condition"/>
<field name="hospital_admission_type"/>
</group>
<newline/>
<group>
<field name="apache_score"/>
</group>
</form>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id='commed_icu_apache2_view_tree' model='ir.ui.view'>
<field name="name">ICU Apache2</field>
<field name="model">icu.apache2</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="score_date" widget="date"/>
<field name="apache_score"/>
</tree>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id="commed_icu_chest_drainage_form_view" model="ir.ui.view">
<field name="name">icu.chest.drainage.form.view</field>
<field name="model">icu.chest.drainage</field>
<field name="arch" type="xml">
<form>
<group name="" colspan="4">
<field name="location"/>
<field name="suction"/>
<field name="suction_pressure"/>
<field name="fluid_volume"/>
<field name="fluid_aspect"/>
<field name="oscillation"/>
<field name="air_leak"/>
<field name="remarks"/>
</group>
</form>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id='commed_icu_chest_drainage_view_tree' model='ir.ui.view'>
<field name="name">ICU Test Drainage</field>
<field name="model">icu.chest.drainage</field>
<field name="priority">1</field>
<field name="arch" type="xml">
<tree string="Drainage" >
<field name="location" />
<field name="suction"/>
<field name="suction_pressure"/>
<field name="fluid_volume"/>
<field name="fluid_aspect"/>
<field name="oscillation"/>
<field name="air_leak"/>
<field name="remarks" />
</tree>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id="commed_icu_glasgow_form_view" model="ir.ui.view">
<field name="name">icu.glasgow.form.view</field>
<field name="model">icu.glasgow</field>
<field name="arch" type="xml">
<form>
<group colspan="4">
<field name="name"/>
<field name="evaluation_date"/>
</group>
<newline/>
<group id="group_glasgow_header" colspan="4">
<field name="glasgow_eyes"/>
<field name="glasgow_verbal"/>
<field name="glasgow_motor"/>
<field name="glasgow"/>
</group>
</form>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id='commed_icu_glasgow_view_tree' model='ir.ui.view'>
<field name="name">ICU Glasgow</field>
<field name="model">icu.glasgow</field>
<field name="arch" type="xml">
<tree>
<field name="name" />
<field name="evaluation_date" />
<field name="evaluation_date" string="Time" />
<field name="glasgow_eyes" />
<field name="glasgow_verbal" />
<field name="glasgow_motor" />
<field name="glasgow" />
</tree>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id="commed_icu_ventilation_form_view" model="ir.ui.view">
<field name="name">commed.icu_ventilation.form.view</field>
<field name="model">commed.icu_ventilation</field>
<field name="arch" type="xml">
<form>
<group id="group_icu_ventilation" colspan="4" col="8" string="Mechanical Ventilation">
<field name="current_mv"/>
<field name="mv_start"/>
<field name="mv_end"/>
<field name="mv_period"/>
<field name="ventilation"/>
<field name="ett_size"/>
<field name="tracheostomy_size"/>
</group>
<newline/>
<field name="remarks"/>
</form>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id='commed_icu_ventilation_view_tree' model='ir.ui.view'>
<field name="name">ICU Ventilation</field>
<field name="model">commed.icu_ventilation</field>
<field name="arch" type="xml">
<tree>
<field name="current_mv"/>
<field name="ventilation"/>
<field name="mv_start" />
<field name="mv_end" />
<field name="mv_period"/>
<field name="remarks" />
</tree>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<!-- ir.actions.act_window Todas las action del menu -->
<record id="action_commed_icu_glasgow_form" model="ir.actions.act_window">
<field name="name">GCS </field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">icu.glasgow</field>
<field name="view_mode">kanban,form,tree</field>
</record>
<record id="action_icu_commed_patient_form" model="ir.actions.act_window">
<field name="name">Patient ICU Info</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">commed.inpatient_icu</field>
<field name="view_mode">tree,form</field>
</record>
<record id="action_commed_icu_apache2_form" model="ir.actions.act_window">
<field name="name">APACHE II Score</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">icu.apache2</field>
<field name="view_mode">kanban,form,tree</field>
</record>
<record id="action_commed_icu_glasgow_form" model="ir.actions.act_window">
<field name="name">Glasgow Coma Scale</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">icu.glasgow</field>
<!--field name="domain" eval="[('name.icu_admissions', '=', Eval('active_id'))]"/-->
</record>
<record id="action_commed_icu_apache2_form" model="ir.actions.act_window">
<field name="name">APACHE II</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">icu.apache2</field>
<!--field name="domain" eval="[('name.icu_admissions', '=', Eval('active_id'))]"/-->
<field name="view_mode">kanban,form,tree</field>
</record>
<record id="action_commed_icu_ecg_form1" model="ir.actions.act_window">
<field name="name">Inpatient ECGs</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">commed.patient_ecg</field>
<field name="view_mode">kanban,form,tree</field>
<field name="domain">"[('inpatient_registration_code.icu_admissions', '=', active_id)]"</field>
</record>
<menuitem
name="Intensive Care"
id="commed_icu_menu"
parent="commed_base.commed_root"
sequence="90"
/>
<menuitem
action="action_commed_icu_glasgow_form"
name="ICU Glasgow list"
id="menu_commed_icu_glasgow_list"
parent="commed_icu_menu"
/>
<menuitem
action="action_commed_icu_apache2_form"
name="ICU Apache2 list"
id="menu_commed_icu_apache2_list"
parent="commed_icu_menu"
/>
<!-- <menuitem
action="action_commed_icu_ecg_form1"
name="ICU ECGs list"
id="menu_commed_icu_ecgs_list1"
parent="commed_icu_menu"
/> -->
<menuitem
action="action_icu_commed_patient_form"
name="Inpatient ICU list"
id="menu_commed_patient_list"
parent="commed_icu_menu"
sequence="1"
/>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record id="icu_commed_patient_view_form" model="ir.ui.view">
<field name="name">commed.inpatient_icu.form</field>
<field name="model">commed.inpatient_icu</field>
<field name="arch" type="xml">
<form>
<group colspan="4">
<field name="name"/>
<field name="admitted"/>
</group>
<newline/>
<group id="icu_group_dates" string="Period" col="8" colspan="4">
<field name="icu_admission_date"/>
<field name="icu_stay"/>
<field name="discharged_from_icu"/>
<field name="icu_discharge_date"/>
</group>
<newline/>
<field name="mv_history" colspan="4"/>
</form>
</field>
</record>
<record id='icu_commed_patient_view_tree' model='ir.ui.view'>
<field name="name">Inpatient ICU</field>
<field name="model">commed.inpatient_icu</field>
<field name="arch" type="xml">
<tree>
<field name="name"/>
<field name="admitted" />
<field name="icu_admission_date" />
<field name="discharged_from_icu"/>
<field name="icu_discharge_date"/>
<field name="icu_stay"/>
</tree>
</field>
</record>
</odoo>
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2008-2020 Luis Falcon <lfalcon@gnusolidario.org>
Copyright (C) 2011-2020 GNU Solidario <health@gnusolidario.org>
Copyright 2020 LabViv.
License GPL-3.0 or later (http://www.gnu.org/licenses/gpl.html).
-->
<odoo>
<record model="ir.ui.view" id="gnuhealth_patient_icu_rounding_view">
<field name="model">patient.rounding</field>
<field name="inherit" ref="health_nursing.gnuhealth_patient_rounding_view" />
<field name="name">gnuhealth_patient_icu_rounding</field>
<form>
<xpath expr="/form/notebook/page/group/label[@name='warning']" position="replace"/>
<xpath expr="/form/notebook/page/group/field[@name='warning']" position="replace"/>
<xpath expr="/form/notebook/page/group/field[@name='environmental_assessment']" position="after">
<group colspan="1" col="4" id="group_rounding_icu_warning">
<field name="icu_patient"/>
<field name="warning"/>
</group>
</xpath>
<xpath expr="/form/notebook/page[@id='rounding_main']" position="after">
<page id="rounding_icu" string="ICU">
<group id="group_rounding_icu_neurologic" colspan="4" col="8" string="Neurologic">
<field name="gcs"/>
<newline/>
<field name="pupil_dilation"/>
<field name="right_pupil"/>
<field name="left_pupil"/>
<field name="anisocoria"/>
<newline/>
<field name="pupillary_reactivity"/>
<field name="pupil_consensual_resp"/>
</group>
<newline/>
<group colspan="4" id="group_rounding_icu_respiratory" string="Respiratory">
<group id="chest_icu_main">
<field name="oxygen_mask"/>
<field name="fio2"/>
<field name="respiration_type"/>
<field name="trachea_alignment"/>
<newline/>
<field name="peep"/>
<field name="peep_pressure"/>
<field name="sce"/>
<field name="oral_mucosa_lesion"/>
<field name="lips_lesion"/>
<newline/>
<group id="chest_expansion" string="Chest Expansion" colspan="4" col="6">
<field name="chest_expansion"/>
<field name="paradoxical_expansion"/>
<field name="tracheal_tug"/>
</group>
</group>
<group string="Xray" id="patient_xray">
<field name="xray" height="200" width="200" />
</group>
<newline/>
</group>
<field name="chest_drainages" colspan="4"/>
<newline/>
<group colspan="4" id="group_rounding_icu_cardio" string="Cardiovascular">
<group id="icu_cardio_ecg" colspan="4" col="4">
<field name="ecg" colspan="3"/>
</group>
<newline/>
<group id="icu_vessel_access" colspan="4" col="10">
<field name="venous_access"/>
<field name="swan_ganz"/>
<field name="arterial_access"/>
<field name="dialysis"/>
<field name="edema"/>
</group>
</group>
<group id="icu_skin" string="Blood and Skin" colspan="4" col="10">
<field name="bacteremia"/>
<field name="ssi"/>
<field name="wound_dehiscence"/>
<field name="cellulitis"/>
<field name="necrotizing_fasciitis"/>
</group>
<group id="digestive" string="Digestive and Abdomen" colspan="4" col="10">
<field name="vomiting"/>
<field name="bowel_sounds"/>
<field name="stools"/>
<field name="peritonitis"/>
</group>
</page>
</xpath>
</form>
</record>
</odoo>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment