SDOERPC ;ALB/MJK - ACRP RPCs For An Encounter ;8/12/96
Source file <SDOERPC.m>
Package | Total | Caller Graph |
---|---|---|
Scheduling | 3 | SDSCAPI SDSCEDT SDWLQSC1 |
Automated Lab Instruments | 2 | LA7CHLU3 LA7VHLU3 |
PCE Patient Care Encounter | 1 | PXUTLSTP |
Name | Comments | DBIA/ICR reference |
---|---|---|
LISTVSTQ | ||
GETOE(SDOEY,SDOE) | ; -- SDOE GET ZERO NODE [API ID: 98]
|
|
FINDDX(SDOEY,SDOE,SDDXID) | ; -- SDOE FIND DIAGNOSIS [API ID: 70]
|
|
OPEN(SDOEY,SDQID) | ; -- initialize query
|
|
LIST(SDOEY,SDBEG,SDEND) | ; -- RPC: SDOE LIST ENCOUNTERS FOR DATES
|
|
OPENQ | ||
FINDCPT(SDOEY,SDOE,SDCPTID) | ; -- SDOE FIND PROCEDURE [API ID: 71]
|
|
PRV(SDOEY,SDOE) | ; -- SDOE ASSIGNED A PROVIDER [API ID: 63]
|
|
CB(SDOE,SDOE0,SDSTOP) | ; -- callback for LIST* tags
|
|
LISTPAT(SDOEY,SDFN,SDBEG,SDEND) | ; -- RPC: SDOE LIST ENCOUNTERS FOR PAT
|
|
EXAE(SDOEY,DFN,SDBEG,SDEND,SDFLAGS) | ; -- SDOE FIND FIRST STANDALONE [API ID: 72]
|
|
GETGEN(SDOEY,SDOE) | ; -- SDOE GET GENERAL DATA [API ID: 76]
|
|
LISTVST(SDOEY,SDVST) | ; -- RPC: SDOE LIST ENCOUNTERS FOR VISIT
|
|
GETCPT(SDOEY,SDOE) | ; -- SDOE GET PROCEDURES [API ID: 61]
|
|
DX(SDOEY,SDOE) | ; -- SDOE ASSIGNED A DIAGNOSIS [API ID: 64]
|
|
CPT(SDOEY,SDOE) | ; -- SDOE ASSIGNED A PROCEDURE [API ID: 65]
|
|
EXOE(SDOEY,DFN,SDBEG,SDEND,SDFLAGS) | ; -- SDOE FIND FIRST ENCOUNTER [API ID: 74]
|
|
GETLAST(SDOEY,DFN,SDBEG,SDFLAGS) | ; -- SDOE FIND LAST STANDALONE [API ID: 75]
|
|
PARSE(SDOEY,SDATA,SDFMT) | ; -- SDOE PARSE GENERAL DATA [API ID: 78]
|
|
CLOSEQ | ||
LISTPATQ | ||
LISTQ | ||
FINDPRV(SDOEY,SDOE,SDPRVID) | ; -- SDOE FIND PROVIDER [API ID: 69]
|
|
GETDX(SDOEY,SDOE) | ; -- SDOE GET DIAGNOSES [API ID: 56]
|
|
CLOSE(SDQID) | ; -- finalize query + scan + close
|
|
GETPDX(SDOEY,SDOE) | ; -- SDOE GET PRIMARY DIAGNOSIS [API ID: 73]
|
|
GETPRV(SDOEY,SDOE) | ; -- SDOE GET PROVIDERS [API ID: 58]
|
|
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 |