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
Variable Length OBX 5
System
Originally posted by Paul Johnston
Hi All,
Does anyone know how I might be able to break a variable length OBX 5 field (from PACS TALK dictation ) into separate 72 length OBX segments
OR
break when ever a \.br\ set of characters is encountered.
Paul
Find more posts tagged with
Clovertech
Comments
Tom Rioux
Paul,
Try using a pre-tcl with regsub to turn the breaks into tildes (see example below). Then that will allow you iterate the OBX-5 subfields and split it out into multiple OBX's. Let me know if you have any questions.
Tom Rioux
Memorial Hermann Hospital
Example:
hcitcl>set a tom\.br.\rioux
hcitcl>regsub
Error: wrong # args: should be "regsub ?switches? exp string subSpec varName"
hcitcl>regsub -all {\.br.\} $a ~ b
1
hcitcl>echo $b
tom~rioux