- PSJON005 ; ; 06-OCT-1994
- ;;4.5; Inpatient Medications ;;7 Oct 94
- F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
- Q Q
- ;;^UTILITY(U,$J,"PRO",93,5)
- ;;=
- ;;^UTILITY(U,$J,"PRO",93,20)
- ;;=D ^PSJPR
- ;;^UTILITY(U,$J,"PRO",93,99)
- ;;=56004,58415
- ;;^UTILITY(U,$J,"PRO",94,0)
- ;;=PSJI OR PR^IV Medications Profile^^A^^^^^^^^IV MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",94,1,0)
- ;;=^^3^3^2920122^^^^
- ;;^UTILITY(U,$J,"PRO",94,1,1,0)
- ;;= This will allow a patient's IV profile to be sent to a printer.
- ;;^UTILITY(U,$J,"PRO",94,1,2,0)
- ;;=With each profile printed, a view of each order within the profile can
- ;;^UTILITY(U,$J,"PRO",94,1,3,0)
- ;;=also be printed.
- ;;^UTILITY(U,$J,"PRO",94,5)
- ;;=
- ;;^UTILITY(U,$J,"PRO",94,20)
- ;;=D ^PSIVXU Q:$D(XQUIT) D ^PSIVPR,ENIVKV^PSGSETU K J,N2,ORIFN,P17
- ;;^UTILITY(U,$J,"PRO",94,99)
- ;;=56004,58415
- ;;^UTILITY(U,$J,"PRO",95,0)
- ;;=PSJ OR PAT ADT^Inpatient Medications Actions on Patient ADT^^A^^^^^^^^INPATIENT MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",95,1,0)
- ;;=^^4^4^2940720^^^^
- ;;^UTILITY(U,$J,"PRO",95,1,1,0)
- ;;= This takes the appropriate action on a patient's Inpatient
- ;;^UTILITY(U,$J,"PRO",95,1,2,0)
- ;;=Medication orders whenever the patient is Admitted, Discharged, or
- ;;^UTILITY(U,$J,"PRO",95,1,3,0)
- ;;=Transferred (ADT). This is an action protocol to be used within the DG
- ;;^UTILITY(U,$J,"PRO",95,1,4,0)
- ;;=MOVEMENT EVENTS protocol.
- ;;^UTILITY(U,$J,"PRO",95,5)
- ;;=
- ;;^UTILITY(U,$J,"PRO",95,20)
- ;;=D ^PSJADT
- ;;^UTILITY(U,$J,"PRO",95,99)
- ;;=56004,58415
- ;;^UTILITY(U,$J,"PRO",96,0)
- ;;=PSJI OR PAT FLUID OE^IV Fluids^^O^^^^^^^^IV MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",96,1,0)
- ;;=^^3^3^2931001^^^^
- ;;^UTILITY(U,$J,"PRO",96,1,1,0)
- ;;= This allows entry of IV fluids orders through OE/RR. This protocol
- ;;^UTILITY(U,$J,"PRO",96,1,2,0)
- ;;=assumes that a patient has been selected prior to this protocol being
- ;;^UTILITY(U,$J,"PRO",96,1,3,0)
- ;;=selected.
- ;;^UTILITY(U,$J,"PRO",96,5)
- ;;=
- ;;^UTILITY(U,$J,"PRO",96,20)
- ;;=D ^PSIVORA
- ;;^UTILITY(U,$J,"PRO",96,99)
- ;;=56004,58415
- ;;^UTILITY(U,$J,"PRO",106,0)
- ;;=PSJI OR PAT HYPERAL OE^IV Hyperal^^A^^^^^^^^IV MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",106,1,0)
- ;;=^^1^1^2920124^^^^
- ;;^UTILITY(U,$J,"PRO",106,1,1,0)
- ;;= This allows limited processing of IV Hyperal orders through OE/RR.
- ;;^UTILITY(U,$J,"PRO",106,5)
- ;;=
- ;;^UTILITY(U,$J,"PRO",106,20)
- ;;=D ^PSIVORH
- ;;^UTILITY(U,$J,"PRO",106,99)
- ;;=56004,58416
- ;;^UTILITY(U,$J,"PRO",235,0)
- ;;=PSJI OR PAT FLUID OE MENU^IV FLUIDS...^^Q^^^^^^^^INPATIENT MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",235,1,0)
- ;;=^^1^1^2931014^^^^
- ;;^UTILITY(U,$J,"PRO",235,1,1,0)
- ;;=Placeholder, possible replacement: PSJI OR PAT FLUID OE
- ;;^UTILITY(U,$J,"PRO",235,10,0)
- ;;=^101.01PA^1^3
- ;;^UTILITY(U,$J,"PRO",235,10,3,0)
- ;;=96^
- ;;^UTILITY(U,$J,"PRO",235,10,3,"^")
- ;;=PSJI OR PAT FLUID OE
- ;;^UTILITY(U,$J,"PRO",235,20)
- ;;=
- ;;^UTILITY(U,$J,"PRO",235,99)
- ;;=56004,58434
- ;;^UTILITY(U,$J,"PRO",370,0)
- ;;=PSJ OR PAT OE MENU^Inpatient Medications^^Q^^^^^^^^INPATIENT MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",370,1,0)
- ;;=^^3^3^2931001^^^^
- ;;^UTILITY(U,$J,"PRO",370,1,1,0)
- ;;= This is a menu that allows the entry of Unit Dose and non-fluid IV orders
- ;;^UTILITY(U,$J,"PRO",370,1,2,0)
- ;;=through OE/RR. This menu should contain the Inpatients Medications order
- ;;^UTILITY(U,$J,"PRO",370,1,3,0)
- ;;=entry protocol and any Inpatient Medications quick order protocols.
- ;;^UTILITY(U,$J,"PRO",370,10,0)
- ;;=^101.01PA^2^2
- ;;^UTILITY(U,$J,"PRO",370,10,1,0)
- ;;=73^^2
- ;;^UTILITY(U,$J,"PRO",370,10,1,"^")
- ;;=PSJ OR PAT OE
- ;;^UTILITY(U,$J,"PRO",370,10,2,0)
- ;;=652^^^^^INFUSE TEST
- ;;^UTILITY(U,$J,"PRO",370,10,2,"^")
- ;;=PSJQ4 AMY
- ;;^UTILITY(U,$J,"PRO",370,99)
- ;;=56151,53640
- ;;^UTILITY(U,$J,"PRO",652,0)
- ;;=PSJQ4 AMY^AMY^^O^^^^^^^^IV MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",652,20)
- ;;=D PROCESS^PSJQSET(4)
- ;;^UTILITY(U,$J,"PRO",652,99)
- ;;=56151,53546
- ;;^UTILITY(U,$J,"PRO",653,0)
- ;;=PSJQ5 MAI^MAI^^O^^^^^^^^IV MEDICATIONS
- ;;^UTILITY(U,$J,"PRO",653,20)
- ;;=D PROCESS^PSJQSET(5)
- ;;^UTILITY(U,$J,"PRO",653,99)
- ;;=56155,31327
- PSJON005 ; ; 06-OCT-1994
- +1 ;;4.5; Inpatient Medications ;;7 Oct 94
- +2 FOR I=1:2
- SET X=$TEXT(Q+I)
- IF X=""
- QUIT
- SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
- SET X=$EXTRACT(X,4,999)
- IF $ASCII(Y)=126
- SET I=I+1
- SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,99)
- IF $ASCII(Y)=61
- SET Y=$EXTRACT(Y,2,999)
- XECUTE NO
- IF '$TEST
- SET @X=Y
- Q QUIT
- +1 ;;^UTILITY(U,$J,"PRO",93,5)
- +2 ;;=
- +3 ;;^UTILITY(U,$J,"PRO",93,20)
- +4 ;;=D ^PSJPR
- +5 ;;^UTILITY(U,$J,"PRO",93,99)
- +6 ;;=56004,58415
- +7 ;;^UTILITY(U,$J,"PRO",94,0)
- +8 ;;=PSJI OR PR^IV Medications Profile^^A^^^^^^^^IV MEDICATIONS
- +9 ;;^UTILITY(U,$J,"PRO",94,1,0)
- +10 ;;=^^3^3^2920122^^^^
- +11 ;;^UTILITY(U,$J,"PRO",94,1,1,0)
- +12 ;;= This will allow a patient's IV profile to be sent to a printer.
- +13 ;;^UTILITY(U,$J,"PRO",94,1,2,0)
- +14 ;;=With each profile printed, a view of each order within the profile can
- +15 ;;^UTILITY(U,$J,"PRO",94,1,3,0)
- +16 ;;=also be printed.
- +17 ;;^UTILITY(U,$J,"PRO",94,5)
- +18 ;;=
- +19 ;;^UTILITY(U,$J,"PRO",94,20)
- +20 ;;=D ^PSIVXU Q:$D(XQUIT) D ^PSIVPR,ENIVKV^PSGSETU K J,N2,ORIFN,P17
- +21 ;;^UTILITY(U,$J,"PRO",94,99)
- +22 ;;=56004,58415
- +23 ;;^UTILITY(U,$J,"PRO",95,0)
- +24 ;;=PSJ OR PAT ADT^Inpatient Medications Actions on Patient ADT^^A^^^^^^^^INPATIENT MEDICATIONS
- +25 ;;^UTILITY(U,$J,"PRO",95,1,0)
- +26 ;;=^^4^4^2940720^^^^
- +27 ;;^UTILITY(U,$J,"PRO",95,1,1,0)
- +28 ;;= This takes the appropriate action on a patient's Inpatient
- +29 ;;^UTILITY(U,$J,"PRO",95,1,2,0)
- +30 ;;=Medication orders whenever the patient is Admitted, Discharged, or
- +31 ;;^UTILITY(U,$J,"PRO",95,1,3,0)
- +32 ;;=Transferred (ADT). This is an action protocol to be used within the DG
- +33 ;;^UTILITY(U,$J,"PRO",95,1,4,0)
- +34 ;;=MOVEMENT EVENTS protocol.
- +35 ;;^UTILITY(U,$J,"PRO",95,5)
- +36 ;;=
- +37 ;;^UTILITY(U,$J,"PRO",95,20)
- +38 ;;=D ^PSJADT
- +39 ;;^UTILITY(U,$J,"PRO",95,99)
- +40 ;;=56004,58415
- +41 ;;^UTILITY(U,$J,"PRO",96,0)
- +42 ;;=PSJI OR PAT FLUID OE^IV Fluids^^O^^^^^^^^IV MEDICATIONS
- +43 ;;^UTILITY(U,$J,"PRO",96,1,0)
- +44 ;;=^^3^3^2931001^^^^
- +45 ;;^UTILITY(U,$J,"PRO",96,1,1,0)
- +46 ;;= This allows entry of IV fluids orders through OE/RR. This protocol
- +47 ;;^UTILITY(U,$J,"PRO",96,1,2,0)
- +48 ;;=assumes that a patient has been selected prior to this protocol being
- +49 ;;^UTILITY(U,$J,"PRO",96,1,3,0)
- +50 ;;=selected.
- +51 ;;^UTILITY(U,$J,"PRO",96,5)
- +52 ;;=
- +53 ;;^UTILITY(U,$J,"PRO",96,20)
- +54 ;;=D ^PSIVORA
- +55 ;;^UTILITY(U,$J,"PRO",96,99)
- +56 ;;=56004,58415
- +57 ;;^UTILITY(U,$J,"PRO",106,0)
- +58 ;;=PSJI OR PAT HYPERAL OE^IV Hyperal^^A^^^^^^^^IV MEDICATIONS
- +59 ;;^UTILITY(U,$J,"PRO",106,1,0)
- +60 ;;=^^1^1^2920124^^^^
- +61 ;;^UTILITY(U,$J,"PRO",106,1,1,0)
- +62 ;;= This allows limited processing of IV Hyperal orders through OE/RR.
- +63 ;;^UTILITY(U,$J,"PRO",106,5)
- +64 ;;=
- +65 ;;^UTILITY(U,$J,"PRO",106,20)
- +66 ;;=D ^PSIVORH
- +67 ;;^UTILITY(U,$J,"PRO",106,99)
- +68 ;;=56004,58416
- +69 ;;^UTILITY(U,$J,"PRO",235,0)
- +70 ;;=PSJI OR PAT FLUID OE MENU^IV FLUIDS...^^Q^^^^^^^^INPATIENT MEDICATIONS
- +71 ;;^UTILITY(U,$J,"PRO",235,1,0)
- +72 ;;=^^1^1^2931014^^^^
- +73 ;;^UTILITY(U,$J,"PRO",235,1,1,0)
- +74 ;;=Placeholder, possible replacement: PSJI OR PAT FLUID OE
- +75 ;;^UTILITY(U,$J,"PRO",235,10,0)
- +76 ;;=^101.01PA^1^3
- +77 ;;^UTILITY(U,$J,"PRO",235,10,3,0)
- +78 ;;=96^
- +79 ;;^UTILITY(U,$J,"PRO",235,10,3,"^")
- +80 ;;=PSJI OR PAT FLUID OE
- +81 ;;^UTILITY(U,$J,"PRO",235,20)
- +82 ;;=
- +83 ;;^UTILITY(U,$J,"PRO",235,99)
- +84 ;;=56004,58434
- +85 ;;^UTILITY(U,$J,"PRO",370,0)
- +86 ;;=PSJ OR PAT OE MENU^Inpatient Medications^^Q^^^^^^^^INPATIENT MEDICATIONS
- +87 ;;^UTILITY(U,$J,"PRO",370,1,0)
- +88 ;;=^^3^3^2931001^^^^
- +89 ;;^UTILITY(U,$J,"PRO",370,1,1,0)
- +90 ;;= This is a menu that allows the entry of Unit Dose and non-fluid IV orders
- +91 ;;^UTILITY(U,$J,"PRO",370,1,2,0)
- +92 ;;=through OE/RR. This menu should contain the Inpatients Medications order
- +93 ;;^UTILITY(U,$J,"PRO",370,1,3,0)
- +94 ;;=entry protocol and any Inpatient Medications quick order protocols.
- +95 ;;^UTILITY(U,$J,"PRO",370,10,0)
- +96 ;;=^101.01PA^2^2
- +97 ;;^UTILITY(U,$J,"PRO",370,10,1,0)
- +98 ;;=73^^2
- +99 ;;^UTILITY(U,$J,"PRO",370,10,1,"^")
- +100 ;;=PSJ OR PAT OE
- +101 ;;^UTILITY(U,$J,"PRO",370,10,2,0)
- +102 ;;=652^^^^^INFUSE TEST
- +103 ;;^UTILITY(U,$J,"PRO",370,10,2,"^")
- +104 ;;=PSJQ4 AMY
- +105 ;;^UTILITY(U,$J,"PRO",370,99)
- +106 ;;=56151,53640
- +107 ;;^UTILITY(U,$J,"PRO",652,0)
- +108 ;;=PSJQ4 AMY^AMY^^O^^^^^^^^IV MEDICATIONS
- +109 ;;^UTILITY(U,$J,"PRO",652,20)
- +110 ;;=D PROCESS^PSJQSET(4)
- +111 ;;^UTILITY(U,$J,"PRO",652,99)
- +112 ;;=56151,53546
- +113 ;;^UTILITY(U,$J,"PRO",653,0)
- +114 ;;=PSJQ5 MAI^MAI^^O^^^^^^^^IV MEDICATIONS
- +115 ;;^UTILITY(U,$J,"PRO",653,20)
- +116 ;;=D PROCESS^PSJQSET(5)
- +117 ;;^UTILITY(U,$J,"PRO",653,99)
- +118 ;;=56155,31327