I need to check the expiration of insurance. All I need is compare the value (if not null) with today’s date. I am not able to get a clear picture of what this would look like. Can I just compare the value against @now?
Yes: use ‘clock scan’ to turn the current date (‘clock seconds’) and your value into integers ie. seconds. Then subtract these integers to have the difference in seconds.
Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands
I use the date in the MSH segment, taking the eight left most characters and store into a variable (MSH has current date). I then take the eight left most characters from the IN1 segment, and store in a variable. Next, an IF statement is used to compare the two ‘integers’
Author
Replies
Viewing 3 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.