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: PSIVCHK

Package: Inpatient Medications

Routine: PSIVCHK


Information

PSIVCHK ;BIR/PR,MLM-CHECK ORDER FOR INTEGRITY ; 2/4/20 8:47am

Source Information

Source file <PSIVCHK.m>

Entry Points

Name Comments DBIA/ICR reference
M
INF
AH ;
NULSET ;Delete admin/schedule fields for hyperals and/or admixtures
CKO

Interaction Calls

Name Line Occurrences
Function Call: WRITE
  • Prompt: !
  • Line Location: PSIVCHK+7
Function Call: WRITE
  • Prompt: !,"*** You have not specified a med route! ",!
  • Line Location: PSIVCHK+8
Function Call: WRITE
  • Prompt: !,"*** Administration times not permitted for Odd Schedules ***"
  • Line Location: PSIVCHK+12
Function Call: WRITE
  • Prompt: !,"*** Administration times not permitted for PRN Schedules ***"
  • Line Location: PSIVCHK+13
Function Call: WRITE
  • Prompt: !,"*** Your administration time(s) are in an invalid format, ",!,"*** or there are more times than indicated by the schedule !"
  • Line Location: PSIVCHK+14
Function Call: WRITE
  • Prompt: !,"*** There are no administration times defined for this order!"
  • Line Location: PSIVCHK+22
Function Call: WRITE
  • Prompt: !,"*** Time interval between doses is less than zero !"
  • Line Location: M+0
Function Call: WRITE
  • Prompt: !,"*** ",$S(XX=2:"Start",1:"Stop")," date is in an invalid format or must contain time !"
  • Line Location: M+2
Function Call: WRITE
  • Prompt: !,"*** Start date/time CANNOT be greater than the stop date/time"
  • Line Location: M+3
Function Call: WRITE
  • Prompt: !,"*** Start date/time must be set AFTER last BCMA admin time ("_$$ENDTC1^PSGMI(PSJLDD)_")",!,"of this medication ***"
  • Line Location: M+12
Function Call: WRITE
  • Prompt: !,"*** You have no infusion rate defined !"
  • Line Location: INF+0
Function Call: WRITE
  • Prompt: !,"*** Your infusion rate is in an invalid format !"
  • Line Location: INF+1
Function Call: WRITE
  • Prompt: !,"*** WARNING -- You have not specified an infusion rate. "
  • Line Location: INF+2
Function Call: WRITE
  • Prompt: !,"*** Type of order is invalid !"
  • Line Location: INF+3
Function Call: WRITE
  • Prompt: !,"*** Status of order is invalid !"
  • Line Location: INF+4
Function Call: WRITE
  • Prompt: !,$C(7),"Order type is an admixture, hyperal, or continuous syringe, and you have",!,"a schedule and/or administration times defined!"
  • Line Location: AH+1
Function Call: WRITE
  • Prompt: !,"Ok to delete these fields"
  • Line Location: AH+2
Function Call: WRITE
  • Prompt: !,"*** You have not entered a physician!"
  • Line Location: AH+3
Function Call: WRITE
  • Prompt: !,TXT
  • Line Location: AH+5
Function Call: WRITE
  • Prompt: !!?2,"Enter 'YES' to delete the schedule and/or administration times fields from",!,"this order. Enter 'NO' (or '^') to leave the fields intact.",!
  • Line Location: NULSET+1
Function Call: WRITE
  • Prompt: !!,"Since there is a warning with this order.",!,"do you wish to re-edit this order"
  • Line Location: CKO+1
Function Call: WRITE
  • Prompt: !!,"Answer 'YES' to re-edit this order."
  • Line Location: CKO+1
Info |  Source |  Entry Points |  Interaction Calls