It is unclear what your algorithm is for picking out the red parts. It's not consistent. This is what's in your Word file:
4. In PATH(column E), I need only specific info. This is too lengthy and messy. This delimited file is always have the same structure. I need only the red fond parts to populate as rest of the columns, say from column C , D, E, F and G.
SOC: Respiratory, thoracic and mediastinal disorders: 10038738; HLGT: Respiratory disorders NEC: 10038716; HLT: Upper respiratory tract signs and symptoms: 10046313; PT: Throat irritation: 10043521; LLT: Throat irritation: 10043521
For all fields except one, you want to take the text following the label (SOC, HLT, etc.) up until the ":" that precedes the diagnosis code. But after HLGT you also highlighted the next label NEC, which has a colon after it but no description, just a code. It would help if you break this out to show how it is supposed to be broken by column.
I don't know if you want this
Respiratory disorders NEC: 10038716 |
or this
Respiratory disorders |
NEC: 10038716 |
Or this
Respiratory disorders |
10038716 |
Bookmarks