adjust chemo-plan

This commit is contained in:
vanilia
2025-12-09 09:28:15 +07:00
parent c5c4a10e2e
commit f22968e217
3 changed files with 8 additions and 2 deletions
@@ -1,6 +1,7 @@
package chemo_plan
import (
ee "simrs-vx/internal/domain/main-entities/encounter"
"time"
ecore "simrs-vx/internal/domain/base-entities/core"
@@ -18,4 +19,6 @@ type ChemoPlan struct {
RealizationDate *time.Time `json:"realizationDate"`
Notes *string `json:"notes"`
Status ere.StatusProtocolChemo `json:"status"`
Encounter_Id *uint `json:"encounter_id"`
Encounter *ee.Encounter `json:"encounter,omitempty" gorm:"foreignKey:Encounter_Id;references:Id"`
}