PXRHS03 ;SLC/SBW - PCE Visit data immunization extract ;Sep 08, 2023@13:07
Source file <PXRHS03.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 |
Package | Total | Caller Graph |
---|---|---|
PCE Patient Care Encounter | 5 | PXRHS04 PXRHS05 PXRHS06 PXRHS07 PXRHS08 |
Order Entry Results Reporting | 3 | ORCHTAB2 ORQQPP ORQQPX |
Clinical Procedures | 1 | MDKRPC1 |
Health Summary | 1 | GMTSPXIM |
National Health Information Network | 1 | NHINVIMM |
Name | Comments | DBIA/ICR reference |
---|---|---|
IMMUN(DFN,PXFG,PXFILTER) | ;Administered immunizations
|
|
SETUP(GMTSMX,IHSDATE,PXVLST,PXOLD,PXNOINV) | ;Prepare for data extract
|
|
SCREEN(PXFILTER,PXVIMIEN,PXVCVX,PXVCNT,PXIMDT) | ;Filter entry based on criteria
|
|
GETSORT(PXFG,PXIMDT,PXIMMEXT,PXSNIMM,PXSORT,PXSORT2) | ;RETURN THE SORTING SUBSCRIPTS FOR ^TMP
|
|
GETENCLOC(PXVDATA) | ;Get encounter location data for extract
|
|
GETREM(PXSORT,PXSORT2,RNUM) | ;Get the remark data
|
|
GETVDATA(DA) | ;Get location of encounter and outside location from visit file
|
|
GETMDATA(DA) | ||
PUTIMMNAME(PXIMMIFN,PXGLOBAL) | ;Put full immunization name into output global
|
|
GETVIS(PXVI,PXVARRAY) | ;Get multiple VIS with edition date
; Input PXVI ien of IMMUNIZATION record ; Output PXVARRAY array of VIS names ^ edition dates |
|
CONREF(DFN,PXFG,PXFILTER) | ;Contraindicated and refused immunizations
|
|
FileNo | Call Tags |
---|---|
^GMT(142.1 - [#142.1] | GETS^DIQ |
^AUPNVICR - [#9000010.707] | GETS^DIQ |
^PXV(920.4 - [#920.4] | GETS^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVICR - [#9000010.707] | CONREF+49, CONREF+56, CONREF+59, CONREF+60, CONREF+66, CONREF+82 |
^AUPNVICR("AB" | CONREF+39, CONREF+45, CONREF+47, CONREF+48 |
^AUPNVIMM - [#9000010.11] | GETREM+3, GETREM+4, GETVIS+5 |
^AUPNVIMM("AA" | IMMUN+59, IMMUN+65, IMMUN+68, IMMUN+70 |
^AUTTIML - [#9999999.41] | GETMDATA+4 |
^AUTTIMM - [#9999999.14] | IMMUN+85, IMMUN+90, SCREEN+7, PUTIMMNAME+2, PUTIMMNAME+3, CONREF+58 |
^AUTTIVIS - [#920] | GETVIS+7 |
^TMP("PXCRI" | CONREF+43!, CONREF+76*, CONREF+79*, CONREF+85*, CONREF+86*, CONREF+87*, CONREF+88 |
^TMP("PXI" | IMMUN+62!, IMMUN+116*, IMMUN+117*, IMMUN+118*, IMMUN+119*, IMMUN+120*, IMMUN+121*, IMMUN+122*, IMMUN+123*, IMMUN+124* , IMMUN+125, GETREM+4* |
Name | Line Occurrences |
---|---|
$$GETENCLOC | IMMUN+117, CONREF+86 |
$$GETMDATA | IMMUN+81 |
$$GETVDATA | IMMUN+82, CONREF+59 |
$$SCREEN | IMMUN+94, CONREF+62 |
GETREM | IMMUN+126 |
GETSORT | IMMUN+95, CONREF+65 |
GETVIS | IMMUN+83 |
PUTIMMNAME | IMMUN+125, CONREF+88 |
SETUP | IMMUN+63, CONREF+44 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CNT | GETREM+1~, GETREM+2*, GETREM+3*, GETREM+4 |
COMMENT | IMMUN+72~, IMMUN+115*, IMMUN+123 |
CONT | IMMUN+71~, IMMUN+99*, IMMUN+116 |
DA | IMMUN+71~, IMMUN+76*, IMMUN+81, IMMUN+82, IMMUN+83, IMMUN+84, IMMUN+86, IMMUN+91, IMMUN+96, IMMUN+97 , IMMUN+98, IMMUN+99, IMMUN+100, IMMUN+101, IMMUN+102, IMMUN+103, IMMUN+104, IMMUN+105, IMMUN+106, IMMUN+107 , IMMUN+108, IMMUN+109, IMMUN+110, IMMUN+111, IMMUN+112, IMMUN+113, IMMUN+114, IMMUN+115, IMMUN+116, IMMUN+117 , IMMUN+118, IMMUN+119, IMMUN+120, IMMUN+121, IMMUN+122, IMMUN+123, IMMUN+124, IMMUN+125, IMMUN+126, GETVDATA~ , GETVDATA+5, GETVDATA+6, GETVDATA+7, GETMDATA~, GETMDATA+4, GETMDATA+8, GETVIS+3~, GETVIS+6*, GETVIS+7 |
DFN | IMMUN~, IMMUN+59, IMMUN+65, IMMUN+68, IMMUN+70, CONREF~, CONREF+39, CONREF+45, CONREF+47, CONREF+48 , CONREF+52 |
DIC | IMMUN+71~, IMMUN+76*, GETVDATA+1~, GETVDATA+2*, GETMDATA+3~, GETMDATA+6*, GETVIS+3~, GETVIS+6* |
DIQ | IMMUN+71~, IMMUN+76*, GETVDATA+1~, GETVDATA+2*, GETMDATA+3~, GETMDATA+5*, GETVIS+3~, GETVIS+4* |
DIQ(0 | IMMUN+76*, GETVDATA+2*, GETMDATA+5*, GETVIS+4* |
DR | IMMUN+71~, IMMUN+77*, IMMUN+78*, GETVDATA+1~, GETVDATA+3*, GETMDATA+3~, GETMDATA+6*, GETVIS+3~, GETVIS+6* |
EPROV | IMMUN+72~, IMMUN+101*, IMMUN+116 |
>> GMTSBEG | SCREEN+13 |
>> GMTSE | SCREEN+12 |
>> GMTSEG( | SETUP+6, SETUP+7 |
>> GMTSEGN | SETUP+6, SETUP+7 |
GMTSMX | IMMUN+61~, IMMUN+63, SETUP~, SETUP+2*, SCREEN+13, CONREF+40~, CONREF+44 |
>> GMTSNDM | SETUP+2 |
HLOC | GETVDATA+1~, GETVDATA+5*, GETVDATA+7 |
HLOCABB | GETVDATA+1~, GETVDATA+6*, GETVDATA+7 |
IDT | IMMUN+72~ |
IHSDATE | IMMUN+60~, IMMUN+63, IMMUN+68, SETUP~, SETUP+3*, SETUP+4* |
IMDT | IMMUN+71~, IMMUN+91*, IMMUN+92*, IMMUN+94, IMMUN+95, IMMUN+116 |
IMM | IMMUN+71~, IMMUN+86*, IMMUN+88*, IMMUN+89, IMMUN+95, IMMUN+116 |
MREC | GETMDATA+3~ |
MREC( | GETMDATA+8 |
OPROV | IMMUN+72~, IMMUN+100*, IMMUN+116 |
PXCDATA | CONREF+71~ |
PXCDATA( | CONREF+74, CONREF+75, CONREF+76 |
PXCIIFN | CONREF+41~, CONREF+75*, CONREF+76 |
PXCOPR | CONREF+41~, CONREF+74*, CONREF+84 |
PXDATA | CONREF+57~ |
PXDATA( | CONREF+65, CONREF+77, CONREF+80, CONREF+81, CONREF+83, CONREF+84, CONREF+87 |
PXENTRIES | CONREF+42~ |
PXENTRIES( | CONREF+50*, CONREF+54*, CONREF+55 |
PXERROR | CONREF+41~, CONREF+57~, CONREF+64, CONREF+68, CONREF+73 |
PXEVENT | CONREF+41~, CONREF+66*, CONREF+67, CONREF+72, CONREF+74, CONREF+80*, CONREF+81 |
PXEVENTDT | CONREF+40~, CONREF+60*, CONREF+61*, CONREF+62, CONREF+65, CONREF+81 |
PXFG | IMMUN~, IMMUN+87, IMMUN+95, SETUP+8*, GETSORT~, GETSORT+3, GETSORT+5, GETSORT+7, CONREF~, CONREF+65 |
PXFILE | CONREF+41~ |
PXFILE("NAME" | CONREF+69 |
PXFILTER | IMMUN~, IMMUN+94, SCREEN~, SCREEN+4, SCREEN+5, CONREF~, CONREF+62 |
PXGLOBAL | PUTIMMNAME~, PUTIMMNAME+3 |
PXHSDATE | CONREF+40~, CONREF+44, CONREF+47 |
PXIDT | GETSORT+1~, GETSORT+3*, GETSORT+5, GETSORT+7 |
PXIFN | IMMUN+60~, IMMUN+69*, IMMUN+70*, IMMUN+76, CONREF+40~, CONREF+48*, CONREF+49, CONREF+50, CONREF+53*, CONREF+54 , CONREF+55*, CONREF+56, CONREF+59, CONREF+60, CONREF+63, CONREF+65, CONREF+66, CONREF+76, CONREF+77, CONREF+79 , CONREF+80, CONREF+81, CONREF+82, CONREF+83, CONREF+84, CONREF+85, CONREF+86, CONREF+87, CONREF+88 |
PXIMDT | SCREEN~, SCREEN+13, GETSORT~, GETSORT+3 |
PXIMM | IMMUN+60~, IMMUN+64*, IMMUN+65*, IMMUN+66, IMMUN+68, IMMUN+70, IMMUN+125, SCREEN+11, SCREEN+13, CONREF+40~ , CONREF+45*, CONREF+46, CONREF+47, CONREF+48, CONREF+51*, CONREF+52, CONREF+56*, CONREF+58, CONREF+62, CONREF+78 , CONREF+88 |
PXIMMEXT | GETSORT~, GETSORT+5, GETSORT+7 |
PXIMMIFN | PUTIMMNAME~, PUTIMMNAME+2, PUTIMMNAME+3 |
PXIVD | IMMUN+60~, IMMUN+67*, IMMUN+68*, IMMUN+70 |
PXN0 | CONREF+40~, CONREF+81*, CONREF+82*, CONREF+83*, CONREF+84*, CONREF+85 |
PXNOINV | SETUP~, SETUP+2*, SETUP+3 |
PXOLD | SETUP~, SETUP+8 |
PXRESULT | CONREF+57~, CONREF+78 |
PXRESULT("VG" | CONREF+79 |
PXRETURN | CONREF+42~, CONREF+52 |
PXRETURN( | CONREF+53 |
PXSNIMM | GETSORT~, GETSORT+5 |
PXSORT | IMMUN+61~, IMMUN+95, IMMUN+116, IMMUN+117, IMMUN+118, IMMUN+119, IMMUN+120, IMMUN+121, IMMUN+122, IMMUN+123 , IMMUN+124, IMMUN+125, IMMUN+126, GETSORT~, GETSORT+5*, GETREM~, GETREM+4, CONREF+41~, CONREF+65, CONREF+76 , CONREF+79, CONREF+85, CONREF+86, CONREF+87, CONREF+88 |
PXSORT2 | IMMUN+61~, IMMUN+95, IMMUN+116, IMMUN+117, IMMUN+118, IMMUN+119, IMMUN+120, IMMUN+121, IMMUN+122, IMMUN+123 , IMMUN+124, IMMUN+125, IMMUN+126, GETSORT~, GETSORT+7*, GETREM~, GETREM+4, CONREF+41~, CONREF+65, CONREF+76 , CONREF+79, CONREF+85, CONREF+86, CONREF+87, CONREF+88 |
PXTYPE | CONREF+41~, CONREF+69*, CONREF+70, CONREF+76, CONREF+77, CONREF+79, CONREF+81, CONREF+85, CONREF+86, CONREF+87 , CONREF+88 |
PXVABRV | SCREEN+1~, SCREEN+11*, SCREEN+12*, SCREEN+13 |
PXVARRAY | IMMUN+73~, IMMUN+83!, GETVIS~ |
PXVARRAY(920 | IMMUN+124, GETVIS+9* |
PXVBODY | IMMUN+73~, IMMUN+105*, IMMUN+118 |
PXVBYPOL | IMMUN+75~, IMMUN+103*, IMMUN+116 |
PXVC | IMMUN+73~, PUTIMMNAME+1~, PUTIMMNAME+2*, PUTIMMNAME+3 |
PXVCNT | IMMUN+61~, IMMUN+94, SCREEN~, CONREF+41~, CONREF+62 |
PXVCNT( | SCREEN+11*, SCREEN+13 |
PXVCVX | IMMUN+75~, IMMUN+90*, IMMUN+94, SCREEN~, SCREEN+9, CONREF+40~, CONREF+58*, CONREF+62 |
PXVD | CONREF+40~, CONREF+47*, CONREF+48 |
PXVDATA | IMMUN+73~, IMMUN+81*, IMMUN+119, GETENCLOC~, GETENCLOC+1, CONREF+40~, CONREF+59*, CONREF+61, CONREF+86 |
PXVDOCBY | IMMUN+73~, IMMUN+102*, IMMUN+118 |
PXVDOSE | IMMUN+73~, IMMUN+106*, IMMUN+118 |
PXVDTRCRD | IMMUN+74~, IMMUN+111*, IMMUN+120 |
PXVDTRD | IMMUN+74~, IMMUN+109*, IMMUN+120 |
PXVFLTRTYP | SCREEN+1~, SCREEN+5*, SCREEN+6, SCREEN+7, SCREEN+8, SCREEN+9 |
PXVFLTRVAL | SCREEN+1~, SCREEN+5*, SCREEN+6, SCREEN+7, SCREEN+8, SCREEN+9 |
PXVG | SCREEN+1~ |
PXVG( | SCREEN+12 |
PXVHRS | IMMUN+74~, IMMUN+112*, IMMUN+120 |
PXVI | GETVIS~, GETVIS+5 |
PXVIEN | SETUP+1~, SETUP+6*, SETUP+7, GETVIS+3~, GETVIS+4*, GETVIS+5*, GETVIS+6, GETVIS+9 |
PXVIMIEN | IMMUN+74~, IMMUN+84*, IMMUN+85, IMMUN+90, IMMUN+94, SCREEN~, SCREEN+7, SCREEN+8 |
PXVLST | IMMUN+61~, IMMUN+63, IMMUN+66, SETUP~, CONREF+40~, CONREF+44, CONREF+46 |
PXVLST( | IMMUN+66, SETUP+7*, CONREF+46, CONREF+51 |
PXVRCMNT | IMMUN+74~, IMMUN+113*, IMMUN+121 |
PXVRDNG | IMMUN+74~, IMMUN+108*, IMMUN+120 |
PXVRDR | IMMUN+74~, IMMUN+110*, IMMUN+120 |
PXVROUTE | IMMUN+73~, IMMUN+104*, IMMUN+118 |
PXVRSLT | IMMUN+74~, IMMUN+107*, IMMUN+120 |
PXVSTOP | IMMUN+75~, IMMUN+94*, SCREEN+1~, SCREEN+2*, SCREEN+4, SCREEN+7*, SCREEN+8*, SCREEN+9*, SCREEN+13*, SCREEN+14 , CONREF+41~, CONREF+62* |
REACT | IMMUN+71~, IMMUN+98*, IMMUN+116 |
REC | IMMUN+71~, IMMUN+80 |
REC( | IMMUN+81, IMMUN+82, IMMUN+84, IMMUN+86, IMMUN+91, IMMUN+96, IMMUN+97, IMMUN+98, IMMUN+99, IMMUN+100 , IMMUN+101, IMMUN+102, IMMUN+103, IMMUN+104, IMMUN+105, IMMUN+106, IMMUN+107, IMMUN+108, IMMUN+109, IMMUN+110 , IMMUN+111, IMMUN+112, IMMUN+113, IMMUN+114, IMMUN+115 |
RNUM | GETREM~, GETREM+3, GETREM+4 |
SERIES | IMMUN+71~, IMMUN+97*, IMMUN+116 |
SERIESC | IMMUN+71~, IMMUN+96*, IMMUN+116 |
SNIMM | IMMUN+71~, IMMUN+85*, IMMUN+89*, IMMUN+95, IMMUN+116 |
SOURCE | IMMUN+72~, IMMUN+114*, IMMUN+122 |
SREC | GETVIS+3~ |
SREC(920 | GETVIS+9 |
U | IMMUN+85, IMMUN+90, IMMUN+92, IMMUN+116, IMMUN+118, IMMUN+120, GETENCLOC+1, GETVDATA+7, GETMDATA+8, GETVIS+9 , CONREF+56, CONREF+58, CONREF+59, CONREF+60, CONREF+61, CONREF+66, CONREF+81, CONREF+82, CONREF+83, CONREF+84 |
VDATA | IMMUN+72~, IMMUN+82*, IMMUN+92, IMMUN+117 |
VREC | GETVDATA+1~ |
VREC(9000010 | GETVDATA+5, GETVDATA+6, GETVDATA+7 |