GMRCAU ;SLC/DLT,JFR - Action Utilities ;10/17/01 18:31
Source file <GMRCAU.m>
Name | Comments | DBIA/ICR reference |
---|---|---|
GETPROV | ||
GETDT | ;Get actual activity date
|
|
ORTX(GMRCO) | ;Get the abbreviated text for alert displays
|
|
SVC(GMRCO) | ;Get abbreviated service text
|
|
PROC(GMRCO) | ;Get abbreviated procedure text
|
|
LMTX(GMRCO) | ;Get the text for list manager displays
|
|
VALID(GMRCSER,GMRCO,GMRCUSER,GMRCTST,GMRCIFC) | ;Get users update authority
; check GMRCSS and all parents for authority ; codes returned are same as $$VALIDU |
|
VALEX | ||
FINDPAR(SERV,ARCNT) | ||
VALIDU(GMRCSS,GMRCUSR,GMRCIFC) | ;Check to see if user is an update user
|
|
BOTH(ADMN,UPD) | ;return string with fields if testing
|
|
LOC(GMRCUPD) | ;Check for the DUZ in the NOTIFICATION BY PT LOCATION multiple
|
|
TEAM(TYPE,SUBSC,USER) | ;Check for the DUZ in the multiple of SUBSC
|
|
CHKTM(TEAM,PERS) | ;checks for PERS in list of users on TEAM
|
|
USR(SERV,USER) | ; check USR classes for user
|
|
FIELD(GMRCFLD) | ;return field name where became update user
|
|
COMPLETE(GMRCA) | ;Determine if the action is a complete action (10,13,14)
|
|
RESOLUA(GMRCA) | ;Determine if action has resolution info for clinician
|
|
RESOLUS(GMRCSTS) | ;Determine status indicates the consult has a resolution
|
|
TEST | ;called from GMRC UPDATE AUTHORITY
; determines how a user gets update authority for a service |
|
TESTHELP(GMRCSVNM) | ;wrapper for LISTSRV^GMRCASV
|
|
TSTINTRO | ;entry action of GMRC UPDATE AUTHORITY option
|
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 |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^GMR(123.3 - [#123.3] | GET1^DIQ |
^GMR(123.5 - [#123.5] | FIELD^DID |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^GMR(123 - [#123] | SVC+2, PROC+2 |
^GMR(123.5 - [#123.5] | SVC+3, VALID+7, VALID+10, VALID+21, VALID+22, FINDPAR+5, VALIDU+13, VALIDU+14, VALIDU+16, VALIDU+18 , VALIDU+19, VALIDU+26, VALIDU+32, VALIDU+42, LOC+3, LOC+5, TEAM+4, USR+2, USR+4, TEST+24 |
Name | Line Occurrences |
---|---|
$$BOTH | VALIDU+21, VALIDU+29, VALIDU+35, VALIDU+40, VALIDU+44 |
$$CHKTM | TEAM+5 |
$$FIELD | VALIDU+15, VALIDU+17, VALIDU+18, VALIDU+19, TEAM+6, USR+7 |
$$PROC | ORTX+4, LMTX+4 |
$$SVC | ORTX+3, LMTX+3 |
$$USR | VALIDU+38 |
$$VALID | TEST+14 |
$$VALIDU | VALID+6, VALID+17 |
FINDPAR | VALID+11, VALID+23 |
GETPROV | GETPROV+3 |
LOC | VALIDU+42 |
TEAM | VALIDU+27, VALIDU+33 |
TEST | TEST+28 |
VALEX | VALID+6, VALID+10, VALID+11, VALID+13 |
Name | Field # of Occurrence |
---|---|
^( | SVC+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | GETDT+1!, GETDT+2 |
ADMN | BOTH~, BOTH+1 |
ARCNT | FINDPAR~, FINDPAR+6, FINDPAR+7* |
DIR | GETPROV~, GETPROV+2!, GETDT+3!, TEST+4~, TEST+10~, TEST+27!, TESTHELP+1~ |
DIR("?" | TEST+6* |
DIR("??" | TEST+7* |
DIR("A" | GETPROV+1*, GETDT+3*, TEST+5*, TEST+11* |
DIR("B" | GETDT+3* |
DIR(0 | GETPROV*, GETDT+3*, TEST+5*, TEST+11* |
DIROUT | GETPROV+2, TEST+4~, TEST+27! |
DIRUT | GETDT+3, GETDT+5!, TEST+4~, TEST+8, TEST+12, TEST+27! |
DTOUT | GETPROV+2, TEST+4~, TEST+27! |
DUOUT | GETDT+5!, TEST+4~, TEST+27! |
DUZ | VALID+4, VALIDU+10, LOC+6, TEAM+3 |
FOUND | CHKTM+3~, CHKTM+8*, CHKTM+9 |
>> GETDT | GETDT+3 |
>> GETPROV | GETPROV+1 |
GMRC1 | TEST+3~, TESTHELP+1~ |
GMRCA | COMPLETE~, COMPLETE+1*, COMPLETE+2, RESOLUA~, RESOLUA+3*, RESOLUA+4 |
GMRCAD | GETDT+2*, GETDT+4!, GETDT+5*, VALIDU+9~, VALIDU+12*, VALIDU+19*, VALIDU+21, VALIDU+29, VALIDU+31, VALIDU+33 , VALIDU+35, VALIDU+40, VALIDU+44, VALIDU+45, VALIDU+46 |
GMRCDG | TEST+3~, TESTHELP+1~ |
>> GMRCDT | GETDT+2* |
GMRCFLD | FIELD~, FIELD+2 |
GMRCFLD("LABEL" | FIELD+3 |
GMRCHIT | TEAM+1~, TEAM+5* |
GMRCHKD | VALID+3~ |
GMRCHKD( | VALID+8*, VALID+15, VALID+18* |
GMRCIFC | VALID~, VALID+6, VALID+17, VALIDU~, VALIDU+13 |
GMRCL | LOC+1~, LOC+2*, LOC+3*, LOC+5 |
GMRCL(0 | LOC+5*, LOC+6, LOC+7 |
GMRCLIS | VALID+3~, VALID+11 |
GMRCLIS( | VALID+13, VALID+14!, VALID+15, VALID+17, VALID+18, VALID+19*, VALID+21, VALID+22, VALID+23, FINDPAR+6* |
GMRCLP | VALID+3~, VALID+12*, VALID+13*, VALID+14, VALID+15, VALID+17, VALID+18, VALID+19, VALID+21, VALID+22 , VALID+23, VALID+24* |
GMRCLST | CHKTM+3~, CHKTM+4*, CHKTM+5 |
GMRCLST( | CHKTM+8 |
GMRCLST(1 | CHKTM+6 |
GMRCNT | VALID+3~, VALID+8*, VALID+11, VALID+23 |
GMRCO | ORTX~, ORTX+3, ORTX+4, SVC~, SVC+2, PROC~, PROC+2, LMTX~, LMTX+3, LMTX+4 , VALID~ |
GMRCORNP | GETPROV!, GETPROV+3* |
GMRCORTX | ORTX+2~, ORTX+5*, ORTX+6, LMTX+2~, LMTX+5*, LMTX+6 |
GMRCPROC | ORTX+2~, ORTX+4*, ORTX+5, PROC+1~, PROC+2*, PROC+3*, PROC+4 |
GMRCQIT | GETPROV+2*, GETDT+1!, GETDT+3* |
GMRCQUIT | VALID+3~, VALID+13 |
GMRCREQ | LMTX+2~, LMTX+4*, LMTX+5 |
GMRCSER | VALID~, VALID+6, VALID+7, VALID+8, VALID+10, VALID+11 |
GMRCSRV | TEST+3~, TEST+9*, TEST+14, TEST+24, TEST+26! |
GMRCSS | VALIDU~, VALIDU+11, VALIDU+13, VALIDU+14, VALIDU+16, VALIDU+18, VALIDU+19, VALIDU+26, VALIDU+32, VALIDU+38 , VALIDU+42, LOC+3, LOC+5, TEAM+4 |
GMRCSSNM | ORTX+2~, ORTX+3*, ORTX+5, SVC+1~, SVC+2*, SVC+3*, SVC+4, LMTX+2~, LMTX+3*, LMTX+5 |
GMRCSTS | RESOLUS~, RESOLUS+3*, RESOLUS+4 |
GMRCSVC | ORTX+2~, SVC+1~, SVC+2*, SVC+3, LMTX+2~ |
GMRCSVNM | TESTHELP~ |
GMRCTM | LOC+1~, LOC+7*, TEAM+1~, TEAM+2*, TEAM+4*, TEAM+5 |
GMRCTST | VALID~, VALID+7, VALID+21, BOTH+1, FIELD+1 |
GMRCUP | VALIDU+9~, VALIDU+12*, VALIDU+14, VALIDU+15*, VALIDU+16, VALIDU+17*, VALIDU+18*, VALIDU+21, VALIDU+25, VALIDU+27 , VALIDU+29, VALIDU+35, VALIDU+38*, VALIDU+40, VALIDU+42, VALIDU+44, VALIDU+45, VALIDU+46 |
GMRCUPD | VALIDU+9~, VALIDU+23*, LOC~, LOC+3, LOC+6* |
GMRCUPDL | VALID+3~, VALID+6*, VALID+7*, VALID+11*, VALID+13, VALID+17*, VALID+20, VALID+21*, VALEX |
GMRCUSER | VALID~, VALID+4*, VALID+6, VALID+17 |
GMRCUSR | VALIDU~, VALIDU+10*, VALIDU+14, VALIDU+16, VALIDU+19, VALIDU+27, VALIDU+33, VALIDU+38, TEST+3~, TEST+13* , TEST+14, TEST+26! |
ND | CHKTM+3~, CHKTM+7*, CHKTM+8* |
NODE | VALIDU+25~*, VALIDU+26, VALIDU+27 |
PARENT | FINDPAR+3~, FINDPAR+4*, FINDPAR+5*, FINDPAR+6 |
PERS | CHKTM~, CHKTM+8 |
SERV | FINDPAR~, FINDPAR+5, USR~, USR+2, USR+4 |
SUBSC | TEAM~, TEAM+4, TEAM+6 |
TEAM | CHKTM~, CHKTM+5 |
TYPE | TEAM~, TEAM+4, TEAM+6* |
U | SVC+3, VALID+7, VALID+10, VALID+14, VALID+19, VALID+21, VALID+22, VALIDU+13, VALIDU+18, BOTH+1 , TEST+17, TEST+18, TEST+21, TEST+22, TEST+23, TEST+24 |
UCLS | USR+1~, USR+3*, USR+4*, USR+5, USR+6 |
UPD | BOTH~, BOTH+1, USR+1~, USR+3*, USR+4, USR+6*, USR+7*, USR+9, TEST+3~, TEST+14* , TEST+15, TEST+16, TEST+17, TEST+18, TEST+19, TEST+21, TEST+22, TEST+23, TEST+24, TEST+26! |
USER | TEAM~, TEAM+3*, TEAM+5, USR~, USR+6 |
X | GETPROV+2, GETDT+2*, GETDT+4, GETDT+5!, TEST+4~, TEST+27! |
Y | GETPROV+3, GETDT+4!, GETDT+5!, TEST+4~, TEST+9, TEST+13, TEST+27! |