File size: 352 Bytes
0cfb077 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | from pydantic import BaseModel
from typing import List, Optional
class SheamiLabResult(BaseModel):
test_name: str
result_value: str
unit: str
reference_range: Optional[str]
class SheamiStandardizedReport(BaseModel):
patient_info: dict
lab_results: List[SheamiLabResult]
diagnosis: List[str]
recommendations: List[str]
|