TIUCCRHL7P2 ; CCRA/PB - TIUHL7 Msg Processing; March 23, 2005
Source file <TIUCCRHL7P2.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 |
---|---|---|
Text Integration Utility | 3 | TIUCCRHL7P1 TIUCCRHL7P3 ^TIU(8925.1 |
Name | Comments | DBIA/ICR reference |
---|---|---|
CONTINUE | ; data verification
|
|
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 |
|
FILE(SUCCESS,TIUDA,TIUX,SUPPRESS,TIUCPF) | ; Call FM Filer & commit
|
|
SETXT0(TIUDA) | ; Set root node of "TEMP" WP-field
|
|
VSTRBLD(VSIT) | ; Given Visit ien, build Visit-Descriptor String
|
|
GETREC(DFN,TIU,TITLE,TIUNEW) | ; Get/create document record
|
|
SIGNDOC(TIUDA) | ;
|
|
DELDOC(TIUDA) | ;
|
|
ERR(TIUSEG,TIUP,TIUNUM,TIUTXT) | ;
|
|
ES(DA,TIUES,TIUI,TIUESIG) | ; ^DIE call for /es/
|
|
POST(TIUDA) | ;Patch 354 - PB - link the note or addendum to the consult then update the status of the consult to the original status
|
|
POST1(TIUDA) | ;Patch 354 - PB - link the note or addendum to the consult then update the status of the consult to the original status
|
|
GETLOC(CONSERV) | ;
|
FileNo | Call Tags |
---|---|
^GMR(123 - [#123] | GET1^DIQ |
^GMR(123.5 - [#123.5] | GET1^DIQ |
123.56 | GET1^DIQ |
^VA(200 - [#200] | GET1^DIQ |
^SC - [#44] | GET1^DIQ |
^TIU(8925.1 - [#8925.1] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^AUPNVSIT - [#9000010] | VSTRBLD+2 |
^SC - [#44] | MAKE+23, MAKE+29 |
^TIU(8925 - [#8925] | MAKE+44*, MAKE+45!, MAKE+46*, MAKE+50, MAKE+63!, FILE+18, FILE+20!, SETXT0+2, SETXT0+3, SETXT0+4* , SIGNDOC+12, SIGNDOC+20, ES+3, ES+4, ES+5, ES+7, ES+8, ES+19, ES+25, ES+27 , ES+28, ES+35, ES+39, ES+41, ES+42, POST+2, POST1+2 |
Name | Line Occurrences |
---|---|
$$GETLOC | CONTINUE+24, MAKE+21, MAKE+33 |
$$GETREC | MAKE+40 |
$$VSTRBLD | MAKE+16 |
DELDOC | SIGNDOC+4, SIGNDOC+22 |
ERR | SIGNDOC+4, SIGNDOC+7, SIGNDOC+8, SIGNDOC+13, SIGNDOC+16, SIGNDOC+17, SIGNDOC+21 |
ES | SIGNDOC+11 |
FILE | MAKE+48 |
SETXT0 | MAKE+47 |
Name | Field # of Occurrence |
---|---|
^(0 | ES+28 |
^(12 | ES+7 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
% | MAKE+38~, MAKE+39 |
>> CFNOTE | ES+61 |
COMMENT | ES+60~, ES+62 |
COMMENT(1 | ES+61* |
CONSERV | GETLOC~, GETLOC+3, GETLOC+4, GETLOC+5 |
CONSERVICEIEN | CONTINUE+23*, CONTINUE+24, MAKE+12~, MAKE+13*, MAKE+21, MAKE+33 |
>> CONSULTID | CONTINUE+6, CONTINUE+13, CONTINUE+14, CONTINUE+20, CONTINUE+23, MAKE+13, MAKE+60, ES+53, ES+61 |
COSIGNER | ES+1~, ES+7*, ES+9, ES+12 |
CSNEED | ES+2~, ES+8*, ES+9, ES+12 |
CSREQ | ES+1~, ES+7*, ES+9*, ES+11, ES+12, ES+26, ES+43 |
D0 | ES+29~ |
DA | FILE+16~, FILE+17*, GETREC+1~, GETREC+2*, GETREC+6*, GETREC+12, ES~, ES+3, ES+4, ES+5 , ES+7, ES+8, ES+19, ES+23, ES+24, ES+25*, ES+26, ES+27, ES+28, ES+31 , ES+34, ES+35, ES+39, ES+40*, ES+41, ES+42, ES+44, ES+47, ES+52, ES+56* , POST+5*, POST1+3 |
DAO | ES+2~ |
DAORIG | ES+2~, ES+24*, ES+40 |
DFN | MAKE~, MAKE+23, MAKE+25, MAKE+29, MAKE+31, MAKE+34, MAKE+36, MAKE+40, MAKE+43, GETREC~ , ES+29~, ES+35* |
DIC | GETREC+1~, GETREC+3* |
DIC("S" | GETREC+4! |
DIC(0 | GETREC+3* |
DIE | GETREC+1~, GETREC+7~*, ES+1~, ES+16*, ES+22* |
DLAYGO | GETREC+1~, GETREC+3* |
DR | GETREC+1~, GETREC+7~, GETREC+10*, ES+1~, ES+11*, ES+13*, ES+14*, ES+15, ES+17*, ES+19* , ES+20*, ES+21* |
DT | SETXT0+4 |
DUZ | MAKE+44, FILE+20, ES+3 |
ERR | DELDOC+1~, DELDOC+2 |
ESDT | ES+1~, ES+5*, ES+11, ES+13, ES+14 |
FDA | MAKE+59~, FILE+1~ |
FDA(1 | MAKE+60*, MAKE+61* |
FDARR | FILE+1~, FILE+2*, FILE+11 |
FLAGS | FILE+1~, FILE+2*, FILE+12 |
GMRCA | ES+50~, ES+53*, POST+1~, POST+2*, POST1+1~, POST1+2* |
GMRCAD | ES+50~, ES+55*, ES+57* |
GMRCDA | ES+50~, ES+61*, ES+62 |
GMRCDUZ | ES+50~, ES+57*, ES+58, ES+62 |
GMRCMT | ES+50~, ES+58 |
GMRCMT(1 | ES+57* |
GMRCO | ES+50~, ES+53*, POST+1~, POST+2*, POST+3, POST1+1~, POST1+2* |
GMRCSTS | ES+50~, ES+53*, POST+1~, POST+3*, POST1+1~, POST1+2* |
IENS | FILE+1~, FILE+2*, GETLOC+2~, GETLOC+4*, GETLOC+5*, GETLOC+6 |
LDT | MAKE+14~, MAKE+19*, MAKE+23, MAKE+27*, MAKE+29, MAKE+31 |
>> MSGID | CONTINUE+6, CONTINUE+13, CONTINUE+14, CONTINUE+20 |
MSGTEXT | CONTINUE+6*, CONTINUE+13*, CONTINUE+14*, CONTINUE+19~, CONTINUE+20* |
NEWREC | MAKE+14~, MAKE+40 |
NOASF | MAKE~, MAKE+44 |
NOTEDT | ES+60~, ES+61*, ES+62 |
>> ORIGSTAT | ES+53 |
SEQUENCE | ES+45~, ES+46* |
SIGNER | ES+1~, ES+7* |
STOP | CONTINUE+3~, CONTINUE+4*, CONTINUE+6*, CONTINUE+7, CONTINUE+10, CONTINUE+13*, CONTINUE+14* |
SUCCESS | MAKE~, MAKE+15*, MAKE+36*, MAKE+41*, MAKE+42*, MAKE+48, MAKE+49, FILE~, FILE+13*, FILE+14* |
SUPPRESS | MAKE~, MAKE+48, MAKE+53, FILE~, FILE+15 |
SVCHIEF | ES+1~, ES+6*, ES+9, ES+12 |
TITLE | MAKE~, MAKE+40, MAKE+43, GETREC~, GETREC+4 |
TIU | MAKE+14~, MAKE+23, MAKE+25, MAKE+29, MAKE+31, MAKE+34, MAKE+36, MAKE+40, MAKE+43, MAKE+50 , MAKE+55, GETREC~, ES+29~, ES+34 |
TIU("AUDA" | SIGNDOC+6, SIGNDOC+9, SIGNDOC+11, ES+57 |
TIU("AUIEN" | CONTINUE+17 |
TIU("AUNAME" | CONTINUE+20 |
TIU("AVAIL" | SIGNDOC+4, SIGNDOC+7, SIGNDOC+12, SIGNDOC+16, SIGNDOC+20 |
TIU("CAT" | GETREC+9 |
TIU("COMP" | SIGNDOC+2 |
TIU("CSDA" | SIGNDOC+15, SIGNDOC+18, SIGNDOC+19 |
TIU("CSIGNED" | CONTINUE+21!, SIGNDOC+3, SIGNDOC+14 |
TIU("EC" | SIGNDOC+2, ERR+1*, ERR+2 |
TIU("ELSIG" | CONTINUE+17*, CONTINUE+18 |
TIU("INST" | MAKE+35*, GETREC+10 |
TIU("LOC" | CONTINUE+24*, MAKE+21*, MAKE+33*, MAKE+35, MAKE+39*, GETREC+10 |
TIU("SIGNED" | CONTINUE+21!, SIGNDOC+3, SIGNDOC+5 |
TIU("STOP" | MAKE+51 |
TIU("TDA" | CONTINUE+13, CONTINUE+14, CONTINUE+16 |
TIU("TITLE" | CONTINUE+13, CONTINUE+14 |
TIU("VISIT" | GETREC+8 |
TIU("VLOC" | MAKE+39*, GETREC+10 |
TIU("VSTR" | MAKE+32, MAKE+39*, GETREC+9 |
TIUACT | SIGNDOC+6~*, SIGNDOC+15~* |
TIUAUTH | SIGNDOC+6~*, SIGNDOC+7, SIGNDOC+15~*, SIGNDOC+16 |
TIUC | SETXT0+1~*, SETXT0+3*, SETXT0+4 |
TIUCHNG | ES+2~, ES+22* |
TIUCMMTX | FILE+1~, FILE+18* |
TIUCONS | ES+38~*, ES+39, ES+40, ES+44 |
TIUCPF | FILE~, FILE+8 |
>> TIUCS | ERR+2 |
TIUDA | MAKE+14~, MAKE+40*, MAKE+41, MAKE+42, MAKE+43, MAKE+44, MAKE+45, MAKE+46, MAKE+47, MAKE+48 , MAKE+49, MAKE+50, MAKE+51, MAKE+54, MAKE+55, MAKE+57, MAKE+60, MAKE+61, MAKE+63, FILE~ , FILE+2, FILE+14, FILE+17, FILE+18, FILE+20, SETXT0~, SETXT0+2, SETXT0+3, SETXT0+4, SIGNDOC~ , SIGNDOC+4, SIGNDOC+6, SIGNDOC+11, SIGNDOC+12, SIGNDOC+15, SIGNDOC+19, SIGNDOC+20, SIGNDOC+22, DELDOC~, DELDOC+2 , POST~, POST+2, POST+5, POST1~, POST1+2 |
TIUDEL | SIGNDOC+1~, SIGNDOC+8*, SIGNDOC+9, SIGNDOC+11, SIGNDOC+12, SIGNDOC+13*, SIGNDOC+17*, SIGNDOC+18, SIGNDOC+19, SIGNDOC+20 , SIGNDOC+21*, SIGNDOC+22 |
TIUDPRM | GETREC+1~, ES+2~, ES+4 |
TIUES | SIGNDOC+6~, SIGNDOC+9*, SIGNDOC+11, SIGNDOC+15~, SIGNDOC+18*, SIGNDOC+19, ES~ |
TIUESIG | ES~, ES+3*, ES+6, ES+9, ES+11, ES+12, ES+13, ES+14 |
TIUFPRIV | GETREC+1~, GETREC+2* |
>> TIUFS | ERR+2 |
TIUHIT | GETREC+1~, GETREC+2* |
TIUI | CONTINUE+3~, SETXT0+1~*, SETXT0+2*, SETXT0+3, ES~ |
TIUIF | CONTINUE+3~, CONTINUE+4* |
TIUINT | ES+45~, ES+46*, ES+47 |
TIUK | ES+45~, ES+46*, ES+48*, ES+49 |
TIUKIDS | ES+45~, ES+46*, ES+47 |
TIUKIDS( | ES+48, ES+49 |
TIUMSG | FILE+1~, FILE+13 |
TIUMSG("DIERR" | FILE+13 |
>> TIUNAME | ERR+2 |
TIUNEW | GETREC~, GETREC+6* |
TIUNUM | ERR~, ERR+2 |
TIUP | ERR~, ERR+2 |
TIUPRINT | ES+1~ |
TIUPSIG | ES+2~, ES+42*, ES+43, ES+49 |
TIUSBY | ES+19~*, ES+20 |
TIUSCAT | GETREC+1~, GETREC+9*, GETREC+10 |
TIUSEG | ERR~, ERR+2 |
TIUSTAT | SIGNDOC+6~, SIGNDOC+12*, SIGNDOC+15~, SIGNDOC+20*, ES+1~, ES+5*, ES+9, ES+10, ES+14, ES+17 , ES+18 |
TIUSTIS | ES+2~, ES+41*, ES+44 |
TIUSTNOW | ES+1~ |
TIUSTWAS | ES+2~, ES+3*, ES+44 |
TIUTTL | ES+2~, ES+42* |
TIUTXT | ERR~, ERR+2 |
TIUVISIT | GETREC+7~, GETREC+8* |
TIUVSIT | ES+29~, ES+31 |
TIUX | MAKE~, MAKE+43, MAKE+48, FILE~, FILE+11 |
TIUX("TEXT" | MAKE+46! |
TIUX(1202 | FILE+3, FILE+8 |
TIUX(1204 | FILE+3* |
TIUX(1208 | FILE+4* |
TIUX(1209 | FILE+4 |
TIUX(1301 | FILE+10* |
TIUX(1302 | FILE+8* |
TIUY | VSTRBLD+1~, VSTRBLD+4*, VSTRBLD+5 |
>> TIUZ("TEXT" | CONTINUE+6 |
U | MAKE+23, MAKE+29, FILE+13, SETXT0+4, VSTRBLD+2, VSTRBLD+3, GETREC+5, GETREC+6, GETREC+9, GETREC+10 , SIGNDOC+7, SIGNDOC+9, SIGNDOC+12, SIGNDOC+16, SIGNDOC+18, SIGNDOC+20, ES+3, ES+5, ES+7, ES+8 , ES+19, ES+25, ES+27, ES+28, ES+35, ES+41, ES+49, POST1+2 |
VDT | MAKE~, MAKE+18*, MAKE+19, MAKE+23, MAKE+26, MAKE+27*, MAKE+29, MAKE+31, VSTRBLD+1~, VSTRBLD+2* , VSTRBLD+4 |
VLOC | CONTINUE+24*, MAKE~, MAKE+21*, MAKE+23, MAKE+26, MAKE+29, MAKE+31, MAKE+33*, MAKE+39, MAKE+61 , VSTRBLD+1~, VSTRBLD+2*, VSTRBLD+4 |
VLOCX | GETLOC+2~, GETLOC+4*, GETLOC+6*, GETLOC+7 |
VSIT | MAKE~, MAKE+16, MAKE+26, VSTRBLD~, VSTRBLD+2 |
VSIT0 | VSTRBLD+1~, VSTRBLD+2*, VSTRBLD+3 |
VSTR | MAKE~, MAKE+16*, MAKE+17, MAKE+18, MAKE+25, MAKE+26 |
VSVCAT | VSTRBLD+1~, VSTRBLD+3*, VSTRBLD+4 |
X | GETREC+1~, GETREC+4* |
Y | GETREC+1~, GETREC+5, GETREC+6, GETREC+10 |