-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After this commit: -added added data -added basic appointment booking
- Loading branch information
Showing
12 changed files
with
451 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0"?> | ||
<odoo noupdate="1"> | ||
<!-- Medical SYmptoms DATA --> | ||
|
||
<record model="chronic.conditions" id="chronic_type1"> | ||
<field name="name">Diabetes- Type 2</field> | ||
</record> | ||
<record model="chronic.conditions" id="chronic_type2"> | ||
<field name="name">Heart Conditions</field> | ||
</record> | ||
<record model="dental.allergies" id="allergies_type1"> | ||
<field name="name">Latex</field> | ||
</record> | ||
<record model="dental.allergies" id="allergies_type2"> | ||
<field name="name">Mercury</field> | ||
</record> | ||
<record model="habits.substance" id="habits_type1"> | ||
<field name="name">Alcohol</field> | ||
</record> | ||
|
||
<!-- Medication DATA --> | ||
|
||
<record model="dental.medication" id="habits_type1"> | ||
<field name="name">Acetaminophen</field> | ||
</record> | ||
<record model="dental.medication" id="habits_type2"> | ||
<field name="name">Corticosteroids</field> | ||
</record> | ||
<record model="dental.medication" id="habits_type3"> | ||
<field name="name">Ibuprofen</field> | ||
</record> | ||
<record model="dental.medication" id="habits_type4"> | ||
<field name="name">Pilocarpine</field> | ||
</record> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,108 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<odoo> | ||
<data noupdate="1"> | ||
<!-- Incisors --> | ||
<record id="dental_tag_incisor_upper_left_1" model="dental.tags"> | ||
<field name="name">Upper Left Central Incisor</field> | ||
</record> | ||
<record id="dental_tag_incisor_upper_left_2" model="dental.tags"> | ||
<field name="name">Upper Left Lateral Incisor</field> | ||
</record> | ||
<record id="dental_tag_incisor_upper_right_1" model="dental.tags"> | ||
<field name="name">Upper Right Central Incisor</field> | ||
</record> | ||
<record id="dental_tag_incisor_upper_right_2" model="dental.tags"> | ||
<field name="name">Upper Right Lateral Incisor</field> | ||
</record> | ||
<record id="dental_tag_incisor_lower_left_1" model="dental.tags"> | ||
<field name="name">Lower Left Central Incisor</field> | ||
</record> | ||
<record id="dental_tag_incisor_lower_left_2" model="dental.tags"> | ||
<field name="name">Lower Left Lateral Incisor</field> | ||
</record> | ||
<record id="dental_tag_incisor_lower_right_1" model="dental.tags"> | ||
<field name="name">Lower Right Central Incisor</field> | ||
</record> | ||
<record id="dental_tag_incisor_lower_right_2" model="dental.tags"> | ||
<field name="name">Lower Right Lateral Incisor</field> | ||
</record> | ||
|
||
<!-- Canines --> | ||
<record id="dental_tag_canine_upper_left" model="dental.tags"> | ||
<field name="name">Upper Left Canine</field> | ||
</record> | ||
<record id="dental_tag_canine_upper_right" model="dental.tags"> | ||
<field name="name">Upper Right Canine</field> | ||
</record> | ||
<record id="dental_tag_canine_lower_left" model="dental.tags"> | ||
<field name="name">Lower Left Canine</field> | ||
</record> | ||
<record id="dental_tag_canine_lower_right" model="dental.tags"> | ||
<field name="name">Lower Right Canine</field> | ||
</record> | ||
|
||
<!-- Premolars --> | ||
<record id="dental_tag_premolar_upper_left_1" model="dental.tags"> | ||
<field name="name">Upper Left First Premolar</field> | ||
</record> | ||
<record id="dental_tag_premolar_upper_left_2" model="dental.tags"> | ||
<field name="name">Upper Left Second Premolar</field> | ||
</record> | ||
<record id="dental_tag_premolar_upper_right_1" model="dental.tags"> | ||
<field name="name">Upper Right First Premolar</field> | ||
</record> | ||
<record id="dental_tag_premolar_upper_right_2" model="dental.tags"> | ||
<field name="name">Upper Right Second Premolar</field> | ||
</record> | ||
<record id="dental_tag_premolar_lower_left_1" model="dental.tags"> | ||
<field name="name">Lower Left First Premolar</field> | ||
</record> | ||
<record id="dental_tag_premolar_lower_left_2" model="dental.tags"> | ||
<field name="name">Lower Left Second Premolar</field> | ||
</record> | ||
<record id="dental_tag_premolar_lower_right_1" model="dental.tags"> | ||
<field name="name">Lower Right First Premolar</field> | ||
</record> | ||
<record id="dental_tag_premolar_lower_right_2" model="dental.tags"> | ||
<field name="name">Lower Right Second Premolar</field> | ||
</record> | ||
|
||
<!-- Molars --> | ||
<record id="dental_tag_molar_upper_left_1" model="dental.tags"> | ||
<field name="name">Upper Left First Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_upper_left_2" model="dental.tags"> | ||
<field name="name">Upper Left Second Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_upper_left_3" model="dental.tags"> | ||
<field name="name">Upper Left Third Molar (Wisdom Tooth)</field> | ||
</record> | ||
<record id="dental_tag_molar_upper_right_1" model="dental.tags"> | ||
<field name="name">Upper Right First Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_upper_right_2" model="dental.tags"> | ||
<field name="name">Upper Right Second Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_upper_right_3" model="dental.tags"> | ||
<field name="name">Upper Right Third Molar (Wisdom Tooth)</field> | ||
</record> | ||
<record id="dental_tag_molar_lower_left_1" model="dental.tags"> | ||
<field name="name">Lower Left First Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_lower_left_2" model="dental.tags"> | ||
<field name="name">Lower Left Second Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_lower_left_3" model="dental.tags"> | ||
<field name="name">Lower Left Third Molar (Wisdom Tooth)</field> | ||
</record> | ||
<record id="dental_tag_molar_lower_right_1" model="dental.tags"> | ||
<field name="name">Lower Right First Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_lower_right_2" model="dental.tags"> | ||
<field name="name">Lower Right Second Molar</field> | ||
</record> | ||
<record id="dental_tag_molar_lower_right_3" model="dental.tags"> | ||
<field name="name">Lower Right Third Molar (Wisdom Tooth)</field> | ||
</record> | ||
</data> | ||
</odoo> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
from . import medication | ||
from . import medical_history | ||
from . import dental_tags | ||
# from . import account_move |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# from odoo import models, fields | ||
|
||
|
||
# class AccountMove(models.Model): | ||
# _inherit = "account.move" | ||
|
||
# patient_id = fields.Many2one('dental.patient', string="Patient name") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.