Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: PSXRHLP

PSXRHLP.m

Go to the documentation of this file.
  1. PSXRHLP ;BIR/WPB-Help Messages for the Remote Sites ;14 Dec 2001
  1. ;;2.0;CMOP;**28**;11 Apr 97
  1. ; Reference to ^PS(52.5, supported by DBIA #1978
  1. MSG1 ;help message, allows the user to return to the main menu or exit
  1. ;the routine
  1. W @IOF
  1. W !!,"1 & 2",!," - Initiate CMOP Transmission will gather data for the selected date range and"
  1. W !,"transmit to the CMOP. The sender receives a ""Transmission Confirmation"" message"
  1. W !,"via Mailman when the data transmission is completed."
  1. W !!,"3 & 4",!," - Print CMOP Labels from Suspense will gather data for the selected date range"
  1. W !,"and print the labels. NO DATA will TRANSMIT to the CMOP. Drugs or items for"
  1. W !,"all labels printed should be filled locally."
  1. W !!,"5 - Standard Print from Suspense will print all labels for Rx's NOT 'Queued to"
  1. W !,"Send' for the selected date range. All usual outpatient prompts will be displayed."
  1. Q
  1. MSG2 ;help message, allows the user to return to the main menu or exit
  1. ;the routine
  1. W @IOF
  1. W !!,"1 - Reset and Transmit to CMOP will reset entries which have 'printed but not"
  1. W !,"transmitted for the selected date range and automatically transmit data"
  1. W !,"to the CMOP. "
  1. W !!,"2 - Reset and Print CMOP Labels will reset entries which have 'printed but not"
  1. W !,"transmitted' for the selected date range and print labels. There will be"
  1. W !,"NO DATA TRANSMITTED to the CMOP. The Rx's for the labels printed must be"
  1. W !,"filled locally."
  1. W !!,"3 - Standard Reset and Print Again will reset and print all outpatient labels not"
  1. W !,"'Queued to Send' and usual outpatient prompts will be displayed."
  1. Q
  1. DATAERR ;list of errrors that can occur while checking the rx prior to transmit
  1. ;;Quantity
  1. ;;Prescribing Physician
  1. ;;Days supply
  1. ;;Drug id
  1. ;;SIG
  1. ;;Patient status
  1. ;;Fill date
  1. ;;Clerk
  1. ;;Patient Address
  1. ;;Original batch ^not on file.^is currently processing.^is closed.^is already on hold.
  1. DERR ;list of errors for tranmission
  1. ;;State
  1. ;;Site
  1. ;;Name
  1. ;;Street Address
  1. ;;City
  1. ;;Zip Code
  1. ;;Area Code
  1. ;;Phone Number
  1. ;;Refillable Instructions
  1. ;;Nonrefillable Instructions
  1. Q
  1. DEACT W !!,?7,"**************************************************************"
  1. I '$D(^PS(52.5,"AQ")) S AZ=1 G D1
  1. I $D(^PS(52.5,"AQ")) W !,?7,"WARNING: There are Rx's currently suspended for CMOP."
  1. W !!,?7,"If you inactivate CMOP processing:"
  1. W !,?7,"1) These Rx's will not transmit to the CMOP, but will remain"
  1. W !,?7," in the RX SUSPENSE file. These Rx's cannot be accessed by"
  1. W !,?7," Outpatient Pharmacy options. Ideally, these Rx's should"
  1. W !,?7," be transmitted or printed before inactivation takes place."
  1. W !,?7," If CMOP processing is activated, these prescriptions can"
  1. W !,?7," be transmitted."
  1. D1 W !,?7,$S($G(AZ)'>0:"2) ",$G(AZ)=1:"1) ",1:"")_"Before inactivating, please have all pharmacy users sign"
  1. W !,?7," off until inactivation is complete. CMOP Rx's input by"
  1. W !,?7," users who do not sign off the system will be suspended for"
  1. W !,?7," CMOP transmission."_$S($G(AZ)'>0:" (See #1)",1:"")
  1. I $G(AZ)=1 W " These Rx's can not be accessed by",!,?7," Outpatient Pharmacy options. If CMOP processing is",!,?7," activated these prescriptions can be transmitted."
  1. I $D(^PSX(550,"AT")) W !,?7,$S($G(AZ)'>0:"3) ",$G(AZ)=1:"2) ",1:"")_"Your current auto transmission schedule will be",!,?7," cancelled on inactivation."
  1. W !,?7,"***************************************************************",!
  1. K AZ
  1. Q
  1. OPSUS ;EP OP SUSPENSE MESSAGE
  1. W !!,?7,"***************************************************************",!
  1. W !,?7,PSXNEW
  1. W !!,?7,"Prescriptions "
  1. W $S(PSXNEWI=1:"will be processed into",1:"are in")," CMOP suspense and"
  1. W !,?7,"held until either:"
  1. W !!,?14,"1. CMOP transmissions are activated."
  1. W !,?14,"2. Outpatient menues are used to pull prescriptions from"
  1. W !,?14,"CMOP suspense.",!
  1. W !,?7,"***************************************************************",!
  1. Q