Files
ISSSTELEON/Persistance/dbt/tests/observation_one_value.sql
T
Roberto Treviño 6de1175a7d
ci / python (push) Successful in 28m51s
ci / web (push) Successful in 6m53s
Phase 3.5: catalog in Core, long silver with generated views, ConceptMaps, FHIR door, stable person ids; Synthea in tests
2026-11-25 16:17:24 -06:00

6 lines
196 B
SQL

{#- Silver holds one value per field of a study instance. -#}
select person_id, study, instance, field
from {{ ref('observation') }}
group by person_id, study, instance, field
having count(*) > 1