TIUSRVP ; SLC/JER - RPCs for CREATE & UPDATE ;28-Aug-2017 08:39;DU
Source file <TIUSRVP.m>
Package | Total | Call Graph |
---|---|---|
Text Integration Utility | 20 | SEND^TIUALRT SENDID^TIUALRT1 (ISCNSLT,ROLLBACK)^TIUCNSLT $$CLASS^TIUCP UPDTIRT^TIUDIRT (DELAUDIT,MERGTEXT)^TIUEDI1 ($$COMMIT,$$DIVISION,$$DOCCLASS)^TIULC1 GETTIU^TIULD $$CANDO^TIULP PATVADPT^TIULV $$ISA^TIULX MAIN^TIUMOVE UNLINK^TIUPRF1 $$ISPFTTL^TIUPRFL QUE^TIUPXAP1 (DELTEXT,DIK)^TIURB2 ($$STATUS,EVENT,STUFREC)^TIUSRVP1 (MAKEADD,SETCOS,SIGN)^TIUSRVP2 RELEASE^TIUT (DEFER,MAIN)^TIUVSIT |
VA Fileman | 3 | $$EZBLD^DIALOG ^DIC (,FILE)^DIE |
IHS Mods To Text Integration Utilities | 1 | VNOTE^BTIUPCC |
Kernel | 1 | $$FMADD^XLFDT |
Name | Comments | DBIA/ICR reference |
---|---|---|
SIGN(ERR,TIUDA,TIUX) | ; API for /es/
; For backward compatibility ; Use SIGN^TIUSRVP2 now, please |
|
FILE(SUCCESS,TIUDA,TIUX,SUPPRESS,TIUCPF) | ; Call FM Filer & commit
|
|
MAKEADD(TIUDADD,TIUDA,TIUX,SUPPRESS) | ; Create addendum
; For backward compatibility ; Use MAKEADD^TIUSRVP2 now, please |
|
VSTRBLD(VSIT) | ; Given Visit ien, build Visit-Descriptor String
|
|
UNLOCK(ERR,TIUDA) | ; Decrement Lock on a TIU Document record
|
|
LOCK(ERR,TIUDA) | ; Bid for lock on a TIU Document record
|
|
UPDSTAT(DA,TITLE) | ; Update status on commit
|
|
UPDATE(SUCCESS,TIUDA,TIUX,SUPPRESS) | ; Update existing Document
|
|
SETCOS(TIUDA,TIUX,TIUD0,TIUD12) | ; set cosig req
; For backward compatibility ; Use SETCOS^TIUSRVP2 now, please |
|
GETREC(DFN,TIU,TITLE,TIUNEW) | ; Get/create document record
|
|
DELETE(ERR,TIUDA,TIURSN,OVRRIDE) | ; delete document
|
|
SETXT0(TIUDA) | ; Set root node of "TEMP" WP-field
|
|
MAKE(SUCCESS,DFN,TITLE,VDT,VLOC,VSIT,TIUX,VSTR,SUPPRESS,NOASF) | ; New Document
; SUCCESS = (by ref) TIU DOCUMENT # (PTR to 8925) ; = 0^Explanatory message if no SUCCESS ; DFN = Patient (#2) ; TITLE = TIU Document Definition (#8925.1) ; [VDT] = Date(/Time) of Visit ; [VLOC] = Visit Location (HOSPITAL LOCATION) ; [VSIT] = Visit file ien (#9000010) ; [VSTR] = Visit string (i.e., VLOC;VDT;VTYPE) ; [NOASF] = if 1=Do Not Set ASAVE cross-reference ; TIUX = (by ref) array containing field data and document body |
Name | Field # of Occurrence |
---|---|
VNOTE^BTIUPCC | MAKE+66 |
$$EZBLD^DIALOG | MAKE+52, MAKE+55, DELETE+4 |
^DIC | GETREC+4 |
^DIE | UPDATE+44, UPDSTAT+4, GETREC+11 |
FILE^DIE | FILE+9 |
SEND^TIUALRT | UPDATE+48 |
SENDID^TIUALRT1 | UPDATE+48 |
ISCNSLT^TIUCNSLT | UPDATE+26 |
ROLLBACK^TIUCNSLT | UPDATE+22, UPDATE+27 |
$$CLASS^TIUCP | UPDATE+18 |
UPDTIRT^TIUDIRT | MAKE+70, UPDATE+49 |
DELAUDIT^TIUEDI1 | DELETE+10 |
MERGTEXT^TIUEDI1 | MAKE+64, UPDATE+36 |
$$COMMIT^TIULC1 | FILE+15 |
$$DIVISION^TIULC1 | MAKE+51 |
$$DOCCLASS^TIULC1 | UPDATE+25, GETREC+10 |
GETTIU^TIULD | UPDATE+33 |
$$CANDO^TIULP | DELETE+3 |
PATVADPT^TIULV | MAKE+30, MAKE+50 |
$$ISA^TIULX | UPDATE+18 |
MAIN^TIUMOVE | MAKE+28, MAKE+35, MAKE+42 |
UNLINK^TIUPRF1 | UPDATE+32 |
$$ISPFTTL^TIUPRFL | UPDATE+29 |
QUE^TIUPXAP1 | MAKE+66 |
DELTEXT^TIURB2 | DELETE+8 |
DIK^TIURB2 | MAKE+63, DELETE+9 |
$$STATUS^TIUSRVP1 | UPDSTAT+1 |
EVENT^TIUSRVP1 | MAKE+48 |
STUFREC^TIUSRVP1 | MAKE+57 |
MAKEADD^TIUSRVP2 | MAKEADD+3 |
SETCOS^TIUSRVP2 | UPDATE+19, SETCOS+3 |
SIGN^TIUSRVP2 | SIGN+3 |
RELEASE^TIUT | MAKE+69 |
DEFER^TIUVSIT | MAKE+65 |
MAIN^TIUVSIT | MAKE+37, MAKE+44 |
$$FMADD^XLFDT | MAKE+25, MAKE+33, MAKE+40 |
RPC Name | Call Tags |
---|---|
TIU SIGN RECORD | SIGN |
TIU UPDATE RECORD | UPDATE |
TIU CREATE ADDENDUM RECORD | MAKEADD |
TIU CREATE RECORD | MAKE |
TIU DELETE RECORD | DELETE |
TIU LOCK RECORD | LOCK |
TIU UNLOCK RECORD | UNLOCK |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVSIT - [#9000010] | VSTRBLD+2 |
^SC - [#44] | MAKE+28, MAKE+35, MAKE+42, MAKE+50 |
^TIU(8925 - [#8925] | MAKE+58*, MAKE+59!, MAKE+60*, MAKE+64, MAKE+66, MAKE+71!, SETXT0+2, SETXT0+3, SETXT0+4*, UPDATE+2 , UPDATE+4, UPDATE+7!, UPDATE+8*, UPDATE+10, UPDATE+12*, UPDATE+15, UPDATE+31!, UPDATE+34, UPDATE+35!, UPDATE+37! , UPDATE+40, UPDATE+48, UPDSTAT+2, FILE+15, FILE+17!, DELETE+5, LOCK+1, UNLOCK+1 |
Name | Line Occurrences |
---|---|
$$GETREC | MAKE+54 |
$$VSTRBLD | MAKE+18 |
FILE | MAKE+62, UPDATE+30 |
SETXT0 | MAKE+61 |
UPDSTAT | UPDATE+47 |
Name | Field # of Occurrence |
---|---|
^(12 | UPDATE+15 |
^(14 | UPDATE+15 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
CAT | MAKE+12~, MAKE+13*, MAKE+44 |
>> CIA("UID" | MAKE+15 |
DA | UPDATE+42~, UPDATE+44*, UPDSTAT~, UPDSTAT+1, UPDSTAT+2, GETREC+1~, GETREC+2*, GETREC+6*, GETREC+12, FILE+13~ , FILE+14* |
DFN | MAKE~, MAKE+28, MAKE+30, MAKE+35, MAKE+37, MAKE+42, MAKE+44, MAKE+48, MAKE+50, MAKE+52 , MAKE+54, MAKE+57, MAKE+66, GETREC~ |
DIC | GETREC+1~, GETREC+3* |
DIC("S" | GETREC+4! |
DIC(0 | GETREC+3* |
DIE | UPDATE+42~, UPDATE+44*, UPDSTAT+1~, UPDSTAT+3*, GETREC+1~, GETREC+7~* |
DLAYGO | GETREC+1~, GETREC+3* |
DR | UPDATE+42~, UPDATE+43*, UPDSTAT+1~*, UPDSTAT+2*, GETREC+1~, GETREC+7~, GETREC+10* |
DT | SETXT0+4, UPDATE+12 |
DUZ | MAKE+58, FILE+17 |
>> EHRVST | MAKE+15*, MAKE+39, MAKE+47 |
ERR | SIGN~, SIGN+3, DELETE~, DELETE+1*, DELETE+4*, LOCK~, LOCK+1*, LOCK+2*, UNLOCK~, UNLOCK+1* |
FDA | FILE+1~ |
FDARR | FILE+1~, FILE+2*, FILE+8 |
FLAGS | FILE+1~, FILE+2*, FILE+9 |
IENS | FILE+1~, FILE+2* |
LDT | MAKE+12~, MAKE+25*, MAKE+28, MAKE+33*, MAKE+35, MAKE+37, MAKE+40*, MAKE+42, MAKE+44 |
NEWREC | MAKE+12~, MAKE+54 |
NOASF | MAKE~, MAKE+58 |
OVRRIDE | DELETE~, DELETE+2 |
PRFUNLNK | UPDATE+1~, UPDATE+29*, UPDATE+32 |
SUCCESS | MAKE~, MAKE+13*, MAKE+52*, MAKE+55*, MAKE+56*, MAKE+62, MAKE+63, UPDATE~, UPDATE+3*, UPDATE+5* , UPDATE+14*, UPDATE+30, UPDATE+31, UPDATE+38*, FILE~, FILE+10*, FILE+11* |
SUPPRESS | MAKE~, MAKE+62, MAKE+68, MAKEADD~, MAKEADD+3, UPDATE~, UPDATE+14, UPDATE+30, UPDATE+46, FILE~ , FILE+12 |
TITLE | MAKE~, MAKE+54, MAKE+57, UPDATE+1~, UPDATE+15*, UPDATE+18, UPDATE+26, UPDATE+29, UPDSTAT~, UPDSTAT+1 , GETREC~, GETREC+4 |
TIU | MAKE+12~, MAKE+28, MAKE+30, MAKE+35, MAKE+37, MAKE+42, MAKE+44, MAKE+48, MAKE+50, MAKE+52 , MAKE+54, MAKE+57, MAKE+64, MAKE+70, UPDATE+1~, UPDATE+33, UPDATE+36, UPDATE+49, GETREC~ |
TIU("CAT" | GETREC+9 |
TIU("INST" | MAKE+51*, GETREC+10 |
TIU("LOC" | MAKE+50, MAKE+51, GETREC+10 |
TIU("STOP" | MAKE+65 |
TIU("VISIT" | GETREC+8 |
TIU("VLOC" | GETREC+10 |
TIU("VSTR" | GETREC+9 |
TIUBY | UPDATE+42~*, UPDATE+43 |
TIUC | SETXT0+1~*, SETXT0+3*, SETXT0+4, UPDATE+1~, UPDATE+9*, UPDATE+11*, UPDATE+12 |
TIUCC | UPDATE+1~, UPDATE+21*, UPDATE+22 |
TIUCMMTX | FILE+1~, FILE+15*, FILE+16 |
TIUCPF | UPDATE+1~, UPDATE+18*, UPDATE+30, FILE~, FILE+7 |
TIUD0 | UPDATE+1~, UPDATE+15*, UPDATE+19, UPDATE+24, UPDATE+47, SETCOS~, SETCOS+3, DELETE+1~, DELETE+5*, DELETE+6 |
TIUD12 | UPDATE+1~, UPDATE+15*, UPDATE+19, SETCOS~, SETCOS+3 |
TIUD14 | UPDATE+1~, UPDATE+15*, UPDATE+21 |
TIUD15 | UPDATE+1~, UPDATE+40*, UPDATE+41, UPDATE+42 |
TIUDA | MAKE+12~, MAKE+54*, MAKE+55, MAKE+56, MAKE+57, MAKE+58, MAKE+59, MAKE+60, MAKE+61, MAKE+62 , MAKE+63, MAKE+64, MAKE+65, MAKE+66, MAKE+69, MAKE+70, MAKE+71, SETXT0~, SETXT0+2, SETXT0+3 , SETXT0+4, MAKEADD~, MAKEADD+3, UPDATE~, UPDATE+2, UPDATE+4, UPDATE+5, UPDATE+7, UPDATE+8, UPDATE+10 , UPDATE+12, UPDATE+14, UPDATE+15, UPDATE+19, UPDATE+22, UPDATE+27, UPDATE+30, UPDATE+31, UPDATE+32, UPDATE+33 , UPDATE+34, UPDATE+35, UPDATE+36, UPDATE+37, UPDATE+38, UPDATE+40, UPDATE+44, UPDATE+47, UPDATE+48, UPDATE+49 , SETCOS~, SETCOS+3, FILE~, FILE+2, FILE+11, FILE+14, FILE+15, FILE+17, SIGN~, SIGN+3 , DELETE~, DELETE+3, DELETE+5, DELETE+8, DELETE+9, DELETE+10, LOCK~, LOCK+1, UNLOCK~, UNLOCK+1 |
TIUDADD | MAKEADD~, MAKEADD+3 |
TIUDEL | DELETE+1~, DELETE+2, DELETE+3*, DELETE+4 |
TIUDPRM | GETREC+1~ |
TIUFLAG | UPDATE+1~*, UPDATE+22*, UPDATE+27 |
TIUFPRIV | GETREC+1~, GETREC+2* |
TIUHIT | GETREC+1~, GETREC+2* |
TIUI | SETXT0+1~*, SETXT0+2*, SETXT0+3, UPDATE+1~, UPDATE+9*, UPDATE+10* |
TIUMSG | FILE+1~, FILE+10 |
TIUMSG("DIERR" | FILE+10 |
TIUNEW | GETREC~, GETREC+6* |
TIURSN | DELETE~, DELETE+7*, DELETE+8 |
TIUSCAT | GETREC+1~, GETREC+9*, GETREC+10 |
TIUVISIT | GETREC+7~, GETREC+8* |
TIUX | MAKE~, MAKE+57, MAKE+62, MAKEADD~, MAKEADD+3, UPDATE~, UPDATE+19, UPDATE+30, SETCOS~, SETCOS+3 , FILE~, FILE+8, SIGN~, SIGN+3 |
TIUX( | UPDATE+24, UPDATE+25*, UPDATE+29, UPDATE+47 |
TIUX("" | UPDATE+14 |
TIUX("1405" | UPDATE+22 |
TIUX("TEXT" | MAKE+60!, UPDATE+6, UPDATE+8, UPDATE+13! |
TIUX("VISIT" | MAKE+16!, MAKE+20* |
TIUX(1202 | FILE+3, FILE+7 |
TIUX(1204 | FILE+3* |
TIUX(1208 | FILE+4* |
TIUX(1209 | FILE+4 |
TIUX(1302 | FILE+7* |
TIUY | VSTRBLD+1~, VSTRBLD+4*, VSTRBLD+5, UPDATE+1~, UPDATE+26*, UPDATE+27 |
U | MAKE+28, MAKE+35, MAKE+42, MAKE+50, MAKE+66, VSTRBLD+2, VSTRBLD+3, SETXT0+4, UPDATE+4, UPDATE+12 , UPDATE+42, UPDATE+47, UPDSTAT+2, GETREC+5, GETREC+6, GETREC+9, GETREC+10, FILE+10, DELETE+6 |
VDT | MAKE~, MAKE+24*, MAKE+25, MAKE+28, MAKE+32, MAKE+33*, MAKE+35, MAKE+37, MAKE+39, MAKE+40* , MAKE+42, MAKE+44, MAKE+47, VSTRBLD+1~, VSTRBLD+2*, VSTRBLD+4 |
VLOC | MAKE~, MAKE+26*, MAKE+28, MAKE+32, MAKE+35, MAKE+37, MAKE+39, MAKE+42, MAKE+44, MAKE+47 , MAKE+50, VSTRBLD+1~, VSTRBLD+2*, VSTRBLD+4 |
VSIT | MAKE~, MAKE+17, MAKE+18, MAKE+20, MAKE+32, MAKE+39, MAKE+47, VSTRBLD~, VSTRBLD+2 |
VSIT0 | VSTRBLD+1~, VSTRBLD+2*, VSTRBLD+3 |
VSTR | MAKE~, MAKE+18*, MAKE+23, MAKE+24, MAKE+26, MAKE+30, MAKE+32, MAKE+39, MAKE+50 |
VSVCAT | VSTRBLD+1~, VSTRBLD+3*, VSTRBLD+4 |
X | UPDATE+42~, GETREC+1~, GETREC+4* |
Y | UPDATE+42~, GETREC+1~, GETREC+5, GETREC+6, GETREC+10 |