PXAPI ;ISL/dee,PKR - PCE's APIs ;07/13/2021
Source file <PXAPI.m>
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 |
Name | Comments | DBIA/ICR reference |
---|---|---|
GMPARAMS(FILENUM,IEN) | ;Return the measurement parameters for the
|
|
PROVNARR(PXPNAR,PXFILE,PXCLEX) | ;Add or lookup external Provider Narrative.
|
|
STOPCODE(PXASTOP,PXAPAT,PXADATE) | ;This is the function call to return the
|
|
CPT(PXACPT,PXAPAT,PXADATE,PXAHLOC) | ;This is the function call to return the
|
|
INTV(WHAT,PACKAGE,SOURCE,VISIT,HL,DFN,APPT,LIMITDT,ALLHLOC) | ;This API will
|
|
DELVFILE(WHICH,VISIT,PACKAGE,SOURCE,ASK,ECHO,USER,ERROR,PROBARR) | ;Deletes the requested data
|
|
DATA2PCE(DATA,PACKAGE,SOURCE,VISIT,USER,DISPLAY,ERROR,SCREEN,ARRAY,ACCOUNT) | ;
|
|
SOURCE(SOURCE) | ;Get IEN of data source in the PCE Data Source file
|
|
VISITLST(DFN,BEGINDT,ENDDT,HLOC,SCREEN,APPOINT,PROMPT,COSTATUS) | ;--GATHER VISITS
|
|
ENCEDIT(WHAT,PACKAGE,SOURCE,DFN,BEGINDT,ENDDT,HLOC,SCREEN,APPOINT,PROMPT,COSTATUS) | ;--Ask for encounter the edit it of delete it
|
|
LOPENCED(WHAT,PACKAGE,SOURCE,DFN,BEGINDT,ENDDT,HLOC,SCREEN,APPOINT,PROMPT,COSTATUS) | ;--Ask for encounter the edit it of delete it
|
|
GETENC(DFN,ENCDT,HLOC) | ;--Get all of the encounter data
|
|
ENCEVENT(VISIT,DONTKILL) | ;--Get all of the encounter data
|
|
VST2APPT(VISIT) | ;Is this visit related to an appointment
|
|
APPT2VST(DFN,ENCDT,HLOC) | ;Get the visit for an Appointment
|
|
SWITCHD() | ;This returns the date that PCE starts collecting the data
; instead Scheduling (switch over date). ICR #1897 |
|
SWITCHCK(DATE) | ;Returns 1 if after the switch over date 0 otherwise. ICR #1897
|
|
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
|
|
PRVCLASS(PROVIDER,VISITDT) | ;See if this is a good provider
|
|
VIS(PXRESULT,PXVIS,PXDATE) | ;Return Vaccine Information Statement entry
|
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 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^PX(815 - [#815] | Classic Fileman Calls |
^AUTNPOV - [#9999999.27] | VAL^DIE |
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 |
Name | Field # of Occurrence |
---|---|
^(0 | CPT+29 |
>> | 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 |