MDRPCNT1 ; HOIFO/NCA - Object RPCs (TMDNOTE) Continued 2;10/29/04 12:20 ;2/25/09 16:08
Source file <MDRPCNT1.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 Procedures | 1 | MDRPCNT |
Name | Comments | DBIA/ICR reference |
---|---|---|
ADDMSG | ; [Procedure] Add message to transaction
|
|
FILEMSG(STUDY,MDPKG,MDSTAT,MDMSG) | ; [Procedure] File Study Status and Message.
|
|
STATUS(MDIENS,MDSTAT,MDMSG) | ; [Procedure] Update transaction status
|
|
SUBMIT(MDDATA,MDDT,MDAU,MDESIG,MDNTL,MDG1) | ; [Procedure] Process the Image(s) Submission.
; Input: MDDATA - Study ID ; MDDT-Date/Time of Document ; MDA - Author ; MDESIG - Electronic Signature ; MDNTL - Note title ; MDG1 - ^TMP global with the text of the report ; Output: -1^Error Message or ; 1^Successful Message |
|
GETDATA(STUDY) | ; [Function] Return the Necessary data for creating a TIU note.
; Return: Patient DFN_"^"_TIU title_"^"_Hospital Location_"^"_TIU Note ; IEN_"^"_Consult #_"^"_CP Definition IEN_"^"_Visit String_"^" ; New Visit Flag ; or ; -1^Error Message |
|
NEWTIUN(STUDY,MDDT,MDA,MDNT) | ; [Function] Create a new TIU for transaction
; Input: STUDY - IENS of CP study entry ; MDDT - Date of Note ; MDA - Author ; MDNT - Note Title ; Return: TIU Document IEN |
|
UPDATE(STUDY,MDA,SIGN,MDGLB) | ; Update the TIU document with the text
|
|
SIGN(MDTIUIN,MDSIGN) | ; Sign the TIU Document
; [Function] TIU SIGN RECORD |
|
PREV(MDC,MDS) | ; [Function] Return the Previous TIU document.
|
Name | Field # of Occurrence |
---|---|
NOW^%DTC | ADDMSG+5 |
$$FIND1^DIC | NEWTIUN+19 |
FILE^DIE | STATUS+3, NEWTIUN+41, PREV+13 |
UPDATE^DIE | ADDMSG+10 |
$$GET1^DIQ | GETDATA+8, GETDATA+10, GETDATA+13, GETDATA+16, GETDATA+19, GETDATA+21, GETDATA+26 |
UPD^MDKUTLR | NEWTIUN+42 |
$$EN1^MDPCE | NEWTIUN+33 |
$$GETVSTR^MDRPCOT1 | GETDATA+26 |
$$PDT^MDRPCOT1 | NEWTIUN+21 |
$$UPDCONS^MDRPCOT1 | SUBMIT+26 |
GETDCOS^ORWTPN | UPDATE+5 |
EXTRACT^TIULQ | PREV+5 |
MAKE^TIUSRVP | NEWTIUN+37 |
UPDATE^TIUSRVP | UPDATE+7 |
SIGN^TIUSRVP2 | SIGN+7 |
FileNo | Call Tags |
---|---|
^MDD(702 - [#702] | GET1^DIQ |
^MDS(702.01 - [#702.01] | GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^MDD(702 - [#702] | ADDMSG+6, SUBMIT+26, NEWTIUN+36, PREV+3, PREV+4, PREV+5, PREV+6, PREV+8, PREV+9 |
^MDD(703.1 - [#703.1] | NEWTIUN+22 |
^TMP("MDTIUST" | UPDATE+1!, PREV+2!, PREV+6, PREV+7!, PREV+8! |
Name | Line Occurrences |
---|---|
$$GETDATA | NEWTIUN+8 |
$$NEWTIUN | SUBMIT+12 |
$$SIGN | UPDATE+10 |
$$UPDATE | SUBMIT+21 |
ADDMSG | FILEMSG+3 |
FILEMSG | SUBMIT+15, SUBMIT+23, NEWTIUN+10, NEWTIUN+34 |
STATUS | FILEMSG+3 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
>> % | ADDMSG+5 |
CTR | NEWTIUN+6~*, NEWTIUN+13* |
>> DATA("DATE" | ADDMSG+5*, ADDMSG+7 |
>> DATA("MESSAGE" | ADDMSG+3, ADDMSG+9, FILEMSG+2* |
>> DATA("PKG" | ADDMSG+8, FILEMSG+1* |
>> DATA("TRANSACTION" | ADDMSG+2, ADDMSG+4, FILEMSG+1* |
DFN | GETDATA+6~, GETDATA+10*, GETDATA+11, GETDATA+26, GETDATA+33, NEWTIUN+6~, NEWTIUN+37 |
DUZ | UPDATE+5 |
MDA | NEWTIUN~, NEWTIUN+27, NEWTIUN+28, UPDATE~, UPDATE+3 |
MDANS | SUBMIT+9~, SUBMIT+17*, SUBMIT+21, SUBMIT+25 |
MDAU | SUBMIT~, SUBMIT+12 |
MDC | PREV~, PREV+3 |
MDCON | GETDATA+6~, GETDATA+16*, GETDATA+17, GETDATA+33, NEWTIUN+6~, NEWTIUN+29 |
MDDATA | SUBMIT~, SUBMIT+10 |
MDDOC | PREV+1~, PREV+2*, PREV+9*, PREV+11, PREV+15 |
MDDT | SUBMIT~, SUBMIT+12, NEWTIUN~, NEWTIUN+26 |
MDDTTL | NEWTIUN+6~, NEWTIUN+8*, NEWTIUN+19*, NEWTIUN+20 |
MDESIG | SUBMIT~, SUBMIT+21 |
MDFDA | NEWTIUN+6~ |
MDFDA( | ADDMSG+6*, ADDMSG+7*, ADDMSG+8*, ADDMSG+9* |
MDFDA(702 | STATUS+1*, STATUS+2*, NEWTIUN+40*, PREV+11*, PREV+12* |
MDFIL | NEWTIUN+6~*, NEWTIUN+19 |
MDFN | GETDATA+6~ |
MDG1 | SUBMIT~, SUBMIT+19 |
MDG2 | SUBMIT+9~, SUBMIT+19*, SUBMIT+20, SUBMIT+21 |
MDGLB | UPDATE~, UPDATE+2 |
MDGST | NEWTIUN+6~*, NEWTIUN+8, NEWTIUN+10, NEWTIUN+21, NEWTIUN+22, NEWTIUN+33, NEWTIUN+34, NEWTIUN+36 |
MDIEN | ADDMSG+1~, ADDMSG+4*, ADDMSG+6, GETDATA+6~, GETDATA+7*, GETDATA+10, GETDATA+13, GETDATA+16, GETDATA+21, GETDATA+26 |
MDIENS | ADDMSG+1~, ADDMSG+4*, ADDMSG+6, ADDMSG+7, ADDMSG+8, ADDMSG+9, STATUS~, STATUS+1, STATUS+2, GETDATA+6~ , GETDATA+7*, GETDATA+8 |
MDK | UPDATE+1~, UPDATE+2* |
MDL | NEWTIUN+6~, NEWTIUN+12*, NEWTIUN+13 |
MDLOC | GETDATA+6~, GETDATA+27*, GETDATA+33, NEWTIUN+6~, NEWTIUN+17, NEWTIUN+37 |
MDMSG | FILEMSG~, FILEMSG+2, FILEMSG+3, STATUS~, STATUS+1 |
MDN | SUBMIT+9~, SUBMIT+12*, SUBMIT+26 |
MDNEWV | GETDATA+6~, PREV+1~, PREV+2*, PREV+9*, PREV+12 |
MDNOTE | GETDATA+6~, GETDATA+32*, GETDATA+33, NEWTIUN+6~, NEWTIUN+37*, NEWTIUN+38*, NEWTIUN+42, NEWTIUN+43, UPDATE+1~*, UPDATE+7 , UPDATE+8* |
MDNT | NEWTIUN~, NEWTIUN+19 |
MDNTL | SUBMIT~, SUBMIT+12 |
MDNVST | GETDATA+6~, GETDATA+7*, GETDATA+23*, GETDATA+33, NEWTIUN+33 |
MDPDT | NEWTIUN+6~, NEWTIUN+21*, NEWTIUN+22*, NEWTIUN+23*, NEWTIUN+31, NEWTIUN+33 |
MDPKG | FILEMSG~, FILEMSG+1 |
MDPPR | UPDATE+1~ |
MDPROC | GETDATA+6~, GETDATA+13*, GETDATA+14, GETDATA+19, GETDATA+26, GETDATA+33, NEWTIUN+6~, NEWTIUN+33 |
MDPT | NEWTIUN+6~, NEWTIUN+22* |
MDRESU | NEWTIUN+6~*, NEWTIUN+8*, NEWTIUN+10, NEWTIUN+14*, NEWTIUN+33*, NEWTIUN+34, UPDATE+1~ |
MDRESUL | SUBMIT+9~, SUBMIT+10*, SUBMIT+12*, SUBMIT+14, SUBMIT+15, SUBMIT+16, SUBMIT+17, SUBMIT+21*, SUBMIT+22, SUBMIT+23 , SUBMIT+24 |
MDRET | ADDMSG+1~ |
MDS | UPDATE+1~, UPDATE+10*, PREV~, PREV+10, PREV+11, PREV+12 |
MDSIGN | SIGN~, SIGN+7 |
MDSRES | SIGN+5~, SIGN+6*, SIGN+7, SIGN+8 |
MDSTAT | FILEMSG~, FILEMSG+3, STATUS~, STATUS+2 |
MDSTUDY | SUBMIT+9~, SUBMIT+10*, SUBMIT+12, SUBMIT+15, SUBMIT+21, SUBMIT+23, SUBMIT+26 |
MDTI | UPDATE+1~, UPDATE+3*, UPDATE+7, UPDATE+10 |
MDTITL | GETDATA+6~, GETDATA+19*, GETDATA+20, GETDATA+33, NEWTIUN+6~, NEWTIUN+20*, NEWTIUN+37 |
MDTIUER | UPDATE+1~*, PREV+1~, PREV+2*, PREV+5 |
MDTIUIN | SIGN~, SIGN+7 |
MDTRAN | PREV+1~, PREV+2*, PREV+3*, PREV+4, PREV+5, PREV+6, PREV+8, PREV+9, PREV+14* |
MDTST | GETDATA+6~, PREV+1~, PREV+2*, PREV+6*, PREV+7, PREV+8 |
MDTSTR | NEWTIUN+6~, NEWTIUN+8*, NEWTIUN+11, NEWTIUN+13 |
MDV | UPDATE+1~ |
MDV1 | UPDATE+1~ |
MDVAU | UPDATE+1~, UPDATE+5, UPDATE+6 |
MDVST | NEWTIUN+6~, NEWTIUN+14*, NEWTIUN+33*, NEWTIUN+36*, NEWTIUN+37 |
MDVSTR | GETDATA+6~, GETDATA+21*, GETDATA+22, GETDATA+23*, GETDATA+25, GETDATA+26*, GETDATA+27, GETDATA+33, NEWTIUN+6~, NEWTIUN+23 , NEWTIUN+33*, NEWTIUN+37 |
MDWP | NEWTIUN+6~, NEWTIUN+37, UPDATE+1~!, UPDATE+7 |
MDWP( | NEWTIUN+25*, UPDATE+4* |
MDWP("TEXT" | UPDATE+2* |
MDWP(1201 | NEWTIUN+26* |
MDWP(1202 | NEWTIUN+27* |
MDWP(1208 | UPDATE+6* |
MDWP(1302 | NEWTIUN+28* |
MDWP(1405 | NEWTIUN+29* |
MDWP(1506 | UPDATE+6* |
MDWP(70201 | NEWTIUN+30* |
MDWP(70202 | NEWTIUN+31* |
MDX | GETDATA+6~ |
RES | SUBMIT+9~, SUBMIT+10*, SUBMIT+14, SUBMIT+16*, SUBMIT+20, SUBMIT+24*, SUBMIT+25*, SUBMIT+27 |
SIGN | UPDATE~, UPDATE+10 |
STUDY | FILEMSG~, FILEMSG+1, FILEMSG+3, GETDATA~, GETDATA+7, NEWTIUN~, NEWTIUN+6, NEWTIUN+40, NEWTIUN+42, UPDATE~ |
U | SUBMIT+26, NEWTIUN+22, PREV+4, PREV+5, PREV+6, PREV+8, PREV+9 |
X | SIGN+5~ |
XX | SUBMIT+26~* |