Skip to content

FHIR-57935: Quantity Interval Start/End should have dimensionally compatible units - #105

Open
cmoesel wants to merge 1 commit into
masterfrom
fhir-57935-start-end-quantity-units
Open

cmoesel wants to merge 1 commit into
masterfrom
fhir-57935-start-end-quantity-units

Conversation

@cmoesel

@cmoesel cmoesel commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Quantity intervals should have dimensionally compatible units. The current definitions for interval Start and End indicate that minimum or maximum point type values should be used for materializing null boundaries to their concrete representations. Since the minimum and maximum operators indicate that minimum/maximum Quantity values use the default unit ('1'), a strict reading of Start/End would result in Quantity intervals with null boundaries returning those boundaries with unit '1'. This causes issues for other interval operators that are defined in terms of Start and End since it could result in an interval's low and high boundaries having dimensionally incompatible units.

This PR adjusts the language of the Start and End operators to indicate that the Quantity value for a null boundary adopts the unit of the non-null boundary. As a bonus, this PR also updates the Interval definition to explicitly indicate the previously implied requirement for dimensionally compatible units and to also clarify that an interval's type can be derived from the high boundary when the low boundary is null.

Fixes FHIR-57935.

@cmoesel
cmoesel requested a review from brynrhodes August 21, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant