BGOCPLAN ; IHS/BAO/TMD - pull V Care Plan data ;27-Jan-2016 09:53;DU
Source file <BGOCPLAN.m>
Package | Total | Call Graph |
---|---|---|
GUI Objects | 5 | ($$FNUM,GET)^BGOCPLAN ($$DELETE,$$ERR,$$FMTDATE,$$TMPGBL,$$UPDATE)^BGOUTL VFEVT^BGOUTL2 (GET,GETCON)^BGOVTR GET^BGOVVI |
VA Fileman | 3 | (FILE,UPDATE,WP)^DIE $$ROOT^DILFD $$GET1^DIQ |
Text Integration Utility | 2 | $$ISA^TIUPS139 $$NODEDATA^TIUSRVT |
IHS Standard Terminology | 1 | $$DESC^BSTSAPI |
Kernel | 1 | $$NOW^XLFDT |
Toolkit | 1 | ($$GET,GETLST)^XPAR |
VueCentric Framework | 1 | $$ENT^CIAVMRPC |
Package | Total | Caller Graph |
---|---|---|
GUI Objects | 5 | BGOCPLAN BGOPRDD BGOPROB BGOVOB BGOVVI |
IHS Prenatal Care Module | 2 | BJPNFAUD BJPNPUTL |
Health Summary Components | 1 | BHSPL2 |
Name | Comments | DBIA/ICR reference |
---|---|---|
IEN(DATA) | ;FIND IEN
|
|
SCRN(Y,ENT) | ;Return only items in shared templates
|
|
EIE(RET,INP) | ;Mark an entry entered in error
|
|
DATA1(DATA,CPIEN,SIEN) | ;Get data for one plan
|
|
DEL(RET,PLAN) | ;EP
|
|
FNUM() | ||
LOOK(SNOMED) | ;Lookup snomed term
|
|
OKDEL(RET,IEN,USER) | ;EP Can this user delete
|
|
SET(RET,DFN,PRIEN,INP,STATUS,TEXT) | ;EP
|
|
ADDNODE(IDX,TIUDA,INTIUY) | ;Adds template node info
|
|
LOOP | ||
SIGN(RET,IEN,PRV) | ;Sign the entry
|
|
GET(DATA,IEN,DFN,TYPE,RETI,CNT,PRV) | ;EP
|
|
DATA(DATA,SORT) | ;Get data for this item
|
|
PAR(INP) | ||
GETROOTS(TIUY,USER,PARAM) | ;Get template root info
|
|
UPSTAT(RET,IEN,PROB,STAT,COMM) | ;Change the status of a care plan or goal
|
|
CPACT(RET,DFN,PRIEN,CPTYP,NUM) | ;EP
; DFN = The patient this problem belongs to ; PRIEN= The problem to return care planning data on ; CPTYP= A All ; C Active ; L Last date ; NUM = Number of entries in V files to return ; RET = Array of care planning items for a problem |
|
UPDATE(OLD) | ;Update data
|
|
TMPGBL(X) | ;EP
|
Name | Field # of Occurrence |
---|---|
$$FNUM^BGOCPLAN | DEL+5 |
GET^BGOCPLAN | CPACT+14, CPACT+15 |
$$DELETE^BGOUTL | DEL+8 |
$$ERR^BGOUTL | DEL+7 |
$$FMTDATE^BGOUTL | DATA1+13, DATA1+18 |
$$TMPGBL^BGOUTL | CPACT+12 |
$$UPDATE^BGOUTL | SET+25, EIE+14 |
VFEVT^BGOUTL2 | DEL+9 |
GET^BGOVTR | CPACT+17 |
GETCON^BGOVTR | CPACT+18 |
GET^BGOVVI | CPACT+16 |
$$DESC^BSTSAPI | LOOK+2 |
$$ENT^CIAVMRPC | GETROOTS+2 |
FILE^DIE | SIGN+6 |
UPDATE^DIE | SET+52, UPDATE+8, UPSTAT+9 |
WP^DIE | SET+61 |
$$ROOT^DILFD | DEL+4 |
$$GET1^DIQ | DATA1+12, DATA1+14, DATA1+15, DATA1+17, SET+55, DEL+3, OKDEL+4 |
$$ISA^TIUPS139 | OKDEL+8 |
$$NODEDATA^TIUSRVT | ADDNODE+2 |
$$NOW^XLFDT | SET+14, SET+23, SET+41, SIGN+5, UPSTAT+6, EIE+11, OKDEL+6 |
$$GET^XPAR | PAR |
GETLST^XPAR | GETROOTS+3 |
RPC Name | Call Tags |
---|---|
BGOCPLAN GET | GET |
BGOCPLAN SET | SET |
BGOCPLAN SIGN | SIGN |
BGOCPLAN OKDEL | OKDEL |
BGOCPLAN UPSTAT | UPSTAT |
BGOCPLAN DEL | DEL |
BGOCPLAN EIE | EIE |
BGOCPLAN CPACT | CPACT |
FileNo | Call Tags |
---|---|
^AUPNCPL - [#9000092] | GET1^DIQ, WP^DIE |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNCPL - [#9000092] | GET+24, GET+25, GET+33, GET+34, GET+38, DATA1+4, DATA1+6, DATA1+21, DATA1+24, SET+33 , SET+35 |
^AUPNCPL("APT" | GET+32 |
^AUPNCPL("APTP" | GET+22, GET+23 |
^AUPNCPL("ASDT" | IEN+3, IEN+4 |
^TIU(8927 - [#8927] | SCRN+3, SCRN+7, LOOP+1, LOOP+3, LOOP+5, LOOP+6, LOOP+8 |
^TMP("BGOPLAN" | TMPGBL+1! |
^TMP("TIU TEMPLATE" | ADDNODE+6* |
Name | Line Occurrences |
---|---|
$$FNUM | SET+3, DEL+4 |
$$TMPGBL | GET+15 |
ADDNODE | GETROOTS+7 |
DATA | GET+30, GET+40, IEN+6 |
DATA1 | DATA+5 |
LOOP | SCRN+4, SCRN+8 |
UPDATE | SET+63 |
Name | Field # of Occurrence |
---|---|
^($J | TMPGBL+1 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
AIEN | SIGN+1~, SIGN+3*, SIGN+4, SIGN+5, UPSTAT+1~ |
ARY | GETROOTS+1~, GETROOTS+3, GETROOTS+4! |
ARY( | GETROOTS+5, GETROOTS+6 |
BY | DATA1+1~, DATA1+14*, DATA1+20 |
CIEN | SET+1~, SET+12*, SET+13*, SET+17 |
CMMT | EIE+1~, EIE+5*, EIE+13 |
CNT | GET~, GET+16*, DATA1+10*, DATA1+20, DATA1+22*, DATA1+24, CPACT+8~, CPACT+13*, CPACT+14, CPACT+15 , CPACT+16, CPACT+17, CPACT+18 |
CODE | GET+12~ |
COMM | UPSTAT~, UPSTAT+8 |
CPIEN | GET+12~, GET+23*, GET+24, GET+25, GET+28, GET+32*, GET+33, GET+34, GET+38, GET+39 , IEN+3*, IEN+4, IEN+5, DATA+1~, DATA+3*, DATA+4, DATA+5, DATA1~, DATA1+4, DATA1+6 , DATA1+11, DATA1+17, DATA1+20, DATA1+21, DATA1+24 |
CPTYP | CPACT~, CPACT+9*, CPACT+14, CPACT+15 |
DATA | GET~, GET+15*, GET+30, GET+40, IEN~, IEN+6, DATA~, DATA+5, DATA1~, DATA1+20 , DATA1+24, GETROOTS+4*, ADDNODE+1~, ADDNODE+2*, ADDNODE+3, ADDNODE+5, ADDNODE+6 |
DESCT | SET+1~ |
DFN | GET~, SET~, SET+19, CPACT~, CPACT+14, CPACT+15, CPACT+16, CPACT+17, CPACT+18 |
DONE | GET+12~, GET+13*, GET+22, GET+32, DATA1+8*, DATA1+9 |
DUZ | SET+15, SET+40, UPSTAT+5, EIE+10, OKDEL+3 |
EDT | SET+2~, SET+6*, SET+14*, SET+22 |
ENT | GETROOTS+1~, GETROOTS+2*, GETROOTS+3, SCRN~, SCRN+5, SCRN+6 |
ENTRYDT | OKDEL+1~, OKDEL+6* |
ERR | SET+3*, SET+44~, UPDATE+1~, SIGN+1~, SIGN+2*, SIGN+7, UPSTAT+1~, UPSTAT+10, OKDEL+1~, OKDEL+7* , OKDEL+8, GETROOTS+1~, GETROOTS+3, GETROOTS+4 |
ERR("DIERR" | SET+53 |
FDA | SET+1~, SET+17*, SET+18, SET+19, SET+20, SET+21, SET+22, SET+23, SET+24, SET+25 , SET+44~, UPDATE+1~, UPDATE+3*, SIGN+1~, UPSTAT+1~, EIE+1~, EIE+8*, EIE+9, EIE+10, EIE+11 , EIE+12, EIE+13, EIE+14 |
FDA( | SET+17, SET+45*, SET+46*, SET+47*, SET+48*, SET+50*, SET+51*, UPDATE+3, UPDATE+4*, UPDATE+5* , UPDATE+6*, UPDATE+7*, UPSTAT+4*, UPSTAT+5*, UPSTAT+6*, UPSTAT+8*, EIE+8 |
FDA(9000092 | SIGN+4*, SIGN+5* |
FNUM | GET+12~, DATA1+2*, DATA1+12, DATA1+14, DATA1+15, SET+1~, SET+3*, SET+17, UPDATE+3, SIGN+1~ , DEL+5*, DEL+8, DEL+9, EIE+1~, EIE+6*, EIE+8 |
FPNUM | SET+1~ |
GBL | DEL+1~, DEL+4*, DEL+7 |
GCNT | GET+12~ |
I | SET+56~, SET+58*, SET+60 |
IDX | GETROOTS+1~, GETROOTS+7, ADDNODE~, ADDNODE+4*, ADDNODE+5, ADDNODE+6, LOOP+2* |
IEN | GET~, GET+22, GET+23, GET+32, IEN+3, IEN+4, DATA1+20, SET+1~, SET+2~, SET+6* , SET+8*, SET+12, SET+13, SET+27*, SET+28, SET+33, SET+35, SET+42, SET+43, SET+55 , SET+61, UPDATE+7, SIGN~, SIGN+3, UPSTAT~, UPSTAT+3, EIE+1~, EIE+14, OKDEL~, OKDEL+4 |
IEN2 | SET+44~, UPDATE+1~, SIGN+1~, UPSTAT+1~, EIE+1~, EIE+7*, EIE+8 |
IENS | SET+1~, EIE+1~, EIE+3*, EIE+7 |
INP | SET~, SET+5, SET+6, EIE~, EIE+3, EIE+4, EIE+5, PAR~ |
INTIUY | ADDNODE~, ADDNODE+5 |
INVDT | GET+12~, GET+19*, GET+22*, GET+23, GET+28, GET+38*, GET+39, IEN+3, IEN+4, IEN+5 , DATA+1~, DATA+2*, DATA+3, DATA+4, DATA1+7, DATA1+8 |
ITEM | SCRN+1~, LOOP+4*, LOOP+5*, LOOP+6 |
ITEMNODE | SCRN+1~, LOOP+6*, LOOP+7, LOOP+8 |
ITM | SCRN+1~, SCRN+3*, SCRN+7*, LOOP+1, LOOP+3, LOOP+5, LOOP+6 |
LIEN | DATA1+1~, DATA1+11*, DATA1+12, DATA1+14, DATA1+15 |
LP | GETROOTS+1~, GETROOTS+5*, GETROOTS+6 |
NEWIEN | SET+2~ |
NODE | GET+12~, DATA1+6* |
NUM | CPACT~, CPACT+11*, CPACT+16, CPACT+17, CPACT+18 |
OLD | SET+2~, SET+3*, SET+16*, SET+24, SET+63, UPDATE~, UPDATE+2 |
OLDIEN | SET+2~, UPDATE+1~, UPDATE+2*, UPDATE+3, UPDATE+4, UPDATE+5, UPDATE+6, UPDATE+7 |
PARAM | GETROOTS~, GETROOTS+1~, GETROOTS+2, GETROOTS+3 |
PIEN | SET+1~, SET+25 |
PIEN(1 | SET+27 |
PLAN | DEL~, DEL+2, DEL+3, DEL+6, DEL+8, DEL+9 |
PRIEN | SET~, SET+4, SET+18, CPACT~, CPACT+14, CPACT+15, CPACT+16, CPACT+17, CPACT+18 |
PRIOR | SET+1~ |
PRNEW | SET+1~ |
PROB | DATA1+1~, UPSTAT~ |
PROV | SCRN+1~, SCRN+6*, SCRN+7 |
PRV | GET~, GET+17*, GET+21, GET+22, GET+23, GET+31, SET+2~, SET+6*, SET+15*, SET+20 , SIGN~, SIGN+4, OKDEL+1~, OKDEL+4*, OKDEL+5 |
PTYPE | DATA1+1~, DATA1+16*, DATA1+20 |
REASON | EIE+1~, EIE+4*, EIE+12 |
RET | SET~, SET+3*, SET+4*, SET+9*, SET+11*, SET+25*, SET+26, SET+28*, SET+53*, LOOK+1~ , LOOK+2*, LOOK+3, SIGN~, SIGN+2*, SIGN+7*, DEL~, DEL+2*, DEL+3*, DEL+4*, DEL+7* , DEL+8*, DEL+9, UPSTAT~, UPSTAT+2*, UPSTAT+10*, EIE~, EIE+1~, EIE+2*, EIE+14*, OKDEL~ , OKDEL+2*, OKDEL+5*, OKDEL+8*, CPACT~, CPACT+12*, CPACT+14, CPACT+15, CPACT+16, CPACT+17, CPACT+18 , SCRN+1~, SCRN+2*, SCRN+9, LOOP+9* |
RETI | GET~, GET+14*, GET+18*, GET+27, GET+36, IEN+2, DATA1+8 |
SDATE | GET+12~, GET+13*, DATA1+7*, DATA1+8 |
SEQ | SCRN+1~, LOOP+2*, LOOP+3*, LOOP+5 |
SIEN | GET+12~, GET+24*, GET+25, GET+28, GET+33*, GET+34, GET+39, IEN+4*, IEN+5, DATA+1~ , DATA+4*, DATA+5, DATA1~, DATA1+6, DATA1+11, SET+2~, SET+30*, SET+36*, SET+37*, SET+42* , SET+43*, SET+45, SET+46, SET+47, SET+48, SET+50, SET+51, UPSTAT+1~, UPSTAT+3*, UPSTAT+4 , UPSTAT+5, UPSTAT+6, UPSTAT+8 |
SIG | DATA1+1~, DATA1+17*, DATA1+18*, DATA1+20 |
SIGNED | DATA1+1~, DATA1+3*, DATA1+4* |
SNOCT | SET+1~ |
SNOMED | LOOK~, LOOK+2 |
SORT | GET+12~, GET+30, GET+40, IEN+6, DATA~ |
SORT( | GET+28*, GET+39*, IEN+5*, DATA+2, DATA+3, DATA+4 |
STA | GET+12~ |
STAT | GET+12~, DATA1+15*, DATA1+20, SET+2~, SET+10*, SET+11, SET+36, SET+45, SET+49, UPSTAT~ , UPSTAT+4 |
STAT2 | SET+2~, SET+35*, SET+36 |
STATUS | GET+25*, GET+26, GET+27, GET+34*, GET+35, GET+36, IEN+1, IEN+2, IEN+3, IEN+4 , SET~, SET+10, SET+16, SET+30, SET+38, SET+39, SET+48, SET+50, SET+51 |
TCNT | SET+56~, SET+57*, SET+59*, SET+60 |
TEXT | SET~ |
TEXT( | SET+58, SET+60 |
TIUDA | GETROOTS+1~, GETROOTS+6*, GETROOTS+7, ADDNODE~, ADDNODE+2 |
TIUY | GETROOTS~ |
TIUY( | ADDNODE+5* |
TXT | DATA1+1~, SET+56~ |
TXT( | SET+60* |
TXTIEN | DATA1+1~, DATA1+21*, DATA1+24 |
TYP | SET+2~, SET+5*, SET+9, SET+21 |
TYPE | GET~, GET+20*, GET+22, GET+23, GET+32, IEN+3, IEN+4, DATA1+16, GETROOTS+1~, LOOP~ , LOOP+8*, LOOP+9 |
U | GET+25, GET+34, GET+38, DATA1+4, DATA1+20, DATA1+24, SET+5, SET+6, SET+10, SET+16 , SET+30, SET+35, SET+38, SET+39, SET+48, SET+50, SET+51, SET+53, LOOK+2, SIGN+7 , EIE+3, EIE+4, EIE+5, GETROOTS+6, LOOP+1, LOOP+7, LOOP+8 |
USER | OKDEL~, OKDEL+3*, OKDEL+5, OKDEL+8, GETROOTS~ |
WHEN | DATA1+1~, DATA1+12*, DATA1+13*, DATA1+20, SET+2~, SET+39*, SET+41*, SET+47, UPDATE+6 |
WHO | SET+2~, SET+38*, SET+40*, SET+46, UPDATE+5 |
X | SET+1~, DEL+9, TMPGBL~, TMPGBL+1 |
X2 | SET+2~, SET+31*, SET+33*, SET+34, SET+35, SET+37 |
Y | SCRN~, LOOP+7 |