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 |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All
Print Page as PDF
Routine: AMQQREG

Package: PCC Medical Query

Routine: AMQQREG


Information

AMQQREG ; IHS/CMI/THL - QUERY CMS REGISTER INTERFACE ;

Source Information

Source file <AMQQREG.m>

Call Graph

Call Graph Total: 5

Package Total Call Graph
VA Fileman 4 ^DIC  FILE^DICN  ^DIE  ^DIR  
Case Management System 1 DECEASED^ACMGTP  

Caller Graph

Caller Graph Total: 1

Package Total Caller Graph
PCC Medical Query 1 AMQQ1  

Entry Points

Name Comments DBIA/ICR reference
PREDX
COHORT ;CREATE SEARCH TEMPLATE COHORT WITH REGISTER PATIENTS
EN
NR1
DIC ;FM DIC INTERFACE
EN1
NEWREG ;EP;TO CREATE REGISTER IN QMAN DICTIONARY OF TERMS
EXIT
PATDX ;INCLUDE PATIENTS WITH SPECIFIC DIAGNOSIS
DX ;EP;TO SELECT DIABETES DIAGNOSIS
ACTIVE ;EP;TO SELECT PATIENT STATUS
C1 ;CREATE SEARCH TEMPLATE
REG ;EP;TO SELECT A REGISTER

External References

Name Field # of Occurrence
DECEASED^ACMGTP REG+12
^DIC DIC+3
FILE^DICN C1+7, NEWREG+17, NR1+5
^DIE NEWREG+7
^DIR ACTIVE+15, DX+12, PREDX+11

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: REG+7
Function Call: WRITE
  • Prompt: !!,"Select the Patient Status for this report"
  • Line Location: ACTIVE+2
Function Call: WRITE
  • Prompt: !!?10,"1 Active"
  • Line Location: ACTIVE+3
Function Call: WRITE
  • Prompt: !?10,"2 Inactive"
  • Line Location: ACTIVE+4
Function Call: WRITE
  • Prompt: !?10,"3 Transient"
  • Line Location: ACTIVE+5
Function Call: WRITE
  • Prompt: !?10,"4 Unreviewed"
  • Line Location: ACTIVE+6
Function Call: WRITE
  • Prompt: !?10,"5 Deceased"
  • Line Location: ACTIVE+7
Function Call: WRITE
  • Prompt: !?10,"6 Non-IHS"
  • Line Location: ACTIVE+8
Function Call: WRITE
  • Prompt: !?10,"7 Lost to Follow-up"
  • Line Location: ACTIVE+9
Function Call: WRITE
  • Prompt: !?10,"8 All Register Patients"
  • Line Location: ACTIVE+10
Function Call: WRITE
  • Prompt: !
  • Line Location: ACTIVE+14
Function Call: WRITE
  • Prompt: !!,"There are ",CTR," register patients for the combination selected.",!
  • Line Location: COHORT+17
Function Call: WRITE
  • Prompt: !!,"Select the Diabetes Register Diagnosis for this report"
  • Line Location: DX+2
Function Call: WRITE
  • Prompt: !!,"Select the Diabetes Register Diagnosis for this report"
  • Line Location: PREDX+1
Routine Call
  • DIE
  • Line Location:
    • NEWREG+7
Routine Call
  • DIC
  • Line Location:
    • DIC+3
Routine Call
  • DIR
  • Line Location:
    • ACTIVE+15
    • DX+12
    • PREDX+11

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^ACM(41.1 - [#9002241.1] Classic Fileman Calls
^AMQQ(5 - [#9009075] Classic Fileman Calls

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^ACM(41 - [#9002241] COHORT+7, COHORT+8, COHORT+10
^ACM(44 - [#9002244] PATDX+2, PATDX+5, PATDX+6
^ACM(44.1 - [#9002244.1] PATDX+7
^AMQQ(5 - [#9009075] NEWREG+1, NEWREG+2, NEWREG+3, NEWREG+9!, NR1+4*
^DIBT( COHORT+4!, COHORT+14*, C1+11*, C1+12*, C1+13*
^DIBT("B" C1+6
^UTILITY("AMQQ" C1+14*, C1+15*, C1+16*, C1+17*

Label References

Name Line Occurrences
ACTIVE EN1+2
C1 COHORT+2
COHORT EN1+6
DIC REG+8
DX EN1+4
EN1 EN+1
NR1 NEWREG+11
PATDX COHORT+12
PREDX DX+1
REG EN1

Naked Globals

Name Field # of Occurrence
^(0 PATDX+7

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
AMQQ EN~
AMQQ("CMS STA TUS" , ACTIVE+18*, ACTIVE+24*, COHORT+13
AMQQ("DM DIAG NOSIS" , COHORT+12, DX+15*, PREDX+14*, PATDX+7
>> AMQQCHRT C1+3*, C1+16
>> AMQQCNAM EN1+4, REG+11*, C1+2, DX+1
AMQQDA COHORT+1~, COHORT+4, COHORT+14, C1+10*
>> AMQQILIN C1+18*
>> AMQQNOET C1+19*
AMQQOUT DIC+1, DIC+2!, DIC+6*
AMQQQUIT EXIT!, EN1+1, EN1+3, EN1+5, REG+9, ACTIVE+17*, COHORT+3, COHORT+12!, C1+9*, DIC+2!
, DIC+4*, DIC+5*, DIC+6*, DX+14*, PREDX+13*, PATDX+1*, PATDX+7!
AMQQRDA REG+2!, REG+10*, REG+12, COHORT+7
>> AMQQUATN C1+20*
>> AMQQUNB C1+21*
>> CTR COHORT+6*, COHORT+16*, COHORT+17
D NR1+6!, DIC+7!
DA C1+1!, C1+8!, NEWREG+3*, NEWREG+4, NEWREG+8, NEWREG+9, NEWREG+10!, NEWREG+12!, NEWREG+18!, NR1+6!
, DIC+7!
DA(1 NR1+1*
DD C1+1!, C1+8!, NEWREG+12!, NEWREG+18!, NR1+6!, DIC+7!
DIC REG+3*, C1+1!, C1+4*, C1+8!, NEWREG+12!, NEWREG+14*, NEWREG+18!, NR1+2*, NR1+6!, DIC+7!
DIC("A" REG+6*
DIC("DR" NEWREG+16*
DIC("S" REG+5*
DIC(0 REG+4*, C1+5*, NEWREG+15*, NR1+3*
DIE C1+1!, C1+8!, NEWREG+5*, NEWREG+10!, NEWREG+12!, NEWREG+18!
DIK C1+1!, C1+8!, NEWREG+12!, NEWREG+18!
DINUM C1+1!, C1+8!, NEWREG+12!, NEWREG+18!, NR1+6!, DIC+7!
DIR ACTIVE+1!, ACTIVE+16!, DX+13!, PREDX+12!
DIR("?" DX+6*, DX+7*, DX+8*, DX+9*, DX+10*, DX+11*, PREDX+5*, PREDX+6*, PREDX+7*, PREDX+8*
, PREDX+9*, PREDX+10*
DIR("A" ACTIVE+12*, DX+4*, PREDX+3*
DIR("B" ACTIVE+13*, DX+5*, PREDX+4*
DIR(0 ACTIVE+11*, DX+3*, PREDX+2*
DLAYGO C1+1!, C1+8!, NEWREG+12!, NEWREG+18!, NR1+6!, DIC+7!
DO C1+1!, C1+8!, NEWREG+12!, NEWREG+18!
DR C1+1!, C1+8!, NEWREG+6*, NEWREG+10!, NEWREG+12!, NEWREG+18!, NR1+6!, DIC+7!
DT C1+11
DTOUT DIC+2!, DIC+6
DUOUT DIC+2!, DIC+5
DUZ C1+13
>> J ACTIVE+21*
U REG+11, COHORT+10, C1+11, C1+12, C1+13, NR1+4, PATDX+7
X ACTIVE+20~, ACTIVE+21*, ACTIVE+22, COHORT+1~, COHORT+5*, COHORT+7*, COHORT+8, COHORT+10, C1+2*, C1+3
, C1+6, NEWREG+13*, NR1*, DIC+6, PATDX+2, PATDX+5
Y EN~, REG+1~, REG+10, REG+11, ACTIVE+17, ACTIVE+18, ACTIVE+19, ACTIVE+21, COHORT+1~, COHORT+10*
, COHORT+11, COHORT+14, C1+6*, C1+9, C1+10, C1+11, C1+12, C1+13, C1+14, NEWREG+8*
, NR1+1, NR1+2, NR1+4, DIC+4, DX+14, DX+15, PREDX+13, PREDX+14, PATDX+3~, PATDX+4*
, PATDX+5*, PATDX+6
Z ACTIVE+20~, ACTIVE+22*, ACTIVE+23, ACTIVE+24, COHORT+1~, COHORT+8*, COHORT+9, COHORT+13, PATDX+3~, PATDX+6*
, PATDX+7
Info |  Source |  Call Graph |  Caller Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Naked Globals |  Local Variables |  All