The measurement period is UTC and the practice is not: confirm the zone and decide the instant-precision edge cases
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- typescript
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- TypeScript
- Star
- 0
- Fork
- 0
- Merge trung bình
- 3 giờ 43 phút
- Pull request đã merge (30 ngày)
- 141
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Taleef7/workwell
-
documentation owner-ops waiting
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 86/100
Maintainer thường phản hồi trong vòng 1 ngày
-
owner-ops waiting
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
backend infra maui-pilot
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
Maintainer thường phản hồi trong vòng 1 ngày
-
fqm-execution: master passes every gate; take the next release (fqm-execution PR 375) when it shipsĐang mởcql-engine dependencies
Độ khó 4/5 1-2 ngày Mức phù hợp với người mới 35/100
Taleef7/workwell#850 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
QRDA I import: an imported medication's stated end is invisible to CMS's medication-period logicĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của Taleef7/workwell
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
paperclipai/paperclip#17151 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
needs-triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
AgoraIO-Extensions/agent-infra#3159 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
blocklist addition
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 66/100
MetaMask/eth-phishing-detect#304596 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
friction
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
kentcdodds/kody#4142 ·
-
[Bug] Statistics | Task statistics are always empty on MikroORM with MySQL or SQLiteCó thể đã có người làm @NdekoCode đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
ever-co/ever-gauzy#11214 ·
Maintainer thường phản hồi trong vòng 1 ngày