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

Package: PCE Patient Care Encounter

Routine: PXAPIIM


Information

PXAPIIM ;ISP/LMT - PCE Immunization APIs ;Aug 16, 2023@14:05

Source Information

Source file <PXAPIIM.m>

Call Graph

Call Graph

Call Graph Total: 11

Package Total Call Graph
PCE Patient Care Encounter 5 IMMGRP^PXAPIIM2  (VICR,VIMM,VSKIN)^PXPXRM  ($$GETCSTAT,$$GETSTAT,GETLOT)^PXVRPC4  $$GETSTAT^PXVRPC8  $$INST^PXVUTIL  
Kernel 2 $$NOW^XLFDT  ($$PRNT,$$STA)^XUAF4  
VA FileMan 2 $$GET1^DID  ($$GET1,GETS)^DIQ  
Lexicon Utility 1 UCUMDATA^LEXMUCUM  
Toolkit 1 $$GETSTAT^XTID  

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

Package Total Caller Graph
PCE Patient Care Encounter 9 PXAPI  PXCEICR  PXRHS03  PXRPC1  PXVP215  PXVRPC2  PXVRPC4  PXVRPC5  
PXVUTIL  
Clinical Reminders 4 PXRMCIMM  PXRMDLG6  PXRMIMM  PXRMSTS  
Order Entry Results Reporting 3 ORFIMM  ORFIMM1  ORVIMM  

Entry Points

Name Comments DBIA/ICR reference
VIS(PXRESULT,PXVIS,PXDATE) ;Called from VIS^PXAPI
IMMGRP(PXRESULT,PXIMM,PXSKIPNOTLIMITED) ;
  • ICR #6387
    • Status: Active
    • Usage: Controlled Subscription
    SKSTAT(PXSK) ;
    IMMSTAT(PXIMM) ;
  • ICR #6387
    • Status: Active
    • Usage: Controlled Subscription
    IMMNODEF() ; Returns "IMMUNIZATION, NO DEFAULT SELECTED" entry
    IMMBYNM(PXNAME) ; Finds Immunization that matches on PXNAME and returns IEN
    PATICR(PXRESULT,DFN,PXIMM,PXBDT,PXEDT,PXSKIPFOUR) ;
  • ICR #6387
    • Status: Active
    • Usage: Controlled Subscription
    SEARCH(PXRESULT,PXSUB,PXBDT,PXEDT,PXSEARCHBY) ; Helper function for PATICR
    SITES(PXRSLT,PXROUTE,PXSORTBY) ;
    IMMDEF(PXRSLT,PXIMM,PXINST) ;
    HIST(PXRESULTS,PXTYPE,PXIENLST,DFN,PXDIR) ;
  • ICR #6387
    • Status: Active
    • Usage: Controlled Subscription
    ADDIMM(PXRESULT,PXCNT,PXDAS,PXDATE) ;
    ADDSK(PXRESULT,PXCNT,PXDAS) ;
    READVALS(PXRESULT) ;return data type for reading fields
  • ICR #6387
    • Status: Active
    • Usage: Controlled Subscription
    READENT(PXRESULT,DFN) ;
    ; Find most recent immunization admin for vaccine that requires reading.
    ; Only return if there is no reading entered previously.
  • ICR #6387
    • Status: Active
    • Usage: Controlled Subscription
    GETLOT(PXRTRN,PXIMM,PXDATE,PXLOC) ;
    CVXTOIEN(PXRSLT,PXCVX) ;
  • ICR #6387
    • Status: Active
    • Usage: Controlled Subscription
    ISIMMSEL(PXRSLT,PXIMM,PXDATE,PXLOC,PXHIST) ;
    IMMSTADT(PXIMM,PXDATE) ;

    External References

    Name Field # of Occurrence
    $$GET1^DID READVALS+5, IMMSTADT+20
    $$GET1^DIQ VIS+30
    GETS^DIQ VIS+20
    UCUMDATA^LEXMUCUM IMMDEF+35
    IMMGRP^PXAPIIM2 IMMGRP+19
    VICR^PXPXRM PATICR+90
    VIMM^PXPXRM ADDIMM+2
    VSKIN^PXPXRM ADDSK+2
    $$GETCSTAT^PXVRPC4 IMMSTADT+21
    $$GETSTAT^PXVRPC4 IMMSTADT+21
    GETLOT^PXVRPC4 GETLOT+33
    $$GETSTAT^PXVRPC8 SKSTAT+12
    $$INST^PXVUTIL GETLOT+29
    $$NOW^XLFDT GETLOT+28, ISIMMSEL+27, IMMSTADT+18
    $$GETSTAT^XTID VIS+33
    $$PRNT^XUAF4 IMMDEF+18
    $$STA^XUAF4 IMMDEF+16

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^DI(.85 - [#.85] GET1^DIQ
    ^AUPNVIMM - [#9000010.11] GET1^DID
    ^AUTTIMM - [#9999999.14] GET1^DID

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^AUPNVICR - [#9000010.707] SEARCH+11
    ^AUPNVIMM - [#9000010.11] ADDIMM+6, READENT+25
    ^AUPNVSIT - [#9000010] ADDIMM+8
    ^AUTTIMM - [#9999999.14] IMMSTAT+13, IMMSTAT+14, IMMSTAT+15, READENT+10, READENT+11, READENT+29, GETLOT+25, CVXTOIEN+19, CVXTOIEN+21, CVXTOIEN+25
    , CVXTOIEN+26, CVXTOIEN+27, ISIMMSEL+36, IMMSTADT+16, IMMSTADT+24
    ^AUTTIMM("AVUID" IMMNODEF+2
    ^AUTTIMM("B" IMMNODEF+3, IMMBYNM+3
    ^AUTTIMM("C" CVXTOIEN+18
    ^AUTTIMM("G" IMMBYNM+5
    ^AUTTIMM("H" IMMBYNM+7
    ^PXRMINDX( PATICR+72, PATICR+82, SEARCH+5, SEARCH+7, SEARCH+9, HIST+28, HIST+30
    ^PXRMINDX(9000010.11 READENT+12, READENT+14
    ^PXV(920.05 - [#920.05] IMMDEF+7, IMMDEF+10
    ^PXV(920.2 - [#920.2] SITES+23
    ^PXV(920.3 - [#920.3] SITES+30, SITES+31
    ^PXV(920.6 - [#920.6] SITES+26, SITES+28, SITES+29, SITES+41
    ^TMP( GETLOT+32!, GETLOT+34, GETLOT+35!

    Label References

    Name Line Occurrences
    $$IMMSTADT ISIMMSEL+38
    ADDIMM HIST+41
    ADDSK HIST+42
    CVXTOIEN GETLOT+22, ISIMMSEL+33
    GETLOT ISIMMSEL+49
    IMMDEF IMMDEF+29
    IMMGRP PATICR+49
    SEARCH PATICR+75, PATICR+84

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    DFN PATICR~, PATICR+40, PATICR+72, PATICR+74, PATICR+82, PATICR+83, HIST~, HIST+28, HIST+30, READENT~
    , READENT+12, READENT+14
    DT SKSTAT+12, PATICR+46
    PXAUDIT IMMSTADT+13~, IMMSTADT+19*, IMMSTADT+20*, IMMSTADT+21
    PXBDT PATICR~, PATICR+46*, PATICR+47*, PATICR+75, PATICR+84, SEARCH~, SEARCH+6
    PXCLASS CVXTOIEN+13~, CVXTOIEN+19*, CVXTOIEN+20
    PXCNT HIST+21~, HIST+35*, HIST+41, HIST+42, ADDIMM~, ADDIMM+3*, ADDIMM+9, ADDSK~, ADDSK+6*, ADDSK+7
    , GETLOT+16~, GETLOT+37*, GETLOT+38
    PXCODE READVALS+1~, READVALS+6*, READVALS+7
    PXCODES READVALS+1~, READVALS+5*, READVALS+6
    PXCVX PATICR+38~, PATICR+55*, PATICR+56, PATICR+58, GETLOT+16~, GETLOT+20*, GETLOT+21, GETLOT+22, CVXTOIEN~, CVXTOIEN+16
    , CVXTOIEN+18, ISIMMSEL+23~, ISIMMSEL+31*, ISIMMSEL+32, ISIMMSEL+33
    PXDAS PATICR+38~, PATICR+87*, PATICR+88*, PATICR+90, PATICR+99, PATICR+100, PATICR+101, SEARCH+2~, SEARCH+8*, SEARCH+9*
    , SEARCH+11, SEARCH+12, HIST+21~, HIST+29*, HIST+30*, HIST+33, HIST+38*, HIST+39*, HIST+40, HIST+41
    , HIST+42, ADDIMM~, ADDIMM+2, ADDIMM+6, ADDSK~, ADDSK+2
    PXDATA VIS+16~, PATICR+38~, PATICR+89!, PATICR+90
    PXDATA( VIS+22, VIS+23, VIS+24, VIS+25, VIS+26, VIS+28
    PXDATA("COMMENTS" PATICR+101
    PXDATA("CONTRA/REFUSAL" PATICR+92
    PXDATA("CONTRAINDICATION/PRECAUTION" PATICR+100
    PXDATA("D/T R ECORDED" , PATICR+95
    PXDATA("ENC P ROVIDER" , PATICR+97
    PXDATA("EVENT D/T" , PATICR+96
    PXDATA("IMMUN" PATICR+93
    PXDATA("REFUS ED VACCINE GROUP" , PATICR+98
    PXDATA("VISIT" PATICR+91
    PXDATA("WARN UNTIL DATE" , PATICR+94
    PXDATE VIS~, VIS+33, HIST+21~, HIST+27*, HIST+28*, HIST+30, HIST+31, HIST+32, HIST+33, HIST+40*
    , HIST+41, ADDIMM~, ADDIMM+9, ADDSK+1~, ADDSK+3*, ADDSK+4*, ADDSK+5*, ADDSK+7, READENT+4~, READENT+12*
    , READENT+13, READENT+14, READENT+16, READENT+19*, READENT+20, READENT+21, READENT+24, READENT+30, GETLOT~, GETLOT+28*
    , GETLOT+33, ISIMMSEL~, ISIMMSEL+27*, ISIMMSEL+38, ISIMMSEL+49, IMMSTADT~, IMMSTADT+18*, IMMSTADT+21
    PXDIR HIST~, HIST+32
    PXEDT PATICR~, PATICR+45*, PATICR+75, PATICR+84, SEARCH~, SEARCH+5
    PXFAC ADDIMM+1~, ADDIMM+4*, ADDIMM+5, ADDIMM+8*, ADDIMM+9
    PXFILE VIS+16~, VIS+18*, VIS+20, VIS+22, VIS+23, VIS+24, VIS+25, VIS+26, VIS+28, VIS+33
    , PATICR+38~, PATICR+43*, PATICR+72, PATICR+74, PATICR+82, PATICR+83, HIST+21~, HIST+23*, HIST+28, HIST+30
    , HIST+41, HIST+42
    PXHIST ISIMMSEL~, ISIMMSEL+28*, ISIMMSEL+42
    PXI SITES+20~, SITES+27*, SITES+28*, SITES+29, READVALS+1~, READVALS+6*
    PXICR PATICR+38~, PATICR+71*, PATICR+72*, PATICR+73, PATICR+74, PATICR+79*, PATICR+80*, PATICR+82, PATICR+83
    PXIEN IMMDEF+2~, IMMDEF+7*, IMMDEF+9, IMMDEF+10, IMMDEF+15, HIST+21~, HIST+25*, HIST+26*, HIST+28, HIST+30
    PXIENLST HIST~
    PXIENLST( HIST+26
    PXIENS VIS+16~, VIS+19*, VIS+20, VIS+22, VIS+23, VIS+24, VIS+25, VIS+26, VIS+28, VIS+33
    PXIMM IMMGRP~, IMMGRP+18, IMMGRP+19, IMMSTAT~, IMMSTAT+12, IMMSTAT+13, IMMSTAT+14, IMMSTAT+15, IMMNODEF+1~, IMMNODEF+2*
    , IMMNODEF+3*, IMMNODEF+4, IMMBYNM+1~, IMMBYNM+3*, IMMBYNM+4, IMMBYNM+5*, IMMBYNM+6, IMMBYNM+7*, IMMBYNM+8, PATICR~
    , PATICR+40, PATICR+49, PATICR+54, IMMDEF~, IMMDEF+4, IMMDEF+7, IMMDEF+10, IMMDEF+29, ADDIMM+1~, ADDIMM+2
    , READENT+4~, READENT+9*, READENT+10*, READENT+11, READENT+12, READENT+14, READENT+16, READENT+24*, READENT+29, GETLOT~
    , GETLOT+18*, GETLOT+19, GETLOT+20, GETLOT+22, GETLOT+23*, GETLOT+25, GETLOT+33, CVXTOIEN+13~, CVXTOIEN+17*, CVXTOIEN+18*
    , CVXTOIEN+19, CVXTOIEN+21, CVXTOIEN+22, ISIMMSEL~, ISIMMSEL+29*, ISIMMSEL+30, ISIMMSEL+31, ISIMMSEL+33, ISIMMSEL+34*, ISIMMSEL+36
    , ISIMMSEL+38, ISIMMSEL+49, IMMSTADT~, IMMSTADT+15, IMMSTADT+16, IMMSTADT+21, IMMSTADT+24
    PXIMM("FACILITY" ADDIMM+4
    PXIMM("IMMUNIZATION" ADDIMM+9
    PXIMM("SERIES" ADDIMM+9
    PXIMMB PATICR+38~, PATICR+57*, PATICR+58*, PATICR+59, PATICR+64*, PATICR+65*, PATICR+66, PATICR+69*, PATICR+70*, PATICR+72
    , PATICR+74, PATICR+81*, PATICR+82*, PATICR+83
    PXIMMGRP PATICR+38~, PATICR+49
    PXIMMGRP("CVX" PATICR+55, PATICR+58
    PXIMMGRP("ICR" PATICR+80
    PXIMMGRP("VG" PATICR+63, PATICR+65
    PXINST IMMDEF~, IMMDEF+4, IMMDEF+5, IMMDEF+7, IMMDEF+16, IMMDEF+22, IMMDEF+26, IMMDEF+28*, IMMDEF+29, GETLOT+16~
    , GETLOT+29*, GETLOT+33
    PXINST( IMMDEF+5, IMMDEF+26*
    PXLANG VIS+16~, VIS+28*, VIS+29, VIS+30*, VIS+31
    PXLOC GETLOT~, GETLOT+29, ISIMMSEL~, ISIMMSEL+49
    PXLOTS ISIMMSEL+23~, ISIMMSEL+49
    PXLOTS(0 ISIMMSEL+50
    PXNAME IMMBYNM~, IMMBYNM+2, IMMBYNM+3, IMMBYNM+5, IMMBYNM+7, READENT+4~, READENT+29*, READENT+30, CVXTOIEN+13~, CVXTOIEN+25*
    , CVXTOIEN+28
    PXNUNITS IMMDEF+2~, IMMDEF+32*, IMMDEF+33
    PXPRNT IMMDEF+2~, IMMDEF+18*, IMMDEF+21, IMMDEF+22, IMMDEF+23, IMMDEF+28
    PXRESULT VIS~, IMMGRP~, IMMGRP+19, PATICR~, PATICR+75, PATICR+84, SEARCH~, ADDIMM~, ADDSK~, READVALS~
    , READENT~
    PXRESULT( PATICR+88, PATICR+99*, PATICR+100*, PATICR+101*, SEARCH+12*, ADDIMM+9*, ADDSK+7*
    PXRESULT("2D BAR CODE" , VIS+25*
    PXRESULT("CODES" READVALS+7*
    PXRESULT("EDI TION DATE" , VIS+23*, TION STATUS" , VIS+24*
    PXRESULT("LANGUAGE" VIS+31*
    PXRESULT("NAME" VIS+22*
    PXRESULT("RANGE" READVALS+3*
    PXRESULT("STATUS" VIS+34*
    PXRESULT("VIS URL" , VIS+26*
    PXRESULT(1 READENT+6*, READENT+30*
    PXRESULTS HIST~, HIST+41, HIST+42
    PXROUTE SITES~, SITES+22, SITES+23, SITES+26, SITES+28, SITES+29, SITES+41
    PXRSLT SITES~, SITES+38, IMMDEF~, IMMDEF+10*, IMMDEF+29, CVXTOIEN~, CVXTOIEN+15*, CVXTOIEN+22*, CVXTOIEN+24, CVXTOIEN+25
    , CVXTOIEN+26, CVXTOIEN+27, CVXTOIEN+28*, ISIMMSEL~, ISIMMSEL+25*, ISIMMSEL+43*, ISIMMSEL+50*
    PXRSLT( SITES+33*, SITES+34*
    PXRSLT("ALL" SITES+42*
    PXRSLT("NONE" SITES+38*
    PXRSLT(13 IMMDEF+31, IMMDEF+32, IMMDEF+37*
    PXRTRN GETLOT~, GETLOT+34*
    PXRTRN("" GETLOT+37
    PXRTRN(0 GETLOT+26*, GETLOT+38*
    PXSEARCH PATICR+38~
    PXSEARCH( PATICR+70
    PXSEARCH("ALL" PATICR+54*, PATICR+59*, PATICR+66
    PXSEARCH("REFUSALS" PATICR+66*
    PXSEARCHBY PATICR+38~, PATICR+68*, PATICR+70, PATICR+73, PATICR+75, SEARCH~, SEARCH+11
    PXSELHIST CVXTOIEN+13~, CVXTOIEN+21*, CVXTOIEN+22, CVXTOIEN+26*, CVXTOIEN+28
    PXSITE SITES+20~, SITES+29*, SITES+30, SITES+31, SITES+33, SITES+34
    PXSITEHL SITES+20~, SITES+31*, SITES+33, SITES+34
    PXSITENM SITES+20~, SITES+30*, SITES+32, SITES+33, SITES+34
    PXSK SKSTAT~, SKSTAT+11, SKSTAT+12, ADDSK+1~, ADDSK+2
    PXSK("DATE RE AD" , ADDSK+7
    PXSK("EVENT D ATE AND TIME" , ADDSK+3
    PXSK("FACILITY" ADDSK+7
    PXSK("PLACEME NT VISIT DATE TIME" , ADDSK+4
    PXSK("READING" ADDSK+7
    PXSK("RESULTS" ADDSK+7
    PXSK("SKIN TE ST" , ADDSK+7
    PXSK("VISIT D ATE TIME" , ADDSK+5
    PXSKIPFOUR PATICR~, PATICR+42*, PATICR+49
    PXSKIPNOTLIMITED IMMGRP~, IMMGRP+19
    PXSORTBY SITES~, SITES+24*, SITES+33, SITES+34
    PXSTA IMMDEF+2~, IMMDEF+16*, IMMDEF+17, IMMDEF+18, IMMDEF+21
    PXSTART SEARCH+2~, SEARCH+4*, SEARCH+5*, SEARCH+7, SEARCH+9
    PXSTATUS VIS+16~, VIS+33*, VIS+34, CVXTOIEN+13~, CVXTOIEN+27*, CVXTOIEN+28, ISIMMSEL+23~, ISIMMSEL+38*, ISIMMSEL+43, ISIMMSEL+46
    , IMMSTADT+13~, IMMSTADT+21*, IMMSTADT+23
    PXSTOP SEARCH+2~, SEARCH+6*, SEARCH+7*, SEARCH+9
    PXSUB PATICR+38~, PATICR+75, PATICR+84, SEARCH~, HIST+21~, HIST+31*, HIST+32*, HIST+33, HIST+36*, HIST+37*
    , HIST+39, HIST+40, GETLOT+16~, GETLOT+31*, GETLOT+32, GETLOT+33, GETLOT+34, GETLOT+35
    PXSUB(1 PATICR+74*, PATICR+83*, SEARCH+5, SEARCH+7, SEARCH+9
    PXSUB(2 PATICR+74*, PATICR+83*, SEARCH+5, SEARCH+7, SEARCH+9
    PXSUB(3 PATICR+74*, PATICR+83*, SEARCH+5, SEARCH+7, SEARCH+9
    PXSUB(4 PATICR+74*, PATICR+83*, SEARCH+5, SEARCH+7, SEARCH+9
    PXSUB(5 PATICR+74*, PATICR+83*, SEARCH+5, SEARCH+7, SEARCH+9
    PXTEMP READENT+4~
    PXTEMP( READENT+16*, READENT+21, READENT+24
    PXTEMP("" READENT+19
    PXTMP HIST+21~
    PXTMP( HIST+33*, HIST+37, HIST+39, HIST+40
    PXTYPE HIST~, HIST+23
    PXUCUM IMMDEF+2~, IMMDEF+34!, IMMDEF+35
    PXUCUM(0 IMMDEF+36
    PXUNITS IMMDEF+2~, IMMDEF+31*, IMMDEF+33, IMMDEF+36*, IMMDEF+37
    PXVGN PATICR+38~, PATICR+62*, PATICR+63*, PATICR+65
    PXVIMM READENT+4~, READENT+14*, READENT+15, READENT+16, READENT+21*, READENT+22, READENT+24, READENT+25, READENT+30
    PXVIMM14 READENT+4~, READENT+25*, READENT+27
    PXVIS VIS~, VIS+19
    PXVISIT ADDIMM+1~, ADDIMM+6*, ADDIMM+7, ADDIMM+8
    PXX PATICR+38~, PATICR+91*, PATICR+92*, PATICR+93*, PATICR+94*, PATICR+95*, PATICR+96*, PATICR+97*, PATICR+98*, PATICR+99
    U VIS+24, VIS+30, VIS+34, IMMSTAT+14, IMMSTAT+15, PATICR+92, PATICR+93, PATICR+94, PATICR+95, PATICR+96
    , PATICR+97, PATICR+98, SEARCH+11, SITES+29, SITES+30, SITES+31, SITES+33, SITES+34, IMMDEF+21, IMMDEF+31
    , IMMDEF+32, IMMDEF+37, ADDIMM+4, ADDIMM+6, ADDIMM+8, ADDIMM+9, ADDSK+7, READENT+11, READENT+27, READENT+29
    , READENT+30, GETLOT+23, CVXTOIEN+19, CVXTOIEN+21, CVXTOIEN+25, CVXTOIEN+26, CVXTOIEN+27, CVXTOIEN+28, ISIMMSEL+34, IMMSTADT+24
    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