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 |  Naked Globals |  Local Variables  | All
Print Page as PDF
Routine: DGPTFCR

Package: Registration

Routine: DGPTFCR


Information

DGPTFCR ;ALB/JDS - CREATE IN PATIENT PTF RECORD ;Sep 22, 2020@16:34

Source Information

Source file <DGPTFCR.m>

Call Graph

Call Graph

Call Graph Total: 6

Package Total Call Graph
Registration 3 DFN^DGPMUTL  RTY^DGPTUTL  LO^DGUTL  
VA FileMan 3 ^DIC  FILE^DICN  ^DIE  

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

Package Total Caller Graph
Registration 6 DG PTF CREATE  DGPMV31  DGPMV321  DGPTC1  DGPTFEE  DGPTFFB  

Entry Points

Name Comments DBIA/ICR reference
EN
Q
SEL ; -- pt select
SELQ ; -- clean-up
CREATE ; -- entry point to create a new PTF record
; input: DFN := pt number
; Y := admission d/t ^ fee record
; DGRTY := type of record (1-PTF ; 2-CENSUS)
; (PTF assumed if undefined)
; output: Y := ifn of ^DGPT
  • ICR #226
    • Status: Retired
    • Usage: Private
    CREATEQ

    External References

    Name Field # of Occurrence
    DFN^DGPMUTL SEL+9
    RTY^DGPTUTL SEL+13
    LO^DGUTL EN
    ^DIC SEL+3
    FILE^DICN CREATE+9
    ^DIE SEL+16, CREATE+10

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !
    • Line Location: SEL+1
    Function Call: WRITE
    • Prompt: !
    • Line Location: SEL+7
    Function Call: WRITE
    • Prompt: !!?5,"Creating new PTF record..."
    • Line Location: SEL+14
    Function Call: WRITE
    • Prompt: *7,"unable to create record."
    • Line Location: SEL+15
    Function Call: WRITE
    • Prompt: !?5,"record #",PTF," created.",!
    • Line Location: SEL+17
    Routine Call
    • DIC
    • Line Location:
      • SEL+3
    Routine Call
    • DIE
    • Line Location:
      • SEL+16
      • CREATE+10

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^DPT - [#2] Classic Fileman Calls
    ^DGPM - [#405] Classic Fileman Calls
    ^DGPT - [#45] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DG(405.2 - [#405.2] SEL+12
    ^DGPM - [#405] SEL+12

    Label References

    Name Line Occurrences
    CREATE SEL+15
    CREATEQ CREATE+7
    SEL EN
    SELQ SEL+3, SEL+9, SEL+15

    Naked Globals

    Name Field # of Occurrence
    ^(0 SEL+12

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    % Q!
    D0 Q!
    DA SEL+16*, SELQ+1!, CREATE+10!*, CREATEQ!
    DD CREATE+9!
    DFN EN!, SEL+3*, CREATE+7, CREATE+9
    DG SELQ+1!
    DGDUMB EN*, Q!
    DGPMAN SEL+11~, SEL+12*, SEL+13
    DGPMCA SEL+11~, SEL+12*, SEL+16
    DGPMDN SEL+11~, SEL+12*
    DGPTDATA CREATE+8*, CREATEQ!
    DGRTY SELQ+1!, CREATE+10
    DGRTY0 SELQ+1!
    DGTY SEL+12*, SELQ+1!
    DIC SEL+1!, SEL+2*, SEL+3!, SEL+8*, SEL+9!, SELQ+1!, CREATE+8*, CREATEQ!
    DIC("A" SEL+2*, SEL+8*
    DIC("DR" CREATE+8*
    DIC("S" SEL+2*, SEL+8*
    DIC(0 SEL+2*, SEL+8*, CREATE+9*
    DIE SEL+16*, SELQ+1!, CREATE+10*, CREATEQ!
    DO CREATE+9!
    DQ Q!, SELQ+1!
    DR SEL+16*, SELQ+1!, CREATE+10*, CREATEQ!
    I SELQ+1!
    J SELQ+1!
    PTF SEL+16*, SEL+17, SELQ+1!, CREATE+10~*
    T Q!
    U CREATE+8
    X Q!, SELQ+1!, CREATE+9*
    Y Q!, SEL+3, SEL+9, SEL+12, SEL+13*, SEL+15, SEL+16, SELQ+1!, CREATE+7*, CREATE+8
    CREATE+9*, CREATE+10*
    Y(0 SEL+12, CREATE+7*
    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 |  Naked Globals |  Local Variables  | All