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

format_as_date_time - conversion issue #401

Open
aunabidi opened this issue Jun 15, 2022 · 3 comments · Fixed by #409
Open

format_as_date_time - conversion issue #401

aunabidi opened this issue Jun 15, 2022 · 3 comments · Fixed by #409
Assignees

Comments

@aunabidi
Copy link

I am trying to convert HL7 messages to FHIR and run into a datetime conversion error. The datetime "20140630120030.1234-0500" errors out with the message below but it works fine when I remove the 4 in bold from the example above and use "20140630120030.123-0500"

Error:
"Failed to convert the input data. Reason: The format of Date or DateTime is invalid: 20140630120030.1234-0500."

According to the definition of format_as_date_time it should accept the 4th digit in the second: YYYY[MM[DD[HH[MM[SS[.S[S[S[S]]]]]]]]][+/-ZZZZ] but it throws an error.

Any help would be appreciated. Thanks!

@yankunhuang-pku
Copy link
Contributor

Could you help to investigate this issue? @sowu880

@aunabidi
Copy link
Author

Hi @sowu880. Any luck with this issue?

Thanks!

@aunabidi
Copy link
Author

aunabidi commented Jul 21, 2022

@sowu880 @yankunhuang-pku

I got the latest templates in my workspace and tried testing this issue locally with "20140630120030.1234-0500" but I am still seeing the DateTime error.

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 a pull request may close this issue.

3 participants