Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: RMPRELG1

Package: Prosthetics

Routine: RMPRELG1


Information

RMPRELG1 ;PHX/RFM/JLT-DISPLAY ELIGIBILITY FIRST PAGE ;8/29/1994

Source Information

Source file <RMPRELG1.m>

Entry Points

Name Comments DBIA/ICR reference
WRI ;WRITES MAS DISABILITY CODES
QUES
EXIT ;KILL VARIABLES AND EXIT ROUTINE
QUEST1 ;DO PAGE BREAK IF CURSOR AT LINE 18
QUEST2 ;PRINT MAS DISABILITY CODES ON NEXT PAGE IF TOO MANY TO ALL FIT.

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: RMPRELG1+2
Function Call: WRITE
  • Prompt: $E(RMPRNAM,1,20),?23,"SSN: ",$P(VADM(2),U,2),?42,"DOB: ",$P(VADM(3),U,2),?61,"CLAIM# ",RMPRCNUM
  • Line Location: RMPRELG1+3
Function Call: WRITE
  • Prompt: !!,"Phone: ",VAPA(8),?40,"Phone: ",VAOA(8),!,"Current Address:",?40,"Primary Next of Kin Address:",!,VAPA(1),?40,VAOA(1)
  • Line Location: RMPRELG1+4
Function Call: WRITE
  • Prompt: !!,"Patient Type: ",$P(VAEL(6),U,2),?40,"Period of Service: ",$P(VAEL(2),U,2),!,"Primary Eligibility Code:",?40,"Status: ",$P(VAEL(9),U,2),!,$P(VAEL(1),U,2)
  • Line Location: RMPRELG1+10
Function Call: WRITE
  • Prompt: ?40,"Eligibility Status: ",$E($P(VAEL(8),U,2),1,19)
  • Line Location: RMPRELG1+11
Function Call: WRITE
  • Prompt: !!,"Receiving A&A Benefits? "
  • Line Location: RMPRELG1+11
Function Call: WRITE
  • Prompt: "NO"
  • Condition for execution: VAMB(1)=0
  • Line Location: RMPRELG1+11
Function Call: WRITE
  • Prompt: $P(VAMB(1),U,2)
  • Condition for execution: $P(VAMB(1),U,1)=1
  • Line Location: RMPRELG1+11
Function Call: WRITE
  • Prompt: ?40,"Receiving Housebound Benefits? "
  • Line Location: RMPRELG1+12
Function Call: WRITE
  • Prompt: "NO"
  • Condition for execution: VAMB(2)=0
  • Line Location: RMPRELG1+12
Function Call: WRITE
  • Prompt: $P(VAMB(2),U,2)
  • Condition for execution: $P(VAMB(2),U,1)=1
  • Line Location: RMPRELG1+12
Function Call: WRITE
  • Prompt: !,"Receiving Social Security? "
  • Line Location: RMPRELG1+13
Function Call: WRITE
  • Prompt: "NO"
  • Condition for execution: VAMB(3)=0
  • Line Location: RMPRELG1+13
Function Call: WRITE
  • Prompt: $P(VAMB(3),U,2)
  • Condition for execution: $P(VAMB(3),U,1)=1
  • Line Location: RMPRELG1+13
Function Call: WRITE
  • Prompt: ?40,"Receiving VA Pension? "
  • Line Location: RMPRELG1+13
Function Call: WRITE
  • Prompt: "NO"
  • Condition for execution: VAMB(4)=0
  • Line Location: RMPRELG1+13
Function Call: WRITE
  • Prompt: $P(VAMB(4),U,2)
  • Condition for execution: $P(VAMB(4),U,1)=1
  • Line Location: RMPRELG1+13
Function Call: WRITE
  • Prompt: !,"Receiving Military Retirement? "
  • Line Location: RMPRELG1+14
Function Call: WRITE
  • Prompt: "NO"
  • Condition for execution: VAMB(5)=0
  • Line Location: RMPRELG1+14
Function Call: WRITE
  • Prompt: $P(VAMB(5),U,2)
  • Condition for execution: $P(VAMB(5),U,1)=1
  • Line Location: RMPRELG1+14
Function Call: WRITE
  • Prompt: ?40,"Receiving VA Disability? "
  • Line Location: RMPRELG1+14
Function Call: WRITE
  • Prompt: "NO"
  • Condition for execution: VAMB(7)=0
  • Line Location: RMPRELG1+14
Function Call: WRITE
  • Prompt: $P(VAMB(7),U,2)
  • Condition for execution: $P(VAMB(7),U,1)=1
  • Line Location: RMPRELG1+14
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: RMPRELG1+15
Function Call: WRITE
  • Prompt: !!,"*POW? ",$S(VASV(4)=1:"YES",VASV(4)=0:"NO")
  • Line Location: RMPRELG1+17
Function Call: WRITE
  • Prompt: !,$E($P(^DIC(31,$P(^DPT(DFN,.372,RO,0),U,1),0),U,1),1,30),?40,"Disability% ",$P(^DPT(DFN,.372,RO,0),U,2),?56," Service Connected? "
  • Line Location: WRI+2
Function Call: WRITE
  • Prompt: "YES"
  • Condition for execution: $P(^DPT(DFN,.372,RO,0),U,3)=1
  • Line Location: WRI+2
Function Call: WRITE
  • Prompt: "NO"
  • Condition for execution: $P(^DPT(DFN,.372,RO,0),U,3)=0
  • Line Location: WRI+2
Function Call: WRITE
  • Prompt: !!,"'",RMPRTEM,"'"," Is a non-existent code ; Check the MAS disability codes on this patient."
  • Line Location: WRI+4
Function Call: WRITE
  • Prompt: !
  • Line Location: QUES+0
Function Call: READ
  • Formatting: "Enter `^`to exit
  • Prompt: or `return` to continue: "
  • Variable: ANS
  • Timeout: DTIME
  • Line Location: QUES+1
Function Call: WRITE
  • Prompt: " ??",!!,$C(7)
  • Line Location: QUES+2
Function Call: WRITE
  • Prompt: !
  • Line Location: QUEST1+2
Function Call: WRITE
  • Prompt: !,"YOU MUST ENTER `RETURN` TO FINISH VIEWING MAS DISABILITY CODES"
  • Line Location: QUEST1+4
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: QUEST1+5
Function Call: WRITE
  • Prompt: !!,"Patient Name: ",$E(VADM(1),1,20),?40,"SSN:",$P(VADM(2),U,2),!!,"MAS Disability Codes continued: "
  • Line Location: QUEST1+5
Function Call: WRITE
  • Prompt: !,"Press `RETURN` to continue."
  • Line Location: QUEST2+5
Function Call: WRITE
  • Prompt: @IOF
  • Line Location: QUEST2+6

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] Classic Fileman Calls
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call