bcda: widen the _typeFilter builder to the server's grammar #1297

Closed
opened 2026-10-25 20:36:16 +00:00 by kert · 1 comment
Owner

Upstream review docs/superpowers/specs/2026-10-25-bcda-upstream-review.md §E (bcda-app #1360, #1498; bcda/fhir/param.go). Server accepts comma-separated _tag tuples, outcome=partial,complete, and several service-date params with eq/ne/gt/ge/lt/le on YYYY, YYYY-MM, YYYY-MM-DD; it rejects comma lists in service-date and conflicting prefixes.

  • build_type_filter: service_date_to, outcome as a list, prefix choice
  • surface the server's ParameterValidationError diagnostics in the UI/CLI
  • note: GUIDE has no partially adjudicated claims (v3_no_partial_claims_models), so outcome=partial is empty for it
Upstream review docs/superpowers/specs/2026-10-25-bcda-upstream-review.md §E (bcda-app #1360, #1498; `bcda/fhir/param.go`). Server accepts comma-separated `_tag` tuples, `outcome=partial,complete`, and several `service-date` params with `eq/ne/gt/ge/lt/le` on `YYYY`, `YYYY-MM`, `YYYY-MM-DD`; it rejects comma lists in `service-date` and conflicting prefixes. - [ ] `build_type_filter`: `service_date_to`, `outcome` as a list, prefix choice - [ ] surface the server's `ParameterValidationError` diagnostics in the UI/CLI - [ ] note: GUIDE has no partially adjudicated claims (`v3_no_partial_claims_models`), so `outcome=partial` is empty for it
kert added this to the P52: BCDA v3 migration — client, crosswalk-driven flatteners, vendored upstream fixtures, proving notebook milestone 2026-10-25 20:36:16 +00:00
kert added the cli label 2026-10-25 20:36:16 +00:00
Author
Owner

Done in 2cc1300: build_type_filter follows bcda/fhir/param.go (outcome lists, service-date earliest/latest with eq/gt/ge/lt/le on YYYY[-MM[-DD]], no comma lists, no conflicting prefixes); --outcome (repeatable) and --service-date-to on the CLI; outcome multiselect and 'service-date on/before' on the Exports page; GUIDE note.

Done in 2cc1300: `build_type_filter` follows `bcda/fhir/param.go` (outcome lists, service-date earliest/latest with eq/gt/ge/lt/le on YYYY[-MM[-DD]], no comma lists, no conflicting prefixes); `--outcome` (repeatable) and `--service-date-to` on the CLI; outcome multiselect and 'service-date on/before' on the Exports page; GUIDE note.
kert closed this issue 2026-10-25 21:11:48 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: homelab/stack#1297