add screening

This commit is contained in:
dpurbosakti
2025-12-01 17:56:21 +07:00
committed by munawwirul_jamal
parent a1ac59474b
commit 50db75e014
6 changed files with 180 additions and 57 deletions

No files matched your search

@@ -0,0 +1,17 @@
package screening
import (
ecore "simrs-vx/internal/domain/base-entities/core"
eem "simrs-vx/internal/domain/main-entities/employee"
erc "simrs-vx/internal/domain/references/clinical"
)
type Screening struct {
ecore.Main // adjust this according to the needs
Encounter_Id *uint `json:"encounter_id"`
Employee_Id *uint `json:"employee_id"`
Employee *eem.Employee `json:"employee,omitempty" gorm:"foreignKey:Employee_Id;references:Id"`
Type erc.ScreeningFormTypeCode `json:"type"`
Value *string `json:"value"`
}