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 |  Local Variables |  All
Print Page as PDF
Routine: AMHGD

Package: Mental Health Social Services

Routine: AMHGD


Information

AMHGD ; IHS/CMI/MAW - AMHG Get Data for GUI Front End 11/25/2008 9:38:11 AM ; 26 Jun 2017 3:55 PM

Source Information

Source file <AMHGD.m>

Call Graph

Call Graph Total: 11

Package Total Call Graph
Mental Health Social Services 8 $$SPT^AMHGDA  ($$GETPRV,$$LVDT)^AMHGU  $$ALLOWCD^AMHLCD  $$IINTAKE^AMHLEDEL  $$INCOMPSF^AMHLESF  $$ALLOWTP^AMHLETP  $$ALLOW^AMHSFR  $$ALLOWVI^AMHUTIL  
IHS Patient 1 $$HRN^AUPNPAT  
Uncategorized 1 DEBUG^%Serenji  
VA Fileman 1 $$GET1^DIQ  

Entry Points

Name Comments DBIA/ICR reference
DEBUG(RETVAL,AMHSTR) ;-- debug entry point
VISITL(RETVAL,AMHSTR) ;-- get visit list for record selector screen
TPLAP(RETVAL,AMHSTR) ;-- get treatment plans for record selector screen all patients
TPL(RETVAL,AMHSTR) ;-- get treatment plans for record selector screen
SFLAP(RETVAL,AMHSTR) ;-- get suicide forms for record selector screen all patients
SFL(RETVAL,AMHSTR) ;-- get suicide forms for record selector screen
CML(RETVAL,AMHSTR) ;-- get case management list for record selector screen
VISITAP(RETVAL,AMHSTR) ;-- get visit list for record selector screen all patients

External References

Name Field # of Occurrence
DEBUG^%Serenji DEBUG+1
$$SPT^AMHGDA VISITAP+51, TPLAP+34, SFLAP+31
$$GETPRV^AMHGU VISITL+33, VISITAP+40
$$LVDT^AMHGU VISITL+43, VISITAP+27, VISITAP+57, CML+30, TPL+28, TPLAP+24, TPLAP+39, SFL+25, SFLAP+25, SFLAP+36
$$ALLOWCD^AMHLCD CML+16
$$IINTAKE^AMHLEDEL VISITL+38, VISITAP+45
$$INCOMPSF^AMHLESF SFL+19, SFLAP+21
$$ALLOWTP^AMHLETP TPL+18, TPLAP+18
$$ALLOW^AMHSFR SFL+17, SFLAP+17
$$ALLOWVI^AMHUTIL VISITL+20, VISITAP+20
$$HRN^AUPNPAT VISITAP+25, VISITAP+50, TPLAP+22, SFLAP+23
$$GET1^DIQ VISITL+22, VISITL+24, VISITL+25, VISITL+26, VISITL+27, VISITL+28, VISITL+29, VISITL+30, VISITL+31, VISITL+32
, VISITL+34, VISITL+35, VISITL+36, VISITL+39, VISITL+40, VISITL+41, VISITAP+24, VISITAP+26, VISITAP+28, VISITAP+29
, VISITAP+31, VISITAP+32, VISITAP+33, VISITAP+34, VISITAP+35, VISITAP+36, VISITAP+37, VISITAP+38, VISITAP+39, VISITAP+41
, VISITAP+42, VISITAP+43, VISITAP+46, VISITAP+47, VISITAP+48, VISITAP+49, VISITAP+52, CML+17, CML+18, CML+19
, CML+20, CML+21, CML+23, CML+24, CML+26, CML+27, TPL+19, TPL+20, TPL+21, TPL+22
, TPL+24, TPL+25, TPLAP+19, TPLAP+21, TPLAP+23, TPLAP+25, TPLAP+26, TPLAP+27, TPLAP+28, TPLAP+29
, TPLAP+31, TPLAP+32, SFL+20, SFL+21, SFL+22, SFL+23, SFLAP+19, SFLAP+22, SFLAP+24, SFLAP+26
, SFLAP+27, SFLAP+28, SFLAP+29, SFLAP+30

Used in RPC

RPC Name Call Tags
AMHG GET VISIT LIST VISITL
AMHG GET VISITS VISITL
AMHG GET CASE DATES CML
AMHG GET TREATMENT PLANS TPL
AMHG GET SUICIDE FORMS SFL
AMHG GET VISITS ALL PATS VISITAP
AMHG GET TREAT PLANS ALL PATS TPLAP
AMHG GET SUIC FORMS ALL PATS SFLAP

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DPT - [#2] GET1^DIQ
^VA(200 - [#200] GET1^DIQ
^AMHREC - [#9002011] GET1^DIQ
^AMHRPRO - [#9002011.01] GET1^DIQ
^AMHPTXP - [#9002011.56] GET1^DIQ
^AMHPCASE - [#9002011.58] GET1^DIQ
^AMHPSUIC - [#9002011.65] GET1^DIQ
^AMHTACT - [#9002012] GET1^DIQ
^AMHPROB - [#9002012.2] GET1^DIQ
^AUTTLOC - [#9999999.06] GET1^DIQ

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZOSF("TRAP" VISITL+1, VISITAP+1, CML+1, TPL+1, TPLAP+1, SFL+1, SFLAP+1
^AMHPCASE("AA" CML+13, CML+14
^AMHPSUIC("AA" SFL+13, SFL+14
^AMHPSUIC("AB" SFLAP+13, SFLAP+14
^AMHPTXP - [#9002011.56] TPL+23, TPL+26, TPLAP+30, TPLAP+33
^AMHPTXP("AA" TPL+13, TPL+14
^AMHPTXP("AB" TPLAP+13, TPLAP+14
^AMHREC - [#9002011] VISITL+21, VISITAP+21
^AMHREC("AB" VISITAP+14, VISITAP+15
^AMHREC("AE" VISITL+14, VISITL+15
^AMHRPRO("AD" VISITL+23, VISITAP+30
^AMHTMP($J VISITL+6!, VISITAP+6!, CML+6!, TPL+6!, TPLAP+6!, SFL+6!, SFLAP+6!

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AHMD11 VISITL+16~, VISITAP+16~
AHMD15 VISITL+16~, VISITAP+16~
AHMD16 VISITL+16~, VISITAP+16~
AMHACT VISITL+17~, VISITL+30*, VISITL+43, VISITAP+17~, VISITAP+37*, VISITAP+57
AMHACTI VISITL+17~, VISITL+29*, VISITL+30, VISITAP+17~, VISITAP+36*, VISITAP+37
AMHAXV VISITL+17~, VISITL+27*, VISITL+43, VISITAP+17~, VISITAP+34*, VISITAP+57
AMHB VISITL+2~, VISITL+9*, VISITL+12, VISITAP+2~, VISITAP+9*, VISITAP+12, CML+2~, CML+8*, CML+11, TPL+2~
, TPL+8*, TPL+11, TPLAP+2~, TPLAP+8*, TPLAP+11, SFL+2~, SFL+8*, SFL+11, SFLAP+2~, SFLAP+8*
, SFLAP+11
AMHCA CML+15~, CML+18*, CML+30
AMHCC CML+15~, CML+19*, CML+30
AMHCHT VISITAP+16~, VISITAP+25*, TPLAP+15~, TPLAP+22*, TPLAP+39, SFLAP+18~, SFLAP+23*, SFLAP+36
AMHCLN VISITL+17~, VISITL+28*, VISITL+43, VISITAP+17~, VISITAP+35*, VISITAP+57
AMHCO CML+15~, CML+17*, CML+30
AMHCT VISITL+17~, VISITL+32*, VISITL+43, VISITAP+17~, VISITAP+39*, VISITAP+57
AMHD SFL+18~, SFL+20*, SFL+25, SFLAP+18~, SFLAP+27*, SFLAP+36
AMHD0 VISITL+16~, VISITL+21*, VISITAP+16~, VISITAP+21*, VISITAP+22
AMHD14 VISITL+16~, VISITAP+16~
AMHD17 VISITL+16~, VISITAP+16~
AMHD21 VISITL+16~, VISITAP+16~
AMHDA VISITL+2~, VISITL+14*, VISITL+15, VISITAP+2~, VISITAP+14*, VISITAP+15, CML+2~, CML+13*, CML+14, TPL+2~
, TPL+13*, TPL+14, TPLAP+2~, TPLAP+13*, TPLAP+14, SFL+2~, SFL+13*, SFL+14, SFLAP+2~, SFLAP+13*
, SFLAP+14
AMHDE TPL+15~, TPL+19*, TPL+28, TPLAP+15~, TPLAP+26*, TPLAP+39
>> AMHDGMSG VISITAP+55, TPLAP+37, SFLAP+34
AMHDOB VISITAP+16~, VISITAP+26*, VISITAP+27*, VISITAP+54*, VISITAP+57, TPLAP+15~, TPLAP+23*, TPLAP+24*, TPLAP+36*, TPLAP+39
, SFLAP+24*, SFLAP+25*, SFLAP+33*, SFLAP+36
AMHDSP CML+15~, CML+21*, CML+22
AMHDSPI CML+15~, CML+20*, CML+22
AMHDSPS CML+15~, CML+22*, CML+30
AMHDT VISITL+17~, VISITL+22*, VISITL+43, VISITAP+17~, VISITAP+29*, VISITAP+57
AMHE VISITL+2~, VISITL+10*, VISITL+13, VISITAP+2~, VISITAP+10*, VISITAP+13, CML+2~, CML+9*, CML+12, TPL+2~
, TPL+9*, TPL+12, TPLAP+2~, TPLAP+9*, TPLAP+12, SFL+2~, SFL+9*, SFL+12, SFLAP+2~, SFLAP+9*
, SFLAP+12
AMHEHR VISITL+17~, VISITL+36*, VISITL+37, VISITL+43, VISITAP+17~, VISITAP+43*, VISITAP+44, VISITAP+57
AMHESIG VISITL+16~, VISITL+35*, VISITL+37*, VISITL+43, VISITAP+17~, VISITAP+42*, VISITAP+44*, VISITAP+57
AMHGRP VISITL+16~, VISITL+40*, VISITL+43, VISITAP+17~, VISITAP+49*, VISITAP+57
AMHI VISITL+2~, VISITL+5*, VISITL+7, VISITL+8, VISITL+42*, VISITL+43, VISITL+44, VISITAP+2~, VISITAP+5*, VISITAP+7
, VISITAP+8, VISITAP+56*, VISITAP+57, VISITAP+58, VISITAP+59, CML+2~, CML+5*, CML+7, CML+29*, CML+30
, CML+31, TPL+2~, TPL+5*, TPL+7, TPL+27*, TPL+28, TPL+29, TPLAP+2~, TPLAP+5*, TPLAP+7
, TPLAP+38*, TPLAP+39, TPLAP+40, SFL+2~, SFL+5*, SFL+7, SFL+24*, SFL+25, SFL+26, SFLAP+2~
, SFLAP+5*, SFLAP+7, SFLAP+35*, SFLAP+36, SFLAP+37
AMHIDEL VISITL+16~, VISITL+38*, VISITL+43, VISITAP+17~, VISITAP+45*, VISITAP+57
AMHIEN VISITL+2~, VISITL+15*, VISITL+20, VISITL+21, VISITL+22, VISITL+23, VISITL+27, VISITL+28, VISITL+29, VISITL+31
, VISITL+32, VISITL+33, VISITL+35, VISITL+36, VISITL+38, VISITL+39, VISITL+40, VISITL+41, VISITL+43, VISITAP+2~
, VISITAP+15*, VISITAP+20, VISITAP+21, VISITAP+29, VISITAP+30, VISITAP+34, VISITAP+35, VISITAP+36, VISITAP+38, VISITAP+39
, VISITAP+40, VISITAP+42, VISITAP+43, VISITAP+45, VISITAP+46, VISITAP+47, VISITAP+49, VISITAP+52, VISITAP+57, CML+2~
, CML+14*, CML+16, CML+17, CML+18, CML+19, CML+20, CML+21, CML+23, CML+24, CML+26
, CML+27, CML+30, TPL+2~, TPL+14*, TPL+18, TPL+19, TPL+20, TPL+21, TPL+22, TPL+23
, TPL+24, TPL+25, TPL+26, TPL+28, TPLAP+2~, TPLAP+14*, TPLAP+18, TPLAP+19, TPLAP+26, TPLAP+27
, TPLAP+28, TPLAP+29, TPLAP+30, TPLAP+31, TPLAP+32, TPLAP+33, TPLAP+39, SFL+2~, SFL+14*, SFL+17
, SFL+19, SFL+20, SFL+21, SFL+22, SFL+23, SFL+25, SFLAP+2~, SFLAP+14*, SFLAP+17, SFLAP+19
, SFLAP+21, SFLAP+27, SFLAP+28, SFLAP+29, SFLAP+30, SFLAP+36
AMHINC SFL+18~, SFL+19*, SFL+25, SFLAP+18~, SFLAP+21*, SFLAP+36
AMHIVB VISITL+2~, VISITL+12*, VISITL+14, VISITAP+2~, VISITAP+12*, VISITAP+14, CML+2~, CML+11*, CML+13, TPL+2~
, TPL+11*, TPL+13, TPLAP+2~, TPLAP+11*, TPLAP+13, SFL+2~, SFL+11*, SFL+13, SFLAP+2~, SFLAP+11*
, SFLAP+13
AMHIVE VISITL+2~, VISITL+13*, VISITL+14, VISITAP+2~, VISITAP+13*, VISITAP+14, CML+2~, CML+12*, CML+13, TPL+2~
, TPL+12*, TPL+13, TPLAP+2~, TPLAP+12*, TPLAP+13, SFL+2~, SFL+12*, SFL+13, SFLAP+2~, SFLAP+12*
, SFLAP+13
AMHLCN SFL+18~, SFL+21*, SFL+25, SFLAP+18~, SFLAP+28*, SFLAP+36
AMHLOC VISITL+16~, VISITL+39*, VISITL+43, VISITAP+16~, VISITAP+46*, VISITAP+57
AMHLOCA VISITAP+16~, VISITAP+48*, VISITAP+50
AMHLOCI VISITAP+16~, VISITAP+47*, VISITAP+48, VISITAP+50
AMHMSG VISITAP+18~, VISITAP+55*, VISITAP+58, TPLAP+16~, TPLAP+37*, TPLAP+39, SFLAP+18~, SFLAP+34*, SFLAP+36
AMHNCHT VISITAP+17~, VISITAP+50*, VISITAP+57
AMHP VISITL+2~, VISITL+11*, VISITL+14, VISITL+15, VISITAP+2~, VISITAP+11*, CML+2~, CML+10*, CML+13, CML+14
, TPL+2~, TPL+10*, TPL+13, TPL+14, TPLAP+2~, TPLAP+10*, SFL+2~, SFL+10*, SFL+13, SFL+14
, SFLAP+2~, SFLAP+10*
AMHPAT VISITAP+16~, VISITAP+24*, VISITAP+57, TPLAP+15~, TPLAP+21*, TPLAP+39, SFLAP+18~, SFLAP+22*, SFLAP+36
AMHPIEN VISITAP+16~, VISITAP+22*, VISITAP+23, VISITAP+24, VISITAP+25, VISITAP+26, VISITAP+28, VISITAP+50, VISITAP+51, VISITAP+57
, TPLAP+15~, TPLAP+19*, TPLAP+20, TPLAP+21, TPLAP+22, TPLAP+23, TPLAP+25, TPLAP+34, TPLAP+39, SFLAP+18~
, SFLAP+19*, SFLAP+20, SFLAP+22, SFLAP+23, SFLAP+24, SFLAP+26, SFLAP+31, SFLAP+36
AMHPOV VISITL+17~, VISITL+24*, VISITL+26, VISITAP+17~, VISITAP+31*, VISITAP+33
AMHPOVE VISITL+16~, VISITL+25*, VISITL+26*, VISITL+43, VISITAP+16~, VISITAP+32*, VISITAP+33*, VISITAP+57
AMHPOVI VISITL+17~, VISITL+23*, VISITL+24, VISITL+25, VISITAP+17~, VISITAP+30*, VISITAP+31, VISITAP+32
AMHPRB TPL+15~, TPL+22*, TPL+23*, TPL+28, TPLAP+15~, TPLAP+29*, TPLAP+30*, TPLAP+39
AMHPRG CML+15~, CML+24*, CML+25, TPL+15~, TPL+20*, TPL+28, TPLAP+15~, TPLAP+27*, TPLAP+39
AMHPRGI CML+15~, CML+23*, CML+25
AMHPRGS CML+15~, CML+25*, CML+30
AMHPROG VISITL+18~, VISITL+41*, VISITL+43, VISITAP+18~, VISITAP+52*, VISITAP+58
AMHPRV VISITL+17~, VISITL+34*, VISITL+43, VISITAP+17~, VISITAP+41*, VISITAP+57, CML+15~, CML+27*, CML+28, TPL+15~
, TPL+24*, TPL+28, TPLAP+15~, TPLAP+31*, TPLAP+39, SFL+18~, SFL+22*, SFL+25, SFLAP+18~, SFLAP+29*
, SFLAP+36
AMHPRVI VISITL+17~, VISITL+33*, VISITL+34, VISITAP+17~, VISITAP+40*, VISITAP+41, CML+15~, CML+26*, CML+28
AMHPRVM VISITL+18~, VISITL+19*, VISITAP+18~, VISITAP+19*, TPL+16~, TPL+17*, TPLAP+16~, TPLAP+17*, SFL+15~, SFL+16*
, SFLAP+15~, SFLAP+16*
AMHPRVS CML+15~, CML+28*, CML+30
AMHRCNT TPL+16~, TPL+26*, TPL+28, TPLAP+33*, TPLAP+39
AMHRD TPL+15~, TPL+25*, TPL+28, TPLAP+15~, TPLAP+32*, TPLAP+39
AMHSB SFL+18~, SFL+23*, SFL+25, SFLAP+18~, SFLAP+30*, SFLAP+36
AMHSEX VISITAP+16~, VISITAP+28*, VISITAP+57, TPLAP+15~, TPLAP+25*, TPLAP+39, SFLAP+18~, SFLAP+26*, SFLAP+36
AMHSPT VISITAP+18~, VISITAP+51*, VISITAP+53, VISITAP+57, TPLAP+16~, TPLAP+34*, TPLAP+35, TPLAP+39, SFLAP+18~, SFLAP+31*
, SFLAP+32, SFLAP+36
AMHST TPL+15~, TPL+21*, TPL+28, TPLAP+15~, TPLAP+28*, TPLAP+39
AMHSTR DEBUG~, VISITL~, VISITL+9, VISITL+10, VISITL+11, VISITAP~, VISITAP+9, VISITAP+10, VISITAP+11, CML~
, CML+8, CML+9, CML+10, TPL~, TPL+8, TPL+9, TPL+10, TPLAP~, TPLAP+8, TPLAP+9
, TPLAP+10, SFL~, SFL+8, SFL+9, SFL+10, SFLAP~, SFLAP+8, SFLAP+9, SFLAP+10
AMHVT VISITL+17~, VISITL+31*, VISITL+43, VISITAP+17~, VISITAP+38*, VISITAP+57
DUZ VISITL+20, VISITAP+20, CML+16, TPL+18, TPLAP+18, SFL+17, SFLAP+17
DUZ(2 VISITAP+25, TPLAP+22, SFLAP+23
P VISITL+2~, VISITL+3*, VISITL+9, VISITL+10, VISITL+11, VISITAP+2~, VISITAP+3*, VISITAP+9, VISITAP+10, VISITAP+11
, CML+2~, CML+3*, CML+8, CML+9, CML+10, TPL+2~, TPL+3*, TPL+8, TPL+9, TPL+10
, TPLAP+2~, TPLAP+3*, TPLAP+8, TPLAP+9, TPLAP+10, SFL+2~, SFL+3*, SFL+8, SFL+9, SFL+10
, SFLAP+2~, SFLAP+3*, SFLAP+8, SFLAP+9, SFLAP+10
R VISITAP+2~, VISITAP+3*, VISITAP+57, CML+3*, CML+22, CML+25, CML+28, TPL+3*, TPLAP+3*, TPLAP+39
, SFL+3*, SFLAP+3*, SFLAP+36
RETVAL DEBUG~, VISITL~, VISITL+4*, VISITL+7, VISITL+8, VISITL+43, VISITL+44, VISITAP~, VISITAP+4*, VISITAP+7
, VISITAP+8, VISITAP+57, VISITAP+58, VISITAP+59, CML~, CML+4*, CML+7, CML+30, CML+31, TPL~
, TPL+4*, TPL+7, TPL+28, TPL+29, TPLAP~, TPLAP+4*, TPLAP+7, TPLAP+39, TPLAP+40, SFL~
, SFL+4*, SFL+7, SFL+25, SFL+26, SFLAP~, SFLAP+4*, SFLAP+7, SFLAP+36, SFLAP+37
U VISITL+8, VISITL+43, VISITAP+22, VISITAP+57, VISITAP+58, CML+30, TPL+26, TPL+28, TPLAP+33, TPLAP+39
, SFL+25, SFLAP+36
>> X VISITL+1*, VISITAP+1*, CML+1*, TPL+1*, TPLAP+1*, SFL+1*, SFLAP+1*
Info |  Source |  Call Graph |  Entry Points |  External References |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Local Variables |  All