Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Source |  Entry Points |  Interaction Calls
Print Page as PDF
Routine: GMTSDVR

Package: Health Summary

Routine: GMTSDVR


Information

GMTSDVR ; SLC/JER,KER - Health Summary Driver ; 04/30/2002

Source Information

Source file <GMTSDVR.m>

Entry Points

Name Comments DBIA/ICR reference
MAIN ; Control branching
  • ICR #938
    • Status: Active
    • Usage: Controlled Subscription
    PTPC ; Combined Patient/Patient Copy
    PATCOPY(GMP,GMPAT) ; Copies patients from GMP to GMPAT array
    RESUB(GMP) ; Resubscript GMP Array
    ; Subscripts in GMP array are converted to numeric
    ENXQ ; External call for tasked HS print
    ;
    ; Input: GMTSTYP=Record # of HS type in file 142
    ; DFN=Record # of patient in file 2
    ; GMTSPX1=Optional internal FM ending date
    ; GMTSPX2=Optional internal FM beginning date
    ;
    ; NOTE: Optional date range variables are both
    ; required if a date range is desired.
    ;
    ; To call from TaskMan:
    ; S ZTRTN="ENXQ^GMTSDVR"
    ; S ZTSAVE("GMTSTYP")=""
    ; S ZTSAVE("DFN")=""
    ; D ^%ZTLOAD
  • ICR #242
    • Status: Active
    • Usage: Private
  • ICR #349
    • Status: Active
    • Usage: Private
  • ICR #938
    • Status: Active
    • Usage: Controlled Subscription
    ENX(DFN,GMTSTYP,GMTSPX2,GMTSPX1) ; External call to print a Health Summary
    ;
    ; Input: GMTSTYP=Record # of HS type in file 142
    ; DFN=Record # of patient in file 2
    ; GMTSPX1=Optional internal FM ending date
    ; GMTSPX2=Optional internal FM beginning date
    ;
    ; NOTE: Optional date range variables are both
    ; required if a date range is desired.
    ;
  • ICR #349
    • Status: Active
    • Usage: Private
  • ICR #744
    • Status: Active
    • Usage: Controlled Subscription
  • ICR #938
    • Status: Active
    • Usage: Controlled Subscription
    SELTYP ; Select Health Summary Type(s)
  • ICR #938
    • Status: Active
    • Usage: Controlled Subscription
    PQ ; Queued subroutine for HS by patient
    LOADSEG ; Load Enabled Components into GMTSEG Array
    SELFILE ; Get Selection item information for GMTSEG(
    HSOUT ; Output summary, with device control
    ; Call with: ZTRTN
    NOQUE ; Do Not Queue Output
    QUE ; Queue output
    ACTPROF(GMDFN) ; Print Action Profile for Patient

    Interaction Calls

    Name Line Occurrences
    Function Call: WRITE
    • Prompt: !!,"Another patient(s) can be selected."
    • Line Location: MAIN+10
    Function Call: WRITE
    • Prompt: !?3,"Invalid HEALTH SUMMARY TYPE."
    • Line Location: ENX+14
    Function Call: WRITE
    • Prompt: !?3,"Invalid PATIENT ID."
    • Line Location: ENX+17
    Function Call: WRITE
    • Prompt: !,"The Summary Type "_$P(Y,U,2)_" includes no components...Please choose another",!
    • Line Location: SELTYP+6
    Function Call: WRITE
    • Prompt: !,$S($D(ZTSK):"Request Queued!",1:"Request Cancelled!")
    • Line Location: QUE+4
    Info |  Source |  Entry Points |  Interaction Calls