add patient

This commit is contained in:
vanilia
2025-11-19 13:21:04 +07:00
parent 7ea69720bb
commit 8644bcaedc
26 changed files with 1454 additions and 79 deletions

No files matched your search

@@ -34,7 +34,7 @@ type Person struct {
Ocupation_Code *erp.OcupationCode `json:"occupation_code" gorm:"size:15"`
Ocupation_Name *string `json:"occupation_name" gorm:"size:50"`
MaritalStatus_Code *erp.MaritalStatusCode `json:"maritalStatus_code" gorm:"size:10"`
Nationality *string `json:"nationality": gorm:"size:50"`
Nationality *string `json:"nationality" gorm:"size:50"`
Ethnic_Code *string `json:"ethnic_code" gorm:"size:20"`
Ethnic *ee.Ethnic `json:"ethnic,omitempty" gorm:"foreignKey:Ethnic_Code;references:Code"`
Language_Code *string `json:"language_code" gorm:"size:10"`