This commit is contained in:
@ -1,4 +1,4 @@
|
|||||||
from datetime import date, datetime
|
from datetime import datetime
|
||||||
|
|
||||||
from pydantic import BaseModel, Field
|
from pydantic import BaseModel, Field
|
||||||
|
|
||||||
@ -423,9 +423,7 @@ class HospDestinationModel(BaseModel):
|
|||||||
|
|
||||||
|
|
||||||
class ExamModel(BaseModel):
|
class ExamModel(BaseModel):
|
||||||
ExaminationDate: date = Field(
|
ExaminationDate: str = Field(title='Дата осмотра', examples=['2025-08-04'])
|
||||||
title='Дата осмотра', examples=['2025-08-04']
|
|
||||||
)
|
|
||||||
ExaminationTime: str = Field(title='Время осмотра', examples=['09:21'])
|
ExaminationTime: str = Field(title='Время осмотра', examples=['09:21'])
|
||||||
Status: str = Field(title='Состояние при осмотре', examples=[''])
|
Status: str = Field(title='Состояние при осмотре', examples=[''])
|
||||||
Post: str = Field(title='Врач', examples=['Шайдуллина Г.И. (Кардиолог)'])
|
Post: str = Field(title='Врач', examples=['Шайдуллина Г.И. (Кардиолог)'])
|
||||||
|
|||||||
Reference in New Issue
Block a user