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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: SROAPAS

Package: Surgery

Routine: SROAPAS


Information

SROAPAS ;BIR/MAM - PRINT A COMPLETE ASSESSMENT ;03/03/08

Source Information

Source file <SROAPAS.m>

Call Graph

Call Graph Total: 13

Package Total Call Graph
Surgery 9 ^SROAPCA  ^SROAPRT1  ^SROAPRT2  (,OPTIMES)^SROAPRT3  ^SROAPRT4  ^SROAPRT5  ^SROAPRT6  ^SROSTOP  
^SRSKILL  
DRG Grouper 1 $$CPT^ICPTCOD  
Kernel 1 ^%ZISC  
Registration 1 DEM^VADPT  
VA Fileman 1 (D,Y)^DIQ  

Caller Graph

Caller Graph Total: 5

Package Total Caller Graph
Surgery 5 SROABCH  SROACOM  SROACOM1  SROAPRT3  SROAPRT6  

Entry Points

Name Comments DBIA/ICR reference
CODE ; print CPT Code
END
HDR ; print heading
WRAP ;Wrap multiple race entries so that wrapped line
PAGE
LOOP ; break procedures

External References

Name Field # of Occurrence
^%ZISC END+2
D^DIQ SROAPAS+8
Y^DIQ SROAPAS+9, SROAPAS+38, SROAPAS+41
$$CPT^ICPTCOD CODE+1
^SROAPCA SROAPAS+5
^SROAPRT1 SROAPAS+53
^SROAPRT2 SROAPAS+54
^SROAPRT3 SROAPAS+56
OPTIMES^SROAPRT3 SROAPAS+55
^SROAPRT4 SROAPAS+57
^SROAPRT5 SROAPAS+58
^SROAPRT6 SROAPAS+59
^SROSTOP HDR+1
^SRSKILL END+2
DEM^VADPT SROAPAS+4, SROAPAS+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"Medical Center: "_SRSITE("SITE")
  • Line Location: SROAPAS+7
Function Call: WRITE
  • Prompt: !,"Age: ",?16,AGE
  • Line Location: SROAPAS+8
Function Call: WRITE
  • Prompt: ?40,"Operation Date: ",?59,$P(Y,"@")
  • Line Location: SROAPAS+8
Function Call: WRITE
  • Prompt: !,"Sex: ",?16,$P(VADM(5),"^",2),?40,"Ethnicity:",?51,SROETH
  • Line Location: SROAPAS+29
Function Call: WRITE
  • Prompt: !,?40,"Race:"
  • Line Location: SROAPAS+30
Function Call: WRITE
  • Prompt: ?51,"UNANSWERED"
  • Line Location: SROAPAS+34
Function Call: WRITE
  • Prompt: !,"Transfer Status: ",X
  • Line Location: SROAPAS+38
Function Call: WRITE
  • Prompt: !,"Hospital Admission Date:",?47,Z
  • Line Location: SROAPAS+44
Function Call: WRITE
  • Prompt: !,"Hospital Discharge Date:",?47,Z
  • Line Location: SROAPAS+45
Function Call: WRITE
  • Prompt: !,"Admitted/Transferred to Surgical Service:",?47,Z
  • Line Location: SROAPAS+46
Function Call: WRITE
  • Prompt: !,"Discharged/Transferred to Chronic Care:",?47,Z
  • Line Location: SROAPAS+47
Function Call: WRITE
  • Prompt: !,"In/Out-Patient Status:",?47,$S($P($G(^SRF(SRTN,0)),"^",12)="I":"INPATIENT",$P($G(^SRF(SRTN,0)),"^",12)="O":"OUTPATIENT",1:"")
  • Line Location: SROAPAS+48
Function Call: WRITE
  • Prompt: !,"Date Surgery Consult Requested:",?47,Y
  • Line Location: SROAPAS+49
Function Call: WRITE
  • Prompt: !,"Surgery Consult Date:",?47,Y
  • Line Location: SROAPAS+50
Function Call: WRITE
  • Prompt: !
  • Line Location: SROAPAS+51
Function Call: WRITE
  • Prompt: "-"
  • Line Location: SROAPAS+51
Function Call: WRITE
  • Prompt: !!,"Press <RET> to continue "
  • Line Location: END+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: END+2
Function Call: READ
  • Timeout: DTIME
  • Variable: X
  • Line Location: PAGE+0
Function Call: WRITE
  • Prompt: !!,"Enter <RET> to continue printing the remaining pages of this assessment, or",!,"'^' to exit this option."
  • Line Location: PAGE+1
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: PAGE+2
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,"VA CARDIAC RISK ASSESSMENT",?70,"PAGE "_SRPG
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: !,"VA NON-CARDIAC RISK ASSESSMENT Assessment: "_SRTN,?69,"PAGE "_SRPG
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,"FOR "_SRANM
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: " ("_$S(X="I":"INCOMPLETE",X="C":"COMPLETED",X="T":"TRANSMITTED",1:"NO ASSESSMENT")
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: " ("_$S(X="I":"INCOMPLETE",X="C":"COMPLETED",X="T":"TRANSMITTED",1:"NO ASSESSMENT")
  • Line Location: HDR+6
Function Call: WRITE
  • Prompt: ")",!
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: "="
  • Line Location: HDR+7
Function Call: WRITE
  • Prompt: !
  • Line Location: HDR+8
Function Call: WRITE
  • Prompt: " ("_$P($$CPT^ICPTCOD(X),"^",2)_")"
  • Line Location: CODE+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DD("DD" SROAPAS+40, SROAPAS+43, SROAPAS+49, SROAPAS+50
^DD(130 SROAPAS+9, SROAPAS+38, SROAPAS+41
^SRF - [#130] SROAPAS+2, SROAPAS+3, SROAPAS+4, SROAPAS+9, SROAPAS+38, SROAPAS+39, SROAPAS+43, SROAPAS+48, SROAPAS+49, SROAPAS+50
, CODE+1

Label References

Name Line Occurrences
END SROAPAS+5, SROAPAS+6, SROAPAS+52, SROAPAS+53, SROAPAS+54, SROAPAS+55, SROAPAS+56, SROAPAS+57, SROAPAS+58
HDR SROAPAS+6
PAGE SROAPAS+52, SROAPAS+53, SROAPAS+54, SROAPAS+55, SROAPAS+56, SROAPAS+57, SROAPAS+58, PAGE+1
WRAP SROAPAS+27

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> AGE SROAPAS+4*, SROAPAS+8
>> C SROAPAS+9*, SROAPAS+18*, SROAPAS+19, SROAPAS+20, SROAPAS+21, SROAPAS+22, SROAPAS+23*, SROAPAS+38*, SROAPAS+41*
>> D SROAPAS+31*, SROAPAS+32, SROAPAS+33
>> DFN SROAPAS+4*
DTIME END, PAGE
>> E WRAP+3*, WRAP+4, WRAP+7, WRAP+8*
>> I SROAPAS+2*, WRAP+4*, WRAP+5, WRAP+6, WRAP+7, WRAP+10, WRAP+11, WRAP+12
IOF SROAPAS+6, END+1, END+2, PAGE+2, HDR+3
IOSL SROAPAS+53, SROAPAS+54, SROAPAS+55, SROAPAS+56, SROAPAS+57, SROAPAS+58
IOST SROAPAS+6, SROAPAS+51, SROAPAS+52, END, END+1, PAGE
>> J SROAPAS+39*, SROAPAS+40, SROAPAS+41, SROAPAS+42, SROAPAS+43*
>> K WRAP+5*, WRAP+6, WRAP+7
>> LINE HDR+7*
>> LOOP LOOP+1*
>> M LOOP+1
>> MM LOOP+1*
>> MMM LOOP+1*
>> MOE SROAPAS+51*
>> N SROAPAS+18*, SROAPAS+26
>> SR CODE+1
>> SR("RA" SROAPAS+2*, SROAPAS+5, HDR+6
>> SR(0 SROAPAS+4*
>> SRA( SROAPAS+2*
>> SRA("CON" SROAPAS+3*
>> SRA("OP" SROAPAS+3*
>> SRABATCH END
>> SRANM SROAPAS+4*, HDR+6
>> SRATYPE SROAPAS+2*, HDR+4, HDR+5
>> SRHALT HDR+1
>> SRNUM WRAP+15*, WRAP+16*, WRAP+17
SRNUM1 SROAPAS+26*, SROAPAS+31, SROAPAS+36!, WRAP+15*, WRAP+17, WRAP+18*
SROETH SROAPAS+13*, SROAPAS+14*, SROAPAS+15*, SROAPAS+29, END+2!
SROL SROAPAS+18*, SROAPAS+36!, WRAP+3*
SROL( SROAPAS+26*, SROAPAS+32, SROAPAS+33, WRAP+17*
SROLINE SROAPAS+18*, SROAPAS+21*, SROAPAS+22*, SROAPAS+26, SROAPAS+27, SROAPAS+36!, WRAP+3, WRAP+4
SROLN SROAPAS+36!, WRAP+3*
SROLN( WRAP+4*, WRAP+5, WRAP+6, WRAP+7, WRAP+10
SROLN1 SROAPAS+36!, WRAP+3*
SROLN1( WRAP+6*, WRAP+10*, WRAP+11*, WRAP+12*, WRAP+16, WRAP+17
>> SROLNGTH WRAP+3*, WRAP+4
>> SROPER LOOP+1*
>> SROPS( LOOP+1*
SRORACE SROAPAS+18*, SROAPAS+36!
SRORACE( SROAPAS+20*, SROAPAS+21, SROAPAS+22
SRORC SROAPAS+18*, SROAPAS+19*, SROAPAS+20, SROAPAS+36!
SROWRAP SROAPAS+36!, WRAP+3*, WRAP+4, WRAP+7*, WRAP+10*, WRAP+11, WRAP+12
>> SRPG SROAPAS+2*, HDR+2*, HDR+4, HDR+5
>> SRPTMODT( SROAPAS+43*
>> SRPTMODT(14 SROAPAS+44
>> SRPTMODT(15 SROAPAS+45
>> SRPTMODT(16 SROAPAS+46
>> SRPTMODT(17 SROAPAS+47
>> SRSDATE SROAPAS+4*, SROAPAS+8
>> SRSITE("SITE" SROAPAS+7
>> SRSOUT SROAPAS+2*, SROAPAS+6, SROAPAS+52, SROAPAS+53, SROAPAS+54, SROAPAS+55, SROAPAS+56, SROAPAS+57, SROAPAS+58, END
, PAGE*, HDR+1*
SRTN SROAPAS+2, SROAPAS+3, SROAPAS+4, SROAPAS+9, SROAPAS+38, SROAPAS+39, SROAPAS+43, SROAPAS+48, SROAPAS+49, SROAPAS+50
, END+2!, HDR+5, CODE+1
U SROAPAS+14, SROAPAS+20
>> VA("PID" SROAPAS+4
>> VADM(1 SROAPAS+4
>> VADM(11 SROAPAS+14, SROAPAS+15
>> VADM(12 SROAPAS+19, SROAPAS+20, SROAPAS+31, SROAPAS+34
>> VADM(3 SROAPAS+4
>> VADM(5 SROAPAS+29
>> X SROAPAS+9*, SROAPAS+38*, SROAPAS+44*, SROAPAS+45*, SROAPAS+46*, SROAPAS+47*, END*, PAGE*, PAGE+1, HDR+6*
, CODE+1*
>> Y SROAPAS+4*, SROAPAS+8*, SROAPAS+9*, SROAPAS+38*, SROAPAS+39*, SROAPAS+40, SROAPAS+41, SROAPAS+43*, SROAPAS+49*, SROAPAS+50*
, HDR+6*
>> Z SROAPAS+4*, SROAPAS+40*, SROAPAS+41*, SROAPAS+42, SROAPAS+44*, SROAPAS+45*, SROAPAS+46*, SROAPAS+47*
>> ZTQUEUED END+1, HDR+1
>> ZTREQ END+1*
>> ZTSTOP END+1
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All