So I've seen how to renumber all the OBX segments, and have that working. However, is there a function to add an OBX segment that renumbers the remainging?
For example, I had asked this question:
https://www.qvera.com/kb/index.php/2578/trying-to-add-a-character-in-each-obx-segment?state=comment-2579&show=2579#c2579
Due to vendor stupidity, even though this does EXACTLY what they asked for, it's not working correctly. Their solution is to break the obx segment into the subsequent line.
So if I have the following:
OBX|1||MRI|45|IMPRESSION:
OBX|1||MRI|46|1. Atrophy with partial tear of the subscapularis tendon.
OBX|1||MRI|47|2. Small tear involving the footprint of the supraspinatus tendon with no retraction. AC hypertrophic changes as noted.
OBX|1||MRI|48|3. Abnormal fluid again is seen juxtaposed to the glenohumeral ligament with what is thought to represent a possible Buford complex.
OBX|1||MRI|49|4. Given the myriad of findings and the significant atrophy involving the supraspinatus tendon, orthopedic consultation is needed.
OBX|1||MRI|50|5. Injury to the coracohumeral ligament with tendinopathy and cannot exclude a very small intrasubstance injury to the biceps as seen. This is not consistent with a bifid bicep tendon, but rather intrasubstance injury.
OBX|1||MRI|51|
And I have to reduce the size of each OBX-5, but to move it to the next segment would requiring renumbering the rest.
Do I have to do a cascading renumbering (ie when I split the OBX segment, I renumber all after, then the next time renumber all after etc) or is there a function that handles this?