FBFHLS ;OIFO/SAB-BUILD HL7 MESSAGE SEGMENTS ;11/21/2003
Source file <FBFHLS.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ;
; input ; HLFS - HL7 field separator ; HLECH - HL7 encoding characters ; FBAAIN - invoice number ; FBD( array containing the invoice data ; Applicablity of a FBD node for a given transaction type (C,L, or X) ; is indicated by the presence of the transaction type code at the ; beginning of the line in the following table. |
|
CL | ; Claim or Line Transaction
|
|
X | ; Cancel Transaction
|
|
EXPLIST(FBLIST) | ; expand ranges in a list
; input FBIST - list or range or "ALL" ; result expanded list (e.g. "1-3" returned as "1,2,3") |
|
FT1(FBTYAMT,FBX) | ; add amount to FT1 segment
; input ; FBTYAMT - type of amount (1,2,3,4,5) ; FBX - if type 1-4 then amount ; - if type 5 then adj reason^adjustment group^adj amount ; FBFT1 - FT1 segment without an amount ; result (string) ; FT1 segment with amount (and reason, group) inserted |
|
TMPHL | ; Place HL7 segment in ^TMP
; input ; FBL - last line written to ^TMP ; FBX - HL7 segment ; output ; FBL - will be incremented by 1 ; stores FBX in ^TMP("HLS",$J,FBL+1) ; if length of FBX exceeds 244 then continuation lines will be used ; example ^TMP($J,"HLS",$J,FBL+1,1) |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> FBAAIN | EN+63 |
FBCOMP | CL+1~, CL+17*, CL+18*, CL+19, CL+25*, CL+26*, CL+27, CL+37*, CL+38*, CL+39 , X+1~, X+14*, X+15*, X+16 |
>> FBD( | CL+4, CL+18, CL+26, CL+48, CL+54, CL+57, CL+61, CL+64, CL+68, CL+71 , CL+75, CL+83, CL+90, CL+91*, CL+92*, CL+93*, CL+97, CL+99, CL+105, CL+108 |
>> FBD(0 | EN+50, CL+7, CL+12, CL+32, CL+38, CL+48, CL+51, CL+79, CL+87, CL+101 , CL+103, X+5, X+9, X+15, X+22, X+25, X+28, X+31 |
FBER | EXPLIST+4~, EXPLIST+12*, EXPLIST+13*, EXPLIST+15 |
FBFLD | CL+1~, CL+11*, CL+12*, CL+13, CL+16*, CL+17, CL+19*, CL+20, CL+24*, CL+25 , CL+27*, CL+28, CL+31*, CL+32*, CL+33, CL+36*, CL+37, CL+39*, CL+40, X+1~ , X+8*, X+9*, X+10, X+13*, X+14, X+16*, X+17 |
FBFT1 | CL+1~, CL+45*, CL+48*, CL+51*, CL+54*, CL+57*, CL+61*, CL+64*, CL+68*, CL+71* , CL+75*, CL+79*, CL+83*, CL+87*, CL+90*, X+1~, X+19*, X+22*, X+25*, X+28* , X+31*, X+35, FT1+9 |
FBHL | EN+53~, EN+54, EN+55 |
FBHL("ECH" | EN+57 |
FBHL("FS" | EN+56 |
FBI | CL+1~, CL+4*, CL+18, CL+26, CL+48, CL+54, CL+57, CL+61, CL+64, CL+68 , CL+71, CL+75, CL+83, CL+90, CL+91, CL+92, CL+93, CL+97, CL+99, CL+105 , CL+108, EXPLIST+4~, EXPLIST+9* |
FBL | CL+1~, CL+2*, X+1~, X+2*, TMPHL+10*, TMPHL+11, TMPHL+12, TMPHL+14 |
FBLIST | EXPLIST~, EXPLIST+5, EXPLIST+9 |
FBLIST2 | EXPLIST+4~, EXPLIST+7*, EXPLIST+10*, EXPLIST+15*, EXPLIST+17 |
FBLS | TMPHL+9~, TMPHL+13*, TMPHL+14 |
FBORC | CL+1~, CL+5*, CL+7*, CL+11, CL+13*, CL+16, CL+20*, CL+24, CL+28*, CL+31 , CL+33*, CL+36, CL+40*, CL+43, X+1~, X+3*, X+5*, X+8, X+10*, X+13 , X+17*, X+34 |
FBRET | EXPLIST+4~, EXPLIST+5*, EXPLIST+6, EXPLIST+17*, EXPLIST+20*, EXPLIST+22, FT1+8~, FT1+9*, FT1+12*, FT1+15* , FT1+16*, FT1+19*, FT1+22*, FT1+24 |
FBTTYP | EN+46~, EN+50*, EN+66, EN+67, EN+68, CL+9, CL+22, CL+59, CL+66, CL+73 , CL+77, CL+81, CL+85, CL+106 |
FBTYAMT | FT1~, FT1+12, FT1+15, FT1+16, FT1+19, FT1+22 |
FBX | CL+1~, CL+43*, CL+97*, CL+99*, CL+101*, CL+103*, CL+105*, CL+108*, X+34*, X+35* , EXPLIST+4~, EXPLIST+9*, EXPLIST+10, EXPLIST+13, FT1~, FT1+15, FT1+16, FT1+19, FT1+22, TMPHL+11 , TMPHL+12, TMPHL+13, TMPHL+14 |
FBY | EXPLIST+4~, EXPLIST+13* |
>> HLECH | EN+57*, CL+12, CL+17, CL+18, CL+19, CL+25, CL+26, CL+27, CL+32, CL+37 , CL+38, CL+39, CL+92, CL+93, X+9, X+14, X+15, X+16 |
>> HLFS | EN+52, EN+56*, CL+7, CL+11, CL+13, CL+16, CL+20, CL+24, CL+28, CL+31 , CL+33, CL+36, CL+40, CL+48, CL+51, CL+54, CL+57, CL+61, CL+64, CL+68 , CL+71, CL+75, CL+79, CL+83, CL+87, CL+90, X+5, X+8, X+10, X+13 , X+17, X+22, X+25, X+28, X+31, FT1+12, FT1+15, FT1+16, FT1+19, FT1+22 |
U | EN+50, CL+7, CL+12, CL+18, CL+26, CL+32, CL+38, CL+48, CL+51, CL+54 , CL+57, CL+61, CL+64, CL+68, CL+71, CL+75, CL+79, CL+83, CL+87, CL+91 , CL+92, CL+93, CL+97, CL+99, CL+101, CL+103, CL+105, CL+108, X+5, X+9 , X+15, X+22, X+25, X+28, X+31, FT1+15, FT1+16, FT1+19, FT1+22 |