From f3ca3fd686634d81edd6318f30ecac71c5f77f6c Mon Sep 17 00:00:00 2001 From: Pedro Marques Date: Tue, 22 Oct 2024 16:22:23 -0300 Subject: [PATCH 1/2] Update frontend.py --- app/types/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/types/frontend.py b/app/types/frontend.py index 32e16ba1..fa1bbe50 100644 --- a/app/types/frontend.py +++ b/app/types/frontend.py @@ -70,7 +70,7 @@ class Encounter(BaseModel): clinical_motivation: Optional[str] clinical_outcome: Optional[str] clinical_exams: List[ClinicalExam] - procedures: List[Procedure] + procedures: Optional[str] filter_tags: List[str] From 4fdf00bc7ef4be43b941c65b5454d65a756a0b04 Mon Sep 17 00:00:00 2001 From: Pedro Marques Date: Fri, 25 Oct 2024 14:34:31 -0300 Subject: [PATCH 2/2] chore: Update CCO's tag description in frontend.py --- app/routers/frontend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/routers/frontend.py b/app/routers/frontend.py index 6bc729ea..97761d2c 100644 --- a/app/routers/frontend.py +++ b/app/routers/frontend.py @@ -172,7 +172,7 @@ async def get_metadata(_: Annotated[User, Depends(assert_user_is_active)]) -> di {"tag": "HOSPITAL", "description": "Hospital"}, {"tag": "CENTRO SAUDE ESCOLA", "description": "Centro Saúde Escola"}, {"tag": "UPA", "description": "UPA"}, - {"tag": "CCO", "description": "CCO"}, + {"tag": "CCO", "description": "Centro Carioca do Olho"}, {"tag": "MATERNIDADE", "description": "Maternidade"}, {"tag": "CER", "description": "CER"}, {"tag": "POLICLINICA", "description": "Policlínica"},