Skip to content
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

DateTime parameter does not accept MINUTE accuracy #604

Closed
ohr opened this issue Mar 20, 2017 · 0 comments
Closed

DateTime parameter does not accept MINUTE accuracy #604

ohr opened this issue Mar 20, 2017 · 0 comments

Comments

@ohr
Copy link
Collaborator

@ohr ohr commented Mar 20, 2017

Searches for Date or DateRange parameters like /DocumentReference?patient.identifier=urn:oid:2.16.840.1.113883.3.37.4.1.1.2.1.1|1&indexed=le2017-03-19T13:06 (i.e. with MINUTE accuracy) fail because the parser in BaseDateTimeDt requires validateLengthIsAtLeast(value, 17);

If I'm counting the characters in 2017-03-19T13:06 correctly, it should be validateLengthIsAtLeast(value, 16);

ohr added a commit to ohr/hapi-fhir that referenced this issue May 26, 2017
@jamesagnew jamesagnew closed this in 1b557b0 Jun 8, 2017
jamesagnew added a commit that referenced this issue Jun 8, 2017
jamesagnew added a commit that referenced this issue Jun 8, 2017
Revert "Allow MINUTE precision for datetimes. Closes #604"
jamesagnew added a commit that referenced this issue Jun 9, 2017
invalid values
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.