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

OR3C101.m

Go to the documentation of this file.
  1. OR3C101 ; SLC/MKB - Cleanup unused protocols ;8/20/97 08:30
  1. ;;3.0;ORDER ENTRY/RESULTS REPORTING;;Dec 17, 1997
  1. KILL ; -- kill old protocols after conversion is done
  1. N X,DA,DIK,ORI,ORP,ORMENU
  1. S DIK="^ORD(101," F X="DC","EDIT","HOLD","RENEW" S DA=+$O(^ORD(101,"B","ORGY "_X,0)) D:DA ^DIK
  1. F ORI=1:1 S X=$P($T(ITEM+ORI),";",3) Q:X="ZZZZ" D
  1. . S ORP=$O(^ORD(101,"B",X,0)) Q:'ORP
  1. . S ORMENU=0 F S ORMENU=$O(^ORD(101,"AD",ORP,ORMENU)) Q:ORMENU'>0 D
  1. . . S DA(1)=ORMENU,DIK="^ORD(101,"_ORMENU_",10,"
  1. . . S DA=0 F S DA=$O(^ORD(101,"AD",ORP,ORMENU,DA)) Q:DA'>0 D ^DIK
  1. . K DA,DIK S DA=ORP,DIK="^ORD(101," D ^DIK
  1. Q
  1. ;
  1. ITEM ;;Protocol name
  1. ;;OR GTMOVE A/T/D/S
  1. ;;OR GTPARM BPDIAS
  1. ;;OR GTPARM BPSYS
  1. ;;OR GTPARM PULSE
  1. ;;OR GTPARM TEMPERATURE
  1. ;;OR GTSKIN WOUND SITE
  1. ;;OR GTX FREE TEXT 1
  1. ;;OR GTX FREE TEXT 2
  1. ;;OR GTX FREE TEXT 3
  1. ;;OR GTX FREE TEXT 4
  1. ;;OR GTX FREQUENCY
  1. ;;OR GTX PROVIDER
  1. ;;OR GTX TREATING SPECIALTY
  1. ;;OR GTX WORD PROCESSING 1
  1. ;;OR GUA ACTV CHECK OTHER
  1. ;;OR GUA ACTV DISPLAY GROUP
  1. ;;OR GUA GENERIC ORDER MAIN PROTOCOL
  1. ;;OR GUA MOVE ATTENDING
  1. ;;OR GUA MOVE DISCHARGE TYPE
  1. ;;OR GUA MOVE SERVICE
  1. ;;OR GWCOND CONDITION
  1. ;;OR GWDIAG DIAGNOSIS
  1. ;;OR GXACTV AD LIB
  1. ;;OR GXACTV AMBULATE
  1. ;;OR GXACTV AMBULATE TID
  1. ;;OR GXACTV BATHROOM PRIVILEGES
  1. ;;OR GXACTV BED REST
  1. ;;OR GXACTV BED REST / BRP
  1. ;;OR GXACTV HOB UP
  1. ;;OR GXACTV MAY LEAVE WARD
  1. ;;OR GXACTV OTHER ACTIVITY ORDER
  1. ;;OR GXACTV OUT OF BED
  1. ;;OR GXACTV PROVIDE TRAPEZE
  1. ;;OR GXACTV ROM EXERCISE
  1. ;;OR GXACTV TURN PATIENT
  1. ;;OR GXACTV UP IN CHAIR
  1. ;;OR GXACTV UP IN CHAIR TID
  1. ;;OR GXHEMO ARTERIAL LINE
  1. ;;OR GXHEMO ARTERIAL SHEATH
  1. ;;OR GXHEMO CARDIAC OUTPUT
  1. ;;OR GXHEMO HEMODYNAMICS ITEM
  1. ;;OR GXHEMO SWAN GANZ CATHETER
  1. ;;OR GXHEMO VENOUS SHEATH
  1. ;;OR GXMOVE ADMIT PATIENT
  1. ;;OR GXMOVE ADMIT/TRANS/DISCH
  1. ;;OR GXMOVE DISCHARGE
  1. ;;OR GXMOVE PATIENT MOVEMENT
  1. ;;OR GXMOVE TRANSFER
  1. ;;OR GXMOVE TREATING SPECIALTY
  1. ;;OR GXNURS CHEST TUBE
  1. ;;OR GXNURS GLASCOW COMA
  1. ;;OR GXNURS GUAIAC ASPIRATE
  1. ;;OR GXNURS GUAIAC EMESIS
  1. ;;OR GXNURS GUAIAC STOOLS
  1. ;;OR GXNURS NEURO CHECK
  1. ;;OR GXNURS NURSING ITEM
  1. ;;OR GXNURS PUSH FLUIDS
  1. ;;OR GXNURS URINE PH
  1. ;;OR GXNURS URINE SPEC GRAV
  1. ;;OR GXOXGN MASK 35 PER CENT
  1. ;;OR GXOXGN MASK 40 PER CENT
  1. ;;OR GXOXGN MASK 50 PER CENT
  1. ;;OR GXOXGN O2 3 LT NASAL CANNULA
  1. ;;OR GXOXGN O2 4 LT NASAL CANNULA
  1. ;;OR GXOXGN OXYGEN THERAPY ITEM
  1. ;;OR GXOXGN VENTILATOR
  1. ;;OR GXPARM CALL HO ON
  1. ;;OR GXPARM I AND O
  1. ;;OR GXRESP CHEST PT
  1. ;;OR GXRESP INCENTIVE SPIROMETER
  1. ;;OR GXRESP RESPIRATORY ITEM
  1. ;;OR GXRESP SUCTION
  1. ;;OR GXRESP TCDB
  1. ;;OR GXRESP TRACH CARE
  1. ;;OR GXSKIN AIR MATTRESS
  1. ;;OR GXSKIN COLD PACKS
  1. ;;OR GXSKIN DRESSING CHANGE
  1. ;;OR GXSKIN SHEEPSKIN
  1. ;;OR GXSKIN SKIN AND WOUND ITEM
  1. ;;OR GXSKIN WARM PACKS
  1. ;;OR GXSKIN WARM SOAKS
  1. ;;OR GXSKIN WATER MATTRESS
  1. ;;OR GXTEXT TEXT ONLY ORDER
  1. ;;OR GXTEXT WORD PROCESSING ORDER
  1. ;;OR GXTUBE COLOSTOMY
  1. ;;OR GXTUBE CONDOM CATHETER
  1. ;;OR GXTUBE DRAINS ITEM
  1. ;;OR GXTUBE HEMOVAC
  1. ;;OR GXTUBE ILEOSTOMY
  1. ;;OR GXTUBE INDWELLING URINARY CATH
  1. ;;OR GXTUBE JACKSON PRATT
  1. ;;OR GXTUBE NASOGASTRIC
  1. ;;OR GXTUBE PENROSE
  1. ;;OR GXTUBE RECTAL TUBE
  1. ;;OR GXTUBE SUPRAPUBIC CATHETER
  1. ;;OR GXTUBE UROSTOMY
  1. ;;ZZZZ