GMPLI003 ; ; 25-AUG-1994
;;2.0;Problem List;;Aug 25, 1994
Q:'DIFQ(125) 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
;;^DIC(125,0,"GL")
;;=^GMPL(125,
;;^DIC("B","PROBLEM SELECTION LIST",125)
;;=
;;^DIC(125,"%D",0)
;;=^^3^3^2940526^^^^
;;^DIC(125,"%D",1,0)
;;=This file contains information defining lists of problems commonly seen
;;^DIC(125,"%D",2,0)
;;=by a particular clinic or user. These lists will be presented as menus
;;^DIC(125,"%D",3,0)
;;=to select from, to facilitate adding new problems.
;;^DD(125,0)
;;=FIELD^^.03^3
;;^DD(125,0,"DDA")
;;=N
;;^DD(125,0,"DT")
;;=2940202
;;^DD(125,0,"ID",.03)
;;=W ""
;;^DD(125,0,"IX","B",125,.01)
;;=
;;^DD(125,0,"IX","C",125,.03)
;;=
;;^DD(125,0,"NM","PROBLEM SELECTION LIST")
;;=
;;^DD(125,0,"PT",125.1,.01)
;;=
;;^DD(125,0,"PT",200,125.1)
;;=
;;^DD(125,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
;;^DD(125,.01,1,0)
;;=^.1
;;^DD(125,.01,1,1,0)
;;=125^B
;;^DD(125,.01,1,1,1)
;;=S ^GMPL(125,"B",$E(X,1,30),DA)=""
;;^DD(125,.01,1,1,2)
;;=K ^GMPL(125,"B",$E(X,1,30),DA)
;;^DD(125,.01,3)
;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
;;^DD(125,.01,21,0)
;;=^^3^3^2931004^
;;^DD(125,.01,21,1,0)
;;=This is a free text name for the list; it should contain the name of
;;^DD(125,.01,21,2,0)
;;=the clinic or user who will be the primary user(s) of this list, as this
;;^DD(125,.01,21,3,0)
;;=name will be used as an ID and a title.
;;^DD(125,.02,0)
;;=DATE LAST MODIFIED^D^^0;2^S %DT="ETX" D ^%DT S X=Y K:Y<1 X
;;^DD(125,.02,3)
;;=Enter the date/time this list was last edited.
;;^DD(125,.02,21,0)
;;=^^2^2^2940107^^
;;^DD(125,.02,21,1,0)
;;=This is the date[/time] this list was last changed in any way; this value
;;^DD(125,.02,21,2,0)
;;=is stuffed in by the Problem List pkg utilities that manage this file.
;;^DD(125,.02,"DT")
;;=2931004
;;^DD(125,.03,0)
;;=CLINIC^*P44'^SC(^0;3^S DIC("S")="I $P(^(0),U,3)=""C""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(125,.03,1,0)
;;=^.1
;;^DD(125,.03,1,1,0)
;;=125^C
;;^DD(125,.03,1,1,1)
;;=S ^GMPL(125,"C",$E(X,1,30),DA)=""
;;^DD(125,.03,1,1,2)
;;=K ^GMPL(125,"C",$E(X,1,30),DA)
;;^DD(125,.03,1,1,"DT")
;;=2940107
;;^DD(125,.03,3)
;;=Enter the clinic to be associated with this list.
;;^DD(125,.03,12)
;;=Only hospital locations that are clinics are allowed.
;;^DD(125,.03,12.1)
;;=S DIC("S")="I $P(^(0),U,3)=""C"""
;;^DD(125,.03,21,0)
;;=^^4^4^2940202^^^^
;;^DD(125,.03,21,1,0)
;;=This is the clinic to be associated with this list. This should be the
;;^DD(125,.03,21,2,0)
;;=primary clinic in which this list will be used to populate patient
;;^DD(125,.03,21,3,0)
;;=problem lists; when adding new problems for a patient from this clinic,
;;^DD(125,.03,21,4,0)
;;=this list will automatically be presented to select problems from.
;;^DD(125,.03,"DT")
;;=2940202
GMPLI003 ; ; 25-AUG-1994
+1 ;;2.0;Problem List;;Aug 25, 1994
+2 IF 'DIFQ(125)
QUIT
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 ;;^DIC(125,0,"GL")
+2 ;;=^GMPL(125,
+3 ;;^DIC("B","PROBLEM SELECTION LIST",125)
+4 ;;=
+5 ;;^DIC(125,"%D",0)
+6 ;;=^^3^3^2940526^^^^
+7 ;;^DIC(125,"%D",1,0)
+8 ;;=This file contains information defining lists of problems commonly seen
+9 ;;^DIC(125,"%D",2,0)
+10 ;;=by a particular clinic or user. These lists will be presented as menus
+11 ;;^DIC(125,"%D",3,0)
+12 ;;=to select from, to facilitate adding new problems.
+13 ;;^DD(125,0)
+14 ;;=FIELD^^.03^3
+15 ;;^DD(125,0,"DDA")
+16 ;;=N
+17 ;;^DD(125,0,"DT")
+18 ;;=2940202
+19 ;;^DD(125,0,"ID",.03)
+20 ;;=W ""
+21 ;;^DD(125,0,"IX","B",125,.01)
+22 ;;=
+23 ;;^DD(125,0,"IX","C",125,.03)
+24 ;;=
+25 ;;^DD(125,0,"NM","PROBLEM SELECTION LIST")
+26 ;;=
+27 ;;^DD(125,0,"PT",125.1,.01)
+28 ;;=
+29 ;;^DD(125,0,"PT",200,125.1)
+30 ;;=
+31 ;;^DD(125,.01,0)
+32 ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
+33 ;;^DD(125,.01,1,0)
+34 ;;=^.1
+35 ;;^DD(125,.01,1,1,0)
+36 ;;=125^B
+37 ;;^DD(125,.01,1,1,1)
+38 ;;=S ^GMPL(125,"B",$E(X,1,30),DA)=""
+39 ;;^DD(125,.01,1,1,2)
+40 ;;=K ^GMPL(125,"B",$E(X,1,30),DA)
+41 ;;^DD(125,.01,3)
+42 ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
+43 ;;^DD(125,.01,21,0)
+44 ;;=^^3^3^2931004^
+45 ;;^DD(125,.01,21,1,0)
+46 ;;=This is a free text name for the list; it should contain the name of
+47 ;;^DD(125,.01,21,2,0)
+48 ;;=the clinic or user who will be the primary user(s) of this list, as this
+49 ;;^DD(125,.01,21,3,0)
+50 ;;=name will be used as an ID and a title.
+51 ;;^DD(125,.02,0)
+52 ;;=DATE LAST MODIFIED^D^^0;2^S %DT="ETX" D ^%DT S X=Y K:Y<1 X
+53 ;;^DD(125,.02,3)
+54 ;;=Enter the date/time this list was last edited.
+55 ;;^DD(125,.02,21,0)
+56 ;;=^^2^2^2940107^^
+57 ;;^DD(125,.02,21,1,0)
+58 ;;=This is the date[/time] this list was last changed in any way; this value
+59 ;;^DD(125,.02,21,2,0)
+60 ;;=is stuffed in by the Problem List pkg utilities that manage this file.
+61 ;;^DD(125,.02,"DT")
+62 ;;=2931004
+63 ;;^DD(125,.03,0)
+64 ;;=CLINIC^*P44'^SC(^0;3^S DIC("S")="I $P(^(0),U,3)=""C""" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+65 ;;^DD(125,.03,1,0)
+66 ;;=^.1
+67 ;;^DD(125,.03,1,1,0)
+68 ;;=125^C
+69 ;;^DD(125,.03,1,1,1)
+70 ;;=S ^GMPL(125,"C",$E(X,1,30),DA)=""
+71 ;;^DD(125,.03,1,1,2)
+72 ;;=K ^GMPL(125,"C",$E(X,1,30),DA)
+73 ;;^DD(125,.03,1,1,"DT")
+74 ;;=2940107
+75 ;;^DD(125,.03,3)
+76 ;;=Enter the clinic to be associated with this list.
+77 ;;^DD(125,.03,12)
+78 ;;=Only hospital locations that are clinics are allowed.
+79 ;;^DD(125,.03,12.1)
+80 ;;=S DIC("S")="I $P(^(0),U,3)=""C"""
+81 ;;^DD(125,.03,21,0)
+82 ;;=^^4^4^2940202^^^^
+83 ;;^DD(125,.03,21,1,0)
+84 ;;=This is the clinic to be associated with this list. This should be the
+85 ;;^DD(125,.03,21,2,0)
+86 ;;=primary clinic in which this list will be used to populate patient
+87 ;;^DD(125,.03,21,3,0)
+88 ;;=problem lists; when adding new problems for a patient from this clinic,
+89 ;;^DD(125,.03,21,4,0)
+90 ;;=this list will automatically be presented to select problems from.
+91 ;;^DD(125,.03,"DT")
+92 ;;=2940202