package chemo_plan

import (
	ee "simrs-vx/internal/domain/main-entities/encounter"
	"time"

	ecore "simrs-vx/internal/domain/base-entities/core"

	ere "simrs-vx/internal/domain/references/encounter"
)

type ChemoPlan struct {
	ecore.Main
	Parent_Id       *uint                   `json:"parent_id"` // chemo.Id
	Protocol_Id     *uint                   `json:"protocol_id"`
	SeriesNumber    *uint16                 `json:"seriesNumber"` // series ke -
	CycleNumber     *uint                   `json:"cycleNumber"`  // cycle ke -
	PlanDate        *time.Time              `json:"planDate"`
	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"`
	Reasons         *string                 `json:"reasons"` // json
}
