PXRMPINF ;SLC/PKR - Routines relating to patient information. ;07/01/2020
Source file <PXRMPINF.m>
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 |
---|---|---|
Clinical Reminders | 5 | PXRM PXRM PATIENT DATA CHANGE PXRM PATIENT PROBLEM DATA CHANGE PXRM PATIENT PTF DATA CHANGE PXRMTERM |
Kernel | 1 | ^ORD(101 |
Name | Comments | DBIA/ICR reference |
---|---|---|
DATACHG | ;This entry point is called whenever patient data has changed.
|
|
DATACHGR | ;Process data from PXK VISIT DATA EVENT
|
|
DEM(DFN,TODAY,DEMARR) | ;Load the patient demographics into DEMARR
|
|
NEWEVENT(EVENT,DATALOC,ZTSAVE) | ;Generate a new node in ^XTMP to store data for
|
|
PLIST | ;This entry point is called whenever patient data has changed.
|
|
PLISTR | ;Process data from GMPL EVENT
|
|
PTFCHG | ;This entry point is called whenever patient data has changed.
|
|
PTFCHGR | ;Process data from DG PTF ICD DIAGNOSIS NOTIFIER
|
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^DGPM("ATID1" | DEM+21 |
^DPT - [#2] | DEM+9, DEM+15, DEM+18 |
^TMP("DG PTF ICD NOTIFIER" | PTFCHG+3, PTFCHG+5 |
^TMP("PXKCO" | DATACHG+4, DATACHG+6 |
^TMP("PXRMDEM" | DEM+26!, DEM+29* |
^XTMP( | DATACHGR+4, DATACHGR+5, DATACHGR+6, DATACHGR+7, DATACHGR+8, DATACHGR+12, DATACHGR+20!, NEWEVENT+5, NEWEVENT+6!, NEWEVENT+7* , NEWEVENT+8*, PTFCHGR+3, PTFCHGR+5! |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DATA | DATACHGR+1~, DATACHGR+7*, DATACHGR+8*, DATACHGR+9 |
DATALOC | NEWEVENT~, NEWEVENT+8 |
DEMARR | DEM~, DEM+7! |
DEMARR( | DEM+29 |
DEMARR("AGE" | DEM+19* |
DEMARR("DFN" | DEM+17* |
DEMARR("DOB" | DEM+13*, DEM+19 |
DEMARR("DOD" | DEM+15*, DEM+16*, DEM+19 |
DEMARR("LAD" | DEM+23* |
DEMARR("PATIENT" | DEM+8*, DEM+10*, DEM+11* |
DEMARR("SEX" | DEM+12* |
DEMARR("SIG" | DEM+18* |
DEMARR("SSN" | DEM+14* |
DFN | DATACHGR+1~, DATACHGR+9*, DATACHGR+17, DATACHGR+18, DATACHGR+19, DEM~, DEM+8, DEM+9, DEM+15, DEM+17 , DEM+18, DEM+21, PLIST+4, PLISTR+6, PTFCHGR+2~, PTFCHGR+3*, PTFCHGR+4 |
DGBL | DATACHGR+1~, DATACHGR+13*, DATACHGR+15 |
DT | NEWEVENT+7 |
EVENT | DATACHG+5~, DATACHG+6*, DATACHGR+4, DATACHGR+5, DATACHGR+6, DATACHGR+7, DATACHGR+8, DATACHGR+12, DATACHGR+17, DATACHGR+18 , DATACHGR+19, DATACHGR+20, NEWEVENT~, NEWEVENT+3, NEWEVENT+5, PLIST+5~, PTFCHG+4~, PTFCHG+5*, PTFCHGR+3, PTFCHGR+4 , PTFCHGR+5 |
>> GMPIFN | PLIST+4, PLISTR+6 |
NODE | DATACHGR+1~, DATACHGR+6*, DATACHGR+7, DATACHGR+8 |
>> PXRMDEBG | DEM+25 |
PXRMDFN | DATACHGR+1~ |
RETURN | NEWEVENT+2~, NEWEVENT+3*, NEWEVENT+5*, NEWEVENT+6, NEWEVENT+7, NEWEVENT+8, NEWEVENT+11 |
SUB | DEM+27~, DEM+28*, DEM+29* |
TEMP | DEM+6~, DEM+9*, DEM+10, DEM+11, DEM+12, DEM+13, DEM+14, DEM+21*, DEM+22*, DEM+23 |
TODAY | DEM~, DEM+16, DEM+19 |
U | DATACHGR+9, DATACHGR+15, DEM+11, DEM+12, DEM+13, DEM+14, DEM+15, DEM+18, NEWEVENT+7 |
VF | DATACHGR+1~, DATACHGR+11*, DATACHGR+12*, DATACHGR+13, DATACHGR+14, DATACHGR+15 |
VFL | DATACHGR+1~, DATACHGR+17 |
VFL( | DATACHGR+15* |
VGBL | DATACHGR+1~, DATACHGR+14*, DATACHGR+15 |
VIEN | DATACHGR+1~, DATACHGR+5*, DATACHGR+6, DATACHGR+7, DATACHGR+8 |
VISIT | DATACHGR+1~, DATACHGR+4*, DATACHGR+5, DATACHGR+6, DATACHGR+7, DATACHGR+8, DATACHGR+12, DATACHGR+17, DATACHGR+18, DATACHGR+19 |
ZTDESC | DATACHG+5~, DATACHG+8*, PLIST+5~, PLIST+9*, PTFCHG+4~, PTFCHG+7* |
ZTDTH | DATACHG+5~, DATACHG+9*, PLIST+5~, PLIST+10*, PTFCHG+4~, PTFCHG+8* |
ZTIO | DATACHG+5~, DATACHG+10*, PLIST+5~, PLIST+11*, PTFCHG+4~, PTFCHG+9* |
>> ZTREQ | DATACHGR+2*, PLISTR+4*, PTFCHGR+1* |
ZTRTN | DATACHG+5~, DATACHG+7*, PLIST+5~, PLIST+8*, PTFCHG+4~, PTFCHG+6* |
ZTSAVE | DATACHG+5~, DATACHG+6, NEWEVENT~, PLIST+5~, PTFCHG+4~, PTFCHG+5 |
ZTSAVE("DFN" | PLIST+6* |
ZTSAVE("EVENT" | NEWEVENT+9* |
ZTSAVE("GMPIFN" | PLIST+7* |
ZTSAVE("XTMP(" | NEWEVENT+10* |
ZTSK | DATACHG+5~, PLIST+5~, PTFCHG+4~ |