I am trying to change the admit date and discharge date in PV1 from yyyymmddhhmm to a yyyymmdd. i am very new to interfacing and any help will be appreciated.
If you don’t want to affect the outbound variant because it is used for other interfaces/Xlates, then you would have to create a new variant. You could do some tcl in the Xlate to trim the value down:
set xlateOutVals
0 7]]
This will grab the first 8-bytes of the input field and set xlateOutVals to just the first 8 characters. However, you will want to test this as the engine may automatically fill-in the hours/minutes based on the field defintion of the variant.