clinic management
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
from odoo import models, fields, api
|
||||
|
||||
class ClinicPatient(models.Model):
|
||||
_name = 'clinic.patient'
|
||||
_description = 'Bệnh nhân'
|
||||
|
||||
name = fields.Char(string='Tên bệnh nhân', required=True)
|
||||
dob = fields.Date(string='Ngày sinh')
|
||||
gender = fields.Selection([
|
||||
('male', 'Male'),
|
||||
('female', 'Female')
|
||||
], string='Giới tính')
|
||||
phone = fields.Char(string='Số điện thoại')
|
||||
medical_history = fields.Text(string='Lịch sử bệnh án')
|
||||
Reference in New Issue
Block a user