infor.com
concierge
infor u
developer portal
documentation central
customer center
Posts
Categories
Groups
ERPs
CSD
FSM/HRT
LN
M3
Syteline/ CSI
Hubs
Developer
Healthcare
Hospitality
Public Sector
Onboarding
Release Center
CloudSuites
Aerospace & Defense (LN)
Automotive (LN)
Chemicals (M3)
Corporate (FSM/HRT)
Distribution (Sx.e/CSD)
Distribution Enterprise (M3)
Engineering & Construction (LN)
Fashion (M3)
Food & Beverage (M3)
Healthcare (FSM/HRT)
Industrial (Syteline/CSI)
Industrial Enterprise (LN)
Manufacturing (M3)
Public Sector (FSM/HRT)
Solutions
Supply Chain Management (SCM)
Human Capital Management (HCM)
Events
Groups
User Groups
Your Groups
About
Email Community Support
Infor News
Migrated Forums
Home
Clovertech
Clovertech Archive
Read Only Archives
Cloverleaf
Cloverleaf
Removing one OBX line
Gina Borden
OBX|4|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|1|Escherichia coli||||||F
OBX
NTE|4|L|Moderate
OBX|6|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|2|Klebsiella pneumoniae||||||F
OBX
NTE|6|L|Moderate
OBX|8|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|3|Gram Negative Rod||||||F
OBX
NTE|8|L|ModerateRKluy. ascorbata
OBX|10|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|4|Bacteroides caccae||||||F
OBX
NTE|10|L|ModerateRBeta-lactamase Positive
OBX|12|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|5|Peptostreptococcus prevotii||||||F
OBX
NTE|12|L|Moderate
In my xlate, I am using this OBX line to create and NTE line, and now I would like to completely remove the line. I have been able to remove the data fields, but the OBX still comes out in the message.
Any help would be greatly appreciated
Gina
Find more posts tagged with
Clovertech
Comments
Tom Rioux
I'm assuming that your OBX's look like this before you copy to the NTE:
OBX|4|TX|M3-5688^Deep Wound Culture^UHHG^M3-5688|1|Escherichia coli||||||F
OBX|4|L|Moderate
I'm also assuming your are iterating over you OBX's. If that is the case, you should be able to simply perform a PATHCOPY and copy
@null
to that particular iteration of the OBX after you copy it to the NTE.
Can you post some of your code so we can see how it is being handled now?
Hope this helps...
Tom Rioux
Gina Borden
I've attached a printscreen image of the xlate code:
Actually the data looks like this before I copy it to the NTE:
OBX|4|CE|M3-5688^^^CXDWD^Deep Wound Culture|1|Escherichia coli||||||Z
OBX|5|TX|ORGCOMM1||Moderate||||||Z
OBX|6|CE|M3-5688^^^CXDWD^Deep Wound Culture|2|Klebsiella pneumoniae||||||Z
OBX|7|TX|ORGCOMM2||Moderate||||||Z
OBX|8|CE|M3-5688^^^CXDWD^Deep Wound Culture|3|Gram Negative Rod||||||Z
OBX|9|TX|ORGCOMM3||ModerateRKluy. ascorbata||||||Z
OBX|10|CE|M3-5688^^^CXDWD^Deep Wound Culture|4|Bacteroides caccae||||||Z
OBX|11|TX|ORGCOMM4||ModerateRBeta-lactamase Positive||||||Z
OBX|12|CE|M3-5688^^^CXDWD^Deep Wound Culture|5|Peptostreptococcus prevotii||||||Z
OBX|13|TX|ORGCOMM5||Moderate||||||Z
Thanks again,
Gina
Jim Kosloskey
It appears what you want to do is to changeany OBX with certain condition(s) to an NTE.
If that is what you want to accomplish, then you will need to use your own managed iteration counters for the outbound OBX and perhaps NTE (you would continue to use the iteration counters you set up in the ITERATES for the OBR and OBX inbound).
Are you familiar with how to manage your own iteration counters (ones not sepcified in the ITERATE)?
Are you familiar with what I described regarding changing an OBX to an NTE?
If not, email me directly as this is a discussion that is too detailed and specific for here.