fail chemo ongoing
This commit is contained in:
No files matched your search
@@ -18,6 +18,7 @@ type CreateDto struct {
|
||||
RealizationDate *time.Time `json:"realizationDate"`
|
||||
Notes *string `json:"notes"`
|
||||
Status ere.StatusProtocolChemo `json:"status"`
|
||||
Encounter_Id *uint `json:"encounter_id"`
|
||||
}
|
||||
|
||||
type ReadListDto struct {
|
||||
@@ -45,6 +46,11 @@ type DeleteDto struct {
|
||||
Id uint `json:"id"`
|
||||
}
|
||||
|
||||
type FailDto struct {
|
||||
Id uint `json:"id"`
|
||||
Reasons *string `json:"reason"`
|
||||
}
|
||||
|
||||
type MetaDto struct {
|
||||
PageNumber int `json:"page_number"`
|
||||
PageSize int `json:"page_size"`
|
||||
@@ -71,7 +77,7 @@ func (d ChemoPlan) ToResponse() ResponseDto {
|
||||
PlanDate: d.PlanDate,
|
||||
RealizationDate: d.RealizationDate,
|
||||
Notes: d.Notes,
|
||||
Status: *d.Status,
|
||||
Status: d.Status,
|
||||
}
|
||||
resp.Main = d.Main
|
||||
return resp
|
||||
|
||||
@@ -2,6 +2,8 @@ package chemo
|
||||
|
||||
import (
|
||||
ed "simrs-vx/internal/domain/main-entities/doctor"
|
||||
ere "simrs-vx/internal/domain/references/encounter"
|
||||
|
||||
// std
|
||||
"time"
|
||||
|
||||
@@ -22,6 +24,7 @@ type CreateDto struct {
|
||||
Encounter_Id *uint `json:"encounter_id"`
|
||||
Status_Code erc.DataVerifiedCode `json:"status_code"`
|
||||
SrcUnit_Code *string `json:"srcUnit_code"`
|
||||
Class_Code ere.ChemoClassCode `json:"class_code"`
|
||||
}
|
||||
|
||||
type ReadListDto struct {
|
||||
|
||||
@@ -118,7 +118,7 @@ type FilterDto struct {
|
||||
MedicalDischargeEducation *string `json:"medicalDischargeEducation"`
|
||||
AdmDischargeEducation *string `json:"admDischargeEducation"`
|
||||
DischargeReason *string `json:"dischargeReason"`
|
||||
SubProcess *string `json:"subProcess"`
|
||||
ChemoClass *ere.ChemoClassCode `json:"chemo-class"`
|
||||
}
|
||||
|
||||
type ReadDetailDto struct {
|
||||
|
||||
Reference in New Issue
Block a user