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 ;06/30/15 10:24

Source Information

Source file <PXAPI.m>

Call Graph

Call Graph

Call Graph Total: 13

Package Total Call Graph
PCE Patient Care Encounter 10 $$DATA2PCE^PXAI  $$DELVFILE^PXAPIDEL  ($$ENCEDIT,$$LOPENCED)^PXAPIEED  VIS^PXAPIIM  ($$PRVCLASS,$$SOURCE)^PXAPIUTL  $$INTV^PXBAPI  $$VISITLST^PXBGVST  ($$GETENC,ENCEVENT)^PXKENC  
($$APPT2VST,$$VST2APPT)^PXUTL1  ^VSIT  
VA FileMan 2 ^DIC  FILE^DICN  
Kernel 1 $$NOW^XLFDT  

Caller Graph

Caller Graph Total: 118

Package Total Caller Graph
PCE Patient Care Encounter 31 PX10118P  PXAICPT  PXAIPOV  PXAPIEED  PXBSTOR  PXCACPT  PXCADXP2  PXCADXPL  
PXCAHF  PXCAPED  PXCAPL  PXCAPOV  PXCAPOV1  PXCAPRV  PXCASK  PXCAVIMM  
PXCAVST1  PXCAVST2  PXCAXAM  PXCE SDAM STANDALONE  PXCEINTR  PXCEPOV1  PXCEVFI4  PXCEVFI5  
PXCEVSIT  PXICLN17  PXICLN27  PXKFPOV1  PXSCH2  PXSCH4  VSITDEF  
Scheduling 17 SCCVEAP3  SCCVPCE  SCENIA1  SD53103A  SDAMBAE6  SDCO1  SDCO2  SDCO3  
SDCO4  SDCO6  SDCO9  SDCOAM  SDCODEL  SDPCE  SDSCEDT  SDUTL2  
SDVSIT0  
Order Entry Results Reporting 7 ORAMX  ORAMX1  ORWCV  ORWPCE  ORWPCE1  ORWPCE2  ORWPCE3  
Virtual Patient Record 7 VPRDJ04  VPRDJ08A  VPRDJ09  VPRDLRA  VPRDPXIM  VPRDVSIT  VPRSDA  
Clinical Procedures 6 MDPCE  MDPCE1  MDPCE2  MDRPCW  MDRPCW1  MDSTUDW  
Quasar 6 ACKQAS  ACKQASU  ACKQASU4  ACKQPCE1  ACKQPCE3  ACKQUTL3  
Event Capture 5 ECBEN2U  ECED3  ECEFPAT  ECPCEU  ECUTL2  
Text Integration Utility 5 TIUP134  TIUPXAP1  TIUPXAP2  TIUPXAP3  TIURD3  
Enterprise Health Management Platform 4 HMPDJ08A  HMPDJ09  HMPDLRA  HMPDVSIT  
Emergency Department Integration Software 3 EDPLPCE  EDPQLE  EDPQPCE  
Surgery 3 SROPCE  SROPCEP  SROPCEU0  
Clinical Reminders 2 PXRMGECJ  PXRMGECK  
DSS Extracts 2 ECXSCX  ECXSCX1  
Integrated Billing 2 IBCU71  IBTUTL4  
Lab Service 2 LRBEBAO  LRCAPPH1  
Mental Health 2 YTQCONS  YTQTIU  
National Health Information Network 2 NHINVLRA  NHINVSIT  
Prosthetics 2 RMPRPCED  RMPRPCEP  
Radiology Nuclear Medicine 2 RAPCE  RAPCE1  
Registration 2 DGAPI1  DGPMDD  
VistA Integration Adapter 2 VIABRPC  VIABRPC7  
Automated Information Collection System 1 IBDFRPC5  
Barcode Medication Administration 1 PSBPXFL  
Kernel 1 ^ORD(101  
My HealtheVet 1 MHVECFLR  

Entry Points

Name Comments DBIA/ICR reference
PROVNARR(PXPNAR,PXFILE,PXCLEX) ;Convert external Provider Narrative to internal.
  • ICR #6953
    • Status: Active
    • Usage: Private
    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
    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
    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
    DELVFILE(WHICH,VISIT,PACKAGE,SOURCE,ASK,ECHO,USER) ;Deletes the requested data related to the visit.
  • ICR #1890
    • Status: Active
    • Usage: Controlled Subscription
    DATA2PCE(DATA,PACKAGE,SOURCE,VISIT,USER,DISPLAY,ERROR,SCREEN,ARRAY,ACCOUNT) ;API to pass data for add/edit/delete to PCE
  • ICR #1889
    • Status: Active
    • Usage: Controlled Subscription
    SOURCE(SOURCE) ;Get IEN of data source in the PCE Data Source file
  • ICR #1896
    • Status: Active
    • Usage: Controlled Subscription
    VISITLST(DFN,BEGINDT,ENDDT,HLOC,SCREEN,APPOINT,PROMPT,COSTATUS) ;--GATHER VISITS
  • ICR #1893
    • 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
    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
    GETENC(DFN,ENCDT,HLOC) ;--Get all of the encounter data
  • ICR #1894
    • Status: Active
    • Usage: Controlled Subscription
    ENCEVENT(VISIT,DONTKILL) ;--Get all of the encounter data
  • ICR #1894
    • Status: Active
    • Usage: Controlled Subscription
    VST2APPT(VISIT) ;Is this visit related to an appointment
  • ICR #1895
    • Status: Active
    • Usage: Controlled Subscription
    APPT2VST(DFN,ENCDT,HLOC) ;Get the visit for an Appointment
  • ICR #1895
    • Status: Active
    • Usage: Controlled Subscription
    SWITCHD() ;This returns the date that PCE starts collecting the data
    ; instead Scheduling (switch over date).
  • ICR #1897
    • Status: Active
    • Usage: Private
    SWITCHCK(DATE) ;Returns 1 if after the switch over date 0 otherwise.
  • ICR #1897
    • Status: Active
    • Usage: Private
    DISPVSIT ;Called by Scheduling to create a visit for a disposition
    DISPASK
    ACTIVPRV(PROVIDER,VISITDT) ;See if this is a good provider on the date of
  • ICR #2349
    • Status: Active
    • Usage: Controlled Subscription
    PRVCLASS(PROVIDER,VISITDT) ;See if this is a good provider
  • ICR #2349
    • Status: Active
    • Usage: Controlled Subscription
    VIS(PXRESULT,PXVIS,PXDATE) ;Return Vaccine Information Statement entry

    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
    VIS^PXAPIIM VIS+5
    $$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
    $$NOW^XLFDT VIS+4

    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
    ACCOUNT DATA2PCE~, DATA2PCE+7
    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
    PXDATE VIS~, VIS+4*, VIS+5
    PXENDDAT STOPCODE+10~, STOPCODE+16*, STOPCODE+17, CPT+13~, CPT+20*, CPT+21
    PXFILE PROVNARR~, PROVNARR+25
    PXPNAR PROVNARR~, PROVNARR+17
    PXRESULT VIS~, VIS+5
    PXREVDAT STOPCODE+10~, STOPCODE+15*, STOPCODE+16, STOPCODE+17*, STOPCODE+18, CPT+13~, CPT+19*, CPT+20, CPT+21*, CPT+22
    PXVIS VIS~, VIS+3, VIS+5
    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