PXRMMST ;SLC/PKR - Routines for dealing with MST. ;07/29/2010
Source file <PXRMMST.m>
Package | Total | Call Graph |
---|---|---|
Clinical Reminders | 6 | GETDATA^PXRMDATA $$NOW^PXRMDATE TERM^PXRMLDR SEND^PXRMMSG ($$STCODE,$$UPDATE)^PXRMMST EVALPL^PXRMTERL |
VA Fileman | 4 | FIELD^DID $$EXTERNAL^DILFD $$GET1^DIQ ^DIR |
Kernel | 2 | ^%ZTLOAD ($$FMDIFF,$$FMTE,$$NOW)^XLFDT |
Registration | 2 | ($$GETSTAT,$$NEWSTAT)^DGMSTAPI DEM^VADPT |
Package | Total | Caller Graph |
---|---|---|
Clinical Reminders | 4 | PXRM MST REPORT PXRM MST SYNCHRONIZATION PXRMDLLB PXRMMST |
PCE Patient Care Encounter | 2 | PXRM MST REPORT PXRM MST SYNCHRONIZATION |
Registration | 1 | DG53P379 |
Name | Comments | DBIA/ICR reference |
---|---|---|
STATUS(DFN,TEST,DATE,VALUE,TEXT) | ;Computed finding for checking a
|
|
STCODE(TERM) | ;Return the MST status code based on the term name.
|
|
UPDSTAT(NUMUPD,START) | ;Update the MST history file using term mappings.
|
|
UPDATE(DFN,VISIT,SOURCE,STCODE,TYPE) | ;Make an update to the MST History file.
|
|
SYNREP | ;Provide a report of the synchronization data.
|
|
QUE | ;Queue the MST synchronization job.
|
|
UPDPAT(EVENT,DFN,VISIT,VFL) | ;Update the MST history file for a single patient
|
|
SYNCH | ;Synchronize the MST history file.
|
|
GSYINFO(TYPE) | ;Return the Clinical Reminders MST synchronization date
|
|
Name | Field # of Occurrence |
---|---|
^%ZTLOAD | QUE+28 |
$$GETSTAT^DGMSTAPI | STATUS+3, UPDATE+9 |
$$NEWSTAT^DGMSTAPI | UPDATE+19 |
FIELD^DID | UPDATE+47 |
$$EXTERNAL^DILFD | UPDATE+36 |
$$GET1^DIQ | UPDATE+38 |
^DIR | QUE+8, QUE+16 |
GETDATA^PXRMDATA | UPDSTAT+29 |
$$NOW^PXRMDATE | STATUS+6 |
TERM^PXRMLDR | UPDSTAT+16 |
SEND^PXRMMSG | UPDATE+55 |
$$STCODE^PXRMMST | UPDPAT+23 |
$$UPDATE^PXRMMST | UPDPAT+24 |
EVALPL^PXRMTERL | UPDSTAT+17 |
DEM^VADPT | UPDATE+33 |
$$FMDIFF^XLFDT | SYNREP+6, SYNREP+10, SYNREP+16, SYNREP+22 |
$$FMTE^XLFDT | QUE+5, SYNREP+3, SYNREP+7, UPDATE+37 |
$$NOW^XLFDT | QUE+2, SYNCH+8, SYNCH+12, UPDATE+6, UPDSTAT+5 |
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 |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^VA(200 - [#200] | GET1^DIQ |
^DGMS(29.11 - [#29.11] | EXTERNAL^DILFD |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVPRV - [#9000010.06] | UPDATE+18 |
^AUPNVPRV("AD" | UPDATE+17 |
^AUPNVSIT - [#9000010] | UPDATE+6 |
^PXRM(800 - [#800] | GSYINFO+6, GSYINFO+7, SYNCH+6, SYNCH+8*, SYNCH+9*, SYNCH+10*, SYNCH+12*, SYNCH+13*, SYNCH+14*, SYNCH+19 , SYNREP+2 |
^PXRMD(811.5 - [#811.5] | UPDPAT+7, UPDPAT+12, UPDPAT+20, UPDSTAT+14 |
^PXRMINDX( | UPDSTAT+32 |
^TMP("PXRMXMZ" | UPDATE+22!, UPDATE+24*, UPDATE+25*, UPDATE+26*, UPDATE+27*, UPDATE+28*, UPDATE+29*, UPDATE+30*, UPDATE+31*, UPDATE+32* , UPDATE+34*, UPDATE+35*, UPDATE+36*, UPDATE+37*, UPDATE+40*, UPDATE+53*, UPDATE+54* |
^TMP($J | UPDSTAT+11!, UPDSTAT+19, UPDSTAT+21, UPDSTAT+23, UPDSTAT+25, UPDSTAT+26, UPDSTAT+35! |
^XTMP( | UPDPAT+14, UPDPAT+15, UPDPAT+16 |
Name | Line Occurrences |
---|---|
$$STCODE | UPDSTAT+13 |
$$UPDATE | UPDSTAT+33 |
UPDSTAT | SYNCH+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AFTER | UPDPAT+3~, UPDPAT+15*, UPDPAT+17, UPDPAT+18 |
BEFORE | UPDPAT+3~, UPDPAT+16*, UPDPAT+17 |
DAS | UPDSTAT+1~, UPDSTAT+27*, UPDSTAT+29, UPDSTAT+32 |
DATA | UPDSTAT+1~, UPDSTAT+28!, UPDSTAT+29 |
DATA("VISIT" | UPDSTAT+30 |
DATE | STATUS~, STATUS+6*, STATUS+10*, STATUS+15*, UPDATE+1~, UPDATE+6*, UPDATE+8*, UPDATE+11, UPDATE+19, UPDATE+29 , UPDATE+37 |
DFN | STATUS~, STATUS+3, UPDATE~, UPDATE+9, UPDATE+19, UPDATE+27, UPDPAT~, UPDPAT+24, UPDSTAT+1~, UPDSTAT+18* , UPDSTAT+19*, UPDSTAT+21, UPDSTAT+23, UPDSTAT+25, UPDSTAT+26, UPDSTAT+33 |
DGBL | UPDPAT+3~, UPDPAT+11*, UPDPAT+12, UPDPAT+20 |
DIR | QUE+1~, QUE+12! |
DIR("A" | QUE+4*, QUE+5*, QUE+6*, QUE+14* |
DIR("B" | QUE+15* |
DIR(0 | QUE+7*, QUE+13* |
DIROUT | QUE+1~, QUE+9, QUE+17 |
DIRUT | QUE+1~, QUE+9, QUE+17 |
DTOUT | QUE+1~, QUE+10, QUE+18 |
DUOUT | QUE+1~, QUE+10, QUE+18 |
DUZ | UPDATE+55 |
EDTIME | SYNREP+1~, SYNREP+10*, SYNREP+21, SYNREP+22*, SYNREP+23, SYNREP+24 |
EITIME | SYNREP+1~, SYNREP+6*, SYNREP+15, SYNREP+16*, SYNREP+17, SYNREP+18 |
EVENT | UPDPAT~, UPDPAT+14, UPDPAT+15, UPDPAT+16 |
FILENUM | UPDSTAT+1~, UPDSTAT+24*, UPDSTAT+25*, UPDSTAT+26, UPDSTAT+29, UPDSTAT+32 |
FINDPA | UPDSTAT+1~, UPDSTAT+3*, UPDSTAT+17 |
FN | UPDATE+21~, UPDATE+43*, UPDATE+47, UPDATE+50*, UPDATE+53 |
GBL | UPDATE+21~, UPDATE+41*, UPDATE+42, UPDATE+44, UPDATE+48*, UPDATE+49, UPDATE+51 |
IDATE | SYNREP+1~, SYNREP+3*, SYNREP+4*, SYNREP+13 |
IEN | STATUS+2~, STATUS+4*, STATUS+5, STATUS+7, UPDATE+21~, UPDATE+46*, UPDATE+51 |
INDEX | UPDSTAT+1~, UPDSTAT+6*, UPDSTAT+11, UPDSTAT+17, UPDSTAT+19, UPDSTAT+21, UPDSTAT+23, UPDSTAT+25, UPDSTAT+26, UPDSTAT+35 |
INID | SYNCH+1~, SYNCH+6*, SYNCH+7 |
ITEM | UPDSTAT+1~, UPDSTAT+20*, UPDSTAT+21*, UPDSTAT+23, UPDSTAT+25, UPDSTAT+26 |
LDATE | SYNREP+1~, SYNREP+7*, SYNREP+8*, SYNREP+19 |
LTIME | SYNCH+1~, SYNCH+20*, SYNCH+21*, SYNCH+24 |
MINDT | QUE+1~, QUE+2*, QUE+5, QUE+7 |
MSTDATE | UPDATE+1~, UPDATE+10*, UPDATE+11 |
NAME | UPDATE+21~, UPDATE+52*, UPDATE+54 |
NIUPD | SYNREP+1~, SYNREP+5*, SYNREP+14 |
NLUPD | SYNREP+1~, SYNREP+9*, SYNREP+20 |
NOCC | UPDSTAT+1~, UPDSTAT+22*, UPDSTAT+23*, UPDSTAT+25, UPDSTAT+26 |
NUMUPD | SYNCH+1~, SYNCH+3, SYNCH+9, SYNCH+13, UPDSTAT~, UPDSTAT+7*, UPDSTAT+34* |
PROV | UPDATE+1~, UPDATE+14*, UPDATE+15, UPDATE+18*, UPDATE+19, UPDATE+30, UPDATE+38 |
SDTIME | QUE+1~, QUE+11*, QUE+19, QUE+26 |
SIEN | UPDPAT+3~, UPDPAT+13*, UPDPAT+14*, UPDPAT+15, UPDPAT+16, UPDPAT+21 |
SOURCE | UPDATE~, UPDATE+13, UPDATE+31, UPDATE+41, UPDATE+44, UPDPAT+3~, UPDPAT+21*, UPDPAT+24, UPDSTAT+1~, UPDSTAT+32* , UPDSTAT+33 |
SP | UPDPAT+3~, UPDPAT+18*, UPDPAT+19, UPDPAT+20 |
START | SYNCH+1~, SYNCH+3, SYNCH+10, SYNCH+14, UPDSTAT~, UPDSTAT+5* |
STAT | UPDATE+1~, UPDATE+9*, UPDATE+10 |
STCODE | STCODE+1~, STCODE+2*, STCODE+3, UPDATE~, UPDATE+19, UPDATE+28, UPDATE+36, UPDPAT+3~, UPDPAT+23*, UPDPAT+24 , UPDSTAT+1~, UPDSTAT+13*, UPDSTAT+33 |
STIME | QUE+1~, QUE+19*, QUE+23, SYNCH+17, SYNCH+24 |
TARGET | UPDATE+21~ |
TARGET("POINTER" | UPDATE+48 |
TEMP | STATUS+2~, STATUS+3*, STATUS+4, STATUS+9, STATUS+10, STATUS+14, STATUS+15, SYNCH+1~, SYNCH+19*, SYNCH+20 , SYNCH+21, SYNREP+1~, SYNREP+2*, SYNREP+3, SYNREP+5, SYNREP+6, SYNREP+7, SYNREP+9, SYNREP+10, SYNREP+16 , SYNREP+22, UPDATE+1~, UPDATE+13*, UPDATE+14, UPDATE+38*, UPDATE+39*, UPDATE+40, UPDATE+42*, UPDATE+43, UPDATE+44* , UPDATE+45*, UPDATE+46, UPDATE+49*, UPDATE+50, UPDATE+51*, UPDATE+52, UPDPAT+4~, UPDPAT+24*, UPDSTAT+2~, UPDSTAT+26* , UPDSTAT+27 |
TERM | STCODE~, STCODE+2, UPDPAT+4~, UPDPAT+6*, UPDPAT+7, UPDPAT+23, UPDSTAT+2~, UPDSTAT+10*, UPDSTAT+13, UPDSTAT+14 |
TERMARR | UPDSTAT+2~, UPDSTAT+11!, UPDSTAT+16, UPDSTAT+17 |
TERMIEN | UPDPAT+4~, UPDPAT+7*, UPDPAT+12, UPDPAT+20, UPDSTAT+2~, UPDSTAT+14*, UPDSTAT+15, UPDSTAT+16 |
TEST | STATUS~, STATUS+6*, STATUS+8*, STATUS+13* |
TEXT | STATUS~, STATUS+11* |
TYPE | GSYINFO~, GSYINFO+6, UPDATE~, UPDATE+6 |
U | GSYINFO+6, GSYINFO+7, QUE+7, STATUS+4, STATUS+9, STATUS+10, STATUS+14, STATUS+15, SYNCH+6, SYNCH+8 , SYNCH+9, SYNCH+10, SYNCH+12, SYNCH+13, SYNCH+14, SYNCH+20, SYNCH+21, SYNCH+24, SYNREP+3, SYNREP+5 , SYNREP+6, SYNREP+7, SYNREP+9, SYNREP+10, SYNREP+16, SYNREP+22, UPDATE+6, UPDATE+10, UPDATE+14, UPDATE+18 , UPDATE+25, UPDATE+35, UPDATE+43, UPDATE+46, UPDATE+50, UPDATE+52, UPDPAT+10, UPDPAT+11, UPDPAT+18, UPDPAT+21 , UPDSTAT+27 |
UPDSTAT | UPDATE+1~, UPDATE+2*, UPDATE+19*, UPDATE+20, UPDATE+25, UPDATE+56, UPDSTAT+2~, UPDSTAT+33*, UPDSTAT+34 |
VADM | UPDATE+21~ |
VADM(1 | UPDATE+34 |
VADM(2 | UPDATE+35 |
VALUE | STATUS~, STATUS+6*, STATUS+9*, STATUS+14* |
VDATE | UPDSTAT+2~ |
VF | UPDPAT+4~, UPDPAT+8*, UPDPAT+9*, UPDPAT+10, UPDPAT+11, UPDPAT+14, UPDPAT+15, UPDPAT+16, UPDPAT+21 |
VFL | UPDPAT~ |
VFL( | UPDPAT+9, UPDPAT+10, UPDPAT+11, UPDPAT+21 |
VISIT | UPDATE~, UPDATE+6, UPDATE+17, UPDPAT~, UPDPAT+14, UPDPAT+15, UPDPAT+16, UPDPAT+24, UPDSTAT+2~, UPDSTAT+30* , UPDSTAT+31, UPDSTAT+33 |
VPRVIEN | UPDATE+1~, UPDATE+17*, UPDATE+18 |
X | QUE+1~ |
XMSUB | UPDATE+21~, UPDATE+23*, UPDATE+55 |
Y | QUE+1~, QUE+11, QUE+19 |
>> ZTDESC | QUE+25* |
>> ZTDTH | QUE+26* |
>> ZTIO | QUE+27* |
>> ZTREQ | SYNCH+17*, SYNCH+24* |
>> ZTRTN | QUE+24* |
ZTSAVE | QUE+22! |
ZTSAVE("STIME" | QUE+23* |
>> ZTSK | QUE+29 |