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 |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All
Print Page as PDF
Routine: DGENPTA

Package: Registration

Routine: DGENPTA


Information

DGENPTA ;ALB/CJM,ERC,CKN,TDM,PWC - Patient API - Retrieve Data ; 5/25/11 4:25pm

Source Information

Source file <DGENPTA.m>

Call Graph

Call Graph

Call Graph Total: 2

Package Total Call Graph
Registration 1 $$FIELD^DGENPTA1  
VA FileMan 1 $$EXTERNAL^DILFD  

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

Package Total Caller Graph
Registration 25 DGEN  DGENA2  DGENA3  DGENA6  DGENCD  DGENCD ADD/EDIT CATASTROPHIC DISABILITY  DGENCLEA  DGENCLN1  
DGENELA1  DGENELA4  DGENL  DGENLEH  DGENPT  DGENQRY  DGENQRY1  DGENRPB2  
DGENRPC2  DGENRPD2  DGENRPT2  DGENRPT4  DGENU  DGENUPA1  DGENUPL  DGENUPL4  
VAFHLZEN  
Income Verification Match 3 IVMBULK1  IVMLDEMB  IVMPLOG  
Integrated Billing 1 IBATUTL  
Order Entry Results Reporting 1 ORLPREM  

Entry Points

Name Comments DBIA/ICR reference
VET(DFN) ;returns 1 if the patient is an eligible veteran
  • ICR #5380
    • Status: Withdrawn
    • Usage: Controlled Subscription
    VET1(DFN) ;returns 1 if the patient is a veteran
    ACTIVE(DFN,DGDT) ;
    PREF(DFN,FACNAME) ;
  • ICR #2919
    • Status: Active
    • Usage: Supported
    DEATH(DFN) ;
    GET(DFN,DGPAT) ;
    SSN(DFN) ;
    NAME(DFN) ;
    EXT(SUB,VAL) ;
    VALPAT(DFN) ; --
    ; Description: This function returns a 1 if the patient DFN is valid, 0 if the patient DFN is not valid.
    CURINPAT(DFN) ; --
    ; Description: This function will determine if the patient is a current inpatient.
    INPAT(DFN,DGBEG,DGEND) ; --
    ; Description: This function will determine if a patient was an inpatient between a specified date range.
    INPATQ
    OUTPAT(DFN,DGBEG,DGEND) ; --
    ; Description: This function will determine if a patient has an outpatient encounter between a specified date range that has successfully been checked out.
    OUTPATQ
    RANGE(DGBEG,DGEND) ; --
    ; Description: This function returns a 1 if two dates are a valid date range, 0 if they are not valid.
    RANGEQ
    LOOKUP(SSN,DOB,SEX,ERROR) ;

    External References

    Name Field # of Occurrence
    $$FIELD^DGENPTA1 EXT+14
    $$EXTERNAL^DILFD EXT+16

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^DPT - [#2] EXTERNAL^DILFD

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^DGPM - [#405] INPAT+25
    ^DGPM("APRD" INPAT+22, INPAT+23
    ^DIC(4 - [#4] PREF+13
    ^DPT - [#2] VET+4, VET+6, VET+7, VET1+4, VET1+5, PREF+12, DEATH+9, GET+40, GET+47, GET+48
    , GET+49, GET+50, GET+51, GET+52, GET+53, GET+54, GET+55, GET+56, GET+57, GET+58
    , GET+60, SSN+4, NAME+4, VALPAT+14, CURINPAT+16, LOOKUP+19
    ^DPT("SSN" LOOKUP+16, LOOKUP+18
    ^SCE - [#409.68] OUTPAT+27
    ^SCE("ADFN" OUTPAT+23, OUTPAT+25

    Label References

    Name Line Occurrences
    $$RANGE INPAT+16, OUTPAT+17
    $$VALPAT CURINPAT+13, INPAT+16, OUTPAT+17
    INPATQ INPAT+16
    OUTPATQ OUTPAT+17
    RANGEQ RANGE+16, RANGE+22, RANGE+25

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    DATE DEATH+8~*, DEATH+9*, DEATH+10*, DEATH+11
    DFN VET~, VET+4, VET+6, VET+7, VET1~, VET1+4, VET1+5, ACTIVE~, PREF~, PREF+12
    , DEATH~, DEATH+9, GET~, GET+37, GET+39, GET+40, GET+47, GET+48, GET+49, GET+50
    , GET+51, GET+52, GET+53, GET+54, GET+55, GET+56, GET+57, GET+58, GET+60, SSN~
    , SSN+3, SSN+4, NAME~, NAME+3, NAME+4, VALPAT~, VALPAT+14, CURINPAT~, CURINPAT+13, CURINPAT+16
    , INPAT~, INPAT+16, INPAT+22, INPAT+23, OUTPAT~, OUTPAT+17, OUTPAT+23, OUTPAT+25, LOOKUP+13~, LOOKUP+16*
    , LOOKUP+17, LOOKUP+18, LOOKUP+19, LOOKUP+23
    DGBEG INPAT~, INPAT+16, INPAT+19, OUTPAT~, OUTPAT+17, OUTPAT+20, RANGE~, RANGE+16, RANGE+19*, RANGE+22
    , RANGE+25
    DGCUR CURINPAT+10~*, CURINPAT+16*, CURINPAT+18
    DGDT ACTIVE~
    DGEDT INPAT+12~, INPAT+19*, INPAT+22, OUTPAT+13~, OUTPAT+20*, OUTPAT+23
    DGEND INPAT~, INPAT+16, INPAT+19, OUTPAT~, OUTPAT+17, OUTPAT+20, RANGE~, RANGE+16, RANGE+19*, RANGE+22
    , RANGE+25
    DGINPAT INPAT+12~, INPAT+13*, INPAT+22, INPAT+23, INPAT+27*, INPATQ
    DGMOVE INPAT+12~, INPAT+23*, INPAT+25
    DGOE OUTPAT+13~, OUTPAT+25*, OUTPAT+27
    DGOK RANGE+11~, RANGE+13*, RANGE+27*, RANGEQ
    DGOUT OUTPAT+13~, OUTPAT+14*, OUTPAT+23, OUTPAT+25, OUTPAT+27*, OUTPATQ
    DGPAT GET~, GET+38!*
    DGPAT("AG/ALLY" GET+56*
    DGPAT("DEATH" GET+47*
    DGPAT("DENTC2DT" GET+69*
    DGPAT("DENTC2IN" GET+68*
    DGPAT("DFN" GET+39*
    DGPAT("DOB" GET+43*
    DGPAT("INELDATE" GET+52*
    DGPAT("INELDEC" GET+54*
    DGPAT("INELREA" GET+53*
    DGPAT("MOH" GET+58*
    DGPAT("NAME" GET+42*
    DGPAT("PALOCK" GET+71*
    DGPAT("PATYPE" GET+48*
    DGPAT("PENAEFDT" GET+61*
    DGPAT("PENAREAS" GET+62*
    DGPAT("PENTRMDT" GET+63*
    DGPAT("PENTRMR1" GET+64*
    DGPAT("PENTRMR2" GET+65*
    DGPAT("PENTRMR3" GET+66*
    DGPAT("PENTRMR4" GET+67*
    DGPAT("PFSRC" GET+51*
    DGPAT("PID" GET+55*
    DGPAT("PILOCK" GET+70*
    DGPAT("PREFAC" GET+50*
    DGPAT("SEX" GET+44*
    DGPAT("SPININJ" GET+57*
    DGPAT("SSN" GET+45*
    DGPAT("VETERAN" GET+49*
    DGSDT INPAT+12~, INPAT+19*, INPAT+22*, INPAT+23, OUTPAT+13~, OUTPAT+20*, OUTPAT+23*, OUTPAT+25
    DGTRANS INPAT+12~, INPAT+25*, INPAT+27
    DGVALID VALPAT+11~*, VALPAT+14*, VALPAT+16
    DOB LOOKUP~, LOOKUP+21, LOOKUP+22
    DT RANGE+25
    ERROR LOOKUP~, LOOKUP+15*, LOOKUP+17*, LOOKUP+18*, LOOKUP+20*, LOOKUP+21*, LOOKUP+22*
    FAC PREF+10~, PREF+11*, PREF+12*, PREF+13, PREF+14
    FACNAME PREF~, PREF+11*, PREF+13*
    FLD EXT+13~, EXT+14*, EXT+15, EXT+16
    NODE GET+36~, GET+40*, GET+41, GET+42, GET+43, GET+44, GET+45, GET+60*, GET+61, GET+62
    , GET+63, GET+64, GET+65, GET+66, GET+67, GET+68, GET+69, GET+70, GET+71, LOOKUP+13~
    , LOOKUP+19*, LOOKUP+20, LOOKUP+21, LOOKUP+22
    SEX LOOKUP~, LOOKUP+20
    SSN LOOKUP~, LOOKUP+15, LOOKUP+16, LOOKUP+18
    SUB EXT~, EXT+11, EXT+14
    VAL EXT~, EXT+11, EXT+16
    VET VET+3~*, VET+5*, VET+6*, VET+7*, VET+8, VET1+3~*, VET1+5*, VET1+6
    Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables  | All