Working on a BAR^P01 interface between Optum CAC and McKesson Star and getting stuck on a particular spot so looking for some help. In the DG1 segments, anytime there is a reason for visit diagnosis I need remove that instance of the segment from the message but at the same time move DG1-2 (will be I9 or I10) and DG1-3 (code) in a ZRV segment.
If there is only one DG1 that is a reason for visit then I’m ok, but if there is more than one is where I’m getting stumped. Instead of having a ZRV segment for each DG1, I need to add an additional field to the ZRV.
See attachment for a better visual of what I’m trying to do. Let me know if you need further clarification, thanks!