Files
stack/docs/docs/cli/load-bcda.md

1.4 KiB

title, sidebar_position
title sidebar_position
stack load bcda 7

stack load bcda

Usage: stack load bcda [OPTIONS]                                               
                                                                                
 Flatten BCDA FHIR exports and load into DuckDB.                                
                                                                                
 Reads Patient/EOB/Coverage ndjson files, flattens them to Parquet,             
 and loads into the ``bcda`` schema.                                            
                                                                                
╭─ Options ────────────────────────────────────────────────────────────────────╮
│ --ndjson-dir          PATH  Directory containing FHIR ndjson files.          │
│ --database            TEXT  DuckDB database path (default: config).          │
│ --skip-flatten              Skip flattening, load existing Parquet.          │
│ --help                      Show this message and exit.                      │
╰──────────────────────────────────────────────────────────────────────────────╯