1.2k questions

1.4k answers

361 comments

339 users

Categories

Sidebar
0 votes
467 views
by rdzanski-1356 (210 points)
Currently sending files to a folder with the following naming convention:

VXU_{SYSTEM_DATE[yyyy-MM-dd]}.hl7

If current date, file is appended to, but what is the syntax for a weekly batch?  Want to keep appending to file for the current week, next week unique name for that week, etc.

 

Thank you.

1 Answer

0 votes
 
Best answer
The system Node tag has a "w" that will give you the week number. Here is what you put in the path.

\\somepath\{SYSTEM_DATE[yyyyww]}.hl7

so the {SYSTEM_DATE[yyyyww]} will resolve to the year and week number.
by brandon-w-8204 (34.1k points)
...