If you are speaking of the command line version, I had to re-write it
The old version with no args would try to bring up a TK GUI and did not support the new SMAT format
I added one more option -n for new line
If on Unix remove the .htc suffix and make sure it is executable. Put this one in $HCIROOT/contrib. Go to $HCIROOT/bin and rename the one there to somithing like hcismat.old
Since we call hcismat from our ascii_smat_to_nl.ksh and our ebcdic_smat_to_nl.ksh scripts this is nice to know.
I chose to use hcismat as my API to parse SMAT files as opposed to writing a proprietary parser, many of which I’ve seen are specific to HL7 messages only.
When I looked in Cloverleaf 6.0 $HCIROOT/bin directory there is no hcismat anymore.
I downloaded Charlie’s into that directory and made a note to test it once we get that far.
I mostly have used it to convert SMAT files to len10 then new-line, so Charlie’s new-line arg might save an extra step.
Thanks to Steve Fraser and Jim Kosloskey for reporting to the rest of us their observation so the rest of us can benifit without relearning the hard way.
I’m curious if hcismat was intended to be released with Cloverleaf 6.0 but did not get included for whatever reason.
Obviously I would vote to keep hcismat as part of any future Cloverleaf releases.
Even though we can write home grown SMAT parse utilities, and there are several floating around, my first choice is to use the one provided by Infor if available.
Jim will be doing a follow up post at the URL above once he and Steve Fraser feel comfortable with a bit more testing than my inital simple test that now seems to be working.
I think the command version of hcismat was left off because with no arguments it tried to run a Tk version of SMAT. It also did not work with newer SMAT files,
So I decided to rewrite it myself an also add the new-line option. Once I get all the kinks out I will get R&D to add it. People like Jim and others running it will help a lot
Thanks for the new-line option because that is what I output almost exclusively, but in cloverleaf 5.6 that required and extra step to convert len10 to new-line.
Thanks Charlie, I will download the most recent hcismat you just posted and inform those (Steve Fraser and Jim Kosloskey) who have been evaluating hcismat today.
Russ Ross
RussRoss318@gmail.com
Author
Replies
Viewing 7 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.