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

Package: Dietetics

Routine: FHDSSAPI


Information

FHDSSAPI ;Hines OIFO/RTK,JRC-DSS REQUESTED API's ; 11/3/08 2:42pm

Source Information

Source file <FHDSSAPI.m>

Call Graph

Call Graph Total: 4

Package Total Call Graph
VA Fileman 2 C^%DTC  $$GET1^DIQ  
Dietetics 1 PATNAME^FHOMUTL  
Registration 1 (IN5,INP,KVAR)^VADPT  

Entry Points

Name Comments DBIA/ICR reference
OUTPAT ;Process outpatient data
; Get outpatient meals
CLEAN ;Clean up variables set by PATNAME^FHOMUTL
DATA(FHSDT,FHEDT) ;API for DSS extract of NFS data
; INPUT: START DATE, END DATE
; OUTPUT: ^TMP($J,"FH"
; Get inpatient meals
  • ICR #4883
    • Status: Active
    • Usage: Private
    INPAT ;Process inpatient data

    External References

    Name Field # of Occurrence
    C^%DTC OUTPAT+2
    $$GET1^DIQ DATA+10
    PATNAME^FHOMUTL DATA+8
    IN5^VADPT INPAT+11
    INP^VADPT INPAT+8
    KVAR^VADPT INPAT+9, INPAT+13

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !!,"END DATE BEFORE START DATE!",!
    • Line Location: DATA+4

    FileMan Files Accessed Via FileMan Db Call

    FileNo Call Tags
    ^DPT - [#2] GET1^DIQ

    Global Variables Directly Accessed

    Name Line Occurrences  (* Changed,  ! Killed)
    ^FHPT - [#115] DATA+6, DATA+7, INPAT+1, INPAT+2, INPAT+17, INPAT+18, INPAT+19, INPAT+23, INPAT+26, INPAT+27
    , INPAT+31, INPAT+32, INPAT+40, INPAT+41, INPAT+47, INPAT+48, INPAT+55, INPAT+56, OUTPAT+6, OUTPAT+8
    , OUTPAT+9, OUTPAT+10, OUTPAT+14, OUTPAT+15, OUTPAT+16, OUTPAT+17, OUTPAT+18, OUTPAT+19, OUTPAT+20, OUTPAT+21
    , OUTPAT+22, OUTPAT+23, OUTPAT+24, OUTPAT+27, OUTPAT+28, OUTPAT+29, OUTPAT+36, OUTPAT+37, OUTPAT+44, OUTPAT+45
    , OUTPAT+46, OUTPAT+47, OUTPAT+51, OUTPAT+52, OUTPAT+53, OUTPAT+54
    ^FHPT("GM" OUTPAT+49, OUTPAT+50
    ^FHPT("RM" OUTPAT+4, OUTPAT+5, OUTPAT+7
    ^FHPT("SM" OUTPAT+42, OUTPAT+43
    ^TMP($J DATA+5!, INPAT+21!, INPAT+23*, INPAT+28!, INPAT+29*, INPAT+36!, INPAT+38*, INPAT+45*, INPAT+52!, INPAT+54*
    , INPAT+57*, OUTPAT+10*, OUTPAT+17*, OUTPAT+21*, OUTPAT+24*, OUTPAT+32!, OUTPAT+34*, OUTPAT+40*, OUTPAT+47*, OUTPAT+54*

    Label References

    Name Line Occurrences
    CLEAN DATA+11, DATA+12
    INPAT DATA+12
    OUTPAT DATA+13

    Local Variables

    Legend:

    >> Not killed explicitly
    * Changed
    ! Killed
    ~ Newed

    Name Field # of Occurrence
    BID CLEAN+1!
    DFN DATA+10, CLEAN+1!
    FHADM DATA+14!, INPAT+1*, INPAT+2, INPAT+17, INPAT+18, INPAT+19, INPAT+21, INPAT+23, INPAT+26, INPAT+27
    , INPAT+28, INPAT+29, INPAT+31, INPAT+32, INPAT+36, INPAT+38, INPAT+40, INPAT+41, INPAT+45, INPAT+47
    , INPAT+48, INPAT+52, INPAT+54, INPAT+55, INPAT+56, INPAT+57
    FHADTM DATA+16!, INPAT+3*, INPAT+7
    FHAGE CLEAN+1!
    FHCDATE DATA+16!, INPAT+35*, INPAT+44*, INPAT+51*, OUTPAT+31*, OUTPAT+39*
    FHDATE DATA+14!, INPAT+17*, INPAT+18, INPAT+21, INPAT+22, INPAT+23, INPAT+26*, INPAT+27, INPAT+28, INPAT+29
    , INPAT+34*, INPAT+36, INPAT+37, INPAT+38, INPAT+43*, INPAT+45, INPAT+50*, INPAT+52, INPAT+53, INPAT+54
    , INPAT+57, OUTPAT+30*, OUTPAT+32, OUTPAT+33, OUTPAT+38*
    FHDCEASE DATA+10*, DATA+11, DATA+16!, INPAT+15
    FHDDTM DATA+16!, INPAT+16*
    FHDFN DATA+6*, DATA+7, DATA+14!, INPAT+1, INPAT+2, INPAT+17, INPAT+18, INPAT+19, INPAT+21, INPAT+23
    , INPAT+26, INPAT+27, INPAT+28, INPAT+29, INPAT+31, INPAT+32, INPAT+36, INPAT+38, INPAT+40, INPAT+41
    , INPAT+45, INPAT+47, INPAT+48, INPAT+52, INPAT+54, INPAT+55, INPAT+56, INPAT+57, OUTPAT+5*, OUTPAT+6
    , OUTPAT+7, OUTPAT+8, OUTPAT+9, OUTPAT+10, OUTPAT+14, OUTPAT+15, OUTPAT+16, OUTPAT+17, OUTPAT+18, OUTPAT+19
    , OUTPAT+20, OUTPAT+21, OUTPAT+22, OUTPAT+23, OUTPAT+24, OUTPAT+27, OUTPAT+28, OUTPAT+29, OUTPAT+32, OUTPAT+34
    , OUTPAT+36, OUTPAT+37, OUTPAT+40, OUTPAT+43*, OUTPAT+44, OUTPAT+45, OUTPAT+46, OUTPAT+47, OUTPAT+50*, OUTPAT+51
    , OUTPAT+52, OUTPAT+53, OUTPAT+54
    FHDOB CLEAN+1!
    FHDSEQ DATA+14!, INPAT+18*, INPAT+19
    FHEDT DATA~, DATA+4, DATA+5*, INPAT+3, INPAT+17, INPAT+26, INPAT+34, INPAT+43, INPAT+50, OUTPAT+4
    , OUTPAT+30, OUTPAT+38, OUTPAT+42, OUTPAT+49
    FHEFF DATA+16!
    FHEL DATA+14!
    FHLAST DATA+16!, INPAT+2*, INPAT+21, INPAT+22*, INPAT+28, INPAT+31*, INPAT+36, INPAT+37*, INPAT+47*, INPAT+52
    , INPAT+53*, OUTPAT+28*, OUTPAT+32, OUTPAT+33*
    FHNODE DATA+14!, INPAT+19*, INPAT+20*, INPAT+23, INPAT+27*, INPAT+29, INPAT+32*, INPAT+33*, INPAT+34, INPAT+35
    , INPAT+38, INPAT+41*, INPAT+42*, INPAT+43, INPAT+44, INPAT+45, INPAT+48*, INPAT+49*, INPAT+50, INPAT+51
    , INPAT+54, INPAT+56*, INPAT+57, OUTPAT+8*, OUTPAT+10, OUTPAT+29*, OUTPAT+30, OUTPAT+31, OUTPAT+34, OUTPAT+37*
    , OUTPAT+38, OUTPAT+39, OUTPAT+40, OUTPAT+45*, OUTPAT+47, OUTPAT+52*, OUTPAT+54
    FHNODE2 DATA+14!, OUTPAT+15*, OUTPAT+17
    FHNODE3 DATA+14!, OUTPAT+19*, OUTPAT+21
    FHNUM DATA+16!, INPAT+40*, INPAT+45*, OUTPAT+36*, OUTPAT+40*
    FHOMDT DATA+14!, OUTPAT+4*, OUTPAT+5, OUTPAT+7, OUTPAT+10, OUTPAT+17, OUTPAT+21, OUTPAT+24, OUTPAT+32, OUTPAT+34
    , OUTPAT+40, OUTPAT+42*, OUTPAT+43, OUTPAT+45, OUTPAT+47, OUTPAT+49*, OUTPAT+50, OUTPAT+52, OUTPAT+54
    FHPCZN CLEAN+1!
    FHPTNM CLEAN+1!
    FHRNUM DATA+14!, OUTPAT+7*, OUTPAT+8, OUTPAT+10, OUTPAT+14, OUTPAT+15, OUTPAT+17, OUTPAT+18, OUTPAT+19, OUTPAT+21
    , OUTPAT+22, OUTPAT+23, OUTPAT+24, OUTPAT+27, OUTPAT+28, OUTPAT+29, OUTPAT+32, OUTPAT+34, OUTPAT+36, OUTPAT+37
    , OUTPAT+40
    FHSDT DATA~, DATA+4, DATA+11, INPAT+16, INPAT+21, INPAT+28, INPAT+35, INPAT+36, INPAT+44, INPAT+51
    , INPAT+52, OUTPAT+2, OUTPAT+31, OUTPAT+32, OUTPAT+39
    FHSDTX1 DATA+15!, OUTPAT+2*, OUTPAT+4, OUTPAT+42, OUTPAT+49
    FHSEX CLEAN+1!
    FHSF DATA+15!, INPAT+31*, INPAT+32, OUTPAT+28*, OUTPAT+29
    FHSFDT DATA+15!
    FHSO DATA+15!, INPAT+40*, INPAT+41, OUTPAT+36*, OUTPAT+37
    FHSODT DATA+15!
    FHSSN CLEAN+1!
    FHSTOP DATA+16!, INPAT+2*, INPAT+6, INPAT+9*
    FHTF DATA+15!, INPAT+47*, INPAT+48, INPAT+55, INPAT+56
    FHTFDT DATA+15!
    FHTFPR DATA+15!, INPAT+55*, INPAT+56, INPAT+57
    FHTUZN DATA+15!, OUTPAT+23*, OUTPAT+24
    FHZ DATA+15!, OUTPAT+22*, OUTPAT+23, OUTPAT+24
    FHZN DATA+15!, INPAT+2*, INPAT+3, INPAT+6, INPAT+12*, INPAT+15*, INPAT+16, INPAT+20, INPAT+33, INPAT+42
    , INPAT+49
    FILE CLEAN+1!
    IEN CLEAN+1!
    PID CLEAN+1!
    U INPAT+3, INPAT+6, INPAT+12, INPAT+15, INPAT+16, INPAT+18, INPAT+20, INPAT+33, INPAT+34, INPAT+35
    , INPAT+42, INPAT+43, INPAT+44, INPAT+49, INPAT+50, INPAT+51, OUTPAT+8, OUTPAT+9, OUTPAT+15, OUTPAT+16
    , OUTPAT+19, OUTPAT+20, OUTPAT+30, OUTPAT+31, OUTPAT+38, OUTPAT+39, OUTPAT+45, OUTPAT+46, OUTPAT+52, OUTPAT+53
    >> VAIN(1 INPAT+9, INPAT+10
    >> VAINDT INPAT+7*
    >> VAIP("E" INPAT+10*
    >> VAIP("M" INPAT+10*
    >> VAIP(2 INPAT+12
    >> VAIP(3 INPAT+12
    X DATA+16!, OUTPAT+2
    X1 DATA+16!, OUTPAT+2*
    X2 DATA+16!, OUTPAT+2*
    Info |  Source |  Call Graph |  Entry Points |  External References |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call |  Global Variables Directly Accessed |  Label References |  Local Variables |  All