Skip to content

Commit

Permalink
feat: Returning Clinical Exams List
Browse files Browse the repository at this point in the history
  • Loading branch information
TanookiVerde committed Aug 29, 2024
1 parent 4a82cb0 commit dbb1d52
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,15 @@ with
else 'default'
end
as string) as exhibition_type,
array(
select
struct(
tipo as type,
descricao as description
)
from unnest(exames_realizados)
where tipo is not null
) as clinical_exams,
array(
select descricao from unnest(condicoes) where descricao is not null
) as active_cids,
Expand Down

0 comments on commit dbb1d52

Please sign in to comment.