GMPLO013 ; ; 25-AUG-1994
;;2.0;Problem List;;Aug 25, 1994
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",2577,15)
;;=S ^GMPL(125,+GMPLSLST,0)=$P(GMPLSLST,U,2)_U_DT D HDR^GMPLBLD
;;^UTILITY(U,$J,"PRO",2577,20)
;;=D SAVE^GMPLBLD2
;;^UTILITY(U,$J,"PRO",2577,99)
;;=55908,59609
;;^UTILITY(U,$J,"PRO",2578,0)
;;=GMPL LIST SELECT ITEM^Select Item from Menu^^A^^^^^^^^PROBLEM LIST
;;^UTILITY(U,$J,"PRO",2578,1,0)
;;=^^6^6^2931213^^
;;^UTILITY(U,$J,"PRO",2578,1,1,0)
;;=This action will allow selection of a problem listed in the displayed
;;^UTILITY(U,$J,"PRO",2578,1,2,0)
;;=menu, to be added to the current patient's problem list. The same
;;^UTILITY(U,$J,"PRO",2578,1,3,0)
;;=prompts will be stepped through for each problem selected as if it had
;;^UTILITY(U,$J,"PRO",2578,1,4,0)
;;=been entered through the regular 'Add' action. If the item selected
;;^UTILITY(U,$J,"PRO",2578,1,5,0)
;;=is a category heading, the list will be expanded to include all the
;;^UTILITY(U,$J,"PRO",2578,1,6,0)
;;=problems included in that category for selection.
;;^UTILITY(U,$J,"PRO",2578,15)
;;=D CK^GMPLMENU
;;^UTILITY(U,$J,"PRO",2578,20)
;;=D ITEM^GMPLMENU
;;^UTILITY(U,$J,"PRO",2578,99)
;;=55908,59548
;;^UTILITY(U,$J,"PRO",2579,0)
;;=GMPL LIST MENU^List Commonly Seen Problems^^M^^^^^^^^PROBLEM LIST
;;^UTILITY(U,$J,"PRO",2579,1,0)
;;=^^3^3^2931213^^^
;;^UTILITY(U,$J,"PRO",2579,1,1,0)
;;=This protocol is for use with the List Manager utility, to display
;;^UTILITY(U,$J,"PRO",2579,1,2,0)
;;=the user's preferred list of commonly seen problems to facilitate
;;^UTILITY(U,$J,"PRO",2579,1,3,0)
;;=selection and addition to the patient's problem list.
;;^UTILITY(U,$J,"PRO",2579,4)
;;=40^4
;;^UTILITY(U,$J,"PRO",2579,10,0)
;;=^101.01PA^2^3
;;^UTILITY(U,$J,"PRO",2579,10,1,0)
;;=2357^^3
;;^UTILITY(U,$J,"PRO",2579,10,1,"^")
;;=GMPLX BLANK1
;;^UTILITY(U,$J,"PRO",2579,10,2,0)
;;=2580^AD^1
;;^UTILITY(U,$J,"PRO",2579,10,2,"^")
;;=GMPL LIST CLU
;;^UTILITY(U,$J,"PRO",2579,24)
;;=
;;^UTILITY(U,$J,"PRO",2579,26)
;;=W:$D(GMPLGRP) !!,"Rebuilding menu ..." D BUILD^GMPLMENU:$D(GMPLGRP),KEYS^GMPLMENU,SHOW^VALM S:XQORM("B")="Quit" XQORM("B")="Quit to Problem List" K GMPLGRP
;;^UTILITY(U,$J,"PRO",2579,28)
;;=Select Item(s):
;;^UTILITY(U,$J,"PRO",2579,99)
;;=56005,23978
;;^UTILITY(U,$J,"PRO",2580,0)
;;=GMPL LIST CLU^Add a Problem not on the Menu^^A^^^^^^^^PROBLEM LIST
;;^UTILITY(U,$J,"PRO",2580,1,0)
;;=^^4^4^2931213^^
;;^UTILITY(U,$J,"PRO",2580,1,1,0)
;;=This action will allow selection of a problem not listed in the displayed
;;^UTILITY(U,$J,"PRO",2580,1,2,0)
;;=menu, to be added to the current patient's problem list. The code
;;^UTILITY(U,$J,"PRO",2580,1,3,0)
;;=invoked here is the same as for the regular 'Add' action, possibly
;;^UTILITY(U,$J,"PRO",2580,1,4,0)
;;=allowing a look-up into the Clinical Lexicon Utility.
;;^UTILITY(U,$J,"PRO",2580,15)
;;=D CK^GMPLMENU
;;^UTILITY(U,$J,"PRO",2580,20)
;;=D CLU^GMPLMENU
;;^UTILITY(U,$J,"PRO",2580,99)
;;=55908,59541
;;^UTILITY(U,$J,"PRO",2630,0)
;;=GMPL MENU DELETE GROUP^Delete Category^^A^^^^^^^^PROBLEM LIST
;;^UTILITY(U,$J,"PRO",2630,1,0)
;;=^^3^3^2931213^^^^
;;^UTILITY(U,$J,"PRO",2630,1,1,0)
;;=This action allows the user to delete a problem category; it will be
;;^UTILITY(U,$J,"PRO",2630,1,2,0)
;;=completely removed from the Problem Selection Category file, if no
;;^UTILITY(U,$J,"PRO",2630,1,3,0)
;;=list currently contains it.
;;^UTILITY(U,$J,"PRO",2630,20)
;;=D DELETE^GMPLBLD2
;;^UTILITY(U,$J,"PRO",2630,99)
;;=55908,59607
;;^UTILITY(U,$J,"PRO",2631,0)
;;=GMPL MENU CREATE GROUP^Enter/Edit Category^^A^^^^^^^^PROBLEM LIST
GMPLO013 ; ; 25-AUG-1994
+1 ;;2.0;Problem List;;Aug 25, 1994
+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",2577,15)
+2 ;;=S ^GMPL(125,+GMPLSLST,0)=$P(GMPLSLST,U,2)_U_DT D HDR^GMPLBLD
+3 ;;^UTILITY(U,$J,"PRO",2577,20)
+4 ;;=D SAVE^GMPLBLD2
+5 ;;^UTILITY(U,$J,"PRO",2577,99)
+6 ;;=55908,59609
+7 ;;^UTILITY(U,$J,"PRO",2578,0)
+8 ;;=GMPL LIST SELECT ITEM^Select Item from Menu^^A^^^^^^^^PROBLEM LIST
+9 ;;^UTILITY(U,$J,"PRO",2578,1,0)
+10 ;;=^^6^6^2931213^^
+11 ;;^UTILITY(U,$J,"PRO",2578,1,1,0)
+12 ;;=This action will allow selection of a problem listed in the displayed
+13 ;;^UTILITY(U,$J,"PRO",2578,1,2,0)
+14 ;;=menu, to be added to the current patient's problem list. The same
+15 ;;^UTILITY(U,$J,"PRO",2578,1,3,0)
+16 ;;=prompts will be stepped through for each problem selected as if it had
+17 ;;^UTILITY(U,$J,"PRO",2578,1,4,0)
+18 ;;=been entered through the regular 'Add' action. If the item selected
+19 ;;^UTILITY(U,$J,"PRO",2578,1,5,0)
+20 ;;=is a category heading, the list will be expanded to include all the
+21 ;;^UTILITY(U,$J,"PRO",2578,1,6,0)
+22 ;;=problems included in that category for selection.
+23 ;;^UTILITY(U,$J,"PRO",2578,15)
+24 ;;=D CK^GMPLMENU
+25 ;;^UTILITY(U,$J,"PRO",2578,20)
+26 ;;=D ITEM^GMPLMENU
+27 ;;^UTILITY(U,$J,"PRO",2578,99)
+28 ;;=55908,59548
+29 ;;^UTILITY(U,$J,"PRO",2579,0)
+30 ;;=GMPL LIST MENU^List Commonly Seen Problems^^M^^^^^^^^PROBLEM LIST
+31 ;;^UTILITY(U,$J,"PRO",2579,1,0)
+32 ;;=^^3^3^2931213^^^
+33 ;;^UTILITY(U,$J,"PRO",2579,1,1,0)
+34 ;;=This protocol is for use with the List Manager utility, to display
+35 ;;^UTILITY(U,$J,"PRO",2579,1,2,0)
+36 ;;=the user's preferred list of commonly seen problems to facilitate
+37 ;;^UTILITY(U,$J,"PRO",2579,1,3,0)
+38 ;;=selection and addition to the patient's problem list.
+39 ;;^UTILITY(U,$J,"PRO",2579,4)
+40 ;;=40^4
+41 ;;^UTILITY(U,$J,"PRO",2579,10,0)
+42 ;;=^101.01PA^2^3
+43 ;;^UTILITY(U,$J,"PRO",2579,10,1,0)
+44 ;;=2357^^3
+45 ;;^UTILITY(U,$J,"PRO",2579,10,1,"^")
+46 ;;=GMPLX BLANK1
+47 ;;^UTILITY(U,$J,"PRO",2579,10,2,0)
+48 ;;=2580^AD^1
+49 ;;^UTILITY(U,$J,"PRO",2579,10,2,"^")
+50 ;;=GMPL LIST CLU
+51 ;;^UTILITY(U,$J,"PRO",2579,24)
+52 ;;=
+53 ;;^UTILITY(U,$J,"PRO",2579,26)
+54 ;;=W:$D(GMPLGRP) !!,"Rebuilding menu ..." D BUILD^GMPLMENU:$D(GMPLGRP),KEYS^GMPLMENU,SHOW^VALM S:XQORM("B")="Quit" XQORM("B")="Quit to Problem List" K GMPLGRP
+55 ;;^UTILITY(U,$J,"PRO",2579,28)
+56 ;;=Select Item(s):
+57 ;;^UTILITY(U,$J,"PRO",2579,99)
+58 ;;=56005,23978
+59 ;;^UTILITY(U,$J,"PRO",2580,0)
+60 ;;=GMPL LIST CLU^Add a Problem not on the Menu^^A^^^^^^^^PROBLEM LIST
+61 ;;^UTILITY(U,$J,"PRO",2580,1,0)
+62 ;;=^^4^4^2931213^^
+63 ;;^UTILITY(U,$J,"PRO",2580,1,1,0)
+64 ;;=This action will allow selection of a problem not listed in the displayed
+65 ;;^UTILITY(U,$J,"PRO",2580,1,2,0)
+66 ;;=menu, to be added to the current patient's problem list. The code
+67 ;;^UTILITY(U,$J,"PRO",2580,1,3,0)
+68 ;;=invoked here is the same as for the regular 'Add' action, possibly
+69 ;;^UTILITY(U,$J,"PRO",2580,1,4,0)
+70 ;;=allowing a look-up into the Clinical Lexicon Utility.
+71 ;;^UTILITY(U,$J,"PRO",2580,15)
+72 ;;=D CK^GMPLMENU
+73 ;;^UTILITY(U,$J,"PRO",2580,20)
+74 ;;=D CLU^GMPLMENU
+75 ;;^UTILITY(U,$J,"PRO",2580,99)
+76 ;;=55908,59541
+77 ;;^UTILITY(U,$J,"PRO",2630,0)
+78 ;;=GMPL MENU DELETE GROUP^Delete Category^^A^^^^^^^^PROBLEM LIST
+79 ;;^UTILITY(U,$J,"PRO",2630,1,0)
+80 ;;=^^3^3^2931213^^^^
+81 ;;^UTILITY(U,$J,"PRO",2630,1,1,0)
+82 ;;=This action allows the user to delete a problem category; it will be
+83 ;;^UTILITY(U,$J,"PRO",2630,1,2,0)
+84 ;;=completely removed from the Problem Selection Category file, if no
+85 ;;^UTILITY(U,$J,"PRO",2630,1,3,0)
+86 ;;=list currently contains it.
+87 ;;^UTILITY(U,$J,"PRO",2630,20)
+88 ;;=D DELETE^GMPLBLD2
+89 ;;^UTILITY(U,$J,"PRO",2630,99)
+90 ;;=55908,59607
+91 ;;^UTILITY(U,$J,"PRO",2631,0)
+92 ;;=GMPL MENU CREATE GROUP^Enter/Edit Category^^A^^^^^^^^PROBLEM LIST