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 |  FileMan Files Accessed Via FileMan Db Call
Print Page as PDF
Routine: ACKQUTL6

Package: Quasar

Routine: ACKQUTL6


Information

ACKQUTL6 ;HCIOFO/BH-A&SP Utilities routine ; 12/28/07 11:04am

Source Information

Source file <ACKQUTL6.m>

Entry Points

Name Comments DBIA/ICR reference
DATACHEK(X,ACKVIEN) ; Checks that the input (X) is a valid time also checks that
; current user has supervisor status
SUPER(DUZ) ; Function passes back true if DUZ belongs to a supervisor
TTIME(X) ; Time input validation used within input transform of
; the Appointment time field (#55) of the visit file.
FMT(ACKFMT,ACKSTYL) ; convert Quasar Time to external format
; inputs:- ACKFMT - fileman time (internal) (reqd)
; can be passed in as 'date.time','.time' or just 'time'
; ACKSTYL - style of output (optional)
; where 0 = 12:mm[:ss] am/pm (no lead space)
; 1 = 12:mm[:ss] am/pm (lead space)
; 2 = 12:mm am/pm
FMT0 ; style 0 - 12:mm[:ss] am/pm (the default)
FMT1 ; style 1 - 12:mm[:ss] am/pm (with lead space if hour<10)
FMT2 ; style 2 - 12:mm am/pm
DUPECHK(X,DA,ACKP) ; Check there are no previous duplicate entries
DUPCHK ; Called from xecutable help of Appointment Time field when ACKITME is
; defined. This will only be defined if DUPECHK returned false
CDR() ; COMPUTE SUGGESTED CDR BASED ON TREATING SPECIALTY
STAFFNO(X) ; Finds valid staff No. to be used when allocating next time
GETNEXT ;
FILE ;
IDATE(D0,Y) ; Checks that the entered Inactive date falls after the
; Active date (if one has been entered).
ADATE(D0,Y) ; Checks that the entered Active date falls before the
; Inactive date (if one has been entered).
STAFFREF(X,DA) ; Cross Reference called from Cross Reference 'Logic'
REINDEX() ; Re-Indexes 'D' Cross Reference of Staff file
SETARR(ACK) ;
LONG(ACKPC,ACKQPR) ; Displays Long Description of Procedure Code
FORMAT(ACKNEW) ;
STRIP(ACKNEW) ;
PLIST(ACKPAT,ACKDC) ; Determines if an entry exists in the Problem file
; returns Status as first piece, Problem List IEN as second piece
; (Status^IEN)
; Status values - 1=Inactive, 2=Active

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: ?30,"("_+$E(ACKFMT,1,2)_":"_$E(ACKFMT,3,4)_":"_$E(ACKFMT,5,6)_ACKAMPM_")"
  • Line Location: TTIME+23
Function Call: WRITE
  • Prompt: ?30,"("_+$E(ACKFMT,1,2)_":"_$E(ACKFMT,3,4)_ACKAMPM_")"
  • Line Location: TTIME+25
Function Call: WRITE
  • Prompt: ?30,"("_$$FMT(ACKFMT)_")"
  • Line Location: TTIME+26
Function Call: WRITE
  • Prompt: !!,"Quasar already has a Visit entry for this Patient, within the same Clinic,"
  • Line Location: DUPCHK+2
Function Call: WRITE
  • Prompt: !,"on the same date at the same time."
  • Line Location: DUPCHK+3
Function Call: WRITE
  • Prompt: !!,"Please re-enter a new Appointment Time.",!!
  • Line Location: DUPCHK+4
Function Call: WRITE
  • Prompt: !!,"Suggested CDR Account :",ACKCDN," ",ACKCD,!
  • Line Location: CDR+5
Function Call: WRITE
  • Prompt: !!,"Warning - The following user(s) have been deleted from the USR Class Membership"
  • Line Location: REINDEX+12
Function Call: WRITE
  • Prompt: !,"file (#8930.3)."
  • Line Location: REINDEX+13
Function Call: WRITE
  • Prompt: !,"Quasar's A&SP Staff file (#509850.3) points to this file."
  • Line Location: REINDEX+14
Function Call: WRITE
  • Prompt: !,"The Quasar staff member(s) need to be re-entered into the USR Class Membership"
  • Line Location: REINDEX+15
Function Call: WRITE
  • Prompt: !,"file (8930.3) and the associated Quasar staff record amended to point to this"
  • Line Location: REINDEX+16
Function Call: WRITE
  • Prompt: !,"new entry.",!!
  • Line Location: REINDEX+17
Function Call: WRITE
  • Prompt: " "_ACKARR(ACK1),!
  • Line Location: REINDEX+21
Function Call: WRITE
  • Prompt: !!
  • Line Location: REINDEX+22
Function Call: WRITE
  • Prompt: "Please inform IRM/National VistA Support of this problem. This error"
  • Line Location: REINDEX+23
Function Call: WRITE
  • Prompt: !,"can be re-created by running this option again."
  • Line Location: REINDEX+24
Function Call: WRITE
  • Prompt: !!
  • Line Location: REINDEX+25
Function Call: WRITE
  • Prompt: !!," Long Description: "
  • Line Location: LONG+27
Function Call: WRITE
  • Prompt: !," "
  • Line Location: LONG+29
Function Call: WRITE
  • Prompt: ACKQARR(ACKK1)
  • Line Location: LONG+30
Function Call: WRITE
  • Prompt: "..."
  • Line Location: LONG+30
Function Call: WRITE
  • Prompt: !
  • Line Location: LONG+31

FileMan Files Accessed Via FileMan Db Call

FileNo Call Tags
^VA(200 - [#200] GET1^DIQ
^DIC(42.4 - [#42.4] GET1^DIQ
^DIC(45.7 - [#45.7] GET1^DIQ
^ACK(509850.3 - [#509850.3] Classic Fileman Calls,  GET1^DIQ
^ACK(509850.6 - [#509850.6] GETS^DIQ
Info |  Source |  Entry Points |  Interaction Calls |  FileMan Files Accessed Via FileMan Db Call