Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables |  Marked Items  | All
Print Page as PDF
Routine: SROAPM

Package: Surgery

Routine: SROAPM


Information

SROAPM ;BIR/ADM - PATIENT DEMOGRAPHIC INFO ;05/28/10

Source Information

Source file <SROAPM.m>

Call Graph

Call Graph

Call Graph Total: 10

Package Total Call Graph
Surgery 5 ^SROAPIMS  (,HDR)^SROAUTL  ^SROERR0  ($$LOCK,UNLOCK)^SROUTL  ^SRSKILL  
VA FileMan 4 WAIT^DICD  ^DIE  EN^DIQ1  ^DIR  
Registration 1 DEM^VADPT  

Caller Graph

Legends:

Legend of Colors

Package Component Superscript legend

action A extended action Ea event driver Ed subscriber Su protocol O limited protocol LP run routine RR broker B edit E server Se print P screenman SM inquire I

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
Surgery 1 SROA DEMOGRAPHICS  

Entry Points

Name Comments DBIA/ICR reference
START
EDIT
WRAP ;Wrap multiple race entries so that wrapped line
EXT
SEL
PIMS ; get update from PIMS records
HELP
PRESS
RANGE ; range of numbers
ONE ; edit one item
TR
GET
END
PJAA ;;.011^Hospital Admission Status
BDG ;;247^Length of Postop Hospital Stay
DAC ;;413^Transfer Status
DAG ;;417^Patient's Race
DAH ;;418^Hospital Admission Date/Time
DAI ;;419^Hospital Discharge Date/Time
DBJ ;;420^Admit/Transfer to Surgical Svc.
DBA ;;421^Discharge/Transfer to Chronic Care
FHE ;;685^DC/REL Destination
DEB ;;452^Observation Admission Date/Time
DEC ;;453^Observation Discharge Date/Time
DED ;;454^Observation Treating Specialty
CDB ;;342^Date of Death
CDBPA ;;342.1^30-Day Death

External References

Name Field # of Occurrence
WAIT^DICD PIMS+3
^DIE ONE+2
EN^DIQ1 EDIT+1, EDIT+32
^DIR START+3, PIMS+1, PRESS
^SROAPIMS PIMS+3
^SROAUTL SROAPM+3
HDR^SROAUTL STARTEDIT
^SROERR0 EDIT+41
$$LOCK^SROUTL SEL+9, PIMS+2, RANGE+1
UNLOCK^SROUTL SEL+9, PIMS+2, RANGE+1
^SRSKILL END
DEM^VADPT EDIT+7

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: SROAPM+2
Function Call: WRITE
  • Prompt: !!,"A Surgery Risk Assessment must be selected prior to using this option.",!!,"Press <RET> to continue "
  • Line Location: SROAPM+2
Function Call: WRITE
  • Prompt: !,"12. *Patient's Ethnicity:"
  • Line Location: EDIT+9
Function Call: WRITE
  • Prompt: ?40,$P(VADM(11,1),U,2)
  • Line Location: EDIT+10
Function Call: WRITE
  • Prompt: ?40,"UNANSWERED"
  • Line Location: EDIT+11
Function Call: WRITE
  • Prompt: !,"13. *Patient's Race:"
  • Line Location: EDIT+25
Function Call: WRITE
  • Prompt: ?40,"UNANSWERED"
  • Line Location: EDIT+30
Function Call: WRITE
  • Prompt: !!
  • Line Location: EDIT+39
Function Call: WRITE
  • Prompt: "-"
  • Line Location: EDIT+39
Function Call: WRITE
  • Prompt: ?40,SREXT
  • Line Location: EXT+0
Function Call: WRITE
  • Prompt: $S(SREXT="":"",SREXT=1:" Day",SREXT=0:" Days",SREXT>1:" Days",1:"")
  • Condition for execution: SRFLD=247
  • Line Location: EXT+0
Function Call: WRITE
  • Prompt: ?40,X
  • Line Location: EXT+1
Function Call: WRITE
  • Prompt: ?40,$E(X,1,J-1)
  • Line Location: EXT+2
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: SEL+0
Function Call: WRITE
  • Prompt: !!,"The Patient's Race and Ethnicity information cannot be updated through the"
  • Line Location: SEL+1
Function Call: WRITE
  • Prompt: @IOF,!!!!,"Enter the number or range of numbers you want to edit. Examples of proper",!,"responses are listed below.",!!,"NOTE: Items 12 and 13 cannot be updated through the surgery package options."
  • Line Location: HELP+0
Function Call: WRITE
  • Prompt: !!,"1. Enter 'A' to update items 1 through 11 and item 14.",!!,"2. Enter a number (1-"_SRZ_") to update an individual item. (For example,",!," enter '1' to update "_$P(SRZ(1),"^")_")"
  • Line Location: HELP+1
Function Call: WRITE
  • Prompt: !!,"3. Enter a range of numbers (1-"_SRZ_") separated by a ':' to enter a range",!," of items. (For example, enter '1:4' to update items 1, 2, 3 and 4.)",!
  • Line Location: HELP+2
Function Call: WRITE
  • Prompt: !,"4. Enter 'N' or 'NO' to enter negative response for all items.",!!,"5. Enter '@' to delete information from all items.",!
  • Line Location: HELP+3
Function Call: WRITE
  • Prompt: !
  • Line Location: PRESS+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: END+0
Routine Call
  • DIE
  • Line Location:
    • ONE+2
Routine Call
  • DIR
  • Line Location:
    • START+3
    • PIMS+1
    • PRESS

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^SRF - [#130] Classic Fileman Calls

Label References

Name Line Occurrences
EDIT EDIT+40
END SROAPM+2, STARTSTART+3
EXT EDIT+5, EDIT+36
GET EDIT+3, EDIT+34
HELP SEL+4, SEL+5
ONE SEL+9, RANGE+3
PIMS START+4
RANGE SEL+7
SEL EDIT+40
START START+4, EDIT+42
TR EDIT+3, EDIT+34
WRAP EDIT+23

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> C EDIT+14*, EDIT+15, EDIT+16, EDIT+17, EDIT+18, EDIT+19*
>> CURLEY RANGE+2*, RANGE+3
>> D EDIT+26*, EDIT+27, EDIT+28
DA EDIT+1!*, EDIT+32!*, ONE+2!*
DIC EDIT+1!*, EDIT+32!*
DIE ONE+2!*
DIQ EDIT+1!*, EDIT+32!*
DIQ(0 EDIT+1*, EDIT+32*
DIR START+3!, PIMS+1!, PRESS!
DIR("?" START+2*
DIR("A" START+1*, START+3*, PIMS+1*, PRESS*
DIR("B" PIMS+1*
DIR(0 START+3*, PIMS+1*, PRESS*
DR EDIT!*, EDIT+1*!, EDIT+32!*, ONE+2!*
DTIME SROAPM+2, SELSEL+3
>> DTOUT START+3, PIMS+1, PRESS
>> DUOUT START+3, PIMS+1, PRESS
>> E WRAP+3*, WRAP+4, WRAP+7, WRAP+8*
>> EMILY SEL+8*, RANGE+3*, ONE+1, ONE+2
I EDIT+2*, EDIT+33*, WRAP+4*, WRAP+5, WRAP+6, WRAP+7, WRAP+10, WRAP+11, WRAP+12, EXT+1~
EXT+2*, TR
IOF HELPEND
J EXT+1~, EXT+2*, TR*
>> K EDIT+39*, WRAP+5*, WRAP+6, WRAP+7
>> M EDIT+2*, EDIT+33*
>> N EDIT+14*, EDIT+22
>> SHEMP RANGE+2*, RANGE+3
>> SRDR EDIT*, EDIT+1, EDIT+2, EDIT+32*, EDIT+33
>> SRDT ONE+2*
>> SREXT EDIT+4*, EDIT+35*, EXTEXT+1
>> SRFLD EDIT+4*, EDIT+35*, EXT
>> SRFLG SEL+4, HELP+3
>> SRNUM WRAP+15*, WRAP+16*, WRAP+17
SRNUM1 EDIT+22*, EDIT+26, EDIT+37!, WRAP+15*, WRAP+17, WRAP+18*
>> SROERR EDIT+41*
SROL EDIT+14*, EDIT+37!, WRAP+3*
SROL( EDIT+22*, EDIT+27, EDIT+28, WRAP+17*
SROLINE EDIT+14*, EDIT+17*, EDIT+18*, EDIT+22, EDIT+23, EDIT+37!, WRAP+3, WRAP+4
SROLN EDIT+37!, WRAP+3*
SROLN( WRAP+4*, WRAP+5, WRAP+6, WRAP+7, WRAP+10
SROLN1 EDIT+37!, WRAP+3*
SROLN1( WRAP+6*, WRAP+10*, WRAP+11*, WRAP+12*, WRAP+16, WRAP+17
SROLNGTH WRAP+3~*, WRAP+4
SRORACE EDIT+14*, EDIT+37!
SRORACE( EDIT+16*, EDIT+17, EDIT+18
SRORC EDIT+14*, EDIT+15*, EDIT+16, EDIT+37!
SROWRAP EDIT+37!, WRAP+3*, WRAP+4, WRAP+7*, WRAP+10*, WRAP+11, WRAP+12
>> SRQ EDIT*
>> SRR EDIT*, EDIT+40, SEL+1*, SEL+4*, SEL+5*, SEL+7*, SEL+8*
>> SRSOUT SROAPM+3*, STARTSTART+3*, SEL*, PRESS*, RANGE+3, ONE+2*
>> SRSUPCPT SROAPM+3*
>> SRTN SROAPM+2, EDIT+1, EDIT+4, EDIT+32, EDIT+35, EDIT+41, SEL+9, PIMS+2, RANGE+1, ONE+2
SRY EDIT+1!, EDIT+32!
SRY(130 EDIT+4, EDIT+35
SRZ EDIT+2!*, EDIT+4*, EDIT+5, EDIT+33*, EDIT+35*, EDIT+36, SEL+5, SEL+6, HELP+1, HELP+2
SRZ( EDIT+4*, EDIT+35*, SEL+4, SEL+8, ONE+2
SRZ(1 HELP+1
SRZ(12 EDIT+9*
SRZ(13 EDIT+25*
U EDIT+10, EDIT+16
>> VADM(11 EDIT+10, EDIT+11
>> VADM(12 EDIT+15, EDIT+16, EDIT+26, EDIT+30
X SROAPM+2*, EDIT+4, EDIT+35, EXT+1~*, EXT+2*, SEL*, SEL+1, SEL+3*, SEL+4*, SEL+5
SEL+6*, SEL+7, SEL+8, RANGE+2, GET*
Y START+3, START+4, EDIT+4*, EDIT+35*, EXT+1~, EXT+2*, SEL+5*, PIMS+1, ONE+2
>> Z EDIT+4*, EDIT+5, EDIT+35*, EDIT+36, SEL+5*

Marked Items

Name Field # of Occurrence
$T(@J GET
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Label References |  Local Variables |  Marked Items  | All