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

Package: PCE Patient Care Encounter

Routine: PXAPI


Information

PXAPI ;ISL/dee - PCE's APIs ;4/16/97

Source Information

Source file <PXAPI.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
PCE Patient Care Encounter 9 $$DATA2PCE^PXAI  $$DELVFILE^PXAPIDEL  ($$ENCEDIT,$$LOPENCED)^PXAPIEED  ($$PRVCLASS,$$SOURCE)^PXAPIUTL  $$INTV^PXBAPI  $$VISITLST^PXBGVST  ($$GETENC,ENCEVENT)^PXKENC  ($$APPT2VST,$$VST2APPT)^PXUTL1  
^VSIT  
VA Fileman 2 ^DIC  FILE^DICN  

Caller Graph

Caller Graph Total: 66

Package Total Caller Graph
PCE Patient Care Encounter 25 PXAICPT  PXAIPOV  PXAPIEED  PXBSTOR  PXCACPT  PXCADXP2  PXCADXPL  PXCAHF  
PXCAPED  PXCAPL  PXCAPOV  PXCAPOV1  PXCAPRV  PXCASK  PXCAVIMM  PXCAVST1  
PXCAVST2  PXCAXAM  PXCEINTR  PXCEPOV1  PXCEVFI5  PXCEVSIT  PXSCH2  PXSCH4  
VSITDEF  
Scheduling 15 SCCVEAP3  SCCVPCE  SCENIA1  SD53103A  SDAMBAE6  SDCO1  SDCO2  SDCO3  
SDCO4  SDCO6  SDCO9  SDCOAM  SDPCE  SDSCEDT  SDVSIT0  
Text Integration Utility 7 TIUP134  TIUP149  TIUP188  TIUPXAP1  TIUPXAP2  TIUPXAP3  TIURD3  
Order Entry Results Reporting 6 ORWCV  ORWIB  ORWPCE  ORWPCE1  ORWPCE2  ORWPCE3  
Surgery 3 SROPCE  SROPCEP  SROPCEU0  
Clinical Reminders 2 PXRMGECJ  PXRMGECK  
Lab Service 2 LRBEBAO  LRCAPPH1  
Radiology Nuclear Medicine 2 RAPCE  RAPCE1  
Automated Information Collection System 1 IBDFRPC5  
Barcode Medication Administration 1 PSBPXFL  
Care Management 1 ORRCEVT  
Registration 1 DGAPI1  

Entry Points

Name Comments DBIA/ICR reference
SWITCHD() ;This returns the date that PCE starts collecting the data
; instead Scheduling (switch over date).
  • ICR #1897
    • Status: Active
    • Usage: Private
    APPT2VST(DFN,ENCDT,HLOC) ;Get the visit for an Appointment
  • ICR #1895
    • Status: Active
    • Usage: Controlled Subscription
    PRVCLASS(PROVIDER,VISITDT) ;See if this is a good provider
  • ICR #2349
    • Status: Active
    • Usage: Controlled Subscription
    ENCEVENT(VISIT,DONTKILL) ;--Get all of the encounter data
  • ICR #1894
    • Status: Active
    • Usage: Controlled Subscription
    ENCEDIT(WHAT,PACKAGE,SOURCE,DFN,BEGINDT,ENDDT,HLOC,SCREEN,APPOINT,PROMPT,COSTATUS) ;--Ask for encounter the edit it of delete it
  • ICR #1892
    • Status: Active
    • Usage: Controlled Subscription
    DISPVSIT ;Called by Scheduling to create a visit for a disposition
    VST2APPT(VISIT) ;Is this visit related to an appointment
  • ICR #1895
    • Status: Active
    • Usage: Controlled Subscription
    DELVFILE(WHICH,VISIT,PACKAGE,SOURCE,ASK,ECHO,USER) ;Deletes the requesed data related to the visit.
  • ICR #1890
    • Status: Active
    • Usage: Controlled Subscription
    INTV(WHAT,PACKAGE,SOURCE,VISIT,HL,DFN,APPT,LIMITDT,ALLHLOC) ;This api will prompt the user for Visit and related V-file data used to document an encounter.
  • ICR #1891
    • Status: Active
    • Usage: Controlled Subscription
    LOPENCED(WHAT,PACKAGE,SOURCE,DFN,BEGINDT,ENDDT,HLOC,SCREEN,APPOINT,PROMPT,COSTATUS) ;--Ask for encounter the edit it of delete it
  • ICR #1892
    • Status: Active
    • Usage: Controlled Subscription
    VISITLST(DFN,BEGINDT,ENDDT,HLOC,SCREEN,APPOINT,PROMPT,COSTATUS) ;--GATHER VISITS
  • ICR #1893
    • Status: Active
    • Usage: Controlled Subscription
    DATA2PCE(DATA,PACKAGE,SOURCE,VISIT,USER,DISPLAY,ERROR,SCREEN,ARRAY) ;API to pass data for add/edit/delete to PCE
  • ICR #1889
    • Status: Active
    • Usage: Controlled Subscription
    GETENC(DFN,ENCDT,HLOC) ;--Get all of the encounter data
  • ICR #1894
    • Status: Active
    • Usage: Controlled Subscription
    DISPASK
    CPT(PXACPT,PXAPAT,PXADATE,PXAHLOC) ;This is the function call to return the quantity
    ; of a particular CPT for a patient on one day and for
    ; one hospital location if passed.
  • ICR #1898
    • Status: Active
    • Usage: Private
    SOURCE(SOURCE) ;Get IEN of data source in the PCE Data Source file
  • ICR #1896
    • Status: Active
    • Usage: Controlled Subscription
    ACTIVPRV(PROVIDER,VISITDT) ;See if this is a good provider on the date of
  • ICR #2349
    • Status: Active
    • Usage: Controlled Subscription
    STOPCODE(PXASTOP,PXAPAT,PXADATE) ;This is the function call to return the quantity
    ; of a particular Stop Code for a patient on one day.
  • ICR #1898
    • Status: Active
    • Usage: Private
    SWITCHCK(DATE) ;Returns 1 if after the switch over date 0 otherwise.
  • ICR #1897
    • Status: Active
    • Usage: Private
    PROVNARR(PXPNAR,PXFILE,PXCLEX) ;Convert external Provider Narrative to internal.
  • ICR #6953
    • Status: Active
    • Usage: Private

    External References

    Name Field # of Occurrence
    ^DIC DISPASK+4
    FILE^DICN PROVNARR+24
    $$DATA2PCE^PXAI DATA2PCE+7
    $$DELVFILE^PXAPIDEL DELVFILE+3
    $$ENCEDIT^PXAPIEED ENCEDIT+3
    $$LOPENCED^PXAPIEED LOPENCED+3
    $$PRVCLASS^PXAPIUTL ACTIVPRV+3, PRVCLASS+2
    $$SOURCE^PXAPIUTL SOURCE+1
    $$INTV^PXBAPI INTV+7
    $$VISITLST^PXBGVST VISITLST+4
    $$GETENC^PXKENC GETENC+3
    ENCEVENT^PXKENC ENCEVENT+3
    $$APPT2VST^PXUTL1 APPT2VST+3
    $$VST2APPT^PXUTL1 VST2APPT+3
    ^VSIT DISPASK+9

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !,"The Provider Narrative is LOCKED try again."
    • Line Location: PROVNARR+20
    Function Call: WRITE
    • Prompt: !!,$C(7),"Disposition Hospital Location is required."
    • Line Location: DISPASK+6
    Function Call: WRITE
    • Prompt: !!,$C(7),"Disposition Hospital Location is required."
    • Line Location: DISPASK+7
    Routine Call
    • DIC
    • Line Location:
      • DISPASK+4

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^PX(815 - [#815] Classic Fileman Calls
    ^AUTNPOV - [#9999999.27] Classic Fileman Calls

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^AUPNVCPT - [#9000010.18] CPT+28
    ^AUPNVCPT("AD" CPT+27
    ^AUPNVSIT - [#9000010] STOPCODE+19, CPT+23, CPT+24, CPT+25
    ^AUPNVSIT("AA" STOPCODE+17, STOPCODE+18, CPT+21, CPT+22
    ^AUTNPOV - [#9999999.27] PROVNARR+21, PROVNARR+25*
    ^AUTNPOV("B" PROVNARR+21
    ^AUTNPOV(0 PROVNARR+19, PROVNARR+26
    ^DD(815 DISPASK+2
    ^PX(815 - [#815] SWITCHD+2, SWITCHCK+2, DISPVSIT+4, DISPVSIT+6

    Label References

    Name Line Occurrences
    DISPASK DISPASK+7

    Naked Globals

    Name Field # of Occurrence
    ^(0 CPT+28

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ALLHLOC INTV~, INTV+7
    APPOINT VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    APPT INTV~, INTV+7
    ARRAY DATA2PCE~, DATA2PCE+7
    ASK DELVFILE~, DELVFILE+3
    BEGINDT VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    COSTATUS VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    DA PROVNARR+14~, PROVNARR+16*, PROVNARR+21*, PROVNARR+23!, DISPVSIT+9~
    DA(1 DISPASK*
    DATA DATA2PCE~, DATA2PCE+3, DATA2PCE+7
    DATE SWITCHCK~, SWITCHCK+4
    DD PROVNARR+14~
    DFN INTV~, INTV+4*, INTV+7, VISITLST~, VISITLST+3, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    , GETENC~, GETENC+3, APPT2VST~, APPT2VST+3
    DIC PROVNARR+14~, PROVNARR+15*, DISPVSIT+9~, DISPASK+1*
    DIC("P" DISPASK+2*
    DIC(0 PROVNARR+15*, DISPASK+3*
    DISPLAY DATA2PCE~, DATA2PCE+7
    DLAYGO PROVNARR+14~, PROVNARR+15*
    DO PROVNARR+14~
    DONTKILL ENCEVENT~, ENCEVENT+3
    ECHO DELVFILE~, DELVFILE+3
    ENCDT GETENC~, GETENC+3, APPT2VST~, APPT2VST+3
    ENDDT VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    ERROR DATA2PCE~, DATA2PCE+7
    HL INTV~, INTV+5*, INTV+7
    HLOC VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3, GETENC~, GETENC+3, APPT2VST~, APPT2VST+3
    LIMITDT INTV~, INTV+7
    PACKAGE INTV~, INTV+7, DELVFILE~, DELVFILE+3, DATA2PCE~, DATA2PCE+4, DATA2PCE+7, ENCEDIT~, ENCEDIT+3, LOPENCED~
    , LOPENCED+3
    PROMPT VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    PROVIDER ACTIVPRV~, ACTIVPRV+3, PRVCLASS~, PRVCLASS+2
    PXACOUNT STOPCODE+10~, STOPCODE+14*, STOPCODE+19*, STOPCODE+20, CPT+13~, CPT+18*, CPT+28*, CPT+29
    PXACPT CPT~, CPT+14*, CPT+28
    PXADATE STOPCODE~, STOPCODE+13*, STOPCODE+15, CPT~, CPT+16*, CPT+19
    PXAHLOC CPT~, CPT+17*, CPT+25
    PXAPAT STOPCODE~, STOPCODE+12*, STOPCODE+17, STOPCODE+18, CPT~, CPT+15*, CPT+21, CPT+22
    PXASTOP STOPCODE~, STOPCODE+11*, STOPCODE+19
    PXAVCPT CPT+13~, CPT+26*, CPT+27*, CPT+28
    PXAVST STOPCODE+10~, STOPCODE+14*, STOPCODE+18*, STOPCODE+19, CPT+13~, CPT+18*, CPT+22*, CPT+23, CPT+24, CPT+25
    , CPT+27
    PXCLEX PROVNARR~, PROVNARR+25
    PXENDDAT STOPCODE+10~, STOPCODE+16*, STOPCODE+17, CPT+13~, CPT+20*, CPT+21
    PXFILE PROVNARR~, PROVNARR+25
    PXPNAR PROVNARR~, PROVNARR+17
    PXREVDAT STOPCODE+10~, STOPCODE+15*, STOPCODE+16, STOPCODE+17*, STOPCODE+18, CPT+13~, CPT+19*, CPT+20, CPT+21*, CPT+22
    SCREEN DATA2PCE~, DATA2PCE+7, VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    SOURCE INTV~, INTV+7, DELVFILE~, DELVFILE+3, DATA2PCE~, DATA2PCE+5, DATA2PCE+7, SOURCE~, SOURCE+1, ENCEDIT~
    , ENCEDIT+3, LOPENCED~, LOPENCED+3
    SWITCH SWITCHCK+1~, SWITCHCK+2*, SWITCHCK+3, SWITCHCK+4
    USER DELVFILE~, DELVFILE+3, DATA2PCE~, DATA2PCE+7
    VISIT INTV~, INTV+3*, INTV+7, DELVFILE~, DELVFILE+3, DATA2PCE~, DATA2PCE+6*, DATA2PCE+7, ENCEVENT~, ENCEVENT+3
    , VST2APPT~, VST2APPT+3
    VISITDT ACTIVPRV~, ACTIVPRV+3, PRVCLASS~, PRVCLASS+2
    >> VSIT("IEN" DISPASK+8*
    >> VSIT("LOC" DISPVSIT+4*, DISPVSIT+5, DISPVSIT+6*, DISPASK+5*, DISPASK+8
    WHAT INTV~, INTV+7, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    WHICH DELVFILE~, DELVFILE+3
    X PROVNARR+17*, PROVNARR+18, PROVNARR+21, DISPVSIT+9~
    Y PROVNARR+14~, PROVNARR+16*, PROVNARR+21*, PROVNARR+22, PROVNARR+23!, PROVNARR+25, PROVNARR+27, DISPVSIT+9~, DISPASK+5
    >> ZTQUEUED DISPVSIT+5
    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