GMRGRUT3 ;HIRMFO/RM-GMRG ROUTINE UTILITIES ;9/11/95
Source file <GMRGRUT3.m>
Package | Total | Call Graph |
---|---|---|
VA Fileman | 4 | NOW^%DTC (FILE,YN)^DICN ^DIE DT^DIQ |
General Medical Record - Generator | 1 | DELETE^GMRGED6 |
Package | Total | Caller Graph |
---|---|---|
Nursing Service | 3 | NURCEVE0 NURCPP0 NURCPPS1 |
General Medical Record - Generator | 2 | GMRGED0 GMRGPRNT |
Name | Comments | DBIA/ICR reference |
---|---|---|
Q1 | ||
STRY | ; SET UP GMRGXSEL( AND GMRGXERR( OF 124.3 ENTRIES TO BE SELECTED
|
|
Q4 | ;
|
|
PRTC | ; PRINT AN ENTRY FROM FILE 124.3
|
|
EN1 | ;SELECT PATIENT CARE PLAN
; INPUT: GMRGRT=PRIME DOC IEN^PD TEXT ; DFN=PATIENT IEN ; (optional) GMRGXPRT=$S(1:ALL PLANS E/E OR NOT,0:ONLY ACTIVE) ; _"^"_$S(1:CAN LAYGO NEW PLANS,0:LAYGO NOT ALLOWED)_"^"_ ; $S(1:ENTRY IN ERROR OF PLANS ALLOWED,0:E/E NOT ALLOWED) ; DEFAULT VALUE IS "0^1^0" ; OUTPUT: GMRGPDA=ENTRY IN 124.3 ; GMRGOUT=$S(1:ABNORMAL EXIT,0:NORMAL EXIT) |
|
NEWCP | ; ADD A NEW 124.3 ENTRY
|
|
CPCH | ; CHOOSE FROM EXISTING 124.3 ENTRIES
|
|
DELPL | ; ENTER A 124.3 ENTRY IN ERROR
|
|
YNNP | ; IF NO 124.3 ENTRIES EXIST
|
|
EN4 | ; PRUNE A SUBTREE FROM SOME PATIENT DATA SET
; GMRGPDA=ENTRY IN FILE 124.3 ; GMRGTERM=ENTRY IN FILE 124.2 WHICH IS THE ROOT OF THE SUBTREE |
|
PTDATA | ;
|
Name | Line Occurrences |
---|---|
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 |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^GMR(124.3 - [#124.3] | Classic Fileman Calls |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^GMR(124.3 - [#124.3] | EN1+10, PRTC+1, STRY+1, EN4+5, PTDATA+1 |
^GMRD(124.2 - [#124.2] | EN4+5, EN4+6, EN4+8 |
^VA(200 - [#200] | PRTC+1 |
Name | Line Occurrences |
---|---|
CPCH | EN1+12, YNNP+2, CPCH+9, CPCH+10, CPCH+11, CPCH+13 |
DELPL | CPCH+13, DELPL+1 |
NEWCP | YNNP+4, CPCH+12 |
PRTC | CPCH+2 |
PTDATA | EN4+6, EN4+8 |
Q1 | YNNP+2, YNNP+5, CPCH+3, CPCH+6, CPCH+11, CPCH+12, CPCH+13 |
Q4 | EN4+3, EN4+5, EN4+7 |
STRY | EN1+10 |
YNNP | YNNP+3 |
Name | Field # of Occurrence |
---|---|
^(0 | PRTC+1 |
^(5 | STRY+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | YNNP+3*, YNNP+4, Q1!, NEWCP+1, DELPL+1*, DELPL+2 |
DA | Q1!, DELPL+3* |
DD | NEWCP+1! |
>> DFN | EN1+9, EN1+10 |
DIC | Q1!, NEWCP+1* |
DIC("DR" | NEWCP+1* |
DIC(0 | NEWCP+1* |
DIE | Q1!, DELPL+3* |
DR | Q1!, DELPL+3* |
DTIME | CPCH+2, CPCH+5 |
GMRGOUT | EN1+9*, YNNP+3*, CPCH+2*, CPCH+3, CPCH+6*, CPCH+11, CPCH+13, DELPL+2*, EN4+4~, EN4+6* |
>> GMRGPDA | EN1+9*, CPCH+11, CPCH+14*, NEWCP+1*, EN4+3, EN4+5, PTDATA+1 |
GMRGPRC | EN4+4~, PTDATA+1* |
GMRGPRC(0 | PTDATA+1* |
GMRGRT | EN1+9, EN1+10, YNNP+1, CPCH+1, CPCH+9, NEWCP+1, DELPL+1, EN4+4~, EN4+6*, EN4+7 , EN4+8 |
GMRGTERM | EN4+3, EN4+4~*, EN4+5, EN4+7, EN4+8*, PTDATA+1 |
GMRGTERM(0 | EN4+5*, EN4+8*, PTDATA+1 |
GMRGX | EN1+10*, CPCH+2*, CPCH+5*, CPCH+6, CPCH+7*, CPCH+8, CPCH+10, CPCH+11, CPCH+12, CPCH+13 , CPCH+14, Q1!, NEWCP+1*, DELPL+2*, DELPL+3, STRY+2, STRY+3, EN4+4~, EN4+5*, EN4+6 , PTDATA+1* |
GMRGX(0 | PTDATA+1* |
GMRGXERR | EN1+11*, YNNP+2, Q1! |
GMRGXERR( | STRY+3* |
GMRGXPRT | EN1+9*, YNNP+2, CPCH+7, CPCH+8, CPCH+9, Q1!, STRY+1 |
GMRGXREF | EN1+11*, CPCH+1, CPCH+2, CPCH+3, CPCH+6, CPCH+7, CPCH+9, CPCH+10, CPCH+11*, CPCH+14 , Q1!, PRTC+1 |
GMRGXSEL | EN1+11*, EN1+12, Q1! |
GMRGXSEL( | DELPL+3, STRY+2* |
GMRGY | EN1+10*, Q1!, PRTC+1*, STRY+1, STRY+2, STRY+3 |
GMRGZ | EN1+10*, EN1+11, CPCH+2*, Q1!, PRTC+1, STRY+2* |
GMRGZ(0 | EN1+10*, EN1+11, STRY+3* |
GMRGZZ | EN4+4~, EN4+8* |
X | CPCH+2*, Q1!, NEWCP+1*, STRY+1*, STRY+2, STRY+3, EN4+4* |
Y | Q1!, PRTC+1*, NEWCP+1 |