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 |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All
Print Page as PDF
Routine: APCHS4A

Package: Patient Care Component

Routine: APCHS4A


Information

APCHS4A ; IHS/CMI/LAB - PART 4A OF APCHS -- SUMMARY PRODUCTION COMPONENTS ;

Source Information

Source file <APCHS4A.m>

Call Graph

Call Graph Total: 3

Package Total Call Graph
IHS VA Utilities 1 $$VAL^XBDIQ1  
Kernel 1 $$FMTE^XLFDT  
Patient Care Component 1 $$LASTHF^APCHSMU  

Entry Points

Name Comments DBIA/ICR reference
WQTY ;write out quantity and phrase
ONEDATE ;
HFACT ; ******************** HEALTH FACTORS * 9000019 *********
; <SETUP>
ONECAT ;
ONEFACT ;
DISPDATA ; DISPLAY TABLED DATA
HFACTX
DISP2 ;
EDUCASSE ;EP - called from component educational assessment
SETFACT
TPRINT ; PRINT TITLE

External References

Name Field # of Occurrence
$$LASTHF^APCHSMU EDUCASSE+3
$$VAL^XBDIQ1 EDUCASSE+20
$$FMTE^XLFDT EDUCASSE+20

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?10,APCHSFN
  • Line Location: DISP2+2
Function Call: WRITE
  • Prompt: " (",APCHSFSS,")"
  • Condition for execution: APCHSFSS]""
  • Line Location: DISP2+2
Function Call: WRITE
  • Prompt: !
  • Line Location: DISP2+2
Function Call: WRITE
  • Prompt: " ",X,$P(APCHSN,U,4)
  • Line Location: WQTY+5
Function Call: WRITE
  • Prompt: !,"~~ ",APCHSFT," ~~",!
  • Line Location: TPRINT+2
Function Call: WRITE
  • Prompt: !,"Most recent Health Factor recorded.",!
  • Line Location: EDUCASSE+2
Function Call: WRITE
  • Prompt: !," Learning Preference: ",$$LASTHF^APCHSMU(APCHSPAT,"LEARNING PREFERENCE","B"),!
  • Line Location: EDUCASSE+3
Function Call: WRITE
  • Prompt: !," Barriers to Learning: "
  • Line Location: EDUCASSE+7

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^APCHSCTL - [#9001015] HFACT+7, HFACT+8, HFACT+9, HFACT+10
^AUPNVHF - [#9000010.23] SETFACT
^AUPNVHF("AA" ONEFACT+5, ONEDATE+3, EDUCASSE+12, EDUCASSE+13, EDUCASSE+15
^AUPNVHF("AC" HFACT+2
^AUTTHF - [#9999999.64] ONECAT+2, ONEFACT+1, WQTY+2
^AUTTHF("AC" ONECAT+6, EDUCASSE+11
^AUTTHF("AD" HFACT+13
^AUTTHF("B" EDUCASSE+8
^DD(9000019 SETFACT+1

Label References

Name Line Occurrences
DISP2 DISPDATA+2
DISPDATA ONECAT+7
ONECAT HFACT+10, HFACT+13
ONEDATE ONEFACT+5
ONEFACT ONECAT+6
SETFACT ONEDATE+3
TPRINT ONEDATE+2
WQTY DISP2+2

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
APCHO EDUCASSE+10!
APCHO( EDUCASSE+15*, EDUCASSE+17, EDUCASSE+18, EDUCASSE+20
>> APCHSBRK HFACT+4, EDUCASSE+1
APCHSCFI HFACTX!, ONECAT+6*, ONEFACT+1, ONEFACT+5, ONEDATE+3
>> APCHSCKP HFACT+4, EDUCASSE+1, EDUCASSE+6, EDUCASSE+19
>> APCHSCVD ONEDATE+1
APCHSDAT HFACTX!, ONEFACT+5, ONEDATE+1*, SETFACT+3, DISP2+1*, DISP2+2, DISP2+3
>> APCHSDLM HFACT+3, ONEFACT+3*, ONEFACT+5
APCHSDT2 HFACTX!, DISPDATA+1*, DISP2+2, DISP2+3*
APCHSFC HFACT+10*, HFACT+13*, HFACTX!, ONECAT+2, ONECAT+6
APCHSFD HFACT+10*, HFACT+13*, HFACTX!, ONECAT+1*, ONEFACT+5
APCHSFDP HFACTX!, SETFACT+1*
APCHSFN HFACTX!, ONEFACT+1*, SETFACT+3, DISP2+1*, DISP2+2
APCHSFSS HFACTX!, SETFACT+1*, SETFACT+3, DISP2+1*, DISP2+2
APCHSFT HFACT+10*, HFACT+13*, HFACTX!, ONECAT+2*, TPRINT+2
APCHSFTB HFACTX!, ONECAT+5!
APCHSFTB( SETFACT+3*, DISPDATA+2
APCHSHFI HFACT+9*, HFACT+10, HFACTX!
APCHSHFS HFACT+8*, HFACT+9, HFACTX!
APCHSHP HFACT+6*, HFACTX!
APCHSI HFACTX!, SETFACT+1*
APCHSIVD HFACTX!, ONEFACT+5*, ONEDATE+1, ONEDATE+3, SETFACT+3, DISPDATA+2*
>> APCHSN HFACT+10*, ONEFACT+1*, SETFACT*, SETFACT+1, SETFACT+2, SETFACT+3, DISPDATA+2*, DISP2+1, DISP2+2, WQTY+1
, WQTY+5
>> APCHSNDM HFACT+3, ONEFACT+3*, ONEFACT+5*
APCHSNDT HFACTX!, ONEDATE+1*
APCHSNI HFACTX!, ONEDATE+3*, SETFACT
>> APCHSNPG HFACT+4, EDUCASSE+1
>> APCHSPAT HFACT+2, ONEFACT+5, ONEDATE+3, EDUCASSE+3, EDUCASSE+12, EDUCASSE+13, EDUCASSE+15
APCHSPVD HFACTX!, ONEFACT+4*, ONEFACT+5*, ONEDATE+1
>> APCHSQIT HFACT+4, ONEFACT+5, EDUCASSE+1, EDUCASSE+6, EDUCASSE+17, EDUCASSE+19
>> APCHSQTY SETFACT+2*, SETFACT+3
APCHSSDM HFACT+3*, HFACTX!, ONEFACT+3
APCHSSNM HFACT+3*, HFACTX!, ONEFACT+3
APCHSTNP HFACTX!, ONECAT+4*, ONEDATE+2, TPRINT+1*
>> APCHSTYP HFACT+7, HFACT+8, HFACT+9, HFACT+10
>> APCHX EDUCASSE+17*, EDUCASSE+18, EDUCASSE+20
>> C EDUCASSE+8*, EDUCASSE+9, EDUCASSE+11
>> D EDUCASSE+13*, EDUCASSE+14, EDUCASSE+15, EDUCASSE+18*, EDUCASSE+20
>> H EDUCASSE+10*, EDUCASSE+11*, EDUCASSE+12, EDUCASSE+13, EDUCASSE+15
U HFACT+10, ONECAT+2, ONEFACT+1, SETFACT+1, SETFACT+2, SETFACT+3, DISP2+1, DISP2+2, WQTY+1, WQTY+2
, WQTY+5
X HFACTX!, SETFACT+1*, WQTY+1~*, WQTY+2*, WQTY+3*, WQTY+4*, WQTY+5
Y HFACTX!, ONEDATE+1*, SETFACT+1*
Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  Global Variables Directly Accessed |  Label References |  Local Variables |  All