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

Package: Surgery

Routine: SROACPM


Information

SROACPM ;BIR/ADM - CARDIAC RESOURCE INFO ;12/04/07

Source Information

Source file <SROACPM.m>

Call Graph

Call Graph

Call Graph Total: 12

Package Total Call Graph
Surgery 5 ^SROACPM0  ^SROAPIMS  (,HDR)^SROAUTL  ($$LOCK,UNLOCK)^SROUTL  ^SRSKILL  
VA FileMan 5 C^%DTC  WAIT^DICD  ^DIE  EN^DIQ1  ^DIR  
Kernel 1 $$FMDIFF^XLFDT  
Registration 1 IN5^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 CARDIAC RESOURCE  

Entry Points

Name Comments DBIA/ICR reference
START
EDIT
CHCK ; compare admission and discharge dates to each other
EXT
SEL
END
PIMS ; get update from PIMS records
HELP
PRESS
RANGE ; range of numbers
ONE ; edit one item
OK ; compare admission date to discharge date
LIST ; display list of patient movements
MVMT
ADM
TR
GET
DAC ;;413^Transfer Status
DAH ;;418^Hospital Admission Date
DAI ;;419^Hospital Discharge Date
FHE ;;685^DC/REL Destination
DDJ ;;440^Cardiac Catheterization Date
PBJE ;;.205^Time Patient In OR
PBB ;;.22^Date/Time Operation Began
PBC ;;.23^Date/Time Operation Ended
PBCB ;;.232^Time Patient Out OR
DGJ ;;470^Date/Time Patient Extubated
DGA ;;471^Date/Time Discharged from ICU
DGC ;;473^Homeless
DDB ;;442^Employment Status Preoperatively
CDB ;;342^Date of Death
CDBPA ;;342.1^30-Day Death

External References

Name Field # of Occurrence
C^%DTC ADM+1
WAIT^DICD PIMS+2
^DIE ONE+2, LIST+11, LIST+12
EN^DIQ1 EDIT+2
^DIR START+3, PIMS+1, PRESSLIST+10
^SROACPM0 END
^SROAPIMS PIMS+2
^SROAUTL SROACPM+6
HDR^SROAUTL STARTEDIT+1
$$LOCK^SROUTL SEL+6, RANGE+1
UNLOCK^SROUTL SEL+6, RANGE+1
^SRSKILL EDIT+9, END+1
IN5^VADPT MVMTADMADM+1
$$FMDIFF^XLFDT EXT+3

Interaction Calls

Name Line Occurrences
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: SROACPM+5
Function Call: WRITE
  • Prompt: !!,"A Surgery Risk Assessment must be selected prior to using this option.",!!,"Press <RET> to continue "
  • Line Location: SROACPM+5
Function Call: WRITE
  • Prompt: $J(SRZ,2)_". "_$P(Z,"^")_": "
  • Line Location: EDIT+6
Function Call: WRITE
  • Prompt: "-"
  • Line Location: EDIT+7
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: EDIT+9
Function Call: WRITE
  • Prompt: !
  • Line Location: CHCK+3
Function Call: WRITE
  • Prompt: !,"*** NOTE: Discharge Date precedes Admission Date!! Please check. ***"
  • Line Location: CHCK+4
Function Call: WRITE
  • Prompt: !,"*** NOTE: D/Time Pt Extubated should be later than the D/Time Pt Out of OR. ***"
  • Line Location: CHCK+5
Function Call: WRITE
  • Prompt: !,"*** NOTE: D/Time Pt Extubated should be < the ICU Discharge D/Time. ***"
  • Line Location: CHCK+6
Function Call: WRITE
  • Prompt: !,"*** NOTE: D/Time Discharged from ICU should be > the Extubation D/Time. ***"
  • Line Location: CHCK+7
Function Call: WRITE
  • Prompt: !,"*** NOTE: D/Time Discharged from ICU should be <= the Hospital Discharge D/Time*"
  • Line Location: CHCK+8
Function Call: WRITE
  • Prompt: ?39,SREXT,!,?10,"Postop Intubation Hrs: ",?39,$FN((X/3600),"+",1)
  • Line Location: EXT+3
Function Call: WRITE
  • Prompt: ?39,$E(SREXT,1,40)
  • Line Location: EXT+5
Function Call: READ
  • Variable: X
  • Timeout: DTIME
  • Line Location: SEL+0
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: END+1
Function Call: WRITE
  • Prompt: !
  • Line Location: PIMS+2
Function Call: WRITE
  • Prompt: @IOF,!!!!,"Enter the number or range of numbers you want to edit. Examples of proper",!,"responses are listed below."
  • Line Location: HELP+0
Function Call: WRITE
  • Prompt: !!,"1. Enter 'A' to update all items.",!!,"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: !!," *** NOTE: Discharge Date precedes Admission Date!! Please check. ***",!
  • Line Location: OK+2
Function Call: WRITE
  • Prompt: !
  • Line Location: OK+2
Function Call: WRITE
  • Prompt: !!,?5,"To identify the date and time the patient was discharged from intensive",!,?5,"care following surgery, see the following list of patient movements"
  • Line Location: LIST+6
Function Call: WRITE
  • Prompt: !,?5,"that occurred during the inpatient stay associated with this surgery.",!
  • Line Location: LIST+7
Function Call: WRITE
  • Prompt: !,$J(SRN,3)_".",?5,$P($P(X,"^"),":",1,2),?25,$P(X,"^",3),?37,$S(SRT=3:"From",1:"To")_": "_$P(X,"^",4)
  • Line Location: LIST+8
Function Call: WRITE
  • Prompt: !,?5,">> No postoperative patient movements were found for this patient."
  • Line Location: LIST+9
Function Call: WRITE
  • Prompt: !
  • Line Location: LIST+10
Routine Call
  • DIE
  • Line Location:
    • ONE+2
    • LIST+11
    • LIST+12
Routine Call
  • DIR
  • Line Location:
    • START+3
    • PIMS+1
    • PRESS
    • LIST+10

FileMan Files Accessed Via FileMan Db Call

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

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^DGPM("APTT1" ADM+1
^SRF - [#130] OK+1, LIST+2

Label References

Name Line Occurrences
ADM LIST+3
CHCK EDIT+7
EDIT SEL+1, SEL+2, SEL+4, SEL+5
END SROACPM+5, STARTSTART+3, SELSEL+1, SEL+2
EXT EDIT+6
GET EDIT+4
HELP SEL+1, SEL+2
LIST ONE+1
MVMT LIST+4
OK ONE+3
ONE SEL+6, RANGE+2
PIMS START+4
PRESS OK+2
RANGE SEL+4
SEL EDIT+8
START START+4
TR EDIT+4

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
CNT LIST+1~, LIST+4*, LIST+8*, MVMT+1*, MVMT+3, MVMT+6*
>> CURLEY RANGE+2*
DA EDIT+2!*, ONE+2!*, LIST+11!*, LIST+12!*
DAYS EDIT~
>> DFN LIST+2*, ADM+1
DIC EDIT+2!*
DIE ONE+2!*, LIST+11!*, LIST+12!*
DIQ EDIT+2!*
DIQ(0 EDIT+2*
DIR START+3!, PIMS+1!, PRESS!, LIST+10!
DIR("?" START+2*
DIR("A" START+1*, START+3*, PIMS+1*, PRESS*, LIST+10*
DIR("B" PIMS+1*
DIR(0 START+3*, PIMS+1*, PRESS*, LIST+10*
DR EDIT+1!*, EDIT+2*!, ONE+2!*, LIST+11!*, LIST+12!*
DTIME SROACPM+5, SEL
>> DTOUT START+3, PIMS+1, PRESS
>> DUOUT START+3, PIMS+1, PRESS
>> EMILY SEL+5*, RANGE+2*, ONE+1, ONE+2, ONE+3
HOURS EDIT~
>> I EDIT+3*, TR
IOF EDIT+9, END+1, HELP
>> J TR*
>> K EDIT+7*
>> M EDIT+3*, EDIT+6
MINS EDIT~
>> SHEMP RANGE+2*
SR24 ADM~, ADM+1*
SRADM CHCK+1~, CHCK+3*, CHCK+4, OK+1~*, OK+2, LIST+1~, LIST+3*
SRDICU CHCK+1~, CHCK+2*, CHCK+6, CHCK+7, CHCK+8
SRDIS CHCK+1~, CHCK+3*, CHCK+4, CHCK+8, OK+1~*, OK+2
>> SRDR EDIT+1*, EDIT+2, EDIT+3
>> SRDT ONE+2*, ADM+1*
SREXT EDIT+5*, CHCK+1~, CHCK+2*, CHCK+5, CHCK+6, CHCK+7, EXT*, EXT+1*, EXT+3, EXT+4*
EXT+5
>> SRFLD EDIT+5*, EXTEXT+1, EXT+2, EXT+4
>> SRFLG SEL+1, HELP+3
SRLOC LIST+1~, MVMT+2*, MVMT+3, MVMT+6*
SRMOVE LIST+1~, MVMT+2*, MVMT+3, MVMT+6*
SRMVMT LIST+1~
SRMVMT( LIST+8, LIST+11, MVMT+3*, MVMT+6*
SRMVMT(0 LIST+9
SRN LIST+1~, LIST+8*, LIST+10
SROUT CHCK+1~, CHCK+2*, CHCK+5
>> SRPAGE EDIT+1*
>> SRQ EDIT+1*
>> SRSOUT SROACPM+6*, STARTSTART+3*, SEL*, SEL+1, SEL+2, END, PRESS*, RANGE+2, ONE+2*
ONE+3
>> SRSUPCPT SROACPM+6*
SRT LIST+1~, LIST+8*, LIST+11*
>> SRTN SROACPM+5, EDIT+2, EDIT+5, CHCK+2, CHCK+3, EXT+2, EXT+3, SEL+6, RANGE+1, ONE+2
OK+1, LIST+2, LIST+11, LIST+12
SRTYPE LIST+1~, MVMT+2*, MVMT+3, MVMT+6*
SRY EDIT+2!, LIST+1~, MVMT*, MVMT+1, MVMT+4
SRY(130 EDIT+5, CHCK+2, CHCK+3, EXT+2, EXT+3
SRZ EDIT+3!*, EDIT+5*, EDIT+6, SEL+2, SEL+3, HELP+1, HELP+2, LIST+1~, LIST+2*, LIST+4
MVMTMVMT+4*, MVMT+5*, MVMT+6*, MVMT+7*, ADMADM+1*, ADM+2*
SRZ( EDIT+5*, SEL+1, SEL+5, ONE+2
SRZ(1 HELP+1
>> VAIP("D" MVMT*, ADM*, ADM+1*
>> VAIP(1 MVMT+5
>> VAIP(13 ADM+1, ADM+2
>> VAIP(16 MVMT+6, MVMT+7
>> VAIP(17 MVMT+5, MVMT+6
>> VAIP(2 MVMT+2
>> VAIP(3 MVMTMVMT+2
>> VAIP(5 MVMT+2
>> X SROACPM+5*, EDIT+5, EXT+3*, SEL*, SEL+1*, SEL+2, SEL+3*, SEL+4, SEL+5, RANGE+2
OK+1*, LIST+8*, ADM+1, GET*
>> X1 ADM+1*
>> X2 ADM+1*
>> Y START+3, START+4, EDIT+5*, SEL+2*, PIMS+1, ONE+2, LIST+10, LIST+11
>> Z EDIT+5*, EDIT+6, SEL+2*

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 |  Global Variables Directly Accessed |  Label References |  Local Variables |  Marked Items  | All