PXUTLSTP ;ISL/dee,ESW - Utility routine used by PCE to add/edit/delete stop code visits ; 10/11/2017
Source file <PXUTLSTP.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 |
|---|---|---|
| PCE Patient Care Encounter | 3 | PXAPIDEL PXBSTOR1 PXCEVFI2 |
| Scheduling | 1 | SDCODEL |
| Name | Comments | DBIA/ICR reference |
|---|---|---|
| STOPCODE(PXUTSOR,PXUTSTOP,PXUTVST,PXUTSVST) | ;Makes or edits visit to create the secondary visit for the credit stops
; Parameters ; PXUTSOR IEN of the Data source ; PXUTSTOP Pointer to Stop Code OR "@" if delete the secondary visit ; PXUTVST Main visit ; PXUTSVST Secondary visit ; if there is not one then create one ; if there is one then this is an edit or delete |
|
| DELETE | ||
| EDIT | ||
| CREATE | ||
| DEAD(VSIT) | ;---*** ADDED IN ALBANY BY VAUGHN
|
| Name | Line Occurrences (* Changed, ! Killed) |
|---|---|
| ^AUPNVSIT - [#9000010] | DELETE+4, EDIT+1, CREATE+3, CREATE+9, DEAD+6 |
| ^AUPNVSIT("AD" | DEAD+5 |
| ^SCE("AVSIT" | DELETE+11 |
| ^TMP("PXK" | STOPCODE+17!, DELETE+4*, DELETE+5*, DELETE+6*, DELETE+12*, EDIT+1*, EDIT+2*, EDIT+3*, CREATE+1*, CREATE+2* , CREATE+3*, CREATE+4*, CREATE+5*, CREATE+6*, CREATE+7*, CREATE+8*, CREATE+10*, CREATE+11*, CREATE+12*, CREATE+15* , CREATE+17, CREATE+19! |
| >> | Not killed explicitly |
| * | Changed |
| ! | Killed |
| ~ | Newed |
| Name | Field # of Occurrence |
|---|---|
| CHILD | DEAD+4~, DEAD+5*, DEAD+6 |
| DEAD | DEAD+4~, DEAD+6* |
| PXKERROR | STOPCODE+16~ |
| PXUAFTER | STOPCODE+16~, CREATE+9*, CREATE+10 |
| PXUTEXIT | STOPCODE+16~, STOPCODE+18*, STOPCODE+20 |
| PXUTKILL | CREATE+21~, CREATE+22*, CREATE+23 |
| PXUTNODE | STOPCODE+16~, DELETE+3*, DELETE+4, EDIT*, EDIT+1, CREATE*, CREATE+1, CREATE+2 |
| PXUTRET | STOPCODE+16~, CREATE+17*, CREATE+20, CREATE+23*, CREATE+25 |
| PXUTSOR | STOPCODE~, CREATE+7, CREATE+15 |
| PXUTSTOP | STOPCODE~, STOPCODE+21, EDIT+2, CREATE+10, CREATE+20 |
| PXUTSVST | STOPCODE~, STOPCODE+20, DELETE+4, DELETE+6, EDIT+1, EDIT+3, CREATE+20, CREATE+22 |
| PXUTVST | STOPCODE~, DELETE+9, DELETE+11, DELETE+15, EDIT+5, CREATE+3, CREATE+9, CREATE+10, CREATE+24 |
| SDOEP | DELETE+14~, DELETE+15, DELETE+16*, DELETE+17* |
| VSIT | DEAD~, DEAD+3, DEAD+5 |