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

ORWOD1.m

Go to the documentation of this file.
  1. ORWOD1 ; SLC/GSS - Utility for Order Dialogs ; 10/01/09 11:28am
  1. ;;3.0;ORDER ENTRY/RESULTS REPORTING;**243,296,280**;DEC 17, 1997;Build 85
  1. ;
  1. NTRY ;Entry point
  1. N TXT
  1. F NXTLINE=1:1 S TXT=$P($T(TXT+NXTLINE),";;",2) Q:TXT="Q" S ^TMP("OR",$J,"MAIL",NXTLINE,0)=TXT
  1. Q
  1. TXT ;Text for report follows
  1. ;; Quick Orders Which Should be Considered for Editing
  1. ;;
  1. ;;CPRS 27 has added three new fields (Route, IV Type, and Schedule) to the
  1. ;;IV Order Dialog. For all IV orders the Route and IV Type must be defined.
  1. ;;For Intermittent IV Type orders the schedule field must be defined. CPRS
  1. ;;will not process the orders unless these fields are defined.
  1. ;;
  1. ;;The following table of Quick Orders (QO) was compiled by examining the
  1. ;;QOs and whether or not they were contained in another entry of the Order
  1. ;;Dialog file, e.g., Order Menu, Order Set and/or the Reminder Dialog
  1. ;;file. QOs which are contained in those files should be edited ASAP after
  1. ;;CPRS v27 is installed. QOs not contained in those files are less critical
  1. ;;but should still be edited. Note that if the ORCM SEARCH/REPLACE option
  1. ;;is used, it does not look for usage in the Reminder Dialog file and thus
  1. ;;may give different results than the table below.
  1. ;;
  1. ;;The Quick Orders are listed in alphabetical order by QO name and include
  1. ;;the QO's IEN (internal reference number), display name, and Legend code.
  1. ;;The Legend code corresponds to a letter or letters in the Legend (see
  1. ;;below.) You will need to evaluate each quick order and update it based on
  1. ;;the Legend code(s).
  1. ;;
  1. ;;A Quick Order can be edited by using the "Enter/edit quick orders" option
  1. ;;on the Order Menu Management menu in VistA (roll and scroll). At the
  1. ;;prompt, "Select QUICK ORDER NAME:", enter the name of the Quick Order.
  1. ;;The QO will then be displayed for your editing. The "Enter/edit quick
  1. ;;orders" option can also be used to edit a Personal Quick Order.
  1. ;;
  1. ;;Additionally, when OR*3.0*301 is released, it will include a new option
  1. ;;entitled, Convert IV Inpatient QO to Infusion QO [OR CONVERT INP TO QO].
  1. ;;This option will be on the ORDER MENU MANAGEMENT [ORCM MENU] menu. This
  1. ;;option enables CACs at sites to convert an IV quick order that is set-up
  1. ;;as an Inpatient quick order to the new Infusion quick order format.
  1. ;;
  1. ;;QO Edit Hint:
  1. ;;In addition to entering the QO name, users may also edit a Quick Order by
  1. ;;entering the back tick (`) and the IEN at the "Select QUICK ORDER NAME:"
  1. ;;prompt. For example, if the Quick Order name is PSI SICU CAM DOBUTAMINE 500
  1. ;;MG and the IEN is 6200, a user may enter "`6200" at the "Select QUICK ORDER
  1. ;;NAME:" prompt. This will save the time required to type the name of the Quick
  1. ;;Order in at the "Select QUICK ORDER NAME:" prompt.
  1. ;;
  1. ;;Note: The term 'null', as used below, can be viewed as meaning 'not defined'.
  1. ;;
  1. ;;Legend:
  1. ;;A...Problem: The IV type is null or the route is null.
  1. ;; Action: Please edit the IV Type or route fields with the appropriate
  1. ;; information.
  1. ;;B...Problem: The IV type is 'I' and the schedule is null.
  1. ;; Action: For Intermittent IV Orders a schedule is needed to process the
  1. ;; order. Enter a schedule which denotes the Intermittent IV dose.
  1. ;;C...Problem: Continuous IV Type does not have a rate defined. When accepting
  1. ;; the order in CPRS, rate is required and must be between 1 and 9999.9,
  1. ;; a whole number, or text that contains an '@'. Some continuous IV Type
  1. ;; Quick Orders may not include a rate to allow provider to define at
  1. ;; time of order.
  1. ;; Action: Evaluate need for rate default and assign in Quick Order if
  1. ;; appropriate. The infusion rate must be a number up to four digits and
  1. ;; it will allow up to one decimal place. If IV Type is not defined in
  1. ;; the Quick Order, then an IV Type must be defined in the Quick Order
  1. ;; set-up.
  1. ;;D...Problem: The IV type is 'I' but the rate is not a whole number minute
  1. ;; or hour yet not null.
  1. ;; Action: A valid "Infuse Over" value must be assigned to the Quick
  1. ;; Order. Using the Quick Order Editor, add an "Infuse Over" value in
  1. ;; the number of minutes (maximum of 9999).
  1. ;;E...Problem: The IV limit or duration (limitation) value was other than
  1. ;; null or a whole number.
  1. ;; Action: This field is not required but if it exists, it must be a
  1. ;; whole number. To correct this, follow the Help Text for the Limitation
  1. ;; Prompt in the Quick Order editor for this Quick Order.
  1. ;;F...Problem: The Order Dialogs with 'MM' in the display text
  1. ;; Action: MMOL (millimole) has been added as a unit of measure. Please
  1. ;; replace 'MM' with MMOL.
  1. ;;G...Problem: Auto Accept Quick Order which was 'Y'es and now set to 'N'o.
  1. ;; Action: These Quick Orders were converted from an Auto Accept Quick
  1. ;; Order to a non-Auto Accept Quick because they have at least one
  1. ;; invalid field. Please correct the problems identified by the Legend
  1. ;; code(s) for the Quick Order before setting the Quick Order back to
  1. ;; an Auto-Accept Quick Order.
  1. ;;
  1. ;;H...Problem: Continuous IV Quick Orders do not have an Additive Frequency assigned for every additives.
  1. ;; Action: These Quick Orders need to have an Additive Frequency value assigned for
  1. ;; each additive in the quick order.
  1. ;;
  1. ;;Note: QO Names and QO Display Names over 30 characters are truncated at 30
  1. ;; characters. If in doubt on the Name you can use the IEN to edit the
  1. ;; Quick Order (see above).
  1. ;;
  1. ;; -----------------------
  1. ;;
  1. ;; IEN Name Display Name Legend
  1. ;;===== ============================== ============================== ======
  1. ;;Q