fix (encouter): fix dto, change createdto from object to embedded in create-with-patient
This commit is contained in:
No files matched your search
@@ -294,6 +294,6 @@ func ToResponseList(data []Encounter) []ResponseDto {
|
||||
}
|
||||
|
||||
type CreateWithPatientDto struct {
|
||||
Encounter CreateDto `json:"encounter"`
|
||||
Patient ep.CreateDto `json:"patient"`
|
||||
CreateDto
|
||||
Patient ep.CreateDto `json:"patient"`
|
||||
}
|
||||
Reference in New Issue
Block a user