BQIREFPL ;GDIT/HS/ALA-Get Referrals by Panel ; 31 Dec 2014 2:27 PM
Source file <BQIREFPL.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
DSP() | ;EP
|
|
ERR | ;
|
|
STAND() | ;EP - Get standard display
|
|
CVAL | ; Get demographic values
|
|
RVAL(STVW) | ;EP
|
|
RFPT(DFN,FLDS) | ;EP
|
|
EN(DATA,OWNR,PLIEN,PLIST) | ;EP -- BQI GET REFERRALS BY PANEL
|
|
PAT(DATA,OWNR,PLIEN,DFN) | ;EP - Build record by patient
|
|
DONE | ;
|
|
FH | ;
|
|
RSH() | ;EP - Get standard header
|
|
FIN | ;
|
|
RHD | ;EP - Referral header
; Check for template |
|
REFF | ;EP
|
Name | Field # of Occurrence |
---|---|
^%ZTER | ERR+1 |
API^BMCAPI1 | RFPT+6 |
HDR^BQIHEADR | PAT+2 |
$$TPN^BQILYUTL | PAT+28, RHD+17 |
$$DATE^BQIUL1 | RFPT+4 |
$$FMTMDY^BQIUL1 | DSP+6 |
$$TKO^BQIUL1 | PAT+3, PAT+5, PAT+47, STAND+3, STAND+28, REFF+10, RHD+29, RHD+41, RHD+55, RSH+20 |
$$KEYCHK^BQIULSC | STAND+11, STAND+22, RSH+5, RSH+15 |
$$IENS^DILF | PAT+18, PAT+23, RHD+7, RHD+12 |
$$GET1^DIQ | PAT+19, PAT+24, PAT+41, PAT+44, PAT+68, PAT+71, PAT+95, PAT+98, STAND+10, STAND+21 , CVAL+10, CVAL+17, REFF+7, DSP+3, DSP+4, RHD+8, RHD+13, RHD+39, RSH+4, RSH+14 |
$$NOW^XLFDT | ERR+3 |
RPC Name | Call Tags |
---|---|
BQI GET REFERRALS BY PANEL | EN |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^BQI(90506.1 - [#90506.1] | PAT+38, PAT+40, PAT+66, PAT+67, PAT+93, PAT+94, STAND+8, STAND+9, STAND+12, STAND+19 , STAND+20, STAND+23, CVAL+8, CVAL+9, CVAL+11, CVAL+12, REFF+4, REFF+6, RVAL+2, RVAL+3 , RVAL+4, RVAL+5, RVAL+6, RHD+24, RHD+26, RHD+27, RHD+37, RHD+38, RHD+51, RHD+52 , RHD+53, RSH+2, RSH+3, RSH+6, RSH+8, RSH+12, RSH+13, RSH+16, RSH+18 |
^BQI(90508 - [#90508] | RFPT+3 |
^BQICARE - [#90505] | EN+22, EN+26, EN+28, EN+29, PAT+16, PAT+21, PAT+34, PAT+36, PAT+37, PAT+59 , PAT+64, PAT+65, PAT+86, PAT+91, PAT+92, RHD+5, RHD+10, RHD+20, RHD+22, RHD+23 , RHD+33, RHD+35, RHD+36, RHD+47, RHD+49, RHD+50 |
^DD("DD" | ERR+3 |
^TMP("BQIREFPL" | EN+8 |
^TMP("BQIREFS" | PAT+10, RFPT+2 |
Name | Line Occurrences |
---|---|
CVAL | PAT+42, PAT+69, PAT+96, STAND+14 |
DONE | EN+16, EN+26 |
FH | RHD+16 |
FIN | PAT+27 |
PAT | EN+23, EN+26, EN+30 |
REFF | PAT+9 |
RFPT | PAT+11 |
RHD | EN+14 |
RSH | STAND+2, RHD+44, RHD+58 |
RVAL | PAT+45, PAT+73, PAT+100, STAND+26 |
STAND | PAT+83, PAT+110 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BGDT | RFPT+1~, RFPT+3*, RFPT+4*, RFPT+6 |
BHEADR | EN+6~, PAT+2, PAT+5, STAND+2 |
>> BMXSEC | ERR+4* |
>> BN | EN+18*, EN+19* |
>> BQI | EN+21* |
BQIPAT | RFPT+1~, RFPT+6, RFPT+7! |
BQIPAT( | RFPT+5* |
BVALUE | EN+6~, PAT+2, PAT+3*, PAT+55, PAT+81, PAT+108, STAND+36 |
>> C | PAT+43*, PAT+45*, PAT+47*, PAT+50*, PAT+51, PAT+52, PAT+54*, PAT+70*, PAT+73*, PAT+76* , PAT+77, PAT+78, PAT+80*, PAT+97*, PAT+100*, PAT+103*, PAT+104, PAT+105, PAT+107*, STAND+15* , STAND+26*, STAND+28*, STAND+31*, STAND+32, STAND+33, STAND+35* |
CIEN | EN+6~, PAT+59*, PAT+60, PAT+83, PAT+86*, PAT+87, PAT+110, RHD+33*, RHD+34, RHD+44 , RHD+47*, RHD+48, RHD+58 |
>> CLNG | PAT+50*, PAT+51, PAT+52, PAT+76*, PAT+77, PAT+78, PAT+103*, PAT+104, PAT+105, STAND+31* , STAND+32, STAND+33 |
>> CODE | PAT+37*, PAT+38, PAT+65*, PAT+66, PAT+92*, PAT+93, RHD+23*, RHD+24, RHD+36*, RHD+37 , RHD+50*, RHD+51 |
>> CRE | PAT+7*, PAT+31*, PAT+32*, PAT+43, PAT+47, PAT+50, PAT+54, PAT+62*, PAT+63*, PAT+70 , PAT+72, PAT+76, PAT+80, PAT+89*, PAT+90*, PAT+97, PAT+99, PAT+103, PAT+107, STAND+1* , STAND+5*, STAND+6*, STAND+15, STAND+25, STAND+28, STAND+31, STAND+35 |
>> CTYP | EN+14*, PAT+7*, PAT+16, PAT+21, RHD+5, RHD+10 |
CTYPD00015 | EN+6~ |
DA | PAT+13~, PAT+16*, PAT+17, PAT+18, PAT+21*, PAT+22, PAT+23, RHD+2~, RHD+5*, RHD+6 , RHD+7, RHD+10*, RHD+11, RHD+12 |
DA(1 | PAT+18*, PAT+23*, RHD+7*, RHD+12* |
DA(2 | PAT+18*, PAT+23*, RHD+7*, RHD+12* |
DA(3 | PAT+18*, RHD+7* |
DATA | EN~, EN+8*, EN+9, EN+23, EN+26, EN+30, DONE+1, ERR+5, PAT~, PAT+6 , PAT+54, PAT+80, PAT+107, STAND+4, STAND+35 |
DFN | EN+6~, EN+21*, EN+22, EN+23, EN+25*, EN+26, EN+28*, EN+29, EN+30, PAT~ , PAT+2, PAT+11, PAT+30, PAT+31, PAT+32, PAT+45, PAT+48, PAT+61, PAT+62, PAT+63 , PAT+72, PAT+73, PAT+74, PAT+88, PAT+89, PAT+90, PAT+99, PAT+100, STAND+6, STAND+25 , STAND+26, STAND+29, CVAL+13, CVAL+17, RFPT~, RFPT+5, RVAL+7, RVAL+11, DSP+5 |
>> DOR | PAT+33*, PAT+34*, PAT+36, RHD+19*, RHD+20*, RHD+22 |
DTY | RVAL+1~, RVAL+5* |
>> DTYP | RVAL+11 |
DUZ | PAT+15, PAT+16, PAT+18, PAT+20, PAT+28, PAT+34, PAT+36, PAT+37, PAT+58, PAT+85 , PAT+86, PAT+91, PAT+92, STAND+11, STAND+22, RHD+4, RHD+5, RHD+7, RHD+9, RHD+17 , RHD+20, RHD+22, RHD+23, RHD+32, RHD+46, RHD+47, RHD+49, RHD+50, RSH+5, RSH+15 |
ERRDTM | ERR+2~, ERR+3*, ERR+4 |
EXEC | CVAL+7~, CVAL+10*, CVAL+11*, CVAL+15, RVAL+1~, RVAL+4*, RVAL+9 |
FIE | REFF+1~, REFF+7*, REFF+8*, REFF+9, DSP+1~, DSP+4*, DSP+5, DSP+6 |
FIL | CVAL+7~, CVAL+8*, CVAL+17, RVAL+1~, RVAL+2* |
FLD | CVAL+7~, CVAL+9*, CVAL+17, REFF+1~, REFF+7*, REFF+9, RVAL+1~, RVAL+3*, RVAL+11, DSP+5 |
FLDS | EN+6~, PAT+11, REFF+3*, REFF+9*, REFF+10*, RFPT~, RFPT+6 |
>> GIEN | PAT+38*, PAT+39, PAT+40, PAT+41, PAT+42, PAT+44, PAT+45, RHD+24*, RHD+25, RHD+26 |
>> HDR | CVAL+12*, RHD+27*, RHD+28, RHD+39*, RHD+40, RHD+53*, RHD+54, RSH+8*, RSH+9, RSH+18* , RSH+19 |
HEADER | EN+6~ |
>> HEADR | PAT+5*, PAT+6, PAT+50, PAT+51, PAT+52, PAT+76, PAT+77, PAT+78, PAT+103, PAT+104 , PAT+105, STAND+2*, STAND+31, STAND+32, STAND+33 |
IEN | PAT+35*, PAT+36*, PAT+37, PAT+59*, PAT+64*, PAT+65, PAT+86*, PAT+91*, PAT+92, STAND+7* , STAND+8*, STAND+9, STAND+10, STAND+12, STAND+13, STAND+18*, STAND+19*, STAND+20, STAND+21, STAND+23 , STAND+24, STAND+26, REFF+1~, REFF+5*, REFF+6*, REFF+7, RHD+21*, RHD+22*, RHD+23, RHD+33* , RHD+35*, RHD+36, RHD+47*, RHD+49*, RHD+50, RSH+1*, RSH+2*, RSH+3, RSH+4, RSH+6 , RSH+7, RSH+11*, RSH+12*, RSH+13, RSH+14, RSH+16, RSH+17 |
IENS | PAT+13~, PAT+18*, PAT+19, PAT+23*, PAT+24, RHD+2~, RHD+7*, RHD+8, RHD+12*, RHD+13 |
II | EN+6~, EN+11*, DONE+1*, ERR+5*, PAT+6, PAT+54*, PAT+80*, PAT+107*, STAND+4, STAND+35* |
>> KEY | STAND+10*, STAND+11, STAND+21*, STAND+22, RSH+4*, RSH+5, RSH+14*, RSH+15 |
>> LIST | EN+18*, EN+19*, EN+20 |
LYIEN | PAT+13~, PAT+28*, PAT+29, PAT+34, PAT+36, PAT+37, RHD+2~, RHD+17*, RHD+18, RHD+20 , RHD+22, RHD+23 |
ORD | REFF+1~, REFF+3*, REFF+4*, REFF+6, RVAL+6*, RVAL+11, DSP+1~, DSP+3*, DSP+5 |
OWNR | EN~, EN+22, EN+23, EN+26, EN+28, EN+29, EN+30, PAT~, PAT+2, PAT+15 , PAT+16, PAT+18, PAT+20, PAT+21, PAT+23, PAT+58, PAT+59, PAT+64, PAT+65, PAT+85 , PAT+86, PAT+91, PAT+92, RHD+4, RHD+5, RHD+7, RHD+9, RHD+10, RHD+12, RHD+32 , RHD+33, RHD+35, RHD+36, RHD+46, RHD+47, RHD+49, RHD+50 |
PLIEN | EN~, EN+22, EN+23, EN+26, EN+28, EN+29, EN+30, PAT~, PAT+2, PAT+16 , PAT+18, PAT+21, PAT+23, PAT+59, PAT+64, PAT+65, PAT+86, PAT+91, PAT+92, RHD+5 , RHD+7, RHD+10, RHD+12, RHD+33, RHD+35, RHD+36, RHD+47, RHD+49, RHD+50 |
PLIST | EN~, EN+16, EN+17, EN+20!*, EN+21 |
PLIST( | EN+19 |
QFL | EN+6~, PAT+13~, RHD+2~ |
RFIEN | EN+6~, PAT+32*, PAT+45*, PAT+63*, PAT+73*, PAT+90*, PAT+100*, STAND+6*, STAND+26*, DSP+5 |
>> RHEADR | EN+14*, PAT+5, STAND+2*, STAND+3*, STAND+4, RHD+28*, RHD+29*, RHD+40*, RHD+41*, RHD+54* , RHD+55*, RSH+9*, RSH+19*, RSH+20* |
>> SIEN | PAT+66*, PAT+67, PAT+68, PAT+69, PAT+71, PAT+73, PAT+93*, PAT+94, PAT+95, PAT+96 , PAT+98, PAT+100, RHD+37*, RHD+38, RHD+39, RHD+51*, RHD+52, RHD+53 |
STVW | PAT+39*, PAT+42*, PAT+69*, PAT+96*, STAND+13*, STAND+24*, CVAL+8, CVAL+9, CVAL+10, CVAL+11 , CVAL+12, RVAL~, RVAL+2, RVAL+3, RVAL+4, RVAL+5, RVAL+6, DSP+3, DSP+4, RHD+25* , RHD+27, RSH+7*, RSH+8, RSH+17*, RSH+18 |
TEMPL | PAT+13~, PAT+14*, PAT+19*, PAT+24*, PAT+27, PAT+28, RHD+2~, RHD+3*, RHD+8*, RHD+13* , RHD+16, RHD+17 |
TMP | EN+6~, PAT+10*, PAT+31, PAT+32, PAT+45, PAT+62, PAT+63, PAT+72, PAT+73, PAT+89 , PAT+90, PAT+99, PAT+100, STAND+5, STAND+6, STAND+25, STAND+26, RFPT+2*, RFPT+6, RVAL+11 , DSP+5 |
TQFL | EN+6~, PAT+27*, PAT+29*, RHD+2~, RHD+16*, RHD+18* |
U | PAT+37, PAT+40, PAT+67, PAT+94, STAND+9, STAND+20, RHD+23, RHD+26, RHD+38, RHD+52 , RSH+3, RSH+13 |
UID | EN+6~, EN+7*, EN+8, PAT+10, RFPT+2 |
VAL | EN+6~, PAT+43, PAT+45, PAT+70, PAT+73, PAT+97, PAT+100, STAND+15, STAND+26, CVAL+13* , CVAL+17*, RVAL+7*, RVAL+11*, DSP+1~, DSP+2*, DSP+5*, DSP+6*, DSP+7 |
VALUE | EN+6~, PAT+1!, PAT+49, PAT+55!, PAT+75, PAT+81!, PAT+102, PAT+108!, STAND+30, STAND+36! |
VALUE( | PAT+31*, PAT+32*, PAT+43*, PAT+45*, PAT+47*, PAT+50, PAT+51*, PAT+52*, PAT+54, PAT+62* , PAT+63*, PAT+70*, PAT+72*, PAT+73*, PAT+76, PAT+77*, PAT+78*, PAT+80, PAT+89*, PAT+90* , PAT+97*, PAT+99*, PAT+100*, PAT+103, PAT+104*, PAT+105*, PAT+107, STAND+5*, STAND+6*, STAND+15* , STAND+25*, STAND+26*, STAND+28*, STAND+31, STAND+32*, STAND+33*, STAND+35 |
VALUE(0 | PAT+3*, PAT+31, PAT+32, PAT+55*, PAT+62, PAT+63, PAT+81*, PAT+89, PAT+90, PAT+108* , STAND+5, STAND+6, STAND+36* |
VALUE(1 | PAT+30*, PAT+48*, PAT+61*, PAT+74*, PAT+88*, STAND+29* |
Y | ERR+2~, ERR+3* |
>> ZTSK | EN+7 |