GMPLI00X ; ; 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,"OPT",7535,99)
;;=55955,60970
;;^UTILITY(U,$J,"OPT",7535,"U")
;;=CREATE PROBLEM SELECTION LISTS
;;^UTILITY(U,$J,"OPT",7537,0)
;;=GMPL ASSIGN LIST^Assign Selection List to User(s)^^R^^^^^^^^PROBLEM LIST^^1
;;^UTILITY(U,$J,"OPT",7537,1,0)
;;=^^6^6^2940202^^^^
;;^UTILITY(U,$J,"OPT",7537,1,1,0)
;;=This option allows a selection list to be assigned to user(s) as his/her
;;^UTILITY(U,$J,"OPT",7537,1,2,0)
;;=preferred menu of problems to select from. If a list is specified in
;;^UTILITY(U,$J,"OPT",7537,1,3,0)
;;=the Problem List Default Menu field (#125.1) of the New Person file,
;;^UTILITY(U,$J,"OPT",7537,1,4,0)
;;=then the Add New Problem(s) option will present this list of problems
;;^UTILITY(U,$J,"OPT",7537,1,5,0)
;;=to select from; searching the Clinical Lexicon Utility for a problem
;;^UTILITY(U,$J,"OPT",7537,1,6,0)
;;=not on this list is always an option from these menus.
;;^UTILITY(U,$J,"OPT",7537,20)
;;=S GMPLSLST=$$LIST^GMPLBLD2("")
;;^UTILITY(U,$J,"OPT",7537,25)
;;=USERS^GMPLBLD3("1")
;;^UTILITY(U,$J,"OPT",7537,"U")
;;=ASSIGN SELECTION LIST TO USER(
;;^UTILITY(U,$J,"OPT",7681,0)
;;=GMPL BUILD ENC FORM LIST^Copy Selection List from IB Encounter Form^^R^^^^^^^^PROBLEM LIST
;;^UTILITY(U,$J,"OPT",7681,1,0)
;;=^^6^6^2940125^^
;;^UTILITY(U,$J,"OPT",7681,1,1,0)
;;=This option will allow creating a new selection list by copying a list
;;^UTILITY(U,$J,"OPT",7681,1,2,0)
;;=already created through the Encounter Form utility (Integrated Billing
;;^UTILITY(U,$J,"OPT",7681,1,3,0)
;;=package) into a new entry in file #125. This list will then be available
;;^UTILITY(U,$J,"OPT",7681,1,4,0)
;;=for editing further (only the new list will be altered - the list saved
;;^UTILITY(U,$J,"OPT",7681,1,5,0)
;;=in the Integrated Billing pkg with the form will not be changed here),
;;^UTILITY(U,$J,"OPT",7681,1,6,0)
;;=or for use to select from when entering new problems to a patient's list.
;;^UTILITY(U,$J,"OPT",7681,25)
;;=GMPLBLDF
;;^UTILITY(U,$J,"OPT",7681,"U")
;;=COPY SELECTION LIST FROM IB EN
;;^UTILITY(U,$J,"OPT",7683,0)
;;=GMPL CODE LIST^Assign ICD Diagnoses to Problem List^^R^^^^^^^^PROBLEM LIST
;;^UTILITY(U,$J,"OPT",7683,1,0)
;;=^^5^5^2940203^^^
;;^UTILITY(U,$J,"OPT",7683,1,1,0)
;;=This option allows access to a patient's problem list to add, review,
;;^UTILITY(U,$J,"OPT",7683,1,2,0)
;;=or edit the ICD Code assigned to each problem. A detailed display of
;;^UTILITY(U,$J,"OPT",7683,1,3,0)
;;=problem data is available, as well as searching capability into both
;;^UTILITY(U,$J,"OPT",7683,1,4,0)
;;=the ICD Diagnosis file and the Clinical Lexicon Utility to facilitate
;;^UTILITY(U,$J,"OPT",7683,1,5,0)
;;=the coding process.
;;^UTILITY(U,$J,"OPT",7683,25)
;;=EN^GMPLCODE
;;^UTILITY(U,$J,"OPT",7683,"U")
;;=ASSIGN ICD DIAGNOSES TO PROBLE
;;^UTILITY(U,$J,"OPT",7784,0)
;;=GMPL DELETE LIST^Delete Problem Selection List^^R^^^^^^^^PROBLEM LIST
;;^UTILITY(U,$J,"OPT",7784,1,0)
;;=^^4^4^2940126^
;;^UTILITY(U,$J,"OPT",7784,1,1,0)
;;=This option will allow the user to delete a problem selection list and
;;^UTILITY(U,$J,"OPT",7784,1,2,0)
;;=its contents that is no longer in use. Once a list is selected, the
;;^UTILITY(U,$J,"OPT",7784,1,3,0)
;;=New Person file, "Problem Selection List" field, for pointers to the
;;^UTILITY(U,$J,"OPT",7784,1,4,0)
;;=chosen list; if any users are found, deleting the list is not permitted.
;;^UTILITY(U,$J,"OPT",7784,25)
;;=DELETE^GMPLBLD3
;;^UTILITY(U,$J,"OPT",7784,"U")
;;=DELETE PROBLEM SELECTION LIST
GMPLI00X ; ; 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,"OPT",7535,99)
+2 ;;=55955,60970
+3 ;;^UTILITY(U,$J,"OPT",7535,"U")
+4 ;;=CREATE PROBLEM SELECTION LISTS
+5 ;;^UTILITY(U,$J,"OPT",7537,0)
+6 ;;=GMPL ASSIGN LIST^Assign Selection List to User(s)^^R^^^^^^^^PROBLEM LIST^^1
+7 ;;^UTILITY(U,$J,"OPT",7537,1,0)
+8 ;;=^^6^6^2940202^^^^
+9 ;;^UTILITY(U,$J,"OPT",7537,1,1,0)
+10 ;;=This option allows a selection list to be assigned to user(s) as his/her
+11 ;;^UTILITY(U,$J,"OPT",7537,1,2,0)
+12 ;;=preferred menu of problems to select from. If a list is specified in
+13 ;;^UTILITY(U,$J,"OPT",7537,1,3,0)
+14 ;;=the Problem List Default Menu field (#125.1) of the New Person file,
+15 ;;^UTILITY(U,$J,"OPT",7537,1,4,0)
+16 ;;=then the Add New Problem(s) option will present this list of problems
+17 ;;^UTILITY(U,$J,"OPT",7537,1,5,0)
+18 ;;=to select from; searching the Clinical Lexicon Utility for a problem
+19 ;;^UTILITY(U,$J,"OPT",7537,1,6,0)
+20 ;;=not on this list is always an option from these menus.
+21 ;;^UTILITY(U,$J,"OPT",7537,20)
+22 ;;=S GMPLSLST=$$LIST^GMPLBLD2("")
+23 ;;^UTILITY(U,$J,"OPT",7537,25)
+24 ;;=USERS^GMPLBLD3("1")
+25 ;;^UTILITY(U,$J,"OPT",7537,"U")
+26 ;;=ASSIGN SELECTION LIST TO USER(
+27 ;;^UTILITY(U,$J,"OPT",7681,0)
+28 ;;=GMPL BUILD ENC FORM LIST^Copy Selection List from IB Encounter Form^^R^^^^^^^^PROBLEM LIST
+29 ;;^UTILITY(U,$J,"OPT",7681,1,0)
+30 ;;=^^6^6^2940125^^
+31 ;;^UTILITY(U,$J,"OPT",7681,1,1,0)
+32 ;;=This option will allow creating a new selection list by copying a list
+33 ;;^UTILITY(U,$J,"OPT",7681,1,2,0)
+34 ;;=already created through the Encounter Form utility (Integrated Billing
+35 ;;^UTILITY(U,$J,"OPT",7681,1,3,0)
+36 ;;=package) into a new entry in file #125. This list will then be available
+37 ;;^UTILITY(U,$J,"OPT",7681,1,4,0)
+38 ;;=for editing further (only the new list will be altered - the list saved
+39 ;;^UTILITY(U,$J,"OPT",7681,1,5,0)
+40 ;;=in the Integrated Billing pkg with the form will not be changed here),
+41 ;;^UTILITY(U,$J,"OPT",7681,1,6,0)
+42 ;;=or for use to select from when entering new problems to a patient's list.
+43 ;;^UTILITY(U,$J,"OPT",7681,25)
+44 ;;=GMPLBLDF
+45 ;;^UTILITY(U,$J,"OPT",7681,"U")
+46 ;;=COPY SELECTION LIST FROM IB EN
+47 ;;^UTILITY(U,$J,"OPT",7683,0)
+48 ;;=GMPL CODE LIST^Assign ICD Diagnoses to Problem List^^R^^^^^^^^PROBLEM LIST
+49 ;;^UTILITY(U,$J,"OPT",7683,1,0)
+50 ;;=^^5^5^2940203^^^
+51 ;;^UTILITY(U,$J,"OPT",7683,1,1,0)
+52 ;;=This option allows access to a patient's problem list to add, review,
+53 ;;^UTILITY(U,$J,"OPT",7683,1,2,0)
+54 ;;=or edit the ICD Code assigned to each problem. A detailed display of
+55 ;;^UTILITY(U,$J,"OPT",7683,1,3,0)
+56 ;;=problem data is available, as well as searching capability into both
+57 ;;^UTILITY(U,$J,"OPT",7683,1,4,0)
+58 ;;=the ICD Diagnosis file and the Clinical Lexicon Utility to facilitate
+59 ;;^UTILITY(U,$J,"OPT",7683,1,5,0)
+60 ;;=the coding process.
+61 ;;^UTILITY(U,$J,"OPT",7683,25)
+62 ;;=EN^GMPLCODE
+63 ;;^UTILITY(U,$J,"OPT",7683,"U")
+64 ;;=ASSIGN ICD DIAGNOSES TO PROBLE
+65 ;;^UTILITY(U,$J,"OPT",7784,0)
+66 ;;=GMPL DELETE LIST^Delete Problem Selection List^^R^^^^^^^^PROBLEM LIST
+67 ;;^UTILITY(U,$J,"OPT",7784,1,0)
+68 ;;=^^4^4^2940126^
+69 ;;^UTILITY(U,$J,"OPT",7784,1,1,0)
+70 ;;=This option will allow the user to delete a problem selection list and
+71 ;;^UTILITY(U,$J,"OPT",7784,1,2,0)
+72 ;;=its contents that is no longer in use. Once a list is selected, the
+73 ;;^UTILITY(U,$J,"OPT",7784,1,3,0)
+74 ;;=New Person file, "Problem Selection List" field, for pointers to the
+75 ;;^UTILITY(U,$J,"OPT",7784,1,4,0)
+76 ;;=chosen list; if any users are found, deleting the list is not permitted.
+77 ;;^UTILITY(U,$J,"OPT",7784,25)
+78 ;;=DELETE^GMPLBLD3
+79 ;;^UTILITY(U,$J,"OPT",7784,"U")
+80 ;;=DELETE PROBLEM SELECTION LIST