Commit Graph

6 Commits

Author SHA1 Message Date
alberto ec5d945f71 Cleanup of the TEA parity work: no prose in code, no hacks, everything in its place
1. No prose in code
- Remove parity-added Python comments and docstrings across the EEG, FHIR,
  execution, preview, training and run code and tests. Preserve endpoint
  descriptions as explicit FastAPI schema metadata.

2. No hacks, no glued code
- Read the declared TEA patient filters and training inputs directly and
  use the same TEA check for exposing and validating reference options.
- Give the Dagster GraphQL request one helper. Keep lock backoff and
  cancellation polling because their timing and error behavior are
  covered by run tests and they handle different Dagster states.
- Use the renamed FHIR report ID helper in the hospital test. Keep
  TEA_GATE_SLOW local to that test and preserve the test assertions.

3. Everything in its place
- Keep endpoint and run handling in WebApi and reuse Core and Persistance
  for domain rules and reads. Leave tests in the existing testpaths.
2026-11-30 13:41:49 -06:00
alberto 983680ead3 TEA per-child FHIR resources: ADOS-2, EEG report, checks, metrics, Condition, RiskAssessment: routes and the per-child gate 2026-11-30 01:14:13 -06:00
alberto b401f98f19 TEA follow-up: Patient search with TEA filters and $eeg-summary
Use _patient_rows and shared Query declarations for follow-up selection. Validate filters with an empty row before reading candidates, and use doseq for repeated values in paging links. Keep operation routes out of the metadata scan for read and search interactions. Use _follow_up_gate to compare the 29 captured queries by normalized record number, scalar counts and metrics.
2026-11-29 19:42:17 -06:00
Roberto Treviño 26cf994d1a FHIR, follow-up lists and model jobs by domain; CaMa gate; report download for governance 2026-11-25 23:20:52 -06:00
Roberto Treviño 806302ee5d FHIR out from the catalog, the FHIR door, ConceptMap routes; round-trip, new-label and Synthea gates 2026-11-25 16:17:23 -06:00
Roberto Treviño 0dd5c035bc FHIR R4B API per domain: Patient follow-up list, clinical resources, Measure, MeasureReport, paging, CapabilityStatement; HL7 validator and page gates 2026-11-25 10:21:26 -06:00