BMXRPC10 ; IHS/OIT/GIS - RPC CALL FOR EXTENDED BROKER FUNCTIONALITY ; 08 Jun 2010 8:47 AM
Source file <BMXRPC10.m>
Package | Total | Call Graph |
---|---|---|
Kernel | 6 | ($$FMADD,$$FMTE)^XLFDT $$VERSION^XPDUTL ($$CHK,$$OPTLK)^XQCS $$EN^XUSHSH ($$KCHK,CVC)^XUSRB ($$DECRYP,$$ENCRYP)^XUSRB1 |
DRG Grouper | 2 | $$IMP^ICDEXA $$ICDDATA^ICDXCODE |
M Transfer | 2 | $$SEMAPHOR^BMXMON CVC^BMXRPC10 |
VA Fileman | 2 | ^%DT $$GET1^DIQ |
IHS Patient | 1 | ($$AGE,$$HRN)^AUPNPAT |
PCC New Encounter Form | 1 | $$PRV^VENPCCU |
Package | Total | Caller Graph |
---|---|---|
M Transfer | 1 | BMXRPC10 |
iCare | 1 | BQISYDIV |
Name | Comments | DBIA/ICR reference |
---|---|---|
GETADO | ||
PATSSN(PAT) | ;-- look up by ssn
|
|
PATADO(PIEN) | ;-- ado return
|
|
BEGIN(PT) | ;-- get begin point
|
|
VOUT | ||
GETFCRS(BMXFACS,BMXDUZ) | ; EP - Gets all facilities for a user - returns RECORDSET
|
|
PATCHT(BMXPIEN,HRN) | ;-- lookup by chart
|
|
PATNAM(BMXPATE,PAT,NPAT) | ;lookup by name
|
|
MON | ; EP - OPTION: BMX MONITOR VIEW
|
|
GETPAT(BMXRET,BMXSTR) | ; EP - -- return patient in ADO table
; S X="MERR^BMXGU",@^%ZOSF("TRAP") ; m error trap |
|
GETVIS(OUT,STG) | ; EP - RETURN SPECIFIED # OF VALID VISITS FOR THE PATIENT
|
|
PATDOB(BMXPATE,PAT) | ;-- lookup by DOB
|
|
VIS(VIEN,DFN,DATA) | ; EP - APPEND VISIT DATA STRING
|
|
BC1 | ||
XFRCS | ||
TEST | ; TEST CVC
|
|
BMXCCXT(RESULT,XOPTION) | ;creates context for the passed in option
|
|
PPOV(VIEN) | ; EP - GIVEN A VISIT IEN, RETURN THE PRIMARY PURPOSE OF VISIT ICD CODE (NARRATIVE)
; CALLED BY BMX SCHEMA |
|
PPRV(VIEN) | ; EP - GIVEN A VISIT IEN, RETURN THE PRIMARY PROVIDER NAME
; CALLED BY THE BMX SCHEMA |
|
BC2 | ||
CVC(OUT,IN) | ; EP - RPC: BMX CVC ; CHECK VERIFY CODE (SEE CVC^XUSRB)
|
Name | Field # of Occurrence |
---|---|
^%DT | GETPAT+14 |
$$AGE^AUPNPAT | PATADO+16 |
$$HRN^AUPNPAT | PATADO+12 |
$$SEMAPHOR^BMXMON | MON+10 |
CVC^BMXRPC10 | TEST+3 |
$$GET1^DIQ | VIS+5, VIS+6, VIS+7, VIS+8, VIS+9, PPOV+15, PPOV+34, PATADO+15 |
$$IMP^ICDEXA | PPOV+24 |
$$ICDDATA^ICDXCODE | PPOV+25, PPOV+30 |
$$PRV^VENPCCU | PPRV+12 |
$$FMADD^XLFDT | GETVIS+9 |
$$FMTE^XLFDT | PATADO+10 |
$$VERSION^XPDUTL | PPOV+20 |
$$CHK^XQCS | BC1+2 |
$$OPTLK^XQCS | BC1 |
$$EN^XUSHSH | CVC+8 |
$$KCHK^XUSRB | BC2 |
CVC^XUSRB | CVC+15 |
$$DECRYP^XUSRB1 | BMXCCXT+3, CVC+6 |
$$ENCRYP^XUSRB1 | CVC+13, CVC+14, TEST+2 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: READ |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
RPC Name | Call Tags |
---|---|
BMXGetFacRS | GETFCRS |
BMX FIND PATIENT | GETPAT |
BMX FIND VISIT | GETVIS |
BMX FIND FACILITY | GETFRCS |
BMX CREATE CONTEXT | BMXCCXT |
BMX CVC | CVC |
FileNo | Call Tags |
---|---|
^AUPNPAT - [#9000001] | GET1^DIQ |
^AUPNVSIT - [#9000010] | GET1^DIQ |
^AUPNVPOV - [#9000010.07] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNPAT - [#9000001] | PATADO+8, PATADO+14 |
^AUPNPAT("D" | PATCHT+3, PATCHT+4, PATCHT+5 |
^AUPNVPOV - [#9000010.07] | PPOV+6, PPOV+10 |
^AUPNVPOV("AD" | GETVIS+19, PPOV+2, PPOV+5, PPOV+10 |
^AUPNVPRV - [#9000010.06] | PPRV+6, PPRV+10 |
^AUPNVPRV("AD" | GETVIS+20, PPRV+2, PPRV+5, PPRV+10 |
^AUPNVSIT - [#9000010] | GETVIS+11 |
^AUPNVSIT("AA" | GETVIS+7, GETVIS+10 |
^AUTTSITE(1 | GETFCRS+14 |
^BMXMON - [#90093.5] | BMXCCXT+9, BMXCCXT+11, BMXCCXT+12, MON+7, MON+12 |
^BMXMON("B" | BMXCCXT+8, MON+4, MON+5 |
^BMXTMP($J | GETPAT+4! |
^DIC(19 - [#19] | BMXCCXT+13 |
^DIC(4 - [#4] | GETFCRS+15, GETFCRS+32 |
^DISV( | GETFCRS+21 |
^DPT - [#2] | GETVIS+5, PATADO+9, PATADO+10, PATADO+11, PATADO+13 |
^DPT("ADOB" | PATDOB+4 |
^DPT("B" | PATNAM+7, PATNAM+8, PATNAM+9, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+8 |
^DPT("SSN" | PATSSN+1 |
^TMP("BMX FIND" | GETFCRS+4, GETFCRS+5*, GETFCRS+18*, GETFCRS+35*, XFRCS+1* |
^VA(200 - [#200] | GETFCRS+12, GETFCRS+25, GETFCRS+28, PPRV+13, CVC+9 |
^XTV(8989.3 - [#8989.3] | GETFCRS+29 |
Name | Line Occurrences |
---|---|
$$BEGIN | PATNAM+5 |
$$PATCHT | GETPAT+26 |
$$PATDOB | GETPAT+20 |
$$PATNAM | GETPAT+22 |
$$PATSSN | GETPAT+24 |
$$PPOV | VIS+11 |
$$PPRV | VIS+10 |
BC1 | BMXCCXT+9 |
GETADO | GETPAT+16, GETPAT+17, GETPAT+18, GETPAT+22, GETPAT+23, GETPAT+25 |
PATADO | GETADO |
VIS | GETVIS+21 |
VOUT | GETVIS+3, GETVIS+5, GETVIS+7 |
XFRCS | GETFCRS+6, GETFCRS+13 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | GETVIS+4~, PPRV+3~, PPOV+3~, GETPAT+2~, PATCHT+5*, BMXCCXT+1~, BMXCCXT+12*, BMXCCXT+13*, BMXCCXT+14, CVC+4~ , MON+1~, MON+20*, MON+21*, MON+22 |
%DT | GETPAT+2~ |
AC | CVC+4~, CVC+7*, CVC+8 |
ARR | MON+1~, MON+15 |
ARR( | MON+13*, MON+18, MON+21 |
AV | CVC+4~, CVC+6*, CVC+7, CVC+11, CVC+12 |
BDT | GETVIS+4~, GETVIS+9*, GETVIS+19, GETVIS+20 |
BMXAGE | PATADO+5~, PATADO+16*, PATADO+18 |
BMXCNT | GETADO+2!, PATCHT+1~, PATCHT+2*, PATCHT+7*, PATCHT+8, PATCHT+9, PATDOB+1~, PATDOB+2*, PATDOB+5, PATDOB+6* , PATDOB+7, PATDOB+9, PATNAM+1*, PATNAM+7, PATNAM+10*, PATNAM+11, PATNAM+12, PATNAM+13 |
BMXCNTR | PATADO+1~, PATADO+3*, PATADO+6* |
BMXCT | GETADO+2!, PATADO+12*, PATADO+18 |
BMXDA | GETADO+2!, PATADO+4*, PATADO+7 |
BMXDB | GETADO+2!, PATADO+10*, PATADO+18 |
BMXDUZ | GETFCRS~, GETFCRS+6, GETFCRS+8*, GETFCRS+9*, GETFCRS+10*, GETFCRS+12, GETFCRS+20, GETFCRS+21, GETFCRS+24, GETFCRS+25 , GETFCRS+28 |
BMXELG | PATADO+1~, PATADO+15*, PATADO+18 |
BMXERR | GETPAT+2~, GETPAT+6*, GETADO+1 |
BMXFACS | GETFCRS~, GETFCRS+4* |
BMXFN | GETFCRS+7~, GETFCRS+11*, GETFCRS+14*, GETFCRS+15, GETFCRS+18, GETFCRS+23*, GETFCRS+24*, GETFCRS+25, GETFCRS+30*, GETFCRS+31* , GETFCRS+32, GETFCRS+33, GETFCRS+35 |
>> BMXHD | PATADO+18 |
BMXI | GETFCRS+3~, GETFCRS+4*, GETFCRS+17*, GETFCRS+18, GETFCRS+34*, GETFCRS+35, XFRCS*, XFRCS+1, GETPAT+2~, GETPAT+5* , PATADO+17* |
BMXIEN | GETADO+2!, PATCHT+3*, PATCHT+4, PATCHT+5*, PATCHT+6, PATDOB+3*, PATDOB+4*, PATDOB+7, PATNAM+8*, PATNAM+9 , PATNAM+12 |
BMXLEN | PATNAM+2~, PATNAM+3*, PATNAM+7 |
BMXMCNT | PATCHT+1~, PATCHT+2* |
>> BMXMT | GETPAT+9*, GETPAT+11*, GETPAT+12*, PATNAM+7 |
BMXN | GETFCRS+7~ |
>> BMXNAM | PATNAM+4*, PATNAM+5*, PATNAM+6*, PATNAM+7*, PATNAM+8, PATNAM+9 |
BMXNM | GETADO+2!, PATADO+9*, PATADO+18 |
BMXPAT | GETPAT+8*, GETPAT+14, GETPAT+19*, GETPAT+20, GETPAT+21, GETPAT+22, GETPAT+23, GETPAT+24, GETPAT+25, GETPAT+26 , GETADO+2! |
BMXPATE | GETPAT+20*, GETPAT+22*, GETADO+2!, PATCHT+2*, PATDOB~, PATDOB+2*, PATDOB+6*, PATDOB+9*, PATDOB+10, PATNAM~ , PATNAM+1*, PATNAM+13*, PATNAM+14 |
BMXPATE( | PATDOB+5*, PATDOB+7*, PATNAM+11*, PATNAM+12* |
BMXPATS | GETADO, GETADO+3! |
BMXPCNT | BEGIN+1~, BEGIN+2* |
BMXPDA | BEGIN+1~, BEGIN+3*, BEGIN+4, BEGIN+5*, BEGIN+6*, BEGIN+7, BEGIN+8 |
>> BMXPI | PATADO+7*, PATADO+8, PATADO+9, PATADO+10, PATADO+11, PATADO+12, PATADO+13, PATADO+14, PATADO+15, PATADO+16 , PATADO+18 |
BMXPIEN | GETPAT+13*, GETPAT+20, GETPAT+22, GETPAT+24*, GETPAT+26*, GETADO, GETADO+2!, PATSSN+1*, PATSSN+2, PATSSN+3 , PATCHT~, PATCHT+2*, PATCHT+3, PATCHT+6*, PATCHT+9, PATCHT+11, BEGIN+1~ |
BMXPIEN( | PATCHT+8*, PATCHT+9* |
BMXPIEN(1 | PATSSN+2* |
BMXRCNT | GETFCRS+7~ |
BMXRET | GETPAT~, GETPAT+7*, GETADO+1*, PATADO+18* |
BMXSSN | GETADO+2!, PATADO+13*, PATADO+18 |
BMXSTR | GETPAT~, GETPAT+8, GETPAT+9 |
BMXSUB | GETFCRS+7~ |
BMXSX | GETADO+2!, PATADO+11*, PATADO+18 |
BMXUIEN | GETPAT+2~ |
>> BMXUPD | PATADO+14*, PATADO+18 |
>> CIEN | BMXCCXT+10*, BMXCCXT+11*, BMXCCXT+12 |
CLIN | GETVIS+4~, VIS+3~, VIS+9*, VIS+12 |
CNT | GETVIS+4~, GETVIS+8*, GETVIS+22*, GETVIS+23, MON+1~, MON+17*, MON+19*, MON+20 |
CREF | GETFCRS+7~, GETFCRS+12*, GETFCRS+13, GETFCRS+31 |
DATA | GETVIS+4~, GETVIS+8*, GETVIS+21, VOUT, VIS~, VIS+12* |
DESC | MON+1~, MON+12*, MON+13, MON+22*, MON+23 |
DFLT | GETFCRS+7~, GETFCRS+16*, GETFCRS+18, GETFCRS+33*, GETFCRS+35 |
DFN | GETVIS+4~, GETVIS+5*, GETVIS+7, GETVIS+10, GETVIS+14, GETVIS+21, VIS~, VIS+1, VIS+12 |
DT | GETVIS+9, PATADO+16 |
DTIME | MON+20 |
DUZ | BC1+2, TEST+1~ |
DUZ(2 | PATCHT+4, PATCHT+5, PATADO+2, PATADO+8, PATADO+12 |
DX | PPOV+3~, PPOV+36*, PPOV+37 |
EAC | CVC+4~ |
ENVC | CVC+4~, CVC+14*, CVC+15 |
EOVC | CVC+4~, CVC+13*, CVC+15 |
EVC | CVC+4~ |
FIEN | VIS+3~, VIS+4*, VIS+5, VIS+6, VIS+7, VIS+8, VIS+9 |
FLD | VIS+3~ |
HDR | GETVIS+4~ |
HRN | PATCHT~, PATCHT+3, PATCHT+4, PATCHT+5 |
ICD | PPOV+3~, PPOV+24, PPOV+26*, PPOV+29, PPOV+31*, PPOV+33, PPOV+36 |
IDT | GETVIS+4~, GETVIS+8*, GETVIS+10* |
IEN | BMXCCXT+1~, BMXCCXT+8*, BMXCCXT+9, BMXCCXT+11, BMXCCXT+12, MON+1~, MON+5*, MON+7, MON+12 |
IENS | VIS+3~, VIS+4*, VIS+5, VIS+6, VIS+7, VIS+8, VIS+9 |
IIEN | PPOV+3~, PPOV+4*, PPOV+5, PPOV+8*, PPOV+10*, PPOV+11, PPOV+25, PPOV+30 |
IN | CVC~, CVC+2, CVC+6, TEST+1~, TEST+2*, TEST+3 |
LAST | GETFCRS+7~, GETFCRS+21*, GETFCRS+22, GETFCRS+24, GETFCRS+25*, GETFCRS+28*, GETFCRS+29*, GETFCRS+33 |
LINE | GETVIS+4~ |
LOC | GETVIS+4~, VIS+3~, VIS+7*, VIS+12 |
MAX | GETVIS+4~, GETVIS+6*, GETVIS+23 |
NAME | PPRV+3~, PPRV+13*, PPRV+14 |
NIEN | PPOV+3~ |
NPAT | PATNAM~, PATNAM+6 |
NVC | CVC+4~, CVC+12*, CVC+14 |
OK | BMXCCXT+1~, BMXCCXT+10*, BMXCCXT+11, BMXCCXT+14*, BMXCCXT+16 |
OPTION | BMXCCXT+1~, BMXCCXT+3*, BMXCCXT+4, BMXCCXT+6, BMXCCXT+14, BMXCCXT+16, BC1, BC1+1, BC2 |
OREF | GETFCRS+7~, GETFCRS+20*, GETFCRS+21 |
OUT | GETVIS~, GETVIS+1*, VOUT*, CVC~, CVC+16*, TEST+3 |
OUT(0 | CVC+1*, TEST+3 |
OUT(1 | CVC+1*, TEST+3 |
OVC | CVC+4~, CVC+11*, CVC+13 |
P | GETPAT+2~, GETPAT+3*, GETPAT+8, GETPAT+9 |
PAT | PATSSN~, PATSSN+1, PATDOB~, PATDOB+4, PATNAM~, PATNAM+3, PATNAM+4, PATNAM+5, PATNAM+7 |
PIEN | PPRV+3~, PPRV+4*, PPRV+5, PPRV+8*, PPRV+10*, PPRV+11, PPRV+12*, PPRV+13, PATADO~ |
PIEN( | PATADO+4, PATADO+7 |
PORT | BMXCCXT+7*, BMXCCXT+8, BMXCCXT+16, MON+1~, MON+3*, MON+4*, MON+5, MON+10, MON+13, MON+17* , MON+18*, MON+21, MON+23 |
PPOV | GETVIS+4~, VIS+3~, VIS+11*, VIS+12 |
PPRV | GETVIS+4~, VIS+3~, VIS+10*, VIS+12 |
PT | BEGIN~, BEGIN+3 |
RESULT | BMXCCXT~, BMXCCXT+2*, BMXCCXT+4*, BMXCCXT+16*, BC1+1*, BC1+2*, BC2*, BC2+1 |
RET | CVC+4~, CVC+15, CVC+16 |
RET(0 | CVC+5* |
RET(1 | CVC+5* |
SCAT | GETVIS+4~, VIS+3~, VIS+8*, VIS+12 |
SIEN | BMXCCXT+1~ |
SITE | GETFCRS+7~, GETFCRS+15*, GETFCRS+18, GETFCRS+32*, GETFCRS+35 |
STAT | MON+1~, MON+7*, MON+9*, MON+10*, MON+13, MON+22*, MON+23 |
STG | GETFCRS+30*, GETVIS~, GETVIS+2, GETVIS+5, GETVIS+6 |
STOP | GETVIS+4~, GETVIS+8*, GETVIS+10, GETVIS+23* |
STR | PPOV+21~, PPOV+25*, PPOV+26, PPOV+30*, PPOV+31 |
TS | GETVIS+4~, VIS+5*, VIS+12 |
TXT | PPOV+3~, PPOV+34*, PPOV+35*, PPOV+36 |
TYPE | GETVIS+4~, VIS+3~, VIS+6*, PPRV+7*, PPRV+8, PPOV+7*, PPOV+8 |
U | GETFCRS+14, GETFCRS+15, GETFCRS+18, GETFCRS+25, GETFCRS+29, GETFCRS+32, GETFCRS+35, GETVIS+13, GETVIS+14, GETVIS+15 , GETVIS+16, GETVIS+17, GETVIS+18, VIS+12, PPRV+7, PPRV+13, PPOV+7, PATADO+9, PATADO+10, PATADO+11 , PATADO+13, PATADO+14, PATADO+18, BMXCCXT+12, BMXCCXT+13, CVC+4~, CVC+5*, CVC+15, MON+7 |
USER | CVC+4~, CVC+9*, CVC+10 |
>> VA(200 | GETFCRS+24 |
VDT | GETVIS+4~, GETVIS+12*, GETVIS+19, GETVIS+20, VIS+3~, PPOV+3~, PPOV+15*, PPOV+24, PPOV+25, PPOV+30 |
VIEN | GETVIS+4~, GETVIS+10*, GETVIS+11, GETVIS+19, GETVIS+20, GETVIS+21, VIS~, VIS+1, VIS+4, VIS+10 , VIS+11, VIS+12, PPRV~, PPRV+2, PPRV+5, PPRV+10, PPOV~, PPOV+2, PPOV+5, PPOV+10 , PPOV+15 |
VPIEN | PPRV+3~, PPRV+4*, PPRV+5*, PPRV+6, PPRV+10*, PPOV+3~, PPOV+4*, PPOV+5*, PPOV+6, PPOV+10* , PPOV+11, PPOV+34 |
X | GETVIS+4~, GETVIS+11*, GETVIS+12, GETVIS+13, GETVIS+14, GETVIS+15, GETVIS+16, GETVIS+17, GETVIS+18, PPRV+3~ , PPRV+6*, PPRV+7, PPRV+8, PPOV+3~, PPOV+6*, PPOV+7, PPOV+8, GETPAT+2~, GETPAT+14*, GETPAT+21* , GETPAT+22, CVC+4~, CVC+8*, CVC+9, MON+1~ |
XOPTION | BMXCCXT~, BMXCCXT+3 |
XQY | BMXCCXT+5!, BMXCCXT+6*, BC2* |
XQY0 | BMXCCXT+5!, BMXCCXT+6*, BC2* |
XWB1 | BMXCCXT+1~, BC1*, BC1+1, BC1+2, BC2 |
>> XWBSEC | BMXCCXT+16*, BC1+1*, BC2+1* |
Y | GETVIS+4~, PPRV+3~, PPOV+3~, GETPAT+2~, GETPAT+15*, GETPAT+16, GETPAT+17, GETPAT+18, GETPAT+19, CVC+4~ , MON+1~ |
Z | GETVIS+4~, PPRV+3~, PPOV+3~, GETPAT+2~, CVC+4~, MON+1~ |