Skip to content

Commit

Permalink
feat: Filter historico_clinico_app__episodio by non-null paciente_cpf
Browse files Browse the repository at this point in the history
  • Loading branch information
TanookiVerde committed Aug 26, 2024
1 parent 64aedf8 commit 3b077e0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,11 @@ with
select
*
from {{ ref('mart_historico_clinico__episodio') }}
where paciente_cpf is not null
),
formatado as (
select
paciente_cpf as cpf,
entrada_datahora as entry_datetime,
saida_datahora as exit_datetime,
estabelecimento.nome as location,
Expand Down

0 comments on commit 3b077e0

Please sign in to comment.