SDOERPC ;ALB/MJK - ACRP RPCs For An Encounter ;8/12/96
Source file <SDOERPC.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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
CPT(SDOEY,SDOE) | ; -- SDOE ASSIGNED A PROCEDURE [API ID: 65]
|
|
GETCPT(SDOEY,SDOE) | ; -- SDOE GET PROCEDURES [API ID: 61]
|
|
FINDCPT(SDOEY,SDOE,SDCPTID) | ; -- SDOE FIND PROCEDURE [API ID: 71]
|
|
DX(SDOEY,SDOE) | ; -- SDOE ASSIGNED A DIAGNOSIS [API ID: 64]
|
|
GETDX(SDOEY,SDOE) | ; -- SDOE GET DIAGNOSES [API ID: 56]
|
|
FINDDX(SDOEY,SDOE,SDDXID) | ; -- SDOE FIND DIAGNOSIS [API ID: 70]
|
|
GETPDX(SDOEY,SDOE) | ; -- SDOE GET PRIMARY DIAGNOSIS [API ID: 73]
|
|
PRV(SDOEY,SDOE) | ; -- SDOE ASSIGNED A PROVIDER [API ID: 63]
|
|
GETPRV(SDOEY,SDOE) | ; -- SDOE GET PROVIDERS [API ID: 58]
|
|
FINDPRV(SDOEY,SDOE,SDPRVID) | ; -- SDOE FIND PROVIDER [API ID: 69]
|
|
GETOE(SDOEY,SDOE) | ; -- SDOE GET ZERO NODE [API ID: 98]
|
|
GETGEN(SDOEY,SDOE) | ; -- SDOE GET GENERAL DATA [API ID: 76]
|
|
PARSE(SDOEY,SDATA,SDFMT) | ; -- SDOE PARSE GENERAL DATA [API ID: 78]
|
|
EXAE(SDOEY,DFN,SDBEG,SDEND,SDFLAGS) | ; -- SDOE FIND FIRST STANDALONE [API ID: 72]
|
|
GETLAST(SDOEY,DFN,SDBEG,SDFLAGS) | ; -- SDOE FIND LAST STANDALONE [API ID: 75]
|
|
EXOE(SDOEY,DFN,SDBEG,SDEND,SDFLAGS) | ; -- SDOE FIND FIRST ENCOUNTER [API ID: 74]
|
|
LIST(SDOEY,SDBEG,SDEND) | ; -- RPC: SDOE LIST ENCOUNTERS FOR DATES
|
|
LISTQ | ||
LISTPAT(SDOEY,SDFN,SDBEG,SDEND) | ; -- RPC: SDOE LIST ENCOUNTERS FOR PAT
|
|
LISTPATQ | ||
LISTVST(SDOEY,SDVST) | ; -- RPC: SDOE LIST ENCOUNTERS FOR VISIT
|
|
LISTVSTQ | ||
OPEN(SDOEY,SDQID) | ; -- initialize query
|
|
OPENQ | ||
CLOSE(SDQID) | ; -- finalize query + scan + close
|
|
CLOSEQ | ||
CB(SDOE,SDOE0,SDSTOP) | ; -- callback for LIST* tags
|
|
BUILD(IN,OUT) | ; -- build array for rpc lists
|
Name | Field # of Occurrence |
---|---|
$$CPT^SDOECPT | CPT+1 |
$$FINDCPT^SDOECPT | FINDCPT+1 |
GETCPT^SDOECPT | GETCPT+1 |
$$DX^SDOEDX | DX+1 |
$$FINDDX^SDOEDX | FINDDX+1 |
$$GETPDX^SDOEDX | GETPDX+1 |
GETDX^SDOEDX | GETDX+1 |
$$EXAE^SDOEOE | EXAE+1 |
$$EXOE^SDOEOE | EXOE+1 |
$$GETLAST^SDOEOE | GETLAST+1 |
$$GETOE^SDOEOE | GETOE+1 |
GETGEN^SDOEOE | GETGEN+3 |
PARSE^SDOEOE | PARSE+3 |
$$FINDPRV^SDOEPRV | FINDPRV+1 |
$$PRV^SDOEPRV | PRV+1 |
GETPRV^SDOEPRV | GETPRV+1 |
ACTIVE^SDQ | CLOSE+2 |
CLOSE^SDQ | CLOSE+4 |
DATE^SDQ | LIST+4, LISTPAT+5 |
INDEX^SDQ | LIST+3, LISTPAT+3, LISTVST+3 |
OPEN^SDQ | OPEN+3 |
PAT^SDQ | LISTPAT+4 |
SCAN^SDQ | CLOSE+3 |
SCANCB^SDQ | CLOSE+1 |
VISIT^SDQ | LISTVST+4 |
$$ERRCHK^SDQUT | LIST+3, LIST+4, LISTPAT+3, LISTPAT+4, LISTPAT+5, LISTVST+3, LISTVST+4, CLOSE+1, CLOSE+2, CLOSE+3 |
RPC Name | Call Tags |
---|---|
SDOE GET DIAGNOSES | GETDX |
SDOE GET PROVIDERS | GETPRV |
SDOE GET PROCEDURES | GETCPT |
SDOE ASSIGNED A PROVIDER | PRV |
SDOE ASSIGNED A DIAGNOSIS | DX |
SDOE ASSIGNED A PROCEDURE | CPT |
SDOE FIND PROVIDER | FINDPRV |
SDOE FIND DIAGNOSIS | FINDDX |
SDOE FIND PROCEDURE | FINDCPT |
SDOE FIND FIRST STANDALONE | EXAE |
SDOE GET PRIMARY DIAGNOSIS | GETPDX |
SDOE FIND FIRST ENCOUNTER | EXOE |
SDOE FIND LAST STANDALONE | GETLAST |
SDOE GET GENERAL DATA | GETGEN |
SDOE PARSE GENERAL DATA | PARSE |
SDOE GET ZERO NODE | GETOE |
SDOE LIST ENCOUNTERS FOR DATES | LIST |
SDOE LIST ENCOUNTERS FOR PAT | LISTPAT |
SDOE LIST ENCOUNTERS FOR VISIT | LISTVST |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^TMP("SD ENCOUNTER LIST" | OPEN+1, OPEN+2!, CB+1* |
Name | Line Occurrences |
---|---|
BUILD | GETGEN+4, PARSE+4 |
CLOSE | LIST+5, LISTPAT+6, LISTVST+5 |
OPEN | LIST+2, LISTPAT+2, LISTVST+2 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
DFN | EXAE~, EXAE+1, GETLAST~, GETLAST+1, EXOE~, EXOE+1 |
IEN | BUILD+1~, BUILD+2*, BUILD+3* |
IN | BUILD~ |
IN( | BUILD+3 |
LEVEL1 | GETCPT+6~, GETCPT+7*, GETCPT+8*, GETCPT+9, GETCPT+10 |
LEVEL2 | GETCPT+6~, GETCPT+7*, GETCPT+9*, GETCPT+10 |
OUT | BUILD~ |
OUT( | BUILD+3* |
SDAT | GETGEN+1~, GETGEN+2*, GETGEN+3 |
SDATA | PARSE~, PARSE+3 |
SDATAOE | GETGEN+1~, GETGEN+4, PARSE+4 |
SDBEG | EXAE~, EXAE+1, GETLAST~, GETLAST+1, EXOE~, EXOE+1, LIST~, LIST+4, LISTPAT~, LISTPAT+5 |
SDCPTID | FINDCPT~, FINDCPT+1 |
SDDXID | FINDDX~, FINDDX+1 |
SDEND | EXAE~, EXAE+1, EXOE~, EXOE+1, LIST~, LIST+4, LISTPAT~, LISTPAT+5 |
SDFLAGS | EXAE~, EXAE+1, GETLAST~, GETLAST+1, EXOE~, EXOE+1 |
SDFMT | PARSE~, PARSE+3 |
SDFN | LISTPAT~, LISTPAT+4 |
SDOE | CPT~, CPT+1, GETCPT~, GETCPT+1, FINDCPT~, FINDCPT+1, DX~, DX+1, GETDX~, GETDX+1 , FINDDX~, FINDDX+1, GETPDX~, GETPDX+1, PRV~, PRV+1, GETPRV~, GETPRV+1, FINDPRV~, FINDPRV+1 , GETOE~, GETOE+1, GETGEN~, GETGEN+3, CB~, CB+1 |
SDOE0 | CB~, CB+1 |
SDOEY | CPT~, CPT+1*, GETCPT~, FINDCPT~, FINDCPT+1*, DX~, DX+1*, GETDX~, FINDDX~, FINDDX+1* , GETPDX~, GETPDX+1*, PRV~, PRV+1*, GETPRV~, FINDPRV~, FINDPRV+1*, GETOE~, GETOE+1*, GETGEN~ , GETGEN+4, PARSE~, PARSE+4, EXAE~, EXAE+1*, GETLAST~, GETLAST+1*, EXOE~, EXOE+1*, LIST~ , LIST+2, LISTPAT~, LISTPAT+2, LISTVST~, LISTVST+2, OPEN~, OPEN+1* |
SDOEY( | GETCPT+8, GETCPT+9, GETCPT+10! |
SDPRVID | FINDPRV~, FINDPRV+1 |
SDQID | LIST+1~, LIST+2, LIST+3, LIST+4, LIST+5, LISTPAT+1~, LISTPAT+2, LISTPAT+3, LISTPAT+4, LISTPAT+5 , LISTPAT+6, LISTVST+1~, LISTVST+2, LISTVST+3, LISTVST+4, LISTVST+5, OPEN~, OPEN+3, CLOSE~, CLOSE+1 , CLOSE+2, CLOSE+3, CLOSE+4 |
SDSTOP | CB~ |
SDVST | LISTVST~, LISTVST+4 |
SDY | PARSE+1~, PARSE+2*, PARSE+3 |