| 1 | SDPCE0 ;MJK/ALB - Process PCE Event Data ;01 APR 1993
 | 
|---|
| 2 |  ;;5.3;Scheduling;**27**;08/13/93
 | 
|---|
| 3 |  ;
 | 
|---|
| 4 |  ; -- Variable definitions for SDPCE routines
 | 
|---|
| 5 |  ; SDVIST    - visit file ien
 | 
|---|
| 6 |  ; SDVIST()  - visit data array
 | 
|---|
| 7 |  ;  subscripts:
 | 
|---|
| 8 |  ;    BEFORE - PCE event data 'before' value of visit ien 0th node
 | 
|---|
| 9 |  ;    AFTER  - PCE event data 'after' value of visit ien 0th node
 | 
|---|
| 10 |  ; SDSCB     - stop code ien from PCE event 'before' data (piece 8) 
 | 
|---|
| 11 |  ; SDSCA     - stop code ien from PCE event 'after' data (piece 8) 
 | 
|---|
| 12 |  ; SCSC      - stop code ien of clinc
 | 
|---|
| 13 |  ;             (no before/after - since clinic can't change)
 | 
|---|
| 14 |  ; SD800B    - PCE event data 'before' value of visit ien 800 node
 | 
|---|
| 15 |  ; SD800A    - PCE event data 'after' value of visit ien 800 node
 | 
|---|
| 16 |  ; SDEVENT   - array that holds data for api
 | 
|---|
| 17 |  ; SDEVENT() - subscripted as defined by api
 | 
|---|
| 18 |  ; SDERR     - array that holds errors/warnings from api
 | 
|---|
| 19 |  ; SDTYPR    - type of error message (ERROR or WARNING)
 | 
|---|
| 20 |  ; DFN       - paitent file ien
 | 
|---|
| 21 |  ; SDT       - encounter date/time
 | 
|---|
| 22 |  ; SDCL      - hospital location file ien
 | 
|---|
| 23 |  ; CLASS     - classification abbrevation code (ie. 'SC','AO','IR','EC')
 | 
|---|
| 24 |  ; SDI       - general count increment variable
 | 
|---|
| 25 |  ; SDB       - general variable to hold 'B'efore value
 | 
|---|
| 26 |  ; SDA       - general variable to hold 'A'fter value
 | 
|---|
| 27 |  ; SDPRVI    - V-Provider ien
 | 
|---|
| 28 |  ; SDPRVB    - 'Before' value of V-Provider 0th node
 | 
|---|
| 29 |  ; SDPRVA    - 'After' value of V-Provider 0th node
 | 
|---|
| 30 |  ; SDCPTI    - V-CPT ien
 | 
|---|
| 31 |  ; SDCPTB    - 'Before' value of V-CPT 0th node
 | 
|---|
| 32 |  ;             Also used for 'before' value of 'level of care' field
 | 
|---|
| 33 |  ;             from 0th node of visit
 | 
|---|
| 34 |  ; SDCPTA    - 'After' value of V-CPT 0th node
 | 
|---|
| 35 |  ;             Also used for 'after' value of 'level of care' field
 | 
|---|
| 36 |  ;             from 0th node of visit
 | 
|---|
| 37 |  ; SDPOVI    - V-POV ien
 | 
|---|
| 38 |  ; SDPOV     - V-POV ien
 | 
|---|
| 39 |  ; SDPOVB    - 'Before' value of V-POV 0th node
 | 
|---|
| 40 |  ; SDPOVA    - 'After' value of V-POV 0th node
 | 
|---|
| 41 |  ; CODE      - CPT code value
 | 
|---|
| 42 |  ;             IDC9 code value
 | 
|---|
| 43 |  ; ACTION    - action node value for api (ADD/CHANGE/DELETE)
 | 
|---|
| 44 |  ; VAREA     - V-file related area that corresponds to the api's
 | 
|---|
| 45 |  ;             SDEVENT node (ie. 'PROCEDURE', 'DIAGNOSIS')
 | 
|---|
| 46 |  ; ITEM      - Detail node related to VAREA desendents
 | 
|---|
| 47 |  ;             (ie. actual CPT code, ICD9 code)
 | 
|---|
| 48 |  ; ADD       - 'ADD' node value of CPT code in SDEVENT array
 | 
|---|
| 49 |  ; DEL       - 'DELETE' node value of CPT code in SDEVENT array
 | 
|---|