This commit is contained in:
ari
2025-12-06 08:36:05 +07:00
parent c38e54e709
commit 019a413e9b
@@ -3,7 +3,6 @@ package procedurereport
import (
ecore "simrs-vx/internal/domain/base-entities/core"
ed "simrs-vx/internal/domain/main-entities/doctor"
eem "simrs-vx/internal/domain/main-entities/employee"
ee "simrs-vx/internal/domain/main-entities/encounter"
"time"
)
@@ -19,9 +18,9 @@ type ProcedureReport struct {
Assistant_Name string `json:"assistant_name"`
Instrumentor_Name string `json:"instrumentor_name"`
Diagnose *string `json:"diagnose" gorm:"size:1024"`
Nurse_Name string `json:"nurse_code" gorm:"size:10"`
Nurse_Name string `json:"nurse_name" gorm:"size:10"`
Anesthesia_Doctor_Code *string `json:"anesthesia_doctor_code" gorm:"size:10"`
Anesthesia *eem.Employee `json:"anesthesia,omitempty" gorm:"foreignKey:Anesthesia_Doctor_Code;references:Code"`
Anesthesia_Doctor *ed.Doctor `json:"anesthesia,omitempty" gorm:"foreignKey:Anesthesia_Doctor_Code;references:Code"`
Anesthesia_Nurse_Name *string `json:"anesthesia_nurse_name"`
ProcedureValue string `json:"procedure_value"`
ExecutionValue string `json:"execution_value"`