- This topic has 9 replies, 4 voices, and was last updated 16 years, 9 months ago by .
-
Topic
-
I am working on an existing integration from HCA HIM to GE Centricity’s EMR. My EMR folks tell me the messages keep erroring out unless I hardcopy the first component in the TXA-22 field and copy the last component (DATE STAMP) in the TXA-22 field. I modified existing xlate in place and I used a PATHCOPY to null TXA-22 out. Then I proceeded to do a single COPY with “hcaprov” hardcoded in and I used a COPY statement to copy MSH-7 (TIME STAMP) to the last component in TXA-22. (FYI- BULKCOPY IS USED by whoever implemented this in the past)
This works out pretty well for every message EXCEPT when there are 2 physicians noted in the TXA 22 i.e. physician PLUS resident
Below is an example from a message that errored out. I basically need to removed the “~” and anything after it. Should I use TCL fragment or write a TCL proc and to extract the field component, manipulate it, and rebuild it the back? I am looking for a simple solution.
hcaprov^^^^^^^^^^^^^^200712141502
~r.WILKE^Williams^Kenneth^D^^^MD~^^^^^^^^^^^^^^200712141422Thanks.
- The forum ‘Cloverleaf’ is closed to new topics and replies.