Prompt: !!,"SHORT, LONG, or NO Profile? ",$S('$D(PSJPDD):"SHORT",'PSJPDD:"SHORT",1:"LONG"),"// "
Line Location: ENL+1
Function Call: WRITE
Prompt: PSGOL="^"
Condition for execution: '$T $C(7) S:'$T
Line Location: ENL+1
Function Call: WRITE
Prompt: "MEDICATION"
Line Location: SCHK+2
Function Call: WRITE
Prompt: $P(X,PSGOS,2)
Line Location: SCHK+3
Function Call: WRITE
Prompt: !!?3,"Enter 'MEDICATION' (or 'M', or press the RETURN key to have this patient's orders shown alphabetically by drug name. Enter 'DATE' (or 'D') to have this patient's orders shown by start date (the newest orders showing first)."
Line Location: SM+0
Function Call: WRITE
Prompt: " Enter a '^' to not show this patient's orders."
Prompt: !!?3,"Enter 'SHORT' (or 'S', or press the RETURN key) to exclude this patient's",!,"discontinued and expired orders in the following profile. Enter 'LONG' (or 'L') to include those orders."
Line Location: LM+0
Function Call: WRITE
Prompt: " Enter 'NO' (or 'N') to bypass the profile com-",!,"pletely. Enter '^' if you wish to go no further with this patient."
Line Location: LM+1
Function Call: WRITE
Prompt: !!,"...a few moments, I have some updating to do..."