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 |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: AMHGDVF1

Package: Mental Health Social Services

Routine: AMHGDVF1


Information

AMHGDVF1 ; IHS/CMI/MAW - AMH BH GUI Visit Form (frmVisitDataEntry)

Source Information

Source file <AMHGDVF1.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
Mental Health Social Services 1 ($$GETPRV,$$LVDT)^AMHGU  
Patient Care Component Reports 1 $$PRIMPROV^APCLV  
VA Fileman 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
HHF(RETVAL,AMHSTR) ;-- get hist hf
MSRV(RETVAL,AMHSTR) ;-- vst meas from all enc dt range for vst meas tab
MSR(RETVAL,AMHSTR) ;-- vst meas from 1 enc for vst meas tab
PCCHF(B,E,PAT) ;-- vst pcc well listview for well tab
HSCR(RETVAL,AMHSTR) ;-- get hist scrn
PCCEDU(B,E,PAT) ;-- vst pcc well list for well tab
HEDU(RETVAL,AMHSTR) ;-- get hist edu topics
PCCWELL(B,E,PAT) ;-- vst pcc well listview for well tab
BHWELL(RETVAL,AMHSTR) ;-- vst bh well listview for well tab

External References

Name Field # of Occurrence
$$GETPRV^AMHGU BHWELL+25, HHF+21, HEDU+21
$$LVDT^AMHGU MSRV+21, BHWELL+19, PCCWELL+8, HHF+19, PCCHF+7, HEDU+19, PCCEDU+7, HSCR+21
$$PRIMPROV^APCLV PCCWELL+14
$$GET1^DIQ MSRV+22, MSRV+23, MSRV+24, MSRV+25, MSRV+26, MSRV+27, MSR+12, MSR+13, MSR+14, MSR+15
, MSR+16, MSR+17, BHWELL+19, BHWELL+20, BHWELL+21, BHWELL+22, BHWELL+23, BHWELL+24, BHWELL+26, BHWELL+28
, BHWELL+30, PCCWELL+8, PCCWELL+16, PCCWELL+18, HHF+19, HHF+20, HHF+22, HHF+26, HHF+27, HHF+28
, HHF+30, HHF+31, HHF+32, PCCHF+7, PCCHF+11, PCCHF+12, PCCHF+13, PCCHF+14, PCCHF+16, PCCHF+17
, HEDU+19, HEDU+20, HEDU+22, HEDU+26, HEDU+27, HEDU+28, HEDU+29, HEDU+30, HEDU+32, HEDU+33
, HEDU+34, HEDU+35, HEDU+36, HEDU+38, HEDU+39, PCCEDU+7, PCCEDU+12, PCCEDU+13, PCCEDU+14, PCCEDU+15
, PCCEDU+16, PCCEDU+18, PCCEDU+19, PCCEDU+20, PCCEDU+21, PCCEDU+22, PCCEDU+24, PCCEDU+25, HSCR+21, HSCR+22
, HSCR+23, HSCR+24, HSCR+25, HSCR+26, HSCR+27, HSCR+28, HSCR+29, HSCR+30, HSCR+31, HSCR+32
, HSCR+33, HSCR+34

Used in RPC

RPC Name Call Tags
AMHG GET VISIT MSR VIEW MSRV
AMHG GET VISIT MSR DATA ENTRY MSR
AMHG GET VISIT BH WELLNES ACT BHWELL
AMHG GET VISIT PCC WELLNES ACT PCCWELL
AMHG GET HISTORICAL HF HHF
AMHG GET HISTORICAL EDU HEDU
AMHG GET HISTORICAL SCREENING HSCR

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^AUPNVSIT - [#9000010] GET1^DIQ
^AUPNVPED - [#9000010.16] GET1^DIQ
^AUPNVHF - [#9000010.23] GET1^DIQ
^AMHREC - [#9002011] GET1^DIQ
^AMHRPROV - [#9002011.02] GET1^DIQ
^AMHREDU - [#9002011.05] GET1^DIQ
^AMHRHF - [#9002011.08] GET1^DIQ
^AMHRMSR - [#9002011.12] GET1^DIQ
^AUTTMSR - [#9999999.07] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" MSRV+1, MSR+1, BHWELL+1, HHF+1, HEDU+1, HSCR+1
^AMHREC("AE" BHWELL+16, BHWELL+17, HHF+16, HHF+17, HEDU+16, HEDU+17, HSCR+17, HSCR+18
^AMHREC("AVISIT" PCCWELL+7
^AMHREDU("AD" BHWELL+27, HEDU+24
^AMHRHF("AD" BHWELL+29, HHF+24
^AMHRMSR("AA" MSRV+14, MSRV+16, MSRV+18
^AMHRMSR("AD" MSR+10
^AMHTMP($J MSRV+6!, MSR+6!, BHWELL+7!, HHF+7!, HEDU+7!, HSCR+7!
^AUPNVHF("AD" PCCWELL+17, PCCHF+10
^AUPNVPED("AD" PCCWELL+15, PCCEDU+10
^AUPNVSIT("AA" PCCWELL+4, PCCWELL+5, PCCHF+4, PCCHF+5, PCCEDU+4, PCCEDU+5
^TMP($J BHWELL+33*, BHWELL+36, BHWELL+37, BHWELL+39, BHWELL+41!, PCCWELL+21*, HHF+33, HHF+35*, HHF+38, HHF+39
, HHF+41, HHF+43, HHF+45!, PCCHF+18, PCCHF+20*, HEDU+40, HEDU+42*, HEDU+45, HEDU+46, HEDU+48
, HEDU+50, HEDU+52!, PCCEDU+26, PCCEDU+28*, HSCR+41*, HSCR+43, HSCR+44, HSCR+46, HSCR+48!

Label References

Name Line Occurrences
PCCEDU HEDU+43
PCCHF HHF+36
PCCWELL BHWELL+34

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AMHALC HSCR+19~, HSCR+23*, HSCR+35, HSCR+41
AMHALCC HSCR+19~, HSCR+25*, HSCR+41
AMHALCP HSCR+19~, HSCR+24*, HSCR+41
AMHAS BHWELL+18~, BHWELL+20*, BHWELL+31, BHWELL+33, PCCWELL+6~, PCCWELL+9*, PCCWELL+21, PCCHF+6~, PCCEDU+6~
AMHB MSRV+2~, MSRV+7*, MSRV+10*, MSRV+16, BHWELL+2~, BHWELL+8*, BHWELL+11*, BHWELL+14, BHWELL+34, HHF+2~
, HHF+8*, HHF+11*, HHF+14, HHF+36, HEDU+2~, HEDU+8*, HEDU+11*, HEDU+14, HEDU+43, HSCR+2~
, HSCR+8*, HSCR+11*, HSCR+15
AMHCMT HHF+25~, HHF+32*, HHF+35, PCCHF+17*, PCCHF+20, HEDU+25~, HEDU+33*, HEDU+42, PCCEDU+11~, PCCEDU+19*
, PCCEDU+28
AMHCPT HEDU+25~, HEDU+32*, HEDU+42, PCCEDU+11~, PCCEDU+18*, PCCEDU+28
AMHDA MSRV+15~, MSRV+16*, MSRV+18, MSRV+20, MSR+9~, MSR+10*, MSR+12, MSR+13, MSR+15, MSR+16
, MSR+17, BHWELL+2~, BHWELL+16*, BHWELL+17, BHWELL+33, PCCWELL+1~, PCCWELL+4*, PCCWELL+5, PCCWELL+21, HHF+2~
, HHF+16*, HHF+17, HHF+33, HHF+35, PCCHF+1~, PCCHF+4*, PCCHF+5, PCCHF+18, PCCHF+20, HEDU+2~
, HEDU+16*, HEDU+17, HEDU+40, HEDU+42, PCCEDU+1~, PCCEDU+4*, PCCEDU+5, PCCEDU+26, PCCEDU+28, HSCR+2~
, HSCR+17*, HSCR+18, HSCR+41
AMHDEP HSCR+19~, HSCR+26*, HSCR+36, HSCR+41
AMHDEPC HSCR+19~, HSCR+28*, HSCR+41
AMHDEPP HSCR+19~, HSCR+27*, HSCR+41
AMHDS BHWELL+18~, BHWELL+21*, BHWELL+31, BHWELL+33, PCCWELL+6~, PCCWELL+10*, PCCWELL+21, PCCHF+6~, PCCEDU+6~
AMHDT BHWELL+18~, BHWELL+19*, BHWELL+33, PCCWELL+6~, PCCWELL+8*, PCCWELL+21, HHF+18~, HHF+19*, HHF+35, PCCHF+6~
, PCCHF+7*, PCCHF+20, HEDU+18~, HEDU+19*, HEDU+42, PCCEDU+6~, PCCEDU+7*, PCCEDU+28, HSCR+19~, HSCR+21*
, HSCR+41
AMHE MSRV+2~, MSRV+8*, MSRV+11*, MSRV+16, BHWELL+2~, BHWELL+9*, BHWELL+12*, BHWELL+15, BHWELL+34, HHF+2~
, HHF+9*, HHF+12*, HHF+15, HHF+36, HEDU+2~, HEDU+9*, HEDU+12*, HEDU+15, HEDU+43, HSCR+2~
, HSCR+9*, HSCR+12*, HSCR+16
AMHEDU BHWELL+18~, BHWELL+28*, BHWELL+31, BHWELL+33, PCCWELL+6~, PCCWELL+16*, PCCWELL+19, PCCWELL+21, PCCHF+6~, HEDU+25~
, HEDU+26*, HEDU+40, HEDU+42, PCCEDU+6~, PCCEDU+11~, PCCEDU+12*, PCCEDU+26, PCCEDU+28
AMHEDUI BHWELL+18~, BHWELL+27*, BHWELL+28, PCCWELL+6~, PCCWELL+15*, PCCWELL+16, HHF+18~, PCCHF+6~, HEDU+18~, PCCEDU+6~
AMHGOAL HEDU+25~, HEDU+34*, HEDU+42, PCCEDU+11~, PCCEDU+20*, PCCEDU+28
AMHHDA HHF+23~, HHF+24*, HHF+26, HHF+27, HHF+28, HHF+30, HHF+31, HHF+32, HHF+35, PCCHF+9~
, PCCHF+10*, PCCHF+11, PCCHF+12, PCCHF+13, PCCHF+14, PCCHF+16, PCCHF+17, PCCHF+20, HEDU+23~, HEDU+24*
, HEDU+26, HEDU+27, HEDU+28, HEDU+29, HEDU+30, HEDU+32, HEDU+33, HEDU+34, HEDU+35, HEDU+36
, HEDU+38, HEDU+39, HEDU+42, PCCEDU+9~, PCCEDU+10*, PCCEDU+12, PCCEDU+13, PCCEDU+14, PCCEDU+15, PCCEDU+16
, PCCEDU+18, PCCEDU+19, PCCEDU+20, PCCEDU+21, PCCEDU+22, PCCEDU+24, PCCEDU+25, PCCEDU+28
AMHHF BHWELL+18~, BHWELL+30*, BHWELL+31, BHWELL+33, PCCWELL+6~, PCCWELL+18*, PCCWELL+19, PCCWELL+21, HHF+25~, HHF+26*
, HHF+33, HHF+35, PCCHF+6~, PCCHF+12*, PCCHF+18, PCCHF+20, PCCEDU+6~
AMHHFI BHWELL+18~, BHWELL+29*, BHWELL+30, PCCWELL+6~, PCCWELL+17*, PCCWELL+18, PCCHF+6~, PCCEDU+6~
AMHI MSRV+2~, MSRV+5*, MSRV+12, MSRV+28*, MSRV+29, MSRV+30, MSR+2~, MSR+5*, MSR+8, MSR+18*
, MSR+19, MSR+20, BHWELL+2~, BHWELL+5*, BHWELL+32*, BHWELL+33, PCCWELL+20*, PCCWELL+21, HHF+2~, HHF+5*
, HHF+13, HHF+34*, HHF+35, PCCHF+19*, PCCHF+20, HEDU+2~, HEDU+5*, HEDU+13, HEDU+41*, HEDU+42
, PCCEDU+27*, PCCEDU+28, HSCR+2~, HSCR+5*, HSCR+13, HSCR+14, HSCR+40*, HSCR+41
AMHIBV HSCR+2~
AMHIEN MSRV+17~, MSRV+18*, MSRV+22, MSRV+23, MSRV+25, MSRV+26, MSRV+27, MSRV+29, MSR+2~, MSR+7*
, MSR+10, BHWELL+2~, BHWELL+17*, BHWELL+19, BHWELL+20, BHWELL+21, BHWELL+22, BHWELL+23, BHWELL+24, BHWELL+25
, BHWELL+27, BHWELL+29, BHWELL+33, PCCWELL+1~, PCCWELL+5*, PCCWELL+7, PCCWELL+8, PCCWELL+14, PCCWELL+15, PCCWELL+17
, PCCWELL+21, HHF+2~, HHF+17*, HHF+19, HHF+20, HHF+21, HHF+24, PCCHF+1~, PCCHF+5*, PCCHF+7
, PCCHF+10, HEDU+2~, HEDU+17*, HEDU+19, HEDU+20, HEDU+21, HEDU+24, PCCEDU+1~, PCCEDU+5*, PCCEDU+7
, PCCEDU+10, HSCR+2~, HSCR+18*, HSCR+21, HSCR+22, HSCR+23, HSCR+24, HSCR+25, HSCR+26, HSCR+27
, HSCR+28, HSCR+29, HSCR+30, HSCR+31, HSCR+32, HSCR+33, HSCR+34, HSCR+41
AMHIPV HSCR+19~, HSCR+29*, HSCR+37, HSCR+41
AMHIPVC HSCR+19~, HSCR+30*, HSCR+41
AMHIPVP HSCR+19~, HSCR+31*, HSCR+41
AMHIS BHWELL+18~, BHWELL+22*, BHWELL+31, BHWELL+33, PCCWELL+6~, PCCWELL+11*, PCCWELL+21, PCCHF+6~, PCCEDU+6~
AMHIVB BHWELL+2~, BHWELL+14*, BHWELL+16, PCCWELL+2*, PCCWELL+4, HHF+14*, HHF+16, PCCHF+1~, PCCHF+2*, PCCHF+4
, HEDU+2~, HEDU+14*, HEDU+16, PCCEDU+1~, PCCEDU+2*, PCCEDU+4, HSCR+15*, HSCR+17
AMHIVE BHWELL+2~, BHWELL+15*, BHWELL+16, PCCWELL+3*, PCCWELL+4, HHF+15*, HHF+16, PCCHF+1~, PCCHF+3*, PCCHF+4
, HEDU+2~, HEDU+15*, HEDU+16, PCCEDU+1~, PCCEDU+3*, PCCEDU+4, HSCR+2~, HSCR+16*, HSCR+17
AMHLOU HEDU+25~, HEDU+30*, HEDU+31, HEDU+42, PCCEDU+11~, PCCEDU+16*, PCCEDU+17, PCCEDU+28
AMHLOUI HEDU+25~, HEDU+29*, HEDU+31, PCCEDU+11~, PCCEDU+15*, PCCEDU+17
AMHLOUS HEDU+25~, HEDU+31*, PCCEDU+11~, PCCEDU+17*
AMHMDT MSRV+19~, MSRV+20*, MSRV+21*, MSRV+29
AMHMPRV MSRV+19~, MSRV+27*, MSRV+29, MSR+11~, MSR+17*, MSR+19
AMHMPRVI MSRV+19~, MSRV+26*, MSRV+29, MSR+11~, MSR+16*, MSR+19
AMHMSRD MSRV+19~, MSRV+24*, MSRV+29, MSR+11~, MSR+14*, MSR+19
AMHMSRT MSRV+19~, MSRV+23*, MSRV+29, MSR+11~, MSR+13*, MSR+19
AMHMSRTI MSRV+19~, MSRV+22*, MSRV+24, MSR+11~, MSR+12*, MSR+14, MSR+19
AMHMTCH HSCR+19~, HSCR+20*, HSCR+35*, HSCR+36*, HSCR+37*, HSCR+38*, HSCR+39
AMHP MSRV+2~, MSRV+9*, MSRV+14, MSRV+16, MSRV+18, BHWELL+2~, BHWELL+10*, BHWELL+16, BHWELL+17, BHWELL+34
, HHF+2~, HHF+10*, HHF+16, HHF+17, HHF+36, HEDU+2~, HEDU+10*, HEDU+16, HEDU+17, HEDU+43
, HSCR+2~, HSCR+10*, HSCR+17, HSCR+18
AMHPRV BHWELL+18~, BHWELL+26*, BHWELL+33, PCCWELL+6~, PCCWELL+14*, PCCWELL+21, HHF+18~, HHF+22*, HHF+25~, HHF+31*
, HHF+35, PCCHF+6~, PCCHF+11*, PCCHF+20, HEDU+18~, HEDU+22*, HEDU+25~, HEDU+27*, HEDU+42, PCCEDU+6~
, PCCEDU+11~, PCCEDU+13*, PCCEDU+28
AMHPRVI BHWELL+18~, BHWELL+25*, BHWELL+26, PCCWELL+6~, HHF+18~, HHF+21*, HHF+22, PCCHF+6~, HEDU+18~, HEDU+21*
, HEDU+22, PCCEDU+6~
AMHQTY HHF+25~, HHF+30*, HHF+35, PCCHF+16*, PCCHF+20
AMHREA HEDU+25~, HEDU+39*, HEDU+42, PCCEDU+11~, PCCEDU+25*, PCCEDU+28
AMHS BHWELL+18~, BHWELL+23*, BHWELL+31, BHWELL+33, PCCWELL+6~, PCCWELL+12*, PCCWELL+21, HSCR+19~, HSCR+32*, HSCR+38
, HSCR+41
AMHSC HSCR+19~, HSCR+33*, HSCR+41
AMHSES HEDU+25~, HEDU+38*, HEDU+42, PCCEDU+11~, PCCEDU+24*, PCCEDU+28
AMHSEV HHF+25~, HHF+28*, HHF+29, HHF+35, PCCHF+14*, PCCHF+15, PCCHF+20
>> AMHSEVI HHF+27*, HHF+29, PCCHF+13*, PCCHF+15
>> AMHSEVS HHF+29*, PCCHF+15*
AMHSPRV HSCR+19~, HSCR+34*, HSCR+41
AMHST HEDU+25~, HEDU+36*, HEDU+37, HEDU+42, PCCEDU+11~, PCCEDU+22*, PCCEDU+23, PCCEDU+28
AMHSTI HEDU+25~, HEDU+35*, HEDU+37, PCCEDU+11~, PCCEDU+21*, PCCEDU+23
AMHSTR MSRV~, MSRV+7, MSRV+8, MSRV+9, MSR~, MSR+7, BHWELL~, BHWELL+8, BHWELL+9, BHWELL+10
, HHF~, HHF+8, HHF+9, HHF+10, HEDU~, HEDU+8, HEDU+9, HEDU+10, HSCR~, HSCR+8
, HSCR+9, HSCR+10
AMHSTS HEDU+25~, HEDU+37*, PCCEDU+11~, PCCEDU+23*
AMHT MSRV+13~, MSRV+14*, MSRV+16, MSRV+18
AMHTDA BHWELL+35~, BHWELL+36*, BHWELL+37, BHWELL+39, HHF+37~, HHF+38*, HHF+39, HHF+41, HHF+43, HEDU+44~
, HEDU+45*, HEDU+46, HEDU+48, HEDU+50, HSCR+42~, HSCR+43*, HSCR+44, HSCR+46
AMHTI BHWELL+2~, BHWELL+6*, BHWELL+13, BHWELL+38*, BHWELL+39, BHWELL+40, HHF+2~, HHF+6*, HHF+42*, HHF+43
, HHF+44, HEDU+2~, HEDU+6*, HEDU+49*, HEDU+50, HEDU+51, HSCR+2~, HSCR+6*, HSCR+45*, HSCR+46
, HSCR+47
AMHTIEN BHWELL+35~, BHWELL+37*, BHWELL+39, HHF+37~, HHF+39*, HHF+41, HHF+43, HEDU+44~, HEDU+46*, HEDU+48
, HEDU+50, HSCR+42~, HSCR+44*, HSCR+46
AMHTOEN HHF+40~, HHF+41*, HHF+43, HEDU+47~, HEDU+48*, HEDU+50
AMHTS HEDU+25~, HEDU+28*, HEDU+42, PCCEDU+11~, PCCEDU+14*, PCCEDU+28
AMHV MSRV+19~, MSRV+25*, MSRV+29, MSR+11~, MSR+15*, MSR+19
AMHVIEN BHWELL+18~, BHWELL+24*, BHWELL+33, PCCWELL+6~, PCCWELL+13*, PCCWELL+21, HHF+18~, HHF+20*, PCCHF+6~, PCCHF+8*
, HEDU+18~, HEDU+20*, PCCEDU+6~, PCCEDU+8*, HSCR+19~, HSCR+22*
B PCCWELL~, PCCWELL+2, PCCHF~, PCCHF+2, PCCEDU~, PCCEDU+2
E PCCWELL~, PCCWELL+3, PCCHF~, PCCHF+3, PCCEDU~, PCCEDU+3
P MSRV+2~, MSRV+3*, MSRV+7, MSRV+8, MSRV+9, MSR+2~, MSR+3*, MSR+7, BHWELL+2~, BHWELL+3*
, BHWELL+8, BHWELL+9, BHWELL+10, HHF+2~, HHF+3*, HHF+8, HHF+9, HHF+10, HEDU+2~, HEDU+3*
, HEDU+8, HEDU+9, HEDU+10, HSCR+2~, HSCR+3*, HSCR+8, HSCR+9, HSCR+10
PAT PCCWELL~, PCCWELL+4, PCCWELL+5, PCCHF~, PCCHF+4, PCCHF+5, PCCEDU~, PCCEDU+4, PCCEDU+5
R MSRV+2~, MSRV+3*, MSR+2~, MSR+3*, BHWELL+2~, BHWELL+3*, HHF+2~, HHF+3*, HEDU+2~, HEDU+3*
, HSCR+2~, HSCR+3*
RETVAL MSRV~, MSRV+4*, MSRV+12, MSRV+29, MSRV+30, MSR~, MSR+4*, MSR+8, MSR+19, MSR+20
, BHWELL~, BHWELL+4*, BHWELL+13, BHWELL+39, BHWELL+40, HHF~, HHF+4*, HHF+13, HHF+43, HHF+44
, HEDU~, HEDU+4*, HEDU+13, HEDU+50, HEDU+51, HSCR~, HSCR+4*, HSCR+13, HSCR+14, HSCR+46
, HSCR+47
U MSRV+29, MSR+19, BHWELL+33, PCCWELL+21, HHF+35, PCCHF+20, HEDU+42, PCCEDU+28, HSCR+41
>> X MSRV+1*, MSR+1*, BHWELL+1*, HHF+1*, HEDU+1*, HSCR+1*
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All