BQIPLCR ;PRXM/HC/ALA-Create Panel Functions ; 18 Oct 2005 3:45 PM
Source file <BQIPLCR.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
CNTP(OWNR,PLIEN) | ;EP - Count patients and file the total
|
|
RPTM(DFN) | ;EP - Remove patient record manually
|
|
TMPL(OWNR,PLIEN) | ;EP - Copy template information into new panel
|
|
FILE | ;File new panel
|
|
ERR | ;
|
|
UPD | ; Update panel definition values
|
|
DPT(DFN) | ;EP - Delete patient
|
|
APT(DFN) | ;EP - Add patient
|
|
CHK | ; Check Source Type changed to Manual
; If the panel is already Manual and is changed to manual, quit |
|
DONE | ; -- exit code
|
|
TMPNM(NM) | ;EP -- Return temporary panel name
|
|
APTM(DFN) | ;EP - Add patient record manually
|
|
CPY(OWNR,PLIEN,OPLIEN) | ;EP - Copy a temporary panel
|
|
APMTC(CDATA,CTYP,CDFN) | ;EP - Add a patient's matched criteria
|
|
CRPNL(DATA,OWNR,PLIEN,PLNM,PLDES,SRCNM,SRC,FSOURCE,AUFL,STATUS,ASSOC,IPCPL,PCAT) | ; Create/Update a new panel
; EP - BQI SET PANEL DEF ; Description ; Adds/updates a panel using the user defined panel name and description. ; If no name is passed, generates a temporary name which is a composite ; of "TEMP PANEL " and the last assigned panel ien plus 1. ; If no Panel IEN is passed then it generates a new one. ; Input: ; OWNR - Owner of the panel ; PLIEN - Panel internal entry number (if blank, a new panel is being created) ; PLNM - User defined panel name (optional) ; PLDES - User defined panel description (optional) ; SRCNM - Source name (optional) ; SRC - Source type (optional) ; FSOURCE - Filter source name (optional) ; AUFL - Autopopulate flag ; STATUS - I=in progress, T=temporary, @=remove status flag ; ASSOC - associated panel IEN (either existing to TEMP or vice versa), @=remove association ; IPCPL - IPC Panel flag ; PCAT - Category for folder grouping ; Output: ; PLIEN - panel IEN ; PLID - panel ID (owner and panel ien) ; PLNM - panel name ; or ; BMXSEC - if record can't be locked or if $D(ERROR) ; when filing or M error encountered |
Name | Field # of Occurrence |
---|---|
^%ZTER | ERR+2 |
UPU^BQIFLAG | APTM+10, APT+12, CNTP+16 |
CNTP^BQIFLG | CNTP+25 |
UPD^BQINOTF | UPD+66 |
$$OWNR^BQIPLUSR | CRPNL+40 |
$$PLID^BQIUG1 | UPD+69 |
$$FLG^BQIULPT | APTM+16 |
$$SENS^BQIULPT | CNTP+14 |
^DIC | APTM+7, APMTC+7, APMTC+18, TMPL+35 |
$$FIND1^DIC | CRPNL+47 |
FILE^DICN | APT+6, FILE+5 |
FILE^DIE | APTM+17, RPTM+8, APT+10, CNTP+22, UPD+58, TMPL+43 |
^DIK | DPT+7, ERR+11 |
IX^DIK | CPY+29 |
$$IENS^DILF | APTM+12, RPTM+3, APT+8, CNTP+7, CNTP+10, CRPNL+46, UPD+3, UPD+54, TMPL+22, TMPL+37 |
$$GET1^DIQ | CNTP+11, UPD+7, UPD+13, CHK+2, CHK+4, TMPL+23, TMPL+26, TMPL+29 |
$$NOW^XLFDT | APTM+15, RPTM+6, APT+9, CNTP+19, UPD+7, UPD+9, ERR+4, CHK+12 |
RPC Name | Call Tags |
---|---|
BQI SET PANEL DEF | CRPNL |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^BQICARE - [#90505] | APTM+6*, APTM+10, APMTC+3, APMTC+6*, APMTC+15*, APT+5*, CNTP+9, CRPNL+58, CRPNL+60*, CRPNL+64 , CRPNL+66, CRPNL+67, CRPNL+76, UPD+12, UPD+29, UPD+31, UPD+32, UPD+33*, UPD+34!, UPD+35* , ERR+1, CHK+9, CHK+10, CHK+11*, CHK+12*, CPY+1*, CPY+4*, CPY+7*, CPY+10*, CPY+13* , CPY+16*, CPY+19*, CPY+22*, CPY+25*, TMPL+7, TMPL+10, TMPL+13*, TMPL+16 |
^BQICARE("AD" | UPD+24, UPD+26, UPD+28, UPD+36!, UPD+37* |
^BQICARE("SPNL" | UPD+19 |
^DD("DD" | ERR+4 |
^TMP("BQIPLCR" | CRPNL+30, CRPNL+31!, CRPNL+54*, UPD+70*, DONE+1* |
Name | Line Occurrences |
---|---|
$$TMPNM | CRPNL+65, CRPNL+68 |
CHK | UPD+5 |
CPY | FILE+9 |
DONE | CRPNL+78 |
FILE | CRPNL+71 |
TMPL | CRPNL+74 |
UPD | CRPNL+77 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
ASSOC | CRPNL~, CRPNL+35*, FILE+9, UPD+12, UPD+13, UPD+21, UPD+40, UPD+48, ERR+7 |
AUFL | CRPNL~, CRPNL+33*, UPD+46 |
>> BMXSEC | CRPNL+40*, CRPNL+43, CRPNL+50*, CRPNL+57, CRPNL+59*, CRPNL+77, FILE+7*, UPD+59*, ERR+5* |
BQDATA | TMPL+18~, TMPL+43 |
BQDATA( | TMPL+40* |
BQII | CRPNL+28~, CRPNL+54*, UPD+70*, DONE+1* |
BQIPLUP | UPD+1~ |
BQIPLUP( | UPD+7*, UPD+8*, UPD+9*, UPD+10*, UPD+16*, UPD+17*, UPD+42*, UPD+43*, UPD+44*, UPD+45* , UPD+46*, UPD+47*, UPD+48*, UPD+49*, UPD+52*, UPD+55* |
BQIPLUP(90505 | UPD+19* |
BQIPTUP | APTM+1~, RPTM+1~, APT+1~ |
BQIPTUP( | APTM+13*, APTM+14*, APTM+15*, APTM+16*, RPTM+4*, RPTM+5*, RPTM+6*, RPTM+7*, APT+9* |
BQIUP | CNTP+6~ |
BQIUP( | CNTP+18*, CNTP+19*, CNTP+20*, CNTP+21* |
>> CDA | APMTC+16*, APMTC+17 |
CDATA | APMTC~, APMTC+16 |
CDFN | APMTC~, APMTC+2, APMTC+12, APMTC+16 |
CNT | CNTP+6~, CNTP+8*, CNTP+12*, CNTP+18 |
CTYP | APMTC~, APMTC+2, APMTC+16 |
DA | APTM+1~, APTM+12*, APMTC+1~, APMTC+11!, APMTC+18*, RPTM+1~, RPTM+3*, APT+1~, APT+8*, DPT+4~ , DPT+6*, CNTP+6~, CNTP+7*, CNTP+10*, CRPNL+44~, CRPNL+45*, CRPNL+46, FILE+1~, FILE+6*, UPD+1~ , UPD+2*, UPD+3, UPD+53~, UPD+54*, ERR+8~, ERR+9*, TMPL+18~, TMPL+21*, TMPL+22, TMPL+36* , TMPL+37 |
DA(1 | APTM+2*, APTM+4, APTM+6, APMTC+2*, APMTC+3, APMTC+4, APMTC+6, APMTC+12*, APMTC+13, APMTC+15 , RPTM+2*, APT+2*, APT+3, APT+5, DPT+5*, DPT+6, CNTP+7*, CNTP+10*, CRPNL+45*, FILE+2* , FILE+3, UPD+2*, UPD+54*, ERR+9*, ERR+10, CPY+28, TMPL+21*, TMPL+32*, TMPL+34 |
DA(2 | APTM+2*, APTM+4, APTM+6, APTM+10, APMTC+2*, APMTC+3, APMTC+4, APMTC+6, APMTC+12*, APMTC+13 , APMTC+15, RPTM+2*, APT+2*, APT+3, APT+5, DPT+5*, DPT+6, CNTP+10*, UPD+54*, TMPL+32* , TMPL+34 |
DA(3 | APMTC+2*, APMTC+3, APMTC+4, APMTC+6, APMTC+12*, APMTC+13, APMTC+15 |
DA(4 | APMTC+12*, APMTC+13, APMTC+15 |
DATA | CRPNL~, CRPNL+30* |
DD | APT+6!, FILE+5! |
DFN | APTM~, APTM+3, APTM+10, APTM+12, APTM+16, RPTM~, RPTM+3, APT~, APT+2, APT+12 , DPT~, DPT+6, CNTP+6~, CNTP+8*, CNTP+9*, CNTP+10, CNTP+14, CNTP+16, CHK+7~, CHK+8* , CHK+9*, CHK+10, CHK+11, CHK+12 |
DIC | APTM+1~, APTM+4*, APMTC+1~, APMTC+4*, APMTC+13*, APT+1~, APT+3*, FILE+1~, FILE+3*, TMPL+18~ , TMPL+34* |
DIC("P" | APT+4*, FILE+4* |
DIC(0 | APTM+4*, APTM+5*, APMTC+4*, APMTC+5*, APMTC+13*, APMTC+14*, APT+4*, FILE+4*, TMPL+34* |
DIE | APTM+1~, APMTC+1~, APT+1~, APT+3*, FILE+1~, FILE+3* |
DIK | DPT+4~, DPT+6*, ERR+8~, ERR+10*, CPY+28* |
DINUM | APTM+3*, APT+2*, FILE+1~ |
DLAYGO | APTM+5*, APMTC+5*, APMTC+14*, APT+4*, FILE+1~, FILE+2*, FILE+4 |
DO | APT+6!, FILE+5! |
DUZ | APTM+14, RPTM+5, CNTP+20, UPD+8, UPD+52, UPD+54 |
DUZ(2 | UPD+10 |
ERRDTM | ERR+3~, ERR+4*, ERR+5 |
ERROR | APTM+18, RPTM+9, CRPNL+44~, UPD+1~, UPD+59, TMPL+18~ |
FSOURCE | CRPNL~, CRPNL+33*, UPD+45 |
IEN | TMPL+2~, TMPL+16*, TMPL+21 |
IENS | APTM+1~, APTM+12*, APTM+13, APTM+14, APTM+15, APTM+16, RPTM+1~, RPTM+3*, RPTM+4, RPTM+5 , RPTM+6, RPTM+7, APT+1~, APT+8*, APT+9, CNTP+6~, CNTP+10*, CNTP+11, CRPNL+44~, CRPNL+46* , CRPNL+47, UPD+1~, UPD+3*, UPD+7, UPD+8, UPD+9, UPD+10, UPD+13, UPD+16, UPD+17 , UPD+42, UPD+43, UPD+44, UPD+45, UPD+46, UPD+47, UPD+48, UPD+49, UPD+52, UPD+53~ , UPD+54*, UPD+55, CHK+2, CHK+4, TMPL+18~, TMPL+22*, TMPL+23, TMPL+26, TMPL+29, TMPL+37* , TMPL+40 |
IPCPL | CRPNL~, CRPNL+35*, UPD+49 |
MTC | APMTC+1~, APMTC+9*, APMTC+12 |
NM | TMPNM~, TMPNM+1*, TMPNM+2 |
NPLIDEN | UPD+22~, UPD+23*, UPD+33, UPD+35, UPD+37 |
OPLIEN | CPY~, CPY+1, CPY+4, CPY+7, CPY+10, CPY+13, CPY+16, CPY+19, CPY+22, CPY+25 |
OPLNM | UPD+1~, UPD+12*, UPD+13*, UPD+16, UPD+19, UPD+23, UPD+40, UPD+64, UPD+65 |
OWNR | APTM+2, APTM+10, APTM+16, APMTC+2, APMTC+12, RPTM+2, APT+2, APT+12, DPT+5, CNTP~ , CNTP+7, CNTP+9, CNTP+10, CNTP+16, CNTP+25, CRPNL~, CRPNL+40, CRPNL+45, CRPNL+58, CRPNL+60 , CRPNL+64, CRPNL+66, CRPNL+67, CRPNL+74, CRPNL+76, FILE+2, FILE+9, UPD+2, UPD+12, UPD+19 , UPD+23, UPD+52, UPD+54, UPD+66, UPD+69, ERR+1, ERR+9, CHK+9, CHK+10, CHK+11 , CHK+12, CPY~, CPY+1, CPY+4, CPY+7, CPY+10, CPY+13, CPY+16, CPY+19, CPY+22 , CPY+25, TMPL~, TMPL+3, TMPL+7, TMPL+10, TMPL+13, TMPL+16, TMPL+21, TMPL+32 |
PCAT | CRPNL~, CRPNL+35*, UPD+51, UPD+52, UPD+55 |
PIENS | CNTP+6~, CNTP+7*, CNTP+18, CNTP+19, CNTP+20, CNTP+21 |
PLDES | CRPNL~, CRPNL+34*, UPD+42 |
PLID | CRPNL+28~, UPD+69*, UPD+70 |
PLIDEN | UPD+22~, UPD+23*, UPD+24, UPD+26, UPD+28, UPD+32, UPD+34, UPD+36 |
PLIEN | APTM+2, APTM+16, APMTC+2, APMTC+12, RPTM+2, APT+2, DPT+5, CNTP~, CNTP+7, CNTP+9 , CNTP+10, CNTP+25, CRPNL~, CRPNL+34*, CRPNL+49, CRPNL+57, CRPNL+74, FILE+6*, FILE+7, FILE+9 , UPD+2, UPD+54, UPD+66, UPD+69, UPD+70, ERR+9, CHK+9, CHK+10, CHK+11, CHK+12 , CPY~, CPY+1, CPY+4, CPY+7, CPY+10, CPY+13, CPY+16, CPY+19, CPY+22, CPY+25 , TMPL~, TMPL+4, TMPL+7, TMPL+13, TMPL+32 |
PLN | CRPNL+63~, CRPNL+64*, CRPNL+65, CRPNL+67*, CRPNL+68* |
PLNM | CRPNL~, CRPNL+34*, CRPNL+43, CRPNL+47, CRPNL+62, CRPNL+65*, CRPNL+66, CRPNL+68*, FILE+2, UPD+15 , UPD+16, UPD+17, UPD+19, UPD+23, UPD+39, UPD+40*, UPD+64, UPD+70 |
RESULT | APTM+1~, APTM+8*, APTM+18*, APTM+19*, RPTM+1~, RPTM+9*, RPTM+10* |
SFLG | CNTP+6~, CNTP+8*, CNTP+14*, CNTP+21 |
SRC | CRPNL~, CRPNL+33*, UPD+43, CHK+2, CHK+4 |
SRCNM | CRPNL~, CRPNL+33*, UPD+44 |
STATUS | CRPNL~, CRPNL+34*, UPD+21, UPD+47, UPD+62 |
TEXT | UPD+63~, UPD+64*, UPD+65*, UPD+66 |
TMP | CRPNL+28~, CRPNL+47*, CRPNL+48, CRPNL+49 |
TMPLN | TMPL+18~, TMPL+23*, TMPL+33 |
TMPLT | TMPL+18~, TMPL+29*, TMPL+40 |
TN | UPD+22~, UPD+27*, UPD+28*, UPD+29, UPD+31, UPD+32, UPD+33, UPD+34, UPD+35, UPD+36 , UPD+37 |
TNN | UPD+22~, UPD+30*, UPD+31*, UPD+32, UPD+33, UPD+34, UPD+35 |
TPNL | UPD+22~, UPD+25*, UPD+26*, UPD+28, UPD+29, UPD+31, UPD+32, UPD+33, UPD+34, UPD+35 , UPD+36, UPD+37 |
TUSR | UPD+22~, UPD+23*, UPD+24*, UPD+26, UPD+28, UPD+29, UPD+31, UPD+32, UPD+33, UPD+34 , UPD+35, UPD+36, UPD+37 |
U | UPD+12, UPD+32, UPD+33, CHK+10, CHK+11, CHK+12, CPY+1 |
UID | CRPNL+28~, CRPNL+29*, CRPNL+30, CRPNL+31, CRPNL+54, UPD+70, DONE+1 |
X | APTM+3*, APMTC+2*, APMTC+17*, APT+1~, APT+2*, CRPNL+28~, FILE+1~, FILE+2*, TMPL+18~, TMPL+33* |
Y | APTM+8, APMTC+8, APMTC+9, APMTC+18, APT+7, APT+8, FILE+6, ERR+3~, ERR+4*, TMPL+18~ , TMPL+36 |
>> ZTSK | CRPNL+29 |