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: PSOSPML3

Package: Outpatient Pharmacy

Routine: PSOSPML3


Information

PSOSPML3 ;BIRM/MFR - ASAP Definitions Listman Driver ;09/01/12

Source Information

Source file <PSOSPML3.m>

Call Graph

Call Graph

Call Graph Total: 9

Package Total Call Graph
Outpatient Pharmacy 5 SETSEG95^PSOSPML4  ($$VERDATA,LOADASAP)^PSOSPMU0  SETLN^PSOSPMU1  $$ASAPVER^PSOSPMU2  $$CUSSEG^PSOSPMU3  
List Manager 3 EN^VALM  (FULL,INSTR)^VALM1  (CNTRL,RESTORE)^VALM10  
VA FileMan 1 ^DIR  

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: 7

Package Total Caller Graph
Outpatient Pharmacy 5 PSO SPMP ASAP DEFINITIONS  PSO SPMP VIEW ASAP DEFINITION  PSO SPMP3 MENU  PSOSPMA3  PSOSPML4  
Kernel 2 ^DIC(19  ^ORD(101  

Entry Points

Name Comments DBIA/ICR reference
VER ; ASAP Version Prompt
EN(PSOASVER,PSOSHOW) ; Entry point
HDR ; - Builds the Header section
INIT ; Builds the Body section
SETSEG(ARRNAM,LEVEL) ; Set list content with the Segment info
HELP ; Listman Help
EXIT ;
MEXPRHLP(LEVEL,ELMID) ;MUMPS Expression Help Text

External References

Name Field # of Occurrence
^DIR MEXPRHLP+27
SETSEG95^PSOSPML4 INIT+6
$$VERDATA^PSOSPMU0 HDR+2, HDR+3
LOADASAP^PSOSPMU0 INIT+8
SETLN^PSOSPMU1 SETSEG+12, SETSEG+15, SETSEG+22, SETSEG+28, SETSEG+34, SETSEG+41, SETSEG+44
$$ASAPVER^PSOSPMU2 VER+1
$$CUSSEG^PSOSPMU3 SETSEG+14
EN^VALM EN+7
FULL^VALM1 EN+8
INSTR^VALM1 HDR+13
CNTRL^VALM10 SETSEG+13, SETSEG+30, SETSEG+31, SETSEG+32, SETSEG+42
RESTORE^VALM10 INIT+4

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: VER+1
Function Call: WRITE
  • Prompt: !,"This is the argument of a MUMPS SET command that will be used to retrieve the"
  • Line Location: MEXPRHLP+4
Function Call: WRITE
  • Prompt: !,"value for the Data Element '",ELMID,"'."
  • Line Location: MEXPRHLP+5
Function Call: WRITE
  • Prompt: !,""
  • Line Location: MEXPRHLP+6
Function Call: WRITE
  • Prompt: !,"Below are some examples of valid values for this field:"
  • Line Location: MEXPRHLP+7
Function Call: WRITE
  • Prompt: !,""
  • Line Location: MEXPRHLP+8
Function Call: WRITE
  • Prompt: !,"Null/Blank : Use """" (two quotes) to force a blank value. Another option to"
  • Line Location: MEXPRHLP+9
Function Call: WRITE
  • Prompt: !,"----------- force a blank value is to set the Data Element REQUIREMENT field"
  • Line Location: MEXPRHLP+10
Function Call: WRITE
  • Prompt: !," to 'N' (NOT USED)."
  • Line Location: MEXPRHLP+11
Function Call: WRITE
  • Prompt: !,""
  • Line Location: MEXPRHLP+12
Function Call: WRITE
  • Prompt: !,"Fixed Value: Use quotes to force a fixed value for this Data Element."
  • Line Location: MEXPRHLP+13
Function Call: WRITE
  • Prompt: !,"----------- Examples: ""AF290303"", ""SMITH"", ""12345"", etc."
  • Line Location: MEXPRHLP+14
Function Call: WRITE
  • Prompt: !,""
  • Line Location: MEXPRHLP+15
Function Call: WRITE
  • Prompt: !,"MUMPS Code : Use a Mumps expression that can be used as the argument of a SET"
  • Line Location: MEXPRHLP+16
Function Call: WRITE
  • Prompt: !,"----------- command. Examples: $P($$SITE^VASITE(),""^"",2)"
  • Line Location: MEXPRHLP+17
Function Call: WRITE
  • Prompt: !," $E($$GET1^DIQ(52,RXIEN,.01),1,30)"
  • Line Location: MEXPRHLP+18
Function Call: WRITE
  • Prompt: !," $S(FILLIEN>0:""REFILL"",1:""ORIGINAL"")"
  • Line Location: MEXPRHLP+19
Function Call: WRITE
  • Prompt: !," $$PHA03^PSOASAP()_""B"""
  • Line Location: MEXPRHLP+20
Function Call: WRITE
  • Prompt: !,""
  • Line Location: MEXPRHLP+21
Function Call: WRITE
  • Prompt: !,"NOTE: The value for a Standard Definition Data Element is returned by a"
  • Line Location: MEXPRHLP+22
Function Call: WRITE
  • Prompt: !," function in the format $$SEGNN^PSOASAP(), where 'SEG' is the 2 or"
  • Line Location: MEXPRHLP+23
Function Call: WRITE
  • Prompt: !," 3-character segment identifier and 'NN' is the 2-digit element"
  • Line Location: MEXPRHLP+24
Function Call: WRITE
  • Prompt: !," identifier. Examples: $$IS01^PSOASAP(), $$PRE08^PSOASAP(), etc."
  • Line Location: MEXPRHLP+25
Function Call: WRITE
  • Prompt: !,""
  • Line Location: MEXPRHLP+28
Function Call: WRITE
  • Prompt: !,"The following variables are available at the ",LEVNAM," level for"
  • Line Location: MEXPRHLP+30
Function Call: WRITE
  • Prompt: !,"customizing this Data Element:"
  • Line Location: MEXPRHLP+31
Function Call: WRITE
  • Prompt: !,""
  • Line Location: MEXPRHLP+32
Function Call: WRITE
  • Prompt: !," STATEIEN - State IEN. Pointer to STATE file (#5)."
  • Line Location: MEXPRHLP+33
Function Call: WRITE
  • Prompt: !," SITEIEN - Pharmacy Division IEN. Pointer to OUTPATIENT SITE file (#59)."
  • Line Location: MEXPRHLP+35
Function Call: WRITE
  • Prompt: !," PATIEN - Patient IEN. Pointer to the PATIENT file (#2)."
  • Line Location: MEXPRHLP+37
Function Call: WRITE
  • Prompt: !," RXIEN - Prescription IEN. Pointer to the PRESCRIPTION file (#52)."
  • Line Location: MEXPRHLP+39
Function Call: WRITE
  • Prompt: !," DRUGIEN - Drug IEN. Pointer to the DRUG File (#50)"
  • Line Location: MEXPRHLP+40
Function Call: WRITE
  • Prompt: !," FILLNUM - Fill Number ('0': Original Fill,'1': Refill #1,'2': Refill #2,"
  • Line Location: MEXPRHLP+41
Function Call: WRITE
  • Prompt: !," 'P1': Partial #1,'P2': Partial Fill #2, etc.)"
  • Line Location: MEXPRHLP+42
Function Call: WRITE
  • Prompt: !," FILLIEN - Pointer to the REFILL sub-file (#52.1) or PARTIAL sub-file (#52.2)"
  • Line Location: MEXPRHLP+43
Function Call: WRITE
  • Prompt: !," ('0': Original, N: Pointer to Refill or Partial fill)"
  • Line Location: MEXPRHLP+44
Function Call: WRITE
  • Prompt: !," RPHIEN - Pharmacist IEN. Pointer to NEW PERSON file (#200)."
  • Line Location: MEXPRHLP+45
Function Call: WRITE
  • Prompt: !," PREIEN - Prescriber IEN. Pointer to NEW PERSON file (#200)."
  • Line Location: MEXPRHLP+46
Function Call: WRITE
  • Prompt: !," RTSREC - Return To Stock Record? ('1': YES / '0': NO)"
  • Line Location: MEXPRHLP+47
Routine Call
  • DIR
  • Line Location:
    • MEXPRHLP+27
Routine Call
  • VALM
  • Line Location:
    • EN+7

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^PS(58.4 - [#58.4] HDR+4, HDR+5
^TMP("PSOSPML3" INIT+3!, EXIT+1!

Label References

Name Line Occurrences
EN VER+3
EXIT VER+1
SETSEG INIT+9, SETSEG+45
VER VER+5

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ALLVDLMS HDR+1~, HDR+3*, HDR+7, HDR+8, HDR+9, HDR+10, HDR+11, HDR+12
ARRAY SETSEG+3~, SETSEG+6*, SETSEG+7, SETSEG+45
ARRNAM SETSEG~, SETSEG+6
ASAP EN+5~, INIT+1~, INIT+8
ASAP( SETSEG+9, SETSEG+10, SETSEG+14, SETSEG+15, SETSEG+16, SETSEG+20, SETSEG+21, SETSEG+22, SETSEG+24, SETSEG+25
, SETSEG+27, SETSEG+33, SETSEG+34, SETSEG+37, SETSEG+38
ASAPVER PSOSPML3+3~, VER+1*, VER+3
COLUMN SETSEG+3~, SETSEG+7*, SETSEG+8, SETSEG+19
DESCNT SETSEG+3~, SETSEG+33*, SETSEG+34
DETLN SETSEG+3~, SETSEG+24*, SETSEG+26*, SETSEG+27*, SETSEG+28, SETSEG+36*, SETSEG+40*, SETSEG+41, SETSEG+43*
DIC PSOSPML3+3~
DIR PSOSPML3+3~, MEXPRHLP+3~, MEXPRHLP+27!
DIR("A" MEXPRHLP+27*
DIR(0 MEXPRHLP+27*
DIRUT PSOSPML3+3~, MEXPRHLP+3~
DTOUT PSOSPML3+3~, MEXPRHLP+3~
ELMCNT SETSEG+3~, SETSEG+18*, SETSEG+20, SETSEG+21, SETSEG+22, SETSEG+24, SETSEG+25, SETSEG+27, SETSEG+33, SETSEG+34
, SETSEG+37, SETSEG+38
ELMDELIM HDR+1~, HDR+7*, HDR+8
ELMID MEXPRHLP~, MEXPRHLP+5
ELMNAM SETSEG+3~, SETSEG+20*, SETSEG+21*, SETSEG+22
EOSCHR HDR+1~, HDR+11*, HDR+12
HDR HDR+1~, HDR+8*, HDR+10*, HDR+12*, HDR+13
I INIT+1~, INIT+4*, SETSEG+3~
>> IOINHI HDR+8, HDR+10, HDR+12, SETSEG+30, SETSEG+31, SETSEG+32, SETSEG+42
>> IOINORM HDR+8, HDR+10, HDR+12, SETSEG+13, SETSEG+30, SETSEG+31, SETSEG+32, SETSEG+42
>> IORVOFF SETSEG+13
>> IORVON SETSEG+13
J SETSEG+3~
JUST SETSEG+3~, SETSEG+8*, SETSEG+12, SETSEG+13, SETSEG+14, SETSEG+19*, SETSEG+20, SETSEG+24, SETSEG+34
LEVEL SETSEG~, SETSEG+9, SETSEG+10*, SETSEG+11, SETSEG+45, MEXPRHLP~, MEXPRHLP+29, MEXPRHLP+34, MEXPRHLP+36, MEXPRHLP+38
LEVNAM SETSEG+3~, SETSEG+11*, SETSEG+12, SETSEG+13, MEXPRHLP+3~, MEXPRHLP+29*, MEXPRHLP+30
LINE INIT+1~, INIT+3*, INIT+6, INIT+9, SETSEG+13, SETSEG+30, SETSEG+31, SETSEG+32, SETSEG+42
LSTELM SETSEG+3~, SETSEG+16*, SETSEG+18
MVALUE SETSEG+3~, SETSEG+36*, SETSEG+38*, SETSEG+39, SETSEG+40, SETSEG+43*
PSOASVER EN~, HDR+2, HDR+3, HDR+5, HDR+6, HDR+7, HDR+9, HDR+11, INIT+5, INIT+7
INIT+8, SETSEG+14
PSOLSTLN PSOSPML3+3~
PSOSHOW EN~, EN+6*, SETSEG+5*, SETSEG+8, SETSEG+15, SETSEG+17, SETSEG+19, SETSEG+21, SETSEG+22, SETSEG+23
SEGID SETSEG+3~, SETSEG+7*, SETSEG+9, SETSEG+10, SETSEG+14, SETSEG+15, SETSEG+16, SETSEG+19, SETSEG+20, SETSEG+21
, SETSEG+22, SETSEG+24, SETSEG+25, SETSEG+27, SETSEG+33, SETSEG+34, SETSEG+37, SETSEG+38
SEGLN SETSEG+3~, SETSEG+14*, SETSEG+15
SEGTERM HDR+1~, HDR+9*, HDR+10
STDIEN HDR+1~, HDR+4*, HDR+5
STDVDLMS HDR+1~, HDR+2*, HDR+8, HDR+10, HDR+12
TYPE SETSEG+3~, SETSEG+25*, SETSEG+26
VALIDX SETSEG+3~, SETSEG+37*, SETSEG+38
VALM PSOSPML3+3~
VALM("TITLE" HDR+6*
VALMBCK PSOSPML3+3~
VALMBG PSOSPML3+3~
VALMCNT PSOSPML3+3~, INIT+3*, INIT+6*, INIT+9*
VALMHDR PSOSPML3+3~
VALMSG PSOSPML3+3~, INIT+10*
VERIEN HDR+1~, HDR+5*, HDR+6
VERLST PSOSPML3+3~
X PSOSPML3+3~, MEXPRHLP+3~
Y PSOSPML3+3~, MEXPRHLP+3~
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables  | All