IBTRHLO2 ;ALB/YMG - Create and send 278 inquiry cont. ;02-JUN-2014
Source file <IBTRHLO2.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 |
---|---|---|
HLSC(IEN,TSTAMP,HLRESLT) | ; update entry in 356.22 on successful creation of HL7 message
; called from EN^IBTRHLO ; IEN - file 356.22 ien ; TSTAMP - timestamp of message creation ; HLRESLT - return value of GENERATE^HLMA() API call |
|
HLER(IEN,ERRMSG) | ; process error on failure to create HL7 message
; called from EN^IBTRHLO ; IEN - file 356.22 ien ; ERRMSG - error message string |
|
WP2STR(FILE,FIELD,IENS,LEN) | ; convert word-processing field into a single string
; FILE - file # ; FIELD - WP field # ; IENS - ien string of entry to process, including trailing comma ; LEN - maximum length of the output string (if not specified - unlimited length) |
|
PRVDATA(IEN,FILE) | ; get provider data
; IEN - ien for the entry ; FILE - file number IEN is for |
|
PCODECNV(CODE) | ; provider code conversion between NM1 and PRV X12 segments
; CODE - code to convert ; returns converted code (NM1 -> PRV), or null if no match found |
|
NTE | ; create NTE segment
|
|
ZHS | ; create ZHS segment
|
FileNo | Call Tags |
---|---|
^IBT(356.007 - [#356.007] | GET1^DIQ |
^IBE(365.015 - [#365.015] | GET1^DIQ |
^IBE(365.016 - [#365.016] | GET1^DIQ |
^IBE(365.025 - [#365.025] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("HLS" | NTE+5*, ZHS+16* |
Name | Line Occurrences |
---|---|
$$WP2STR | NTE+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CODE | PCODECNV~, PCODECNV+7 |
DATA | WP2STR+8~, PRVDATA+7~ |
DATA( | WP2STR+12, WP2STR+14, WP2STR+15, PRVDATA+14, PRVDATA+15, PRVDATA+16, PRVDATA+21, PRVDATA+22, PRVDATA+23, PRVDATA+24 , PRVDATA+29, PRVDATA+30 |
ERRMSG | HLER~, HLER+12 |
FIELD | WP2STR~, WP2STR+10, WP2STR+11 |
FILE | WP2STR~, WP2STR+10, WP2STR+11, PRVDATA~, PRVDATA+9, PRVDATA+11, PRVDATA+12, PRVDATA+14, PRVDATA+15, PRVDATA+16 , PRVDATA+18, PRVDATA+19, PRVDATA+21, PRVDATA+22, PRVDATA+23, PRVDATA+24, PRVDATA+26, PRVDATA+27, PRVDATA+29, PRVDATA+30 |
>> HCT | NTE+5*, ZHS+16* |
>> HLFS | NTE+4, ZHS+2, ZHS+5, ZHS+8, ZHS+9, ZHS+12, ZHS+13, ZHS+14, ZHS+15 |
HLRESLT | HLSC~, HLSC+7 |
I | PCODECNV+3~, PCODECNV+7* |
IBTRFDA | HLSC+6~, HLER+5~, HLER+9! |
IBTRFDA( | HLSC+9*, HLSC+10*, HLSC+11*, HLER+7*, HLER+11*, HLER+12* |
>> IBTRIEN | NTE+2 |
IEN | HLSC~, HLSC+8, HLER~, HLER+6, HLER+10, PRVDATA~, PRVDATA+9, PRVDATA+10, PRVDATA+13, PRVDATA+20 , PRVDATA+28 |
IENS | HLSC+6~, HLSC+8*, HLSC+9, HLSC+10, HLSC+11, HLER+5~, HLER+6*, HLER+7, HLER+10*, HLER+11 , HLER+12, WP2STR~, WP2STR+10, WP2STR+11, PRVDATA+7~, PRVDATA+10*, PRVDATA+12, PRVDATA+14, PRVDATA+15, PRVDATA+16 , PRVDATA+19, PRVDATA+21, PRVDATA+22, PRVDATA+23, PRVDATA+24, PRVDATA+27, PRVDATA+29, PRVDATA+30 |
LEN | WP2STR~, WP2STR+9*, WP2STR+14, WP2STR+15 |
MSG | NTE+1~, NTE+2*, NTE+3, NTE+4 |
MSGID | HLSC+6~, HLSC+7*, HLSC+10 |
NM1STR | PCODECNV+3~, PCODECNV+4*, PCODECNV+7 |
>> NODE4 | ZHS+3, ZHS+4, ZHS+6, ZHS+7, ZHS+10, ZHS+11, ZHS+13, ZHS+14 |
NPI | PRVDATA+7~, PRVDATA+13*, PRVDATA+16, PRVDATA+20*, PRVDATA+24, PRVDATA+28*, PRVDATA+30 |
NTE | NTE+1~, NTE+4*, NTE+5 |
PRVSTR | PCODECNV+3~, PCODECNV+5*, PCODECNV+7 |
QUAL | ZHS+1~, ZHS+3*, ZHS+5, ZHS+6*, ZHS+8, ZHS+10*, ZHS+12 |
RES | PRVDATA+7~, PRVDATA+8*, PRVDATA+14*, PRVDATA+15*, PRVDATA+16*, PRVDATA+21*, PRVDATA+23*, PRVDATA+24*, PRVDATA+29*, PRVDATA+30* , PRVDATA+35*, PRVDATA+36, PCODECNV+3~, PCODECNV+6*, PCODECNV+7*, PCODECNV+8 |
STOPFLG | WP2STR+8~, WP2STR+9*, WP2STR+12, WP2STR+14* |
STR | WP2STR+8~, WP2STR+9*, WP2STR+13*, WP2STR+14, WP2STR+15*, WP2STR+18 |
STRLEN | WP2STR+8~, WP2STR+14*, WP2STR+15 |
TSTAMP | HLSC~, HLSC+11 |
U | HLSC+7, PRVDATA+13, PRVDATA+15, PRVDATA+16, PRVDATA+20, PRVDATA+21, PRVDATA+23, PRVDATA+24, PRVDATA+29, PRVDATA+30 , PRVDATA+35, PCODECNV+7, ZHS+3, ZHS+4, ZHS+6, ZHS+7, ZHS+10, ZHS+11, ZHS+13, ZHS+14 |
VALUE | ZHS+1~, ZHS+4*, ZHS+5, ZHS+7*, ZHS+8, ZHS+9, ZHS+11*, ZHS+12 |
Z | WP2STR+8~, WP2STR+11*, WP2STR+12*, WP2STR+14, WP2STR+15, PRVDATA+7~, PRVDATA+22*, PRVDATA+23 |
ZHS | ZHS+1~, ZHS+2*, ZHS+5*, ZHS+8*, ZHS+9*, ZHS+12*, ZHS+13*, ZHS+14*, ZHS+15, ZHS+16 |