This commit is contained in:
vanilia
2025-12-06 05:06:58 +07:00
parent b454f52039
commit cb950e63e9
12 changed files with 805 additions and 22 deletions
@@ -16,7 +16,7 @@ import (
type CreateDto struct {
Encounter_Id *uint `json:"encounter_id" validate:"required"`
Chemo_Id *uint `json:"chemo_id"`
Chemo_Id *uint `json:"chemo_id" validate:"required"`
Patient_Weight *float32 `json:"patient_weight"`
Patient_Height *float32 `json:"patient_height"`
Diagnoses *string `json:"diagnoses" validate:"required"`
@@ -26,6 +26,7 @@ type CreateDto struct {
StartDate *time.Time `json:"startDate"`
EndDate *time.Time `json:"endDate"`
Status_Code erc.DataVerifiedCode `json:"-"`
Patient_Id *uint `json:"patient_id"`
}
type ReadListDto struct {
@@ -41,6 +41,7 @@ type FilterDto struct {
type ReadDetailDto struct {
Id uint16 `json:"id"`
Includes string `json:"includes"`
FilterDto
}
type UpdateDto struct {