| 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] | |