Merge branch 'migration-vanilia' of https://github.com/dikstub-rssa/simrs-be into feat/chemo-plan
This commit is contained in:
@@ -71,6 +71,7 @@ type ResponseDto struct {
|
||||
RealizationDate *time.Time `json:"realizationDate"`
|
||||
Notes *string `json:"notes"`
|
||||
Status ere.StatusProtocolChemo `json:"status"`
|
||||
Reasons *string `json:"reasons"`
|
||||
}
|
||||
|
||||
func (d ChemoPlan) ToResponse() ResponseDto {
|
||||
|
||||
@@ -21,4 +21,5 @@ type ChemoPlan struct {
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user