-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Date/time addition for partials is incorrect in some cases #1026
Comments
@brynrhodes Should the spec state how to to do the conversion? Question 2: Should the spec state: Also the spec gives the below example which doesn't make sense unless the above clarification is made: Question 3: P.S. I am curious to know the proper forum for getting questions like these answered about the spec. |
Apologies for missing this, but yes, for Question 1, that is currently an issue being addressed by an outstanding ballot comment reconciliation: J#27060. For Question 2, yes, and that issue was addressed in the 1.5 ballot, as it now reads:
For Question 3, I'm not sure I'm following? And for the P.S., since CQL is an HL7 specification, feedback can be submitted to the HL7 JIRA: http://jira.hl7.org. It requires an account, but the account is free to create. There is also an active CQL community within the FHIR/HL7 chat at http://chat.fhir.org. Again, apologies for missing this. |
The following test:
Returns @2016, when it should return @2017, based on the description of the operation in the spec. The reason is that the "time-valued quantity is converted to the most precise value specified in the date/time-valued argument". So 365 days would be converted to a year first, and then added. In other words, this is equivalent to
@2016 + 1 year
The text was updated successfully, but these errors were encountered: