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

Package: Enterprise Health Management Platform

Routine: HMPDJ00


Information

HMPDJ00 ;SLC/MKB,ASMR/RRB,MBS - Patient demographics;Aug 29, 2016 20:06:27

Source Information

Source file <HMPDJ00.m>

Call Graph

Call Graph

Call Graph Total: 23

Package Total Call Graph
Registration 10 $$TSDATA^DGACT  $$CVEDT^DGCV  $$GETSTAT^DGMSTAPI  $$GETCUR^DGNTAPI  $$GETACT^DGPFAPI  RDIS^DGRPDB  PTSEC^DGSEC4  (7,ADD,DEM,KVAR,OAD)^VADPT  
TFL^VAFCTFU1  ($$ALL,$$SITE)^VASITE  
Enterprise Health Management Platform 7 GETPATTM^HMPCRPC1  ADD^HMPDJ  $$PID^HMPDJFS  LOGDPT^HMPLOG  ADD^HMPMETA  $$EN^HMPSTMP  ($$JSONDT,$$SETUID)^HMPUTILS  
Integrated Billing 1 $$INSUR^IBBAPI  
Kernel 1 $$IEN^XUAF4  
Master Patient Index VistA 1 $$GETICN^MPIF001  
Order Entry Results Reporting 1 $$CWAD^ORQPT2  
Scheduling 1 ($$OUTPTPR,$$OUTPTTM)^SDUTL3  
VA FileMan 1 ($$GET1,GETS)^DIQ  

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

Package Total Caller Graph
Enterprise Health Management Platform 4 HMPCRPC1  HMPDJ0  HMPEF  HMPWB2  

Entry Points

Name Comments DBIA/ICR reference
DPT1 ; -- Demographics
DPT1OD(PAT) ; -- Demographics (data array only)
LKUP ; patient lookup data
; expects HMPSYS,DFN
DEM ;-demographic data
SVC ;-service data
PRF ;-patient record flags
ATC ;-address & telecom
ADD(LINE1,LINE2,LINE3,CITY,STATE,ZIP,START,STOP) ; -- address set
VAPA(BEG,END) ; -- VAPA nodes have data?
SUPP ;-support contacts
ALIAS ;-other names used
FAC ;-treating facilities [see FACLIST^ORWCIRN]
PC ;-primary care assignments
INPT ;-inpatient information
INS ;-insurance information
FORMAT(X) ; -- enforce (xxx)xxx-xxxx phone format
NAME(CODE,SET) ; -- Return expanded name for code set
BOOL(X) ;

External References

Name Field # of Occurrence
$$TSDATA^DGACT INPT+11, INPT+14
$$CVEDT^DGCV SVC+30
$$GETSTAT^DGMSTAPI SVC+27
$$GETCUR^DGNTAPI SVC+24
$$GETACT^DGPFAPI PRF+2
RDIS^DGRPDB SVC+37
PTSEC^DGSEC4 LKUP+19, DEM+13
$$GET1^DIQ DEM+22, DEM+25, SVC+21, SVC+40, ATC+16, ATC+21, ADD+5, SUPP+13, SUPP+15, FAC+9
, NAME+4
GETS^DIQ SVC+6
GETPATTM^HMPCRPC1 PC+1
ADD^HMPDJ DPT1+2, LKUP+25
$$PID^HMPDJFS DEM+2
LOGDPT^HMPLOG LKUP+3, FAC+1
ADD^HMPMETA DPT1OD+10, LKUP+22
$$EN^HMPSTMP DPT1OD+7, LKUP+24
$$JSONDT^HMPUTILS LKUP+16, LKUP+18, DEM+9, DEM+12, PRF+5, PRF+7, ADD+7, ADD+8, FAC+17, INS+9
INS+10
$$SETUID^HMPUTILS LKUP+12, DEM+7, PC+4, PC+7, INPT+3, INPT+13
$$INSUR^IBBAPI INS+2
$$GETICN^MPIF001 LKUP+13, DEM+3
$$CWAD^ORQPT2 PRF+16
$$OUTPTPR^SDUTL3 PC+3
$$OUTPTTM^SDUTL3 PC+6
7^VADPT SVC+2
ADD^VADPT ATC+3
DEM^VADPT DEM+4
KVAR^VADPT DPT1OD+6
OAD^VADPT SUPP+3
TFL^VAFCTFU1 FAC+4
$$ALL^VASITE FAC+3
$$SITE^VASITE DPT1OD+1, FAC+8
$$IEN^XUAF4 FAC+12

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(13 - [#13] GET1^DIQ
^DPT - [#2] GET1^DIQ,  GETS^DIQ
2.02 GET1^DIQ
2.06 GET1^DIQ
^DIC(31 - [#31] GET1^DIQ
^DIC(4 - [#4] GET1^DIQ
^DIC(5 - [#5] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^AUPNVSIT("AA" FAC+7
^DIC(42 - [#42] INPT+7
^DPT - [#2] LKUP+3, LKUP+17, SVC+10, ATC+20, ATC+21, ALIAS+2, FAC+5, INPT+2, INPT+4, INPT+5
INPT+10
^SC - [#44] INPT+8

Label References

Name Line Occurrences
$$BOOL LKUP+20, DEM+14, SVC+3, SVC+4, SVC+43, ATC+13
$$FORMAT ATC+16, SUPP+15
$$NAME LKUP+9, DEM+11, DEM+15, DEM+19
$$VAPA ATC+3
ADD ATC+5, ATC+9
ALIAS DPT1OD+5
ATC DPT1OD+5
DEM DPT1OD+5
DPT1OD DPT1+1
FAC DPT1OD+5
INPT DPT1OD+5
INS DPT1OD+5
PC DPT1OD+5
PRF DPT1OD+5
SUPP DPT1OD+5
SVC DPT1OD+5

Naked Globals

Name Field # of Occurrence
^( ALIAS+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
A SUPP+1~, SUPP+2*, SUPP+3, SUPP+4, SUPP+15
ADM INPT+1~, INPT+2*, INPT+3
AO SVC+1~
BEG VAPA~, VAPA+2
CITY ADD~, ADD+4
CNT ATC+1~, ATC+3*, ATC+4*, ATC+6, ATC+8*, ATC+10, ATC+12, ATC+13, ADD+1, ADD+2
, ADD+3, ADD+4, ADD+5, ADD+6, ADD+7, ADD+8
CODE NAME~, NAME+1*, NAME+2, NAME+3, NAME+4
CV SVC+1~
>> DFN DPT1OD+3, DPT1OD+4, LKUP+3, LKUP+10, LKUP+11, LKUP+12, LKUP+13, LKUP+17, LKUP+19, DEM+2
DEM+3, DEM+6, DEM+7, DEM+13, DEM+22, DEM+25, SVC+6, SVC+10, SVC+21, SVC+24
SVC+27, SVC+30, SVC+37, PRF+2, PRF+16, ATC+16, ATC+20, ATC+21, SUPP+15, ALIAS+2
FAC+1*, FAC+4, FAC+5, FAC+7, FAC+19, PC+1, PC+3, PC+6, INPT+2, INPT+3
INPT+4, INPT+5, INPT+10, INS+2, INS+5
DIS SVC+36~, SVC+39*, SVC+40, SVC+42, SVC+43
DX SVC+36~, SVC+40*, SVC+41, SVC+42, SVC+43
END VAPA~, VAPA+2
ERRMSG DPT1OD+2~, DPT1OD+4*
ERRPAT DPT1OD+2~, DPT1OD+3*
>> EXPVAL SVC+15*, SVC+17*, SVC+21*, SVC+22, SVC+25*, SVC+27*, SVC+28, SVC+31*, SVC+33*
HL INPT+1~, INPT+7*, INPT+8
HMPDIS SVC+36~, SVC+37
HMPDIS( SVC+38, SVC+39
HMPF PRF+1~
HMPF( PRF+3, PRF+5, PRF+6, PRF+7, PRF+8, PRF+9, PRF+10, PRF+11, PRF+12, PRF+13
PRF+14
>> HMPFADOM LKUP+22
HMPINS INS+1~, INS+4!*
HMPINS(1 INS+5, INS+7
HMPINS(10 INS+9
HMPINS(11 INS+10
HMPINS(12 INS+13
HMPINS(18 INS+11
HMPINS(21 INS+12
HMPINS(8 INS+5
>> HMPMETA DPT1OD+10, LKUP+22
HMPSC SVC+1~
HMPSC( SVC+7, SVC+8, SVC+9
>> HMPSTMP DPT1OD+7, LKUP+22, LKUP+23
>> HMPSYS LKUP+11, FAC+20
HMPX INS+1~, INS+2
HMPX("IBBAPI" INS+3, INS+4
HMPY FAC+2~, FAC+4
HMPY( FAC+10, FAC+11
HMPY(1 FAC+6, FAC+9*
HNC SVC+1~
HNC("STAT" SVC+24
HOME FAC+2~, FAC+5*, FAC+16
I DEM+1~, DEM+20*, DEM+21, DEM+23*, DEM+24, SVC+1~, SVC+7*, SVC+8, SVC+9, SVC+38*
SVC+39, PRF+1~, PRF+3*, PRF+4, PRF+5, PRF+6, PRF+7, PRF+8, PRF+9, PRF+10
PRF+11, PRF+12, PRF+13, PRF+14, PRF+15, ATC+1~, ATC+11*, ATC+12, ATC+13, ATC+18*
, VAPA+1~, VAPA+2*, SUPP+1~, SUPP+15*, SUPP+18*, ALIAS+1~, ALIAS+2*, ALIAS+3, FAC+2~, FAC+10*
FAC+11, FAC+14, FAC+15, FAC+16, FAC+17, FAC+19, FAC+20, INPT+1~, INPT+7*, INS+1~
INS+3*, INS+4, INS+5, INS+7, INS+9, INS+10, INS+11, INS+12, INS+14, FORMAT+2~
, FORMAT+3*
IEN FAC+2~, FAC+12*, FAC+16
IFN FAC+1~
IR SVC+1~
LAST FAC+2~, FAC+7*, FAC+9
LINE1 ADD~, ADD+1
LINE2 ADD~, ADD+2
LINE3 ADD~, ADD+3
>> LST LKUP+19, DEM+13
>> LST(1 LKUP+20, DEM+14
MST SVC+1~
N PRF+1~, PRF+13*, PRF+14*, FORMAT+2~, FORMAT+3*
NM SVC+36~, SVC+40*, SVC+41, ATC+1~, ATC+17*, ATC+18, SUPP+17*, SUPP+18
P SVC+1~, ATC+1~, ATC+17*, ATC+18, ATC+19, SUPP+17*, SUPP+18, SUPP+19, FORMAT+2~*, FORMAT+3*
, FORMAT+4*, FORMAT+5
PAT DPT1+1~, DPT1+2, DPT1OD~, LKUP+25, PC+1
PAT("address" ATC+6*, ATC+10*, ATC+12*, ATC+13*, ADD+1*, ADD+2*, ADD+3*, ADD+4*, ADD+5*, ADD+6*
, ADD+7*, ADD+8*
PAT("admissionUid" INPT+3*
PAT("alias" ALIAS+3*
PAT("badAddress" ATC+21*
PAT("birthDate" LKUP+16*, DEM+9*
PAT("briefId" DEM+8*
PAT("contact" SUPP+5*, SUPP+6*, SUPP+7*, SUPP+8*, SUPP+9*, SUPP+10*, SUPP+11*, SUPP+12*, SUPP+13*, SUPP+14*
SUPP+18*, SUPP+19*
PAT("cwadf" PRF+17*, PRF+18*
PAT("deceased" LKUP+18*, DEM+12*
PAT("disability" SVC+41*, SVC+42*, SVC+43*
PAT("email" ATC+20*
PAT("ethnicity" DEM+22*
PAT("exposure" SVC+15*, SVC+17*, SVC+22*, SVC+25*, SVC+28*, SVC+31*, SVC+33*
PAT("facility" FAC+14*, FAC+15*, FAC+16*, FAC+17*, FAC+19*, FAC+20*
PAT("familyName" LKUP+5*, DEM+5*
PAT("fullName" LKUP+4*, DEM+4*
PAT("genderCode" LKUP+8*, DEM+11*
PAT("genderName" LKUP+9*, DEM+11*
PAT("givenNames" LKUP+6*, DEM+5*
PAT("icn" LKUP+14*, DEM+3*
PAT("inpatientLocation" INPT+6*
PAT("insurance" INS+5*, INS+7*, INS+9*, INS+10*, INS+11*, INS+12*, INS+14*
PAT("lastUpdateTime" DPT1OD+8*
PAT("localId" LKUP+10*, DEM+6*
PAT("lrdfn" SVC+10*
PAT("maritalStatusCode" DEM+18*
PAT("maritalStatusName" DEM+19*
PAT("meanStatus" SVC+11*
PAT("patientRecordFlag" PRF+4*, PRF+5*, PRF+6*, PRF+7*, PRF+8*, PRF+9*, PRF+10*, PRF+11*, PRF+12*, PRF+15*
PRF+18
PAT("pcProviderName" PC+5*
PAT("pcProviderUid" PC+4*
PAT("pcTeamName" PC+8*
PAT("pcTeamUid" PC+7*
PAT("pid" LKUP+11*, DEM+2*
PAT("race" DEM+25*
PAT("religionCode" DEM+15*
PAT("religionName" DEM+15*
PAT("roomBed" INPT+4*
PAT("scCondition" SVC+8*, SVC+9*
PAT("scPercent" SVC+5*
PAT("sensitive" LKUP+20*, DEM+14*
PAT("serviceConnected" SVC+4*
PAT("shortInpatientLocation" INPT+8*
PAT("specialty" INPT+12*
PAT("specialtyService" INPT+15*
PAT("specialtyUid" INPT+13*
PAT("ssn" LKUP+15*, DEM+6*
PAT("stampTime" DPT1OD+7*, DPT1OD+8, DPT1OD+10, LKUP+23*, LKUP+24*
PAT("telecom" ATC+18*, ATC+19*
PAT("uid" DPT1OD+10, LKUP+12*, LKUP+22, DEM+7*
PAT("veteran" SVC+3*
PGF SVC+1~
S SUPP+1~, SUPP+2*, SUPP+4*, SUPP+5, SUPP+6, SUPP+7, SUPP+8, SUPP+9, SUPP+10, SUPP+11
SUPP+12, SUPP+13, SUPP+14, SUPP+18, SUPP+19
SET NAME~, NAME+2, NAME+3, NAME+4
START ADD~, ADD+7
STATE ADD~, ADD+5
STOP ADD~, ADD+8
SYS DPT1OD+1~*
TS INPT+1~, INPT+10*, INPT+11, INPT+13
TYPE SUPP+1~, SUPP+4*, SUPP+5, SUPP+6
U LKUP+3, LKUP+7, LKUP+15, LKUP+16, LKUP+17, DEM+6, DEM+9, DEM+10, DEM+12, DEM+16
SVC+5, SVC+11, SVC+27, SVC+30, SVC+42, SVC+43, PRF+5, PRF+6, PRF+7, PRF+8
PRF+9, PRF+10, PRF+11, PRF+12, ATC+12, ATC+13, ATC+16, ATC+17, ATC+18, ATC+19
ATC+20, ATC+21, ADD+5, ADD+6, SUPP+5, SUPP+6, SUPP+13, SUPP+14, SUPP+15, SUPP+17
SUPP+18, SUPP+19, ALIAS+3, FAC+5, FAC+6, FAC+9, FAC+11, FAC+12, FAC+13, FAC+14
FAC+15, FAC+17, PC+5, PC+8, INPT+4, INPT+5, INPT+8, INPT+15, INS+7, INS+12
INS+13
VA DEM+1~
VA("BID" DEM+8
VADM DEM+1~
VADM(1 DEM+4
VADM(10 DEM+16
VADM(11 DEM+20, DEM+21
VADM(12 DEM+23, DEM+24
VADM(2 DEM+6
VADM(3 DEM+9
VADM(5 DEM+10
VADM(6 DEM+12
VADM(9 DEM+15
VAEL SVC+1~
VAEL(3 SVC+4, SVC+5
VAEL(4 SVC+3
VAEL(9 SVC+11
VAERR DEM+1~, SVC+1~
VAOA SUPP+1~, SUPP+2!
VAOA("A" SUPP+3*
VAOA(1 SUPP+9
VAOA(10 SUPP+8
VAOA(11 SUPP+14
VAOA(2 SUPP+10
VAOA(3 SUPP+11
VAOA(4 SUPP+12
VAOA(5 SUPP+13
VAOA(8 SUPP+15
VAOA(9 SUPP+3, SUPP+7
VAPA ATC+1~
VAPA( ADD+1, ADD+2, ADD+3, ADD+4, ADD+5, ADD+6, ADD+7, ADD+8, VAPA+2
VAPA(12 ATC+7
VAPA(22 ATC+11
VAPA(8 ATC+16
VAPA(9 ATC+6
VASITE FAC+2~
VASITE( FAC+18
VASV SVC+1~
VASV(14 SVC+33
VASV(2 SVC+15
VASV(3 SVC+17
X LKUP+2~, LKUP+3*, LKUP+4, LKUP+5, LKUP+6, LKUP+7*, LKUP+8, LKUP+9, LKUP+13*, LKUP+14
LKUP+17*, LKUP+18, DEM+1~, DEM+3*, DEM+4*, DEM+5, DEM+8, DEM+9*, DEM+10*, DEM+11
DEM+12*, DEM+15*, DEM+16*, DEM+17*, DEM+18, DEM+19, DEM+21*, DEM+22, DEM+24*, DEM+25
SVC+1~, SVC+10*, SVC+24*, SVC+25, SVC+27*, SVC+30*, SVC+31, PRF+1~, PRF+2*, PRF+13*
PRF+14*, PRF+15, PRF+16*, PRF+17, ATC+1~, ATC+11*, ATC+12, ATC+13, ATC+16*, ATC+17
ATC+19, ATC+20*, ADD+5*, ADD+6*, ADD+7*, ADD+8*, SUPP+1~, SUPP+13*, SUPP+14*, SUPP+15*
SUPP+17, SUPP+19, ALIAS+1~, ALIAS+2*, ALIAS+3, FAC+2~, FAC+3*, FAC+7*, FAC+8*, FAC+9
FAC+11*, FAC+12, FAC+13*, FAC+14, FAC+15, FAC+17, FAC+18, PC+3~*, PC+4, PC+5
PC+6*, PC+7, PC+8, INPT+1~, INPT+4*, INPT+5*, INPT+6, INPT+7, INPT+8*, INPT+11*
INPT+12*, INPT+14*, INPT+15, INS+1~, INS+2*, INS+13*, INS+14, FORMAT~, FORMAT+1*, FORMAT+3
, BOOL~, BOOL+1, BOOL+2*
X0 LKUP+2~, LKUP+3*, LKUP+7, LKUP+15, LKUP+16
Y SVC+1~, VAPA+1~*, VAPA+2*, VAPA+3, INPT+1~, INPT+11, FORMAT+2~, FORMAT+5*, FORMAT+6, NAME+1~*
, NAME+2*, NAME+3*, NAME+4*, NAME+5
Y(1 INPT+12
Y(2 INPT+14
Z INPT+1~, INPT+14
Z(3 INPT+15
ZIP ADD~, ADD+6

Marked Items

Name Field # of Occurrence
$T(TFL^VAFCTFU1 FAC+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