DGREG ;ALB/JDS,MRL,PJR,PHH,ARF,RN,JAM,ARF - REGISTER PATIENT ; 3/28/14 12:38pm
Source file <DGREG.m>
Package | Total | Call Graph |
---|---|---|
Registration | 22 | (HINQ,PAUSE)^DG10 $$ADD^DGADDUTL ($$FINDCUR,$$STATUS)^DGENA ($$DEATH,$$GET,$$VET,$$VET1)^DGENPTA ($$LOCK,UNLOCK)^DGENPTA1 ($$FINDLAST,$$GET,$$QRY)^DGENQRY ($$PROMPT,PROMPT)^DGENU ($$PRFQRY,DISPPRF)^DGPFAPI $$EN^DGPFMPI DIED^DGPMV (,Q1)^DGREG0 EL^DGREGE $$EN^DGREGEEWS $$DIVCHK^DGREGFAC ^DGREGG (EN1,NEW)^DGRP (,APPTCHG)^DGRPC EN^DGRPD LO^DGUTL HL7A08^VAFCDD01 $$QUERYTF^VAFCTFU1 $$PRIM^VASITE |
VA FileMan | 7 | EN^DDIOL ^DIC YN^DICN (,CHK,FILE)^DIE ^DIK ($$GET1,GETS)^DIQ ^DIR |
Kernel | 3 | ^%ZIS ^%ZTLOAD ($$FMDIFF,$$NOW)^XLFDT |
Master Patient Index VistA | 2 | $$GETICN^MPIF001 MPIQ^MPIFAPI |
Health Level Seven | 1 | $$HLDATE^HLFNC |
Income Verification Match | 1 | REG^IVMCQ |
Toolkit | 1 | $$GET^XPAR |
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 |
---|---|---|
Registration | 6 | DG REGISTER PATIENT DGENUPL4 DGENUPL7 DGREG0 DGREG00 DGRPC2 |
Fee Basis | 1 | FBCHREQ |
Name | Comments | DBIA/ICR reference |
---|---|---|
START | ;
|
|
EN | ||
A | ||
ENRYN | ||
APPTREQ(DGENRDTT,DGBACK) | ; Prompt for DO YOU WANT AN APPT. WITH A VA DOCTOR/PROVIDER AS SOON AS AVAILABLE?
; If YES, update fields #2,#1010.159 and #2,#1010.1511 (NOTE: This code came from DGEN) ; Input: DGENRDTT - value for ENROLLMENT APPLICATION DATE field 1010.1511 in PATIENT file ; Output: DGBACK (Pass by Reference) - If set, the user has exited from the prompt |
|
PREEXIST(DFN) | ;DG*5.3*993 - Did this patient exist before the installation of DG*5.3*993
|
|
HELPENR | ;DG*5.3*993 - Help for ?? on the DO YOU WISH TO ENROLL? question
|
|
REASON(Y,XQY0) | ; DG*5.3*1027 - Screen logic/Input Transform for field .15 (REGISTRATION ONLY REASON) of the 27.11 (PATIENT ENROLLMENT) file
; Input: Y - Entry to be checked ; XQYO - String containing the option that is being run (may be null when accessing the field from Fileman) ; Returns: TRUE if the entry Y is valid |
|
PAUSE | ;
|
|
RT | ;I $D(^DIC(195.4,1,"UP")) I ^("UP") S $P(DGFC,U,1)=DIV D ADM^RTQ3 ;DG*5.3*1111-remove Select Admitting Area from Register a Patient
|
|
A1 | ||
PR | ||
CK | ||
CH | ||
CH1 | ||
SEEN | ;W !!,"Is the patient to be examined in the medical center today" S %=1 D YN^DICN S SEEN=% G:%<0 Q I %'>0 W !!,"Enter 'Y' if the patient is to be examined today, 'N' if not.",$C(7) G SEEN
|
|
ABIL | ||
ENR | ; next line appears to be dead code. left commented just to test. mli 4/28/94
|
|
REG | ||
ASKDIV | ||
CONT | ; continue
|
|
PR2 | ||
PR3 | ||
H | ||
Q | ||
Q1 | ||
EL | ||
FEE |
|
|
WARN | ||
MSG | ||
BEGINREG(DFN) | ;
|
|
ENDREG(DFN) | ;
|
|
IFREG(DFN) | ;
|
|
CIRN | ;MPI QUERY
|
|
ROMQRY | ;**926 TRIGGER IB INSURANCE QUERY
|
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
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 |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DPT - [#2] | Classic Fileman Calls, GET1^DIQ, GETS^DIQ |
2.101 | CHK^DIE |
^DGEN(27.11 - [#27.11] | GET1^DIQ |
^IBE(350.9 - [#350.9] | GET1^DIQ |
^DIC(4 - [#4] | GET1^DIQ |
^DG(408.43 - [#408.43] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^%ZIS(1 - [#3.5] | EN+6 |
^%ZOSF("TEST" | CIRN+2 |
^DG(40.8 - [#40.8] | EN+3, REG+19 |
^DG(408.43 - [#408.43] | REASON+11, REASON+13, REASON+23, REASON+32 |
^DG(43 - [#43] | EN+4, EN+6, REG+19 |
^DIC(4 - [#4] | PREEXIST+9 |
^DIC(8 - [#8] | EL |
^DPT - [#2] | A+7, ENRYN+78, ENRYN+85, CH, REG+4, REG+6, CONT+1, CONT+3, EL, WARN , WARN+1 |
^DPT("ADA" | CH1, REG+6 |
^TMP( | BEGINREG+11, ENDREG+4, IFREG+10, IFREG+12 |
^TMP($J | ENRYN+19!, ENRYN+21*, CH1! |
Name | Line Occurrences |
---|---|
$$PREEXIST | ENRYN+6 |
A | A+8, ENRYN+48, ENRYN+86 |
A1 | ENRYN+90, H |
ABIL | PR |
APPTREQ | ENRYN+78 |
ASKDIV | ASKDIV+4 |
BEGINREG | A+4 |
CH | A1+3 |
CH1 | CH, REG+6 |
CIRN | A+10 |
CK | A1 |
CONT | REG+30 |
DGREG | EN+4, FEE |
EL | REG+21 |
ENDREG | A, ENRYN+86 |
ENRYN | ENRYN+52, ENRYN+71, ENRYN+82 |
H | A1 |
MSG | REG+6, REG+21 |
PR | CH1 |
PR3 | REG+1 |
Q | A1, CH1, REG+1, REG+22, MSG |
Q1 | A+4, FEE |
REG | REG+1, REG+4, PR2, PR3 |
ROMQRY | A+18 |
WARN | ENRYN+85 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | A1* |
>> %DT | REG* |
>> %DT("A" | REG*, REG+1 |
>> %ZIS | EN+4*, EN+6*, ENRYN+86* |
>> %ZIS("A" | EN+4* |
>> %ZIS("B" | EN+3*, EN+5! |
A | ROMQRY+1~, ROMQRY+7* |
ANS | ENRYN+68~, REG+1* |
>> APD | REG+4* |
CURR | ENRYN+84*, Q1! |
DA | A+4*, ENRYN+85*, APPTREQ+5~, APPTREQ+9*, APPTREQ+13!, APPTREQ+17*, APPTREQ+24*, A1, CH1*, REG+6 , REG+16~, REG+17*, REG+24~, REG+25*, ASKDIV+3*, CONT+1*, CONT+3* |
DA(1 | REG+1*, REG+6, REG+18*, REG+25*, ASKDIV+3*, CONT+1* |
DFN | A, A+4*, A+7, A+8!, A+15, A+16, A+25, A+26, ENRYN, ENRYN+3 , ENRYN+5, ENRYN+6, ENRYN+7, ENRYN+9, ENRYN+21, ENRYN+22, ENRYN+26, ENRYN+37, ENRYN+42, ENRYN+44 , ENRYN+54, ENRYN+69, ENRYN+78, ENRYN+79, ENRYN+85, ENRYN+86!, ENRYN+89, APPTREQ+9, APPTREQ+17, APPTREQ+24 , PREEXIST~, PREEXIST+3, REASON+27, A1+2, CH, CH1, REG, REG+1, REG+4, REG+13 , REG+18, REG+25, REG+30, ASKDIV+3, ASKDIV+4, CONT+1, CONT+3, EL, WARN, WARN+1 , BEGINREG~, BEGINREG+6, BEGINREG+8, BEGINREG+9, BEGINREG+11, BEGINREG+12, ENDREG~, ENDREG+3, ENDREG+4, ENDREG+5 , IFREG~, IFREG+8, IFREG+10, IFREG+12, CIRN+4, ROMQRY+8 |
>> DFN1 | REG+4*, REG+17, REG+21, REG+25, REG+30, ASKDIV+3, ASKDIV+4, CONT+1, CONT+3 |
DG | Q! |
DGACTTS | REASON+15~, REASON+17, REASON+19* |
DGADDRE | A+2~*, A1, A1+2* |
DGAPLDT | ENRYN+68~, ENRYN+70*, ENRYN+75 |
DGAPPTAN | APPTREQ+5~, APPTREQ+7, APPTREQ+15, APPTREQ+22 |
DGARR | PREEXIST+1~, PREEXIST+5! |
DGARR( | PREEXIST+7 |
DGASKDEV | EN+4*, Q1! |
DGBACK | A+23~, A+25*, ENRYN*, ENRYN+28, ENRYN+47*, ENRYN+48, ENRYN+68~, ENRYN+70*, ENRYN+78, ENRYN+82 , APPTREQ~, APPTREQ+6*, APPTREQ+8* |
DGCHK | REG+11~, REG+12*, REG+13*, REG+14* |
>> DGCLPR | EN* |
DGCLRP | Q1! |
DGCURR | ENRYN+2~, ENRYN+7* |
DGDEAD | ENRYN+2~, ENRYN+4*, ENRYN+5*, ENRYN+28 |
DGDEATH | ENRYN+2~, ENRYN+5* |
DGDIV | EN+1~, EN+2*, EN+3 |
>> DGEDCN | CK* |
DGELVER | ENRYN+86*, Q1! |
DGENPTA | ENRYN+2~, ENRYN+3 |
DGENPTA("INELDATE" | ENRYN+3 |
DGENRDT | A+23~, ENRYN+76* |
DGENRDTT | ENRYN+68~, ENRYN+76*, ENRYN+78, APPTREQ~, APPTREQ+18* |
DGENRIEN | A+23~, ENRYN+68~, ENRYN+69*, ENRYN+70 |
>> DGENRODT | ENRYN+67*, ENRYN+80* |
DGENRRSN | A+23~, ENRYN+50*, ENRYN+52, ENRYN+58, ENRYN+64*, ENRYN+65*, ENRYN+66, ENRYN+80* |
DGENRYN | A+23~, ENRYN*, ENRYN+6*, ENRYN+8*, ENRYN+10*, ENRYN+28, ENRYN+35*, ENRYN+37, ENRYN+39*, ENRYN+40* , ENRYN+42, ENRYN+44, ENRYN+49*, ENRYN+52, ENRYN+71, REG+13*, REG+14* |
>> DGENSRCE | ENRYN+67*, ENRYN+80* |
DGENSTAT | ENRYN+2~, ENRYN+25 |
DGERR | A+23~ |
DGESKNOWN | PREEXIST+1~, PREEXIST+7*, PREEXIST+10*, PREEXIST+11, PREEXIST+12, PREEXIST+13 |
DGEXIST | PREEXIST+1~, PREEXIST+2*, PREEXIST+5*, PREEXIST+6, PREEXIST+12, PREEXIST+13 |
DGEXIT | A+23~, ENRYN+71*, ENRYN+75* |
DGFC | ENRYN+84*, ENRYN+85*, Q1! |
DGFDA | A+23~, ENRYN+36~, ENRYN+41~ |
DGFDA(2 | ENRYN+37*, ENRYN+42* |
DGFDD | A+23~, A+27*, ENRYN+28, ENRYN+49 |
DGICN | PREEXIST+1~, PREEXIST+2*, PREEXIST+3*, PREEXIST+4, PREEXIST+5 |
DGIEN | A+23~, A+25* |
DGIENS | ENRYN+36~, ENRYN+37*, ENRYN+41~, ENRYN+42* |
DGINELIG | ENRYN+2~, ENRYN+3*, ENRYN+9 |
DGINST | PREEXIST+1~, PREEXIST+8*, PREEXIST+9 |
DGINSTAT | PREEXIST+1~, PREEXIST+8*, PREEXIST+9*, PREEXIST+10 |
DGINSTID | PREEXIST+1~, PREEXIST+7*, PREEXIST+9*, PREEXIST+10 |
DGIO | EN+6, Q1! |
DGIO( | EN+6* |
DGIO("HS" | EN+4* |
DGIO("PRF" | EN+4* |
DGIO("RT" | EN+4* |
DGIO(10 | EN+4* |
DGIPTAPPLD | ENRYN+2~, ENRYN+4*, ENRYN+9*, ENRYN+10 |
DGKEY | ENRYN+2~, ENRYN+22*, ENRYN+25 |
DGMSG | ROMQRY+1~, ROMQRY+7, ROMQRY+14 |
DGMSG(1 | ROMQRY+6*, ROMQRY+13* |
DGMSG(2 | ROMQRY+7*, ROMQRY+14* |
DGNDLOCK | REG+21~* |
DGNEW | A+4*, A+12, ENRYN+85, A1, A1+1, Q1! |
DGNEWP | A+3~, A+4 |
DGNOENRLL | ENRYN+2~, ENRYN+24*, ENRYN+26*, ENRYN+27 |
DGNOW | A+23~, ENRYN+50*, ENRYN+67, ENRYN+76, ENRYN+80 |
DGOUT | A+23~, A+26! |
DGOUT( | A+27 |
>> DGPME | A+8* |
DGPREXST | ENRYN+2~, ENRYN+6* |
DGPTAPPLD | ENRYN+2~, ENRYN+6*, ENRYN+7*, ENRYN+8, ENRYN+9, ENRYN+27, ENRYN+29, ENRYN+34, ENRYN+39, ENRYN+45 , ENRYN+46 |
DGQRY | BEGINREG+1~, BEGINREG+8* |
DGQRY("SENT" | BEGINREG+9 |
DGREASON | REASON+15~, REASON+16*, REASON+17, REASON+28 |
DGREC | PREEXIST+1~, PREEXIST+7*, PREEXIST+8 |
DGREQNAME | ENRYN+2~, ENRYN+23*, ENRYN+25 |
DGRESP | ENRYN+2~, ENRYN+24*, ENRYN+25*, ENRYN+26, ENRYN+55 |
DGRET | REASON+21~*, REASON+23* |
DGRPFEE | FEE*! |
DGRPOUT | A+8!, ENRYN+86!, A1 |
>> DGRPV | A1* |
DGRSLT | ENRYN+36~, ENRYN+37*, ENRYN+41~, ENRYN+42* |
DGSHWPRMPT | ENRYN+2~, ENRYN+24*, ENRYN+27*, ENRYN+28 |
DGSTA | A+23~, A+25* |
DGSTUS | REG+11~, REG+13* |
DGSXS | APPTREQ+5~, APPTREQ+6*, APPTREQ+7*, APPTREQ+8 |
DGTMOT | A+2~*, Q! |
DGVET | A+23~, ENRYN*, ENRYN+21, ENRYN+28, REASON+26~, REASON+27*, REASON+28 |
DGWSHTOEN | ENRYN+2~, ENRYN+25 |
DGX | A+23~, A+27*, ENRYN+54*, ENRYN+79*, PREEXIST+1~, PREEXIST+7*, PREEXIST+11*, PREEXIST+12*, PREEXIST+13*, PREEXIST+14 |
>> DGXXXD | CONT+1* |
DGY | A+23~, ENRYN+54*, ENRYN+55, ENRYN+79* |
>> DIC | A+4*, REG* |
>> DIC("A" | REG+21! |
>> DIC("B" | A+4! |
>> DIC("S" | A+4! |
>> DIC(0 | A+4*, REG+6* |
DIE | A+23~, APPTREQ+5~, APPTREQ+10*, APPTREQ+13!, APPTREQ+16*, APPTREQ+23*, REG*, REG+6, REG+21, CONT+1* , CONT+3* |
DIE("NO^" | REG+17*, ASKDIV+3* |
DIK | REG+24~, REG+25* |
>> DILOCKTM | REG+6, REG+21, BEGINREG+11, IFREG+10 |
>> DINUM | REG+3*, REG+4, REG+6 |
DIR | A+23~, ENRYN+29!, ENRYN+60!, PAUSE+1~ |
DIR("?" | ENRYN+31* |
DIR("??" | ENRYN+32* |
DIR("A" | ENRYN+30*, ENRYN+62* |
DIR("B" | ENRYN+29* |
DIR(0 | ENRYN+30*, ENRYN+61*, PAUSE+2* |
DLAYGO | A+4*! |
>> DOD | A+7*, A+8 |
>> DP | REG+18*, ASKDIV+3* |
DQ | Q! |
DR | A+23~, APPTREQ+5~, APPTREQ+11*, APPTREQ+13!, APPTREQ+19*, APPTREQ+25*, REASON+23, REG+19*, ASKDIV+3*, CONT+1* , CONT+3*, EL*, EL+1* |
DTIME | ENRYN+46, REG+1 |
DTOUT | A+23~, ENRYN+29!, ENRYN+47, ENRYN+64, REG+22, REG+23! |
DUOUT | A+23~, ENRYN+64 |
DUZ | REG+19, ROMQRY+8 |
I | EN+6*, PREEXIST+1~, PREEXIST+7* |
ION | EN+4 |
>> IOP | EN+6*, ENRYN+86* |
>> IOS | EN+6 |
IOST | EN+4 |
MPIFRTN | CIRN+3!, CIRN+5! |
>> POP | EN+4 |
>> RESULT | REG+1, REG+2, REG+3 |
>> RESULT(0 | REG+2 |
RETURN | IFREG+7~, IFREG+11*, IFREG+13 |
SP | REG+16~ |
STATUS | ENRYN+2~, ENRYN+6*, ENRYN+55 |
U | EN+3, EN+4, EN+6, ENRYN+47, REASON+13, REASON+21, REASON+23, REASON+30, REASON+32 |
>> VAFCDDT | REG+9* |
>> VET | ENRYN+85* |
X | ENRYN+34, ENRYN+39, ENRYN+45, ENRYN+46*, ENRYN+47, CH*, REG+1*, REG+6*, REG+9, CIRN+2~* |
>> X1 | CH* |
XQY0 | ENRYN+44, REASON~, REASON+21, REASON+30 |
Y | EN+6*, A+4~, A+8*, ENRYN+65, ENRYN+75!, ENRYN+76, REASON~, REASON+11, REASON+13, REASON+16 , REASON+23, REASON+32, REG+1*, REG+4, REG+6 |
>> Y1 | REG+4* |
ZTDESC | ROMQRY+1~, ROMQRY+10* |
ZTDTH | ROMQRY+1~, ROMQRY+10* |
ZTIO | ROMQRY+1~, ROMQRY+10* |
ZTRTN | ROMQRY+1~, ROMQRY+10* |
ZTSAVE | ROMQRY+1~ |
ZTSAVE("DFN" | ROMQRY+8* |
ZTSAVE("IBDUZ" | ROMQRY+8* |
ZTSAVE("IBTYPE" | ROMQRY+8* |