BDMGU ; cmi/anch/maw - BDM DMS GUI Utilities ;
Source file <BDMGU.m>
Package | Total | Call Graph |
---|---|---|
VA Fileman | 2 | ^%DT $$GET1^DIQ |
IHS Patient | 1 | $$HRN^AUPNPAT |
Kernel | 1 | $$FMTE^XLFDT |
Patient Care Component Reports | 1 | ($$PRIMPROV,$$SECPROV)^APCLV |
Uncategorized | 1 | DEBUG^%Serenji |
Name | Comments | DBIA/ICR reference |
---|---|---|
PATSSN(PAT) | ;-- look up by ssn
|
|
BEGIN(PT) | ;-- get begin point
|
|
PATDAT(BDMRET,BDMSTR) | ;-- get patient data from CMS Register
|
|
DMG(BDMRET,BDMSTR) | ;-- get patient demographics
|
|
PATCHT(BDMPIEN,PAT) | ;-- lookup by chart
|
|
MERR | ; MUMPS ERROR TRAP
|
|
PATDOB(BDMPATE,PAT) | ;-- lookup by DOB
|
|
DEBUG(BDMRET,BDMSTR) | ;-- debug
|
|
ERR(ERR) | ; BMX ADO SCHEMA ERROR PROCESSOR
|
|
PATADO(PIEN) | ;-- ado return
|
|
CMT(BDMRET,BDMSTR) | ;-- get comment history
|
|
DIAG(BDMRET,BDMSTR) | ;-- return diagnosis data
|
|
CATSTR(BDMSRET,STR) | ;EP - concatenate a long string in
|
|
PATNAM(BDMPATE,PAT,NPAT) | ;lookup by name
|
|
REGSEL(BDMRET) | ;-- return register to work with
|
|
GETPAT(BDMRET,BDMSTR) | ;-- return patient in ADO table
|
|
VST(BDMRET,BDMSTR) | ;-- get visit data by patient
|
|
CMP(BDMRET,BDMSTR) | ;-- return complications data
|
RPC Name | Call Tags |
---|---|
BDMG GET PATIENT | GETPAT |
BDMG GET REGISTERS | REGSEL |
BDMG GET DEMOGRAPHICS | DMG |
BDMG GET PAT MGMT DATA | PATDAT |
BDMG GET COMPLICATIONS DATA | CMP |
BDMG GET COMMENTS | CMT |
BDMG GET VISIT | VST |
BDMG GET REPORT | REP |
BDMG GET DIAGNOSIS DATA | DIAG |
FileNo | Call Tags |
---|---|
^AUPNPAT - [#9000001] | GET1^DIQ |
^AUPNVSIT - [#9000010] | GET1^DIQ |
^AUTTLOC - [#9999999.06] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZOSF("TRAP" | GETPAT+1, REGSEL+1, DMG+1, PATDAT+1, CMP+1, DIAG+1, CMT+1, VST+1 |
^ACM(41 - [#9002241] | PATADO+17, PATADO+18, PATDAT+7, PATDAT+8, PATDAT+18, CMP+7, DIAG+7, CMT+8, CMT+9 |
^ACM(41.1 - [#9002241.1] | GETPAT+10, REGSEL+4, REGSEL+6, REGSEL+7, PATDAT+5, CMP+5, DIAG+5 |
^ACM(42 - [#9002242] | CMP+13, CMP+16, CMP+17, CMP+25, CMP+26 |
^ACM(42.1 - [#9002242.1] | CMP+15 |
^ACM(42.3 - [#9002242.3] | CMP+18 |
^ACM(44 - [#9002244] | PATDAT+19, PATDAT+20, PATDAT+21, DIAG+13, DIAG+16, DIAG+17 |
^ACM(44.1 - [#9002244.1] | PATDAT+22, DIAG+15 |
^AUPNPAT - [#9000001] | PATADO+7, DMG+11 |
^AUPNPAT("D" | PATCHT+3, PATCHT+4, PATCHT+5 |
^AUPNVSIT - [#9000010] | VST+17 |
^AUPNVSIT("AA" | VST+11, VST+12, VST+13 |
^AUPNVSIT("AC" | VST+10 |
^AUTTLOC - [#9999999.06] | PATDAT+12, VST+19 |
^BDMTMP($J | GETPAT+4!, GETPAT+8*, GETPAT+25*, PATADO+20*, CMP+8!, CMP+12*, CMP+28*, CMP+29*, DIAG+8!, DIAG+12* , DIAG+23*, DIAG+24*, CMT+3!, CMT+7*, CMT+11*, CMT+12*, VST+7*, VST+26*, VST+27* |
^DIC(4 - [#4] | PATDAT+12 |
^DIC(5 - [#5] | DMG+8 |
^DPT - [#2] | PATADO+6, PATADO+8, PATADO+9, PATADO+10, PATADO+12, DMG+5, DMG+10 |
^DPT("ADOB" | PATDOB+3, PATDOB+4 |
^DPT("B" | PATNAM+7, PATNAM+8, BEGIN+4, BEGIN+5, BEGIN+6, BEGIN+8 |
^DPT("SSN" | PATSSN+1 |
^VA(200 - [#200] | PATDAT+10, PATDAT+11 |
Name | Line Occurrences |
---|---|
$$BEGIN | PATNAM+5 |
$$PATCHT | GETPAT+19 |
$$PATDOB | GETPAT+22 |
$$PATSSN | GETPAT+17 |
ERR | MERR+4 |
PATADO | GETPAT+24 |
PATNAM | GETPAT+23 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BDMACU | VST+2~ |
BDMAD | DMG+2~, DMG+6*, DMG+13 |
BDMC | REGSEL+2~, REGSEL+3*, REGSEL+8*, REGSEL+9, REGSEL+10 |
BDMCDA | CMP+23~, CMP+25*, CMP+26 |
BDMCL | VST+15~, VST+22*, VST+26 |
BDMCLNI | VST+2~ |
BDMCM | PATDAT+2~, PATDAT+11*, PATDAT+23 |
BDMCMP | CMP+2~, CMP+15*, CMP+28, DIAG+2~, DIAG+15*, DIAG+23 |
BDMCMT | CMP+2~, CMP+24*, CMP+26*, CMP+28, DIAG+2~, CMT+2~, CMT+8*, CMT+9 |
BDMCMTE | CMT+2~, CMT+9*, CMT+11 |
BDMCMTR | CMT+2~ |
BDMCNT | GETPAT+26!, PATCHT+1~, PATCHT+2*, PATCHT+3, PATCHT+7*, PATCHT+8, PATCHT+9, PATDOB+1~, PATDOB+2*, PATDOB+3 , PATDOB+5, PATDOB+6*, PATDOB+7, PATDOB+8, PATNAM+1*, PATNAM+7, PATNAM+9, PATNAM+10*, PATNAM+11, PATNAM+12 , PATNAM+13, VST+2~, VST+8*, VST+11, VST+12, VST+13, VST+14* |
>> BDMCNTR | PATADO+1*, PATADO+4* |
BDMCOM | DMG+2~, DMG+12*, DMG+13 |
BDMCON | PATDAT+2~, PATDAT+13*, PATDAT+23 |
BDMCT | GETPAT+26!, PATADO+3~, PATADO+11*, PATADO+20 |
BDMCTY | DMG+2~, DMG+7*, DMG+13 |
BDMDA | GETPAT+26!, PATCHT+3*, PATCHT+4, PATCHT+5, PATADO+2*, PATADO+5, REGSEL+2~, REGSEL+4*, REGSEL+5, REGSEL+6 , REGSEL+9, CMP+2~, CMP+13*, CMP+15, CMP+16, DIAG+2~, DIAG+13*, DIAG+15, DIAG+16, VST+2~ , VST+11*, VST+12, VST+13, CATSTR+1~, CATSTR+3*, CATSTR+4 |
BDMDATA | DMG+2~, DMG+5*, DMG+6, DMG+7, DMG+8, DMG+9, PATDAT+2~, PATDAT+8*, PATDAT+9, PATDAT+10 , PATDAT+11, PATDAT+12, PATDAT+13, PATDAT+14, PATDAT+15, PATDAT+16, PATDAT+17, CMP+2~, CMP+17*, CMP+18 , CMP+19, DIAG+2~, DIAG+17*, DIAG+18, DIAG+19 |
BDMDC | GETPAT+26!, PATADO+3~, PATADO+9*, PATADO+20 |
>> BDMDOB | PATDOB+3*, PATDOB+4 |
BDMDX | PATDAT+2~, PATDAT+22*, PATDAT+23 |
>> BDMDXI | PATDAT+21*, PATDAT+22 |
BDMED | PATDAT+2~, PATDAT+14*, PATDAT+23 |
BDMERR | GETPAT+2~, GETPAT+7*, GETPAT+25, CMP+2~, CMP+11*, CMP+29, DIAG+2~, DIAG+11*, DIAG+24, CMT+2~ , CMT+5*, CMT+12 |
BDMGX | ERR+1~, ERR+2*, ERR+3 |
BDMHD | GETPAT+26!, PATADO+3~, PATADO+18*, PATADO+20 |
BDMI | GETPAT+2~, GETPAT+6*, GETPAT+8, GETPAT+25, PATADO+19*, PATADO+20, CMP+2~, CMP+10*, CMP+12, CMP+14* , CMP+28, CMP+29, DIAG+2~, DIAG+10*, DIAG+12, DIAG+14*, DIAG+23, DIAG+24, CMT+2~, CMT+6* , CMT+7, CMT+10*, CMT+11, CMT+12, VST+3~, VST+6*, VST+7, VST+25*, VST+26, VST+27 |
BDMIEN | GETPAT+26!, PATCHT+4*, PATCHT+5, PATDOB+4*, PATDOB+7, PATNAM+8*, PATNAM+9, PATNAM+12, CMP+2~, CMP+16* , CMP+17, CMP+25, CMP+26, CMP+28, DIAG+2~, DIAG+16*, DIAG+17, DIAG+23 |
BDMIVDT | VST+2~, VST+12*, VST+13 |
BDMLE | PATDAT+2~, PATDAT+15*, PATDAT+23 |
BDMLEN | PATNAM+2~, PATNAM+3*, PATNAM+7 |
BDMLOC | VST+15~, VST+19*, VST+26 |
BDMLOI | VST+2~ |
BDMLR | PATDAT+2~, PATDAT+16*, PATDAT+23 |
>> BDMMCNT | PATCHT+2* |
>> BDMMT | GETPAT+12*, GETPAT+14*, GETPAT+15*, PATCHT+3, PATDOB+3, PATNAM+7 |
>> BDMNAM | PATNAM+4*, PATNAM+5*, PATNAM+6*, PATNAM+7*, PATNAM+8 |
BDMNM | GETPAT+26!, PATADO+3~, PATADO+8*, PATADO+20 |
>> BDMNPAT | GETPAT+13*, GETPAT+23 |
BDMNR | PATDAT+2~, PATDAT+17*, PATDAT+23 |
BDMOD | PATDAT+2~, PATDAT+18*, PATDAT+23 |
BDMON | CMP+2~, CMP+20*, CMP+22*, CMP+28, DIAG+2~, DIAG+20*, DIAG+22*, DIAG+23 |
BDMONE | CMP+2~, CMP+19*, CMP+21, CMP+22, DIAG+2~, DIAG+19*, DIAG+21, DIAG+22 |
BDMPAT | GETPAT+11*, GETPAT+16, GETPAT+17, GETPAT+18, GETPAT+19, GETPAT+20, GETPAT+21*, GETPAT+22, GETPAT+23, GETPAT+26! , DMG+2~, DMG+4*, DMG+5, DMG+10, DMG+11, DMG+12, PATDAT+2~, PATDAT+6*, PATDAT+7, PATDAT+8 , PATDAT+18, CMP+2~, CMP+6*, CMP+7, DIAG+2~, DIAG+6*, DIAG+7 |
BDMPATE | GETPAT+26!, PATCHT+2*, PATDOB~, PATDOB+2*, PATDOB+6*, PATDOB+8*, PATDOB+9, PATNAM~, PATNAM+1*, PATNAM+13* , PATNAM+14 |
BDMPATE( | PATDOB+5*, PATDOB+7*, PATNAM+9, PATNAM+11*, PATNAM+12* |
BDMPATS | GETPAT+24, GETPAT+27! |
BDMPCNT | BEGIN+1~, BEGIN+2* |
BDMPCP | DMG+2~, DMG+11*, DMG+13 |
BDMPDA | BEGIN+1~, BEGIN+3*, BEGIN+4, BEGIN+5*, BEGIN+6*, BEGIN+7, BEGIN+8 |
BDMPH | DMG+2~, DMG+10*, DMG+13 |
BDMPI | PATADO+3~, PATADO+5*, PATADO+6, PATADO+7, PATADO+8, PATADO+9, PATADO+10, PATADO+11, PATADO+12, PATADO+17 , PATADO+18, PATADO+20 |
BDMPIEN | GETPAT+17*, GETPAT+19*, GETPAT+22*, GETPAT+23, GETPAT+24, GETPAT+26!, PATSSN+1*, PATSSN+2, PATSSN+3, PATCHT~ , PATCHT+5*, PATCHT+6, PATCHT+9, PATCHT+10, BEGIN+1~, PATDAT+2~, PATDAT+7*, PATDAT+20, PATDAT+21, CMP+2~ , CMP+7*, CMP+13, CMP+16, DIAG+2~, DIAG+7*, DIAG+13, DIAG+16 |
BDMPIEN( | PATCHT+8*, PATCHT+9* |
BDMPIEN(1 | PATSSN+2* |
BDMPROV | VST+3~, VST+15~, VST+23*, VST+26 |
BDMREG | GETPAT+10*, PATADO+18, REGSEL+2~, REGSEL+9*, REGSEL+10, PATDAT+2~, PATDAT+5*, PATDAT+19, PATDAT+20, PATDAT+21 , CMP+2~, CMP+5*, CMP+13, CMP+16, DIAG+2~, DIAG+5*, DIAG+13, DIAG+16 |
BDMREGE | GETPAT+9*, GETPAT+10, PATDAT+2~, PATDAT+4*, PATDAT+5, CMP+2~, CMP+4*, CMP+5, DIAG+2~, DIAG+4* , DIAG+5 |
BDMRET | DEBUG~, GETPAT~, GETPAT+5*, REGSEL~, REGSEL+10*, DMG~, DMG+13*, PATDAT~, PATDAT+23*, CMP~ , CMP+9*, DIAG~, DIAG+9*, CMT~, CMT+4*, VST~, VST+5*, VST+10*, ERR+3, ERR+4 |
>> BDMRIEN | REGSEL+6*, REGSEL+7, REGSEL+9 |
BDMRP | PATDAT+2~, PATDAT+10*, PATDAT+23 |
BDMRVDT | VST+2~ |
BDMSC | VST+2~, VST+15~, VST+21*, VST+26 |
BDMSPROV | VST+3~, VST+15~, VST+24*, VST+26 |
BDMSRET | CATSTR~, CATSTR+2*, CATSTR+4* |
BDMSSN | GETPAT+26!, PATADO+3~, PATADO+12*, PATADO+13, PATADO+15, PATADO+16*, PATADO+20 |
BDMST | DMG+2~, DMG+8*, DMG+13, CMP+2~, CMP+18*, CMP+28, DIAG+2~, DIAG+18*, DIAG+23 |
BDMSTAT | PATDAT+2~, PATDAT+9*, PATDAT+23 |
BDMSTI | CMP+2~, DIAG+2~ |
BDMSTR | DEBUG~, GETPAT~, GETPAT+9, GETPAT+11, GETPAT+12, GETPAT+13, DMG~, DMG+4, PATDAT~, PATDAT+4 , PATDAT+6, CMP~, CMP+4, CMP+6, DIAG~, DIAG+4, DIAG+6, CMT~, CMT+8, CMT+9 , VST~, VST+9 |
BDMSX | GETPAT+26!, PATADO+3~, PATADO+10*, PATADO+20 |
BDMUIEN | GETPAT+2~ |
BDMVDT | VST+2~, VST+15~, VST+18*, VST+26 |
BDMVIEN | VST+2~, VST+13*, VST+17, VST+21, VST+22, VST+23, VST+24, VST+26 |
BDMVND | VST+15~, VST+17*, VST+18, VST+19, VST+20, VST+21 |
BDMVSTR | VST+3~ |
BDMVTYP | VST+2~, VST+15~, VST+20*, VST+26 |
BDMWF | PATDAT+2~, PATDAT+12*, PATDAT+23 |
BDMX | MERR+1~, MERR+3*, MERR+4 |
BDMZIP | DMG+2~, DMG+9*, DMG+13 |
DUZ | REGSEL+7 |
DUZ(2 | PATCHT+5, PATADO+7, PATADO+11 |
ERR | ERR~, ERR+2 |
LN | PATADO+14~, PATADO+15*, PATADO+16 |
NPAT | PATNAM~, PATNAM+6 |
P | GETPAT+2~, GETPAT+3*, GETPAT+9, GETPAT+11, GETPAT+12, GETPAT+13, DMG+2~, DMG+3*, DMG+4, DMG+13 , PATDAT+2~, PATDAT+3*, PATDAT+4, PATDAT+6, PATDAT+23, CMP+2~, CMP+3*, CMP+4, CMP+6, DIAG+2~ , DIAG+3*, DIAG+4, DIAG+6, VST+3~, VST+4*, VST+9 |
PAT | PATSSN~, PATSSN+1, PATCHT~, PATCHT+3, PATDOB~, PATDOB+3, PATNAM~, PATNAM+3, PATNAM+4, PATNAM+5 , PATNAM+7, VST+3~, VST+9*, VST+10, VST+11 |
PIEN | PATADO~ |
PIEN( | PATADO+2, PATADO+5 |
PT | BEGIN~, BEGIN+3 |
STR | CATSTR~ |
STR( | CATSTR+3, CATSTR+4 |
U | PATADO+6, PATADO+7, PATADO+8, PATADO+9, PATADO+10, PATADO+12, PATADO+20, REGSEL+9, DMG+6, DMG+7 , DMG+8, DMG+9, DMG+10, DMG+11, PATDAT+7, PATDAT+9, PATDAT+10, PATDAT+11, PATDAT+12, PATDAT+13 , PATDAT+14, PATDAT+15, PATDAT+16, PATDAT+17, PATDAT+18, PATDAT+22, CMP+7, CMP+15, CMP+18, CMP+19 , CMP+28, DIAG+7, DIAG+15, DIAG+18, DIAG+19, DIAG+23, VST+18, VST+19, VST+20, VST+21 , VST+26 |
>> X | GETPAT+1*, GETPAT+21*, REGSEL+1*, DMG+1*, PATDAT+1*, CMP+1*, DIAG+1*, CMT+1*, VST+1* |
>> Y | GETPAT+21 |