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 |  Naked Globals |  Local Variables |  Marked Items |  All
Print Page as PDF
Routine: HMPDJ04

Package: Enterprise Health Management Platform

Routine: HMPDJ04


Information

HMPDJ04 ;SLC/MKB,ASMR/RRB,ASF,PB - Appointments,Visits;May 24, 2016 15:21:17

Source Information

Source file <HMPDJ04.m>

Call Graph

Call Graph

Call Graph Total: 15

Package Total Call Graph
Enterprise Health Management Platform 9 $$FAC^HMPD  ADD^HMPDJ  ADM^HMPDJ04A  EDP1^HMPDJ04E  $$SERV^HMPDSDAM  ($$AMIS,$$CATG,$$ICD,$$SERV)^HMPDVSIT  ADD^HMPMETA  $$EN^HMPSTMP  
($$JSONDT,$$SETNCS,$$SETUID,FACILITY)^HMPUTILS  
Kernel 2 $$FMTE^XLFDT  ($$NS,$$STA)^XUAF4  
VA FileMan 2 $$EXTERNAL^DILFD  ($$GET1,GETS)^DIQ  
CPT HCPCS Codes 1 $$CPT^ICPTCOD  
PCE Patient Care Encounter 1 ENCEVENT^PXKENC  

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

Package Total Caller Graph
Enterprise Health Management Platform 7 HMPDJ0  HMPDJ02  HMPDJ04A  HMPDJ04E  HMPDJ07  HMPDJ08  HMPDJ09  

Entry Points

Name Comments DBIA/ICR reference
SDAM1 ; -- appointment ^TMP($J,"SDAMA301",DFN,HMPDT)
DGS ; scheduled admissions [from APPOINTM^HMPDJ0]
DGS1(IFN) ; -- scheduled admission
VSIT1(ID) ; -- visit
CPT(VISIT) ; -- Return CPT code of encounter type
POV(VISIT) ; -- return the primary Purpose of Visit as ICD^ProviderNarrative
PROV(ARR,I,IEN,ROLE,PRIM) ; -- add providers
NAME(IEN) ; -- Return a string 'name' for the visit
FAC(IEN)
STCODE(IEN)
STOPCODE(X,Y)

External References

Name Field # of Occurrence
$$EXTERNAL^DILFD POV+6
$$GET1^DIQ SDAM1+21, SDAM1+24, SDAM1+27, SDAM1+33, DGS1+4, DGS1+8, DGS1+11, DGS1+13, DGS1+15, DGS1+19
, VSIT1+26, VSIT1+30, VSIT1+36, VSIT1+37, VSIT1+38, VSIT1+39, PROV+2, NAME+3, FAC+2, FAC+4
, STCODE+2, STCODE+4, STCODE+5
GETS^DIQ SDAM1+29, VSIT1+34
$$FAC^HMPD SDAM1+18, DGS1+7, VSIT1+19, FAC+5
ADD^HMPDJ SDAM1+42, DGS1+27, VSIT1+53
ADM^HMPDJ04A VSIT1+2, VSIT1+11
EDP1^HMPDJ04E VSIT1+4
$$SERV^HMPDSDAM SDAM1+25, DGS1+16
$$AMIS^HMPDVSIT SDAM1+22, DGS1+13, VSIT1+33, VSIT1+34, STCODE+3, STCODE+6
$$CATG^HMPDVSIT VSIT1+26
$$ICD^HMPDVSIT POV+5
$$SERV^HMPDVSIT VSIT1+39
ADD^HMPMETA SDAM1+41, DGS1+26, VSIT1+52
$$EN^HMPSTMP SDAM1+38, DGS1+23, VSIT1+49
$$JSONDT^HMPUTILS SDAM1+13, SDAM1+15, SDAM1+16, DGS1+6, VSIT1+13, VSIT1+14
$$SETNCS^HMPUTILS VSIT1+41
$$SETUID^HMPUTILS SDAM1+9, SDAM1+20, SDAM1+33, DGS1+5, DGS1+12, DGS1+18, VSIT1+12, VSIT1+15, VSIT1+35, PROV+1
FACILITY^HMPUTILS SDAM1+18, DGS1+7, VSIT1+19
$$CPT^ICPTCOD VSIT1+25
ENCEVENT^PXKENC CPT+4
$$FMTE^XLFDT NAME+4
$$NS^XUAF4 VSIT1+18, FAC+3
$$STA^XUAF4 VSIT1+18, FAC+3

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^DIC(42 - [#42] GET1^DIQ
^SC - [#44] GET1^DIQ,  GETS^DIQ
^AUPNVSIT - [#9000010] GET1^DIQ
^AUPNVPOV - [#9000010.07] EXTERNAL^DILFD

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVPOV - [#9000010.07] POV+4
^AUPNVPOV("AD" POV+3
^AUPNVPRV - [#9000010.06] VSIT1+44
^AUPNVPRV("AD" VSIT1+43
^AUPNVSIT - [#9000010] VSIT1+8, NAME+2
^DGS(41.1 - [#41.1] DGS+2, DGS+3, DGS1+2
^EDP(230 - [#230] VSIT1+4
^TMP("PXKENC" VSIT1+48!, CPT+5, CPT+6
^TMP($J SDAM1+2

Label References

Name Line Occurrences
$$CPT VSIT1+25
$$POV VSIT1+41
DGS1 DGS+4, DGS+7
PROV VSIT1+45, VSIT1+46

Naked Globals

Name Field # of Occurrence
^(150 VSIT1+8

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
ADM DGS1+1~
ADM("appointmentStatus" DGS1+22*
ADM("categoryCode" DGS1+21*
ADM("categoryName" DGS1+21*
ADM("dateTime" DGS1+6*
ADM("lastUpdateTime" DGS1+23*, DGS1+24
ADM("localId" DGS1+5*
ADM("locationName" DGS1+10*
ADM("locationUid" DGS1+12*
ADM("patientClassCode" DGS1+20*
ADM("patientClassName" DGS1+20*
ADM("providers" DGS1+18*, DGS1+19*
ADM("service" DGS1+16*
ADM("shortLocationName" DGS1+11*
ADM("stampTime" DGS1+24*, DGS1+26
ADM("stopCodeName" DGS1+14*
ADM("stopCodeUid" DGS1+14*
ADM("uid" DGS1+5*, DGS1+9*, DGS1+26
AMIS VSIT1+1~, VSIT1+33*, VSIT1+34*, VSIT1+40
AMISARR VSIT1+34~
AMISARR(44 VSIT1+34
APPT SDAM1+1~
APPT("appointmentStatus" SDAM1+37*
APPT("categoryCode" SDAM1+36*
APPT("categoryName" SDAM1+36*
APPT("checkIn" SDAM1+15*
APPT("checkOut" SDAM1+16*
APPT("comment" SDAM1+14*
APPT("dateTime" SDAM1+13*
APPT("lastUpdateTime" SDAM1+38*, SDAM1+39
APPT("localId" SDAM1+9*
APPT("locationName" SDAM1+19*
APPT("locationUid" SDAM1+20*
APPT("patientClassCode" SDAM1+34*
APPT("patientClassName" SDAM1+35*
APPT("providers" SDAM1+33*
APPT("reasonName" SDAM1+17*
APPT("service" SDAM1+25*
APPT("shortLocationName" SDAM1+21*
APPT("stampTime" SDAM1+39*, SDAM1+41
APPT("stopCodeName" SDAM1+23*
APPT("stopCodeUid" SDAM1+23*
APPT("typeCode" SDAM1+10*
APPT("typeName" SDAM1+10*
APPT("uid" SDAM1+9*, SDAM1+41
ARR PROV~, PROV+1, PROV+2, PROV+3, PROV+4
CATG VSIT1+1~, VSIT1+17*, VSIT1+20, VSIT1+23, VSIT1+26
CLS SDAM1+1~, SDAM1+11*, SDAM1+34, SDAM1+35
DA VSIT1+1~, VSIT1+43*, VSIT1+44, VSIT1+45, VSIT1+46, CPT+2~, CPT+5*, CPT+6, POV+1~, POV+3*
, POV+4
DATE DGS1+1~, DGS1+4*, DGS1+5, DGS1+6, NAME+1~, NAME+3*, NAME+4
>> DFN SDAM1+2, SDAM1+4, SDAM1+9, DGS+2, DGS1+5, VSIT1+12, VSIT1+15
ERRMSG SDAM1+3~, SDAM1+5*
ERRPAT SDAM1+3~, SDAM1+4*
FAC SDAM1+1~, SDAM1+18*, DGS1+1~, DGS1+7*, VSIT1+1~, VSIT1+17*, VSIT1+18, VSIT1+19, FAC+2~*, FAC+3
, FAC+4*, FAC+5
FIRST SDAM1+28~, SDAM1+30*, SDAM1+32
HLOC SDAM1+1~, SDAM1+7*, SDAM1+18, SDAM1+19, SDAM1+20, SDAM1+21, SDAM1+24, SDAM1+27, SDAM1+29, DGS1+1~
, DGS1+4*, DGS1+7, DGS1+8*, DGS1+9, DGS1+10, DGS1+11, DGS1+12, DGS1+13, DGS1+15
>> HMPA DGS+2*, DGS+3, DGS+4, DGS+7
>> HMPDT SDAM1+2, SDAM1+7, SDAM1+13
>> HMPI DGS+2
>> HMPMAX DGS+2
>> HMPMETA SDAM1+41, DGS1+26, VSIT1+52
HMPP SDAM1+28~
HMPP( SDAM1+30, SDAM1+31, SDAM1+32
>> HMPSTART DGS+6
>> HMPSTOP DGS+6
>> HMPX DGS+3*, DGS+4, DGS+5, DGS+6
I SDAM1+28~, SDAM1+30*, SDAM1+31*, PROV~, PROV+1, PROV+2, PROV+3, PROV+4
ICD POV+1~, POV+5*, POV+6
ID SDAM1+8, SDAM1+17, DGS+4, VSIT1~, VSIT1+2, VSIT1+4, VSIT1+8, VSIT1+11, VSIT1+12, VSIT1+25
, VSIT1+41, VSIT1+43, VSIT1+48
IEN PROV~, PROV+1, PROV+2, NAME~, NAME+2, FAC~, FAC+1, FAC+2, FAC+4, STCODE~
, STCODE+1, STCODE+2, STCODE+4
IFN DGS1~, DGS1+2
INPT VSIT1+1~, VSIT1+23*, VSIT1+26, VSIT1+27, VSIT1+28
LIEN STCODE+2~, STCODE+4*, STCODE+5
LOC VSIT1+1~, VSIT1+17*, VSIT1+19, VSIT1+26, VSIT1+33, VSIT1+34, VSIT1+35, VSIT1+36, VSIT1+37, VSIT1+38
, VSIT1+39, NAME+1~, NAME+3*, NAME+4
NODE SDAM1+1~, SDAM1+2*, SDAM1+7, SDAM1+10, SDAM1+11, SDAM1+12, SDAM1+14, SDAM1+15, SDAM1+16, SDAM1+22
PRIM PROV~, PROV+4
PRV SDAM1+1~, SDAM1+17*, SDAM1+27*, SDAM1+31*, SDAM1+32*, SDAM1+33
PS VSIT1+1~
PS( VSIT1+46, VSIT1+47*
ROLE PROV~, PROV+3
STCODE STCODE+2~*, STCODE+3, STCODE+5*, STCODE+6
STS SDAM1+1~, SDAM1+11*, SDAM1+12*, SDAM1+37
SV SDAM1+1~, SDAM1+24*, SDAM1+25, DGS1+1~, DGS1+15*, DGS1+16
U SDAM1+7, SDAM1+10, SDAM1+11, SDAM1+12, SDAM1+14, SDAM1+15, SDAM1+16, SDAM1+22, SDAM1+23, DGS+4
, DGS+5, DGS+6, DGS1+4, DGS1+14, DGS1+17, DGS1+22, VSIT1+11, VSIT1+14, VSIT1+15, VSIT1+17
, VSIT1+18, VSIT1+23, VSIT1+24, VSIT1+25, VSIT1+30, VSIT1+33, VSIT1+40, VSIT1+41, VSIT1+45, POV+4
, POV+5, POV+6, NAME+3, FAC+3, STOPCODE+1, STOPCODE+2
VISIT CPT~, CPT+4, CPT+5, CPT+6, POV~, POV+3
VST VSIT1+1~
VST("categoryCode" VSIT1+21*
VST("categoryName" VSIT1+22*
VST("checkOut" VSIT1+14*
VST("createdByName" VSIT1+31*
VST("dateTime" VSIT1+13*
VST("encounterType" VSIT1+24*
VST("lastUpdateTime" VSIT1+49*, VSIT1+50
VST("localId" VSIT1+12*
VST("locationName" VSIT1+37*
VST("locationOos" VSIT1+38*
VST("locationUid" VSIT1+35*
VST("parentUid" VSIT1+15*
VST("patientClassCode" VSIT1+27*
VST("patientClassName" VSIT1+28*
VST("reasonName" VSIT1+41*
VST("reasonUid" VSIT1+41*
VST("service" VSIT1+39*
VST("shortLocationName" VSIT1+36*
VST("stampTime" VSIT1+50*, VSIT1+52
VST("stopCodeName" VSIT1+40*
VST("stopCodeUid" VSIT1+40*
VST("typeName" VSIT1+25*, VSIT1+26*
VST("uid" VSIT1+12*, VSIT1+52
X SDAM1+1~, SDAM1+7*, SDAM1+8, SDAM1+9, SDAM1+10*, SDAM1+21*, SDAM1+22*, SDAM1+23, DGS+6*, DGS1+1~
, DGS1+5*, DGS1+11*, DGS1+13*, DGS1+14, DGS1+17*, DGS1+18, DGS1+19, VSIT1+1~, VSIT1+18*, VSIT1+19*
, VSIT1+20*, VSIT1+21, VSIT1+22, VSIT1+24*, VSIT1+25*, VSIT1+26, VSIT1+30*, VSIT1+31, VSIT1+33*, VSIT1+34*
, VSIT1+36*, VSIT1+39*, VSIT1+41*, POV+1~, POV+5*, POV+6, STOPCODE~, STOPCODE+1, STOPCODE+2
X0 DGS1+1~, DGS1+2*, DGS1+4, DGS1+17, DGS1+22, VSIT1+1~, VSIT1+8*, VSIT1+11, VSIT1+13, VSIT1+14
, VSIT1+15, VSIT1+17, VSIT1+30, VSIT1+33, VSIT1+44*, VSIT1+45, VSIT1+46, VSIT1+47, POV+1~, POV+4*
, POV+5, NAME+1~, NAME+2*, NAME+3
X15 VSIT1+1~, VSIT1+8*, VSIT1+23, VSIT1+24
Y CPT+2~*, CPT+5, CPT+6*, CPT+7, POV+1~*, POV+3, POV+6*, POV+7, NAME+1~, NAME+2*
, NAME+4*, NAME+5, STOPCODE~, STOPCODE+1, STOPCODE+2

Marked Items

Name Field # of Occurrence
$T(EDP1^HMPDJ04E VSIT1+4
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  Marked Items |  All