package chemo_protocol

import (
	ecore "simrs-vx/internal/domain/base-entities/core"
	ee "simrs-vx/internal/domain/main-entities/encounter"
	"simrs-vx/internal/domain/references/common"
	"time"
)

type ChemoProtocol struct {
	ecore.Main
	Encounter_Id      *uint                `json:"encounter_id"`
	Encounter         *ee.Encounter        `json:"encounter,omitempty" gorm:"foreignKey:Encounter_Id;references:Id"`
	Patient_Weight    *float32             `json:"patient_weight"`
	Patient_Height    *float32             `json:"patient_height"`
	Diagnoses         *string              `json:"diagnoses"`
	Duration          *uint                `json:"duration"`
	DurationUnit_Code *common.TimeUnitCode `json:"durationUnit_code" gorm:"size:10"`
	StartDate         *time.Time           `json:"startDate"`
	EndDate           *time.Time           `json:"endDate"`
}
