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 |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call  | All
Print Page as PDF
Routine: GMVDS1

Package: General Medical Record - Vitals

Routine: GMVDS1


Information

GMVDS1 ;HOIFO/YH,FT-CURRENT VITALS BY PATIENT OR LOCATION ;6/6/07

Source Information

Source file <GMVDS1.m>

Entry Points

Name Comments DBIA/ICR reference
EN1(RESULT,GMVDATA) ; [RPC entry point]
; GMV LATEST VITALS FOR PATIENT & GMV LATEST VITALS BY LOCATION
; DFN - patient internal entry number
; GMVDEV - device name
; GMVIEN - device internal entry number
; GMVPDT - date/time to print the report
; GMVWARD - ward internal entry number
; GMVHLOC - hospital location internal entry number
EN2 ; Start the report output
AE ;
Q1 ; Kill variables and quit
HDR ; Report Header
PRT ; Body of report
Q2 ; Kill variables
WARD ; Build TMP global for patients on ward
; set ^TMP($J,roombed,patient name,DFN)=""
; GMVWARD(1) is the NAME of FILE 42 entry
; GMVRMBD(n) is an array of room numbers on the ward (e.g, GMVRMBD(200))
; GMVEDB is a code for the type of sort
; A = all patients on a ward
; S = selected roombeds on a ward
; P = an individual patient

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !,"THERE IS NO DATA FOR THIS REPORT"
  • Line Location: AE+9
Function Call: WRITE
  • Prompt: !,GMRPDT,?20,"VITALS REPORT FOR UNIT: "_GMVWARD(1)
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: " - "_$$GET1^DIQ(4,+$$GET1^DIQ(44,+GMVHLOC,3,"I"),.01,"I")
  • Condition for execution: GMVHLOC>0
  • Line Location: HDR+3
Function Call: WRITE
  • Prompt: !,GMRPDT,?28,"LATEST VITALS REPORT"
  • Line Location: HDR+4
Function Call: WRITE
  • Prompt: ?72,"PAGE ",GMVPAGE
  • Line Location: HDR+5
Function Call: WRITE
  • Prompt: !,GMVDASH,!
  • Line Location: HDR+6

Used in RPC

RPC Name Call Tags
GMV LATEST VITALS BY LOCATION EN1
GMV LATEST VITALS FOR PATIENT EN1

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^DIC(4 - [#4] GET1^DIQ
^SC - [#44] GET1^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  Used in RPC |  FileMan Files Accessed Via FileMan Db Call  | All