› Clovertech Forums › Read Only Archives › Cloverleaf › Cloverleaf › Sub Field breaks
example ||724^^^^^^^99DOC~7777^^^^^^^99DOC||
I know the “|” is field breaks OBR 3.1 to 3.2 but like the example above, is it the subfield break within say OBR 3.3
Thanks
A tilde is for repeating fields, i.e., multiple values for a field.
You can think of it as an array, so in your example,
field1(1)=724^^^^^^^99DOC
field1(2)=7777^^^^^^^99DOC
Hope this helps,
Robert Milfajt
Northwestern Medicine
Chicago, IL
Chris,
Well that depends on what the tilde in the MSH-2 means but typically that is the repeating field separator.
So it means this field for this mesage has multiple occurrences.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
The tilde is the repetitive separator – so when i am performing a lookup using the tblqualify_kill_default within qdx5.5 GUI screen and using this command within the edit of the command for the table view
“”SEGNAME OBR} {FIELDNUM 28} {SUBFIELDNUM 1}”” – would the subfieldnum be the repetitive within that segname so “0” is the first and “1” is the second and so on down the line.
Chris,
I don’t recognize that as a Cloverleaf distributed proc so you will probably need to look into that proc to see what it does with those keyed lists (at least they look like they are keyed lists).
If it is a distributed Cloverleaf proc, let me know.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.
Jim,
It is a tcl that is part of the install on our server from either mckesson or quovadx.
Here is the coding of that tcl.
######################################################################
# Name: tblqualify
# Purpose: Qualify on a field
# UPoC type: tps
# Args: tps keyedlist containing the following keys:
# MODE run mode (“start”, “run” or “time”)
# MSGID message handle
# ARGS user-supplied arguments:
# TBLNAME Table Lookup name
# ERRCOND Literal that is set as DEFAULT in the table lookup
# SEGNAME Segment to check
# FIELDNUM Field number to check within the segment
# SUBFIELDNUM Subfield to check within the field
#
# Args (Example ENTRY): To qualify on the patient location field (PV1 3):
# the arguments would be:
# {TBLNAME
Chris,
I am betting this is from McKesson.
Anyway from just a cursory glance it appears this proc does not do what you want – so you either need to modify this proc or create a copy with your mods.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.