FHIR-Converter
FHIR-Converter copied to clipboard
format_as_date_time - conversion issue
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!
Could you help to investigate this issue? @sowu880
Hi @sowu880. Any luck with this issue?
Thanks!
@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.