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,PKR - PCE's APIs ;07/13/2021

Source Information

Source file <PXAPI.m>

Call Graph

Call Graph

Call Graph Total: 15

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

Caller Graph

Caller Graph Total: 134

Package Total Caller Graph
PCE Patient Care Encounter 33 PX10118P  PXAICPT  PXAIPOV  PXAPIEED  PXBSTOR  PXCACPT  PXCADXP2  PXCADXPL  
PXCAHF  PXCAPED  PXCAPL  PXCAPOV  PXCAPOV1  PXCAPRV  PXCASC  PXCASK  
PXCAVIMM  PXCAVST1  PXCAVST2  PXCAXAM  PXCE SDAM STANDALONE  PXCEINTR  PXCEPOV1  PXCEVFI4  
PXCEVFI5  PXCEVSIT  PXICLN17  PXICLN27  PXKFPOV1  PXPNARR  PXSCH2  PXSCH4  
VSITDEF  
Scheduling 26 SCCVEAP3  SCCVPCE  SCENIA1  SD53103A  SDAMBAE6  SDCO1  SDCO2  SDCO3  
SDCO4  SDCO6  SDCO9  SDCOAM  SDCODEL  SDES2CANCELAPPT  SDES2CLNSEARCH  SDES2CRTAPREQ  
SDES2PROVSEARCH  SDES2SETCHECKOUT  SDES2SRCHCLNBYSC  SDES2VAL200  SDESCHECKOUT  SDESPROVSEARCH  SDPCE  SDSCEDT  
SDUTL2  SDVSIT0  
Order Entry Results Reporting 8 ORAMX  ORAMX1  ORWCV  ORWPCE  ORWPCE1  ORWPCE2  ORWPCE3  ORWPCE5  
Virtual Patient Record 7 VPRDJ04  VPRDJ08A  VPRDJ09  VPRDLRA  VPRDPXIM  VPRDVSIT  VPRSDAV  
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  
Registration 3 DGAPI1  DGFSMOUT  DGPMDD  
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  
Problem List 2 GMPLUTL  GMPLX  
Prosthetics 2 RMPRPCED  RMPRPCEP  
Radiology Nuclear Medicine 2 RAPCE  RAPCE1  
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  
Womens Health 1 WVRPCGF  

Entry Points

Name Comments DBIA/ICR reference
GMPARAMS(FILENUM,IEN) ;Return the measurement parameters for the
PROVNARR(PXPNAR,PXFILE,PXCLEX) ;Add or lookup external Provider Narrative.
  • ICR #6953
    • Status: Active
    • Usage: Private
    STOPCODE(PXASTOP,PXAPAT,PXADATE) ;This is the function call to return the
  • ICR #1898
    • Status: Active
    • Usage: Private
    CPT(PXACPT,PXAPAT,PXADATE,PXAHLOC) ;This is the function call to return the
  • ICR #1898
    • Status: Active
    • Usage: Private
    INTV(WHAT,PACKAGE,SOURCE,VISIT,HL,DFN,APPT,LIMITDT,ALLHLOC) ;This API will
  • ICR #1891
    • Status: Active
    • Usage: Controlled Subscription
    DELVFILE(WHICH,VISIT,PACKAGE,SOURCE,ASK,ECHO,USER,ERROR,PROBARR) ;Deletes the requested data
  • ICR #1890
    • Status: Active
    • Usage: Controlled Subscription
    DATA2PCE(DATA,PACKAGE,SOURCE,VISIT,USER,DISPLAY,ERROR,SCREEN,ARRAY,ACCOUNT) ;
  • 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
  • ICR #1897
    • Status: Active
    • Usage: Private
    SWITCHCK(DATE) ;Returns 1 if after the switch over date 0 otherwise. ICR #1897
  • 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^DID PROVNARR+35
    FILE^DIE PROVNARR+45
    UPDATE^DIE PROVNARR+38
    VAL^DIE PROVNARR+24
    $$DATA2PCE^PXAI DATA2PCE+8
    $$DELVFILE^PXAPIDEL DELVFILE+4
    $$ENCEDIT^PXAPIEED ENCEDIT+3
    $$LOPENCED^PXAPIEED LOPENCED+3
    VIS^PXAPIIM VIS+5
    $$PRVCLASS^PXAPIUTL ACTIVPRV+3, PRVCLASS+2
    $$SOURCE^PXAPIUTL SOURCE+2
    $$INTV^PXBAPI INTV+9
    $$VISITLST^PXBGVST VISITLST+4
    $$GETENC^PXKENC GETENC+3
    ENCEVENT^PXKENCOUNTER 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: !!,$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
    Routine Call
    • DIE
    • Line Location:
      • PROVNARR+45
    Routine Call
    • DIE
    • Line Location:
      • PROVNARR+38
    Routine Call
    • DIE
    • Line Location:
      • PROVNARR+24

    FileMan Files Accessed Via FileMan Db Call

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

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^AUPNVCPT - [#9000010.18] CPT+29
    ^AUPNVCPT("AD" CPT+28
    ^AUPNVSIT - [#9000010] STOPCODE+19, CPT+24, CPT+25, CPT+26
    ^AUPNVSIT("AA" STOPCODE+17, STOPCODE+18, CPT+22, CPT+23
    ^AUTNPOV("B" PROVNARR+26
    ^AUTTEDT - [#9999999.09] GMPARAMS+3
    ^AUTTEXAM - [#9999999.15] GMPARAMS+3
    ^AUTTHF - [#9999999.64] GMPARAMS+3
    ^DD(815 DISPASK+2
    ^LEX(757.01 - [#757.01] PROVNARR+42
    ^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+29

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    ACCOUNT DATA2PCE~, DATA2PCE+8
    ALLHLOC INTV~, INTV+9
    APPOINT VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    APPT INTV~, INTV+9
    ARRAY DATA2PCE~, DATA2PCE+8
    ASK DELVFILE~, DELVFILE+4
    BEGINDT VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    COSTATUS VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    DA DISPVSIT+9~
    DA(1 DISPASK*
    DATA PROVNARR+34~, DATA2PCE~, DATA2PCE+4, DATA2PCE+8
    DATA("NAME" PROVNARR+36
    DATE SWITCHCK~, SWITCHCK+4
    DFN INTV~, INTV+6*, INTV+9, VISITLST~, VISITLST+3, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    , GETENC~, GETENC+3, APPT2VST~, APPT2VST+3
    DIC DISPVSIT+9~, DISPASK+1*
    DIC("P" DISPASK+2*
    DIC(0 DISPASK+3*
    DISPLAY DATA2PCE~, DATA2PCE+8
    DONTKILL ENCEVENT~, ENCEVENT+3
    ECHO DELVFILE~, DELVFILE+4
    ENCDT GETENC~, GETENC+3, APPT2VST~, APPT2VST+3
    ENDDT VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    ERROR DELVFILE~, DELVFILE+4, DATA2PCE~, DATA2PCE+8
    FDA PROVNARR+30~, PROVNARR+43!
    FDA( PROVNARR+31*, PROVNARR+36*, PROVNARR+44*
    FDAIEN PROVNARR+30~
    FDAIEN(1 PROVNARR+44, PROVNARR+46
    FILENUM GMPARAMS~, GMPARAMS+3
    HL INTV~, INTV+7*, INTV+9
    HLOC VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3, GETENC~, GETENC+3, APPT2VST~, APPT2VST+3
    IEN GMPARAMS~, GMPARAMS+3
    LIMITDT INTV~, INTV+9
    MNODE GMPARAMS+2~, GMPARAMS+3*, GMPARAMS+4
    MSG PROVNARR+18~, PROVNARR+37!, PROVNARR+39, PROVNARR+43!
    PACKAGE INTV~, INTV+9, DELVFILE~, DELVFILE+4, DATA2PCE~, DATA2PCE+5, DATA2PCE+8, ENCEDIT~, ENCEDIT+3, LOPENCED~
    , LOPENCED+3
    PROBARR DELVFILE~, DELVFILE+4
    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+14~, CPT+19*, CPT+29*, CPT+30
    PXACPT CPT~, CPT+15*, CPT+29
    PXADATE STOPCODE~, STOPCODE+13*, STOPCODE+15, CPT~, CPT+17*, CPT+20
    PXAHLOC CPT~, CPT+18*, CPT+26
    PXAPAT STOPCODE~, STOPCODE+12*, STOPCODE+17, STOPCODE+18, CPT~, CPT+16*, CPT+22, CPT+23
    PXASTOP STOPCODE~, STOPCODE+11*, STOPCODE+19
    PXAVCPT CPT+14~, CPT+27*, CPT+28*, CPT+29
    PXAVST STOPCODE+10~, STOPCODE+14*, STOPCODE+18*, STOPCODE+19, CPT+14~, CPT+19*, CPT+23*, CPT+24, CPT+25, CPT+26
    , CPT+28
    PXCLEX PROVNARR~, PROVNARR+42, PROVNARR+44
    PXDATE VIS~, VIS+4*, VIS+5
    PXENDDAT STOPCODE+10~, STOPCODE+16*, STOPCODE+17, CPT+14~, CPT+21*, CPT+22
    PXFILE PROVNARR~, PROVNARR+33, PROVNARR+35, PROVNARR+36
    PXPNAR PROVNARR~, PROVNARR+14, PROVNARR+15, PROVNARR+17, PROVNARR+19
    PXRESULT VIS~, VIS+5
    PXREVDAT STOPCODE+10~, STOPCODE+15*, STOPCODE+16, STOPCODE+17*, STOPCODE+18, CPT+14~, CPT+20*, CPT+21, CPT+22*, CPT+23
    PXVIS VIS~, VIS+3, VIS+5
    RESULT PROVNARR+18~, PROVNARR+24, PROVNARR+25
    SCREEN DATA2PCE~, DATA2PCE+8, VISITLST~, VISITLST+4, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    SOURCE INTV~, INTV+9, DELVFILE~, DELVFILE+4, DATA2PCE~, DATA2PCE+6, DATA2PCE+8, SOURCE~, SOURCE+2, ENCEDIT~
    , ENCEDIT+3, LOPENCED~, LOPENCED+3
    SWITCH SWITCHCK+1~, SWITCHCK+2*, SWITCHCK+3, SWITCHCK+4
    U PROVNARR+17, PROVNARR+25, PROVNARR+27, PROVNARR+39, PROVNARR+46
    USER DELVFILE~, DELVFILE+4, DATA2PCE~, DATA2PCE+8
    VISIT INTV~, INTV+5*, INTV+9, DELVFILE~, DELVFILE+4, DATA2PCE~, DATA2PCE+7*, DATA2PCE+8, 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+9, ENCEDIT~, ENCEDIT+3, LOPENCED~, LOPENCED+3
    WHICH DELVFILE~, DELVFILE+4
    X PROVNARR+18~, PROVNARR+19*, PROVNARR+24, PROVNARR+25, PROVNARR+26, PROVNARR+27, PROVNARR+31, PROVNARR+39, PROVNARR+46, DISPVSIT+9~
    Y PROVNARR+18~, PROVNARR+26*, 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