Staging patients in tests get a birth date when they lack one #1

Merged
edgar merged 2 commits from fix/staging-birth-date into dev 2026-11-06 09:04:57 -06:00
Member

Core's Paciente (CaCu and CaMa) requires pac_fecha_nacimiento (IND-01). filas_de_staging filled in patients with only pac_id and pac_id_hospital, so 227 tests failed and 14 errored with Field required.

  • filas_de_staging sets BIRTH_DATE (1980-01-01) where the model requires the field and the row doesn't give it; TEA's column isn't required and is left as it was.
  • test_c2_presentacion._citologia no longer sends None as the birth date.

uv run pytest: 1074 passed, 4 skipped.

Core's `Paciente` (CaCu and CaMa) requires `pac_fecha_nacimiento` (IND-01). `filas_de_staging` filled in patients with only `pac_id` and `pac_id_hospital`, so 227 tests failed and 14 errored with `Field required`. - `filas_de_staging` sets `BIRTH_DATE` (1980-01-01) where the model requires the field and the row doesn't give it; TEA's column isn't required and is left as it was. - `test_c2_presentacion._citologia` no longer sends `None` as the birth date. `uv run pytest`: 1074 passed, 4 skipped.
edgar added 1 commit 2026-11-06 08:34:11 -06:00
Staging patients in tests get a birth date when they lack one: Core's Paciente requires it
pruebas / pytest (pull_request) Failing after 14s
readme / check (pull_request) Failing after 7s
7050411f6e
edgar added 1 commit 2026-11-06 08:46:04 -06:00
README: BIRTH_DATE in the reference of pruebas
pruebas / pytest (pull_request) Failing after 12s
readme / check (pull_request) Failing after 7s
d1d3b6c694
edgar merged commit 4eb45405a3 into dev 2026-11-06 09:04:57 -06:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ISSSTELEON/indicadores_kit#1