-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Describe the bug
In extensionMeta.yml, extension_4 calls GeneralUtils within a variable definition
vars:
value: MSH.7, GeneralUtils.dateTimeWithZoneId(value,ZONEID)
None of the other classes available in the explicit JEXL definition (String, StringUtils, NumberUtils) work in this style of declaration.
To Reproduce
- Replace the above with
vars:
value: MSH.7, String.format("%s", value)
- run the converter
- get error
ERROR io.github.linuxforhealth.hl7.resource.deserializer.HL7DataBasedResourceDeserializer - deserialization failure expression type RESOURCE
Expected behavior
I would expect if GeneralUtils was available to be used as a part of variable definition, that the other classes initialized in the JEXLEngineUtil constructor would be available too.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: MacOS Big Sur
- Version 1.0.18
Additional context
Add any other context about the problem here.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels