The measurement period is UTC and the practice is not: confirm the zone and decide the instant-precision edge cases
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
Línea de trabajo
Start with backend-ts/src/config/deployment-profile.ts and the scheduler comment to establish the conflicting zone settings; then trace WebChart's issued fallback in normalize.ts and the calculateOfficial measurement-period handling described in the issue. Confirm the practice zone with MIE and decide how to handle Z timestamps and instant-precision boundaries, including whether fqm needs a change or the limitation should be documented. Done means the zone and edge-case decisions are recorded, with the practice time zone and its test updated as agreed.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The measurement period is evaluated in UTC, and the practice is not in UTC. Measured, this is narrower than it sounds, but it is not nothing. And the practice's zone is still unsettled.
How the period works today
fqm-execution builds the measurement period at offset 0. Version 1.8.5 also ignores a stated offset: 2026-01-01T00:00:00-10:00 becomes 2026-01-01T00:00:00Z (projecttacoma/fqm-execution#376).
What a UTC period gets wrong, measured through calculateOfficial
day ofcomparisons are right while the data keeps its local offset. They read each event in the offset it states. QRDA import has kept the stated offset since #797.
| CMS125 qualifying encounter | Counted in 2026? |
|---|---|
2026-12-31T19:00-10:00 (local 31 Dec; 05:00Z on 1 Jan) |
yes |
the same instant written 2027-01-01T05:00Z |
no |
2025-12-31T20:00-10:00 (local 31 Dec 2025) |
no |
the same instant written 2026-01-01T06:00Z |
yes |
-
Comparisons without
day ofuse the instant against the UTC boundary. These are:- CMS125's six mastectomy exclusions ("on or before end of the period");
- CMS165's ESRD encounter and procedure, the hypertension-diagnosis window, and the pregnancy/renal diagnosis;
- CMS137's first SUD episode.
In CMS125 test case
4cf81a94, with its bilateral mastectomy moved to2026-12-31T19:00-10:00(or-05:00), the patient is no longer excluded for 2026. At 13:00 the same day, they are. So an event in the last 10 local hours before a boundary (Hawaii), or the last 5 (Eastern), lands on the wrong side.
Do not hand fqm a zoned period, on 1.8.5 or on master
fqm master converts 2026-01-01T00:00-10:00 .. 2026-12-31T23:59:59.999-10:00 into 2026-01-01T10:00Z .. 2027-01-01T09:59:59.999Z, both at offset 0. day of would then read 1 January 2027 as inside 2026. A real practice-zone period needs fqm to keep the stated offset. Neither version does.
The zone itself is unsettled
backend-ts/src/config/deployment-profile.ts says America/New_York, while the scheduler's comment says Hawaii.
To do
- Confirm the practice's zone with MIE, then set
practiceTimeZoneand its test. - List the ingest paths that write
Ztimes, such as WebChart'sissuedfallback innormalize.ts. Converting aZinstant into the practice offset is a representation change, but it moves the day thatday ofreads, so it is an owner call. - Decide whether the instant-precision cases need a practice-zone period (an fqm change, upstream or patched) or a documented limitation, and record the decision where the measures are described.
- Lenguaje dominante
- TypeScript
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 3 h 43 min
- PR fusionados (30 d)
- 141
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Taleef7/workwell
-
documentation owner-ops waiting
Dificultad 1/5 1-3 horas Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
owner-ops waiting
Dificultad 1/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
backend infra maui-pilot
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
Los mantenedores suelen responder en 1 día
-
fqm-execution: master passes every gate; take the next release (fqm-execution PR 375) when it shipsAbiertocql-engine dependencies
Dificultad 4/5 1-2 días Aptitud para principiantes 35/100
Taleef7/workwell#850 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
QRDA I import: an imported medication's stated end is invisible to CMS's medication-period logicAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
Los mantenedores suelen responder en 1 día
Todos los issues de Taleef7/workwell
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
chaitin/MonkeyCode#1437 ·
Los mantenedores suelen responder en 1 día
-
rtdb-info-connected-order test: unhandled 'connection is closed' rejection fails the CLI suiteAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
carbon-design-system/carbon-ai-chat#2615 ·
Los mantenedores suelen responder en 1 día
-
e2e-failure ready-to-code
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
redhat-developer/rhdh-plugin-export-overlays#4486 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: fileUploadMatrix.test.ts URL case does a real DNS lookup and fails offlinePosiblemente ocupada @r2jaff la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
ComposioHQ/composio#5054 ·
Los mantenedores suelen responder en 1 día