How dhyeyfarasram/healthcare works
This is an Odoo hospital/patient-management module. Patients use the portal to browse appointments, submit a booking, pay, view visit details, cancel, and download receipts. Clinical records center on visits, with prescriptions and follow-ups; patient profiles hold medical history. Doctors are organized by department, and the module extends Odoo users and payments. The tree and manifest also show administrative views, access rules, scheduled-job configuration, and a visit report. Several of those implementations were not sampled, so their runtime links are omitted rather than inferred.
Main entry points: patient_visit.py Patient Visits · portal.py Portal Workflows · res_partner.py Patient Profile · res_users.py Doctor Accounts
Components 21
Patient Portal
- Portal Workflows
controllers/portal.py - Portal Pages
views/portal_template.xml
Clinical Records
- Patient Visits
models/patient_visit.py - Patient Profile
models/res_partner.py - Prescription Lines
models/patient_prescription_line.py - Follow-ups
models/follow_up.py
Care Team
- Departments
models/doctor_department.py - Doctor Accounts
models/res_users.py
Administration & Reporting
- Patient Views
views/patient_views.xml - Medical History Views
views/medical_history.xml - Department Views
views/doctor_department.xml - Patient Navigation
views/patient_menu.xml - Scheduled Jobs
views/cron.xml - Visit Report
report/patient_visit_report.xml - Access Controls
security/ir.model.access.csv - Record Rules
security/ir.rules.xml - Role Groups
security/res.groups.xml
Odoo Extensions
- Visit Payment Link
models/account_payment.py
Other components
- Patient
- Odoo Accounting
- SMTP Mail Server
Connections 14
- Patient → Portal Workflows: uses
controllers/portal.py - Portal Workflows → Patient Visits: creates and reads
controllers/portal.py - Portal Workflows → Patient Visits: updates status
controllers/portal.py - Portal Workflows → Departments: searches
controllers/portal.py - Portal Workflows → Doctor Accounts: selects doctors
controllers/portal.py - Portal Workflows → Portal Pages: renders
controllers/portal.py - Patient Visits → Prescription Lines: owns lines
models/patient_visit.py - Patient Visits → Follow-ups: owns follow-ups
models/patient_visit.py - Patient Visits → Patient Profile: reads history
models/patient_visit.py - Patient Profile → Patient Visits: links visits
models/res_partner.py - Patient Profile → Visit Payment Link: links payments
models/res_partner.py - Doctor Accounts → Departments: belongs to
models/doctor_department.py - Visit Payment Link → Odoo Accounting: extends
models/account_payment.py - Patient Visits → SMTP Mail Server: sends email
models/patient_visit.py