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 |  All
Print Page as PDF
Routine: SDUTL3

Package: Scheduling

Routine: SDUTL3


Information

SDUTL3 ;ALB/REW - Primary Care API Calls ;9/16/10 17:17

Source Information

Source file <SDUTL3.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 3 EN^DDIOL  ^DIC  ^DIE  
Registration 1 $$SCREEN^DGPMDD  
Scheduling 1 ($$NMPCPR,$$NMPCTM)^SCAPMCU2  

Caller Graph

Caller Graph Total: 27

Package Total Caller Graph
Order Entry Results Reporting 10 ORB3  ORB3SPEC  ORBPRCHK  ORCHART  ORCMENU1  ORCXPND1  ORQPTQ1  ORQPTQ4  
ORQRY  ORWPT1  
Registration 3 DG53213P  DGQPTQ1  DGWPT1  
Clinical Reminders 2 PXRMPCIN  PXRMXAP  
Consult Request Tracking 2 GMRCP5B  GMRCSLM2  
IHS Electronic Health Record 2 BEHOPTC1  BEHOPTPC  
Radiology Nuclear Medicine 2 RAORD5  RAUTL5  
Scheduling 2 SCRPW24  SD EDIT LOCAL STOP CODE NAME  
Automated Information Collection System 1 IBDFN4  
Health Summary 1 GMTSDEMP  
Lab Service 1 LRVRPOC  
Pharmacy Benefits Management 1 PSUDEM1  

Entry Points

Name Comments DBIA/ICR reference
UPDLOCAL ;Called from SD EDIT LOCAL STOP CODE NAME option. Allows entry of the .01 field of file 40.7 only if the amis code indicates it is a local entry
INPTPR(DFN,PRACT) ;store current PC practitioner; return SDOKS=1, if OK
; Input: DFN: ien of patient file (#2)
; PRACT: ien of file #200 if adding,changing field
; null or '@' if deleting field
; Output:SDOKS: 0, if fails to store, 1 otherwise
  • ICR #1252
    • Status: Active
    • Usage: Supported
    QTITM
    INPTTM(DFN,TEAM) ;store current PC team; return SDOKS=0, if fails
    ; Input: DFN: ien of patient file (#2)
    ; TEAM: ien of file #404.51 if adding,changing field
    ; null or '@' if deleting field
    ; Output:SDOKS: 0, if fails to store, 1 otherwise
  • ICR #1252
    • Status: Active
    • Usage: Supported
    OUTPTPR(DFN,SCDATE,SCPCROLE) ;given patient, return internal^external of the pc practitioner
    ; Input: DFN - ien of patient file (#2)
    ; SCDATE - Relevant Date (Default=DT)
    ; SCPCROLE - Type of PC Role (Default =1 (PC Practitioner),2=Attending
    ; Returned: pointer to file #200^external value of name
    ; or, if error or none defined, returns a 0 or null
    ; Note: This call will continue to be supported with the PCMM release
    ;
    ; *** SUPPORTED API ***
  • ICR #1252
    • Status: Active
    • Usage: Supported
    OUTPTTM(DFN,SCDATE,ASSTYPE) ;given patient, return internal^external of the pc team
  • ICR #1252
    • Status: Active
    • Usage: Supported
    QTIPR
    OUTPTAP(DFN,SCDATE) ;given patient, return internal^external of the pc associate provider
    ; Input: DFN - ien of patient file (#2)
    ; SCDATE - Relevant Date (Default=DT)
    ; Returned: pointer to file #200^external value of name
    ; or, if error or none defined, returns a 0 or null
  • ICR #1252
    • Status: Active
    • Usage: Supported

    External References

    Name Field # of Occurrence
    EN^DDIOL INPTPR+14, INPTPR+15, INPTTM+13
    $$SCREEN^DGPMDD INPTPR+23
    ^DIC UPDLOCAL+5
    ^DIE INPTPR+22, INPTPR+28, INPTTM+20, INPTTM+25, UPDLOCAL+7
    $$NMPCPR^SCAPMCU2 OUTPTPR+13, OUTPTAP+10
    $$NMPCTM^SCAPMCU2 OUTPTTM+13

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !!,"You may only edit the NAME field of locally defined entries.",!,"Enter ?? to see the list of entries you're allowed to edit.",!
    • Line Location: UPDLOCAL+3
    Routine Call
    • DIE
    • Line Location:
      • INPTPR+22
      • INPTPR+28
      • INPTTM+20
      • INPTTM+25
      • UPDLOCAL+7
    Routine Call
    • DIC
    • Line Location:
      • UPDLOCAL+5

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^DPT - [#2] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DPT - [#2] INPTPR+13, INPTTM+12
    ^SCTM(404.51 - [#404.51] INPTTM+21
    ^VA(200 - [#200] INPTPR+24

    Label References

    Name Line Occurrences
    QTIPR INPTPR+18
    QTITM INPTTM+16

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ASSTYPE OUTPTTM~, OUTPTTM+12*, OUTPTTM+13
    DA INPTPR+17~, INPTPR+21*, INPTPR+27*, INPTTM+14~, INPTTM+19*, INPTTM+24*, UPDLOCAL+2~, UPDLOCAL+6*
    DFN OUTPTPR~, OUTPTPR+10, OUTPTPR+13, OUTPTAP~, OUTPTAP+8, OUTPTAP+10, OUTPTTM~, OUTPTTM+10, OUTPTTM+13, INPTPR~
    , INPTPR+13, INPTPR+21, INPTPR+27, INPTTM~, INPTTM+12, INPTTM+19, INPTTM+24
    DIC INPTPR+17~, INPTTM+14~, UPDLOCAL+2~, UPDLOCAL+4*
    DIC("S" UPDLOCAL+4*
    DIC(0 UPDLOCAL+4*
    DIE INPTPR+17~, INPTPR+19*, INPTPR+25*, INPTTM+14~, INPTTM+17*, INPTTM+22*, UPDLOCAL+2~, UPDLOCAL+6*
    DR INPTPR+17~, INPTPR+20*, INPTPR+26*, INPTTM+14~, INPTTM+18*, INPTTM+23*, UPDLOCAL+2~, UPDLOCAL+6*
    DT OUTPTPR+11, OUTPTAP+9, OUTPTTM+11
    PRACT INPTPR~, INPTPR+13, INPTPR+18, INPTPR+23, INPTPR+24
    SCDATE OUTPTPR~, OUTPTPR+11*, OUTPTPR+13, OUTPTAP~, OUTPTAP+9*, OUTPTAP+10, OUTPTTM~, OUTPTTM+11*, OUTPTTM+13
    SCPCROLE OUTPTPR~, OUTPTPR+12*, OUTPTPR+13
    SDASC UPDLOCAL+2~
    >> SDOKS INPTPR+13*, INPTPR+16*, INPTPR+23*, INPTPR+30*, INPTTM+12*, INPTTM+15*, INPTTM+27*
    TEAM INPTTM~, INPTTM+12, INPTTM+16, INPTTM+21
    X INPTPR+17~, INPTTM+14~, UPDLOCAL+2~
    Y UPDLOCAL+2~, UPDLOCAL+5, UPDLOCAL+6
    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 |  All