GMPLI00O ; ; 25-AUG-1994
;;2.0;Problem List;;Aug 25, 1994
Q:'DIFQ(9000011) 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
;;^DD(9000011,.05,21,0)
;;=^^2^2^2930406^^
;;^DD(9000011,.05,21,1,0)
;;=This contains the actual text used by the provider to describe this
;;^DD(9000011,.05,21,2,0)
;;=problem.
;;^DD(9000011,.05,"DT")
;;=2881128
;;^DD(9000011,.06,0)
;;=FACILITY^RP9999999.06'I^AUTTLOC(^0;6^Q
;;^DD(9000011,.06,1,0)
;;=^.1
;;^DD(9000011,.06,1,1,0)
;;=9000011^AV1^MUMPS
;;^DD(9000011,.06,1,1,1)
;;=Q
;;^DD(9000011,.06,1,1,2)
;;=Q
;;^DD(9000011,.06,1,1,"%D",0)
;;=^^1^1^2940110^
;;^DD(9000011,.06,1,1,"%D",1,0)
;;=No longer in use.
;;^DD(9000011,.06,1,1,"DT")
;;=2940110
;;^DD(9000011,.06,1,2,0)
;;=9000011^AATOO2^MUMPS
;;^DD(9000011,.06,1,2,1)
;;=I $P(^AUPNPROB(DA,0),U,2)]"",$P(^(0),U,7)]"" S X1=$P($P(^(0),U,7),"."),X2=$P($P(^(0),U,7),".",2),^AUPNPROB("AA",$P(^(0),U,2),X," "_$E("000",1,4-$L(X1)-1)_X1_"."_X2_$E("00",1,3-$L(X2)-1),DA)="" K X1,X2
;;^DD(9000011,.06,1,2,2)
;;=I $P(^AUPNPROB(DA,0),U,2)]"",$P(^(0),U,7)]"" S X1=$P($P(^(0),U,7),"."),X2=$P($P(^(0),U,7),".",2) K ^AUPNPROB("AA",$P(^(0),U,2),X," "_$E("000",1,4-$L(X1)-1)_X1_"."_X2_$E("00",1,3-$L(X2)-1),DA),X1,X2
;;^DD(9000011,.06,1,2,"%D",0)
;;=^^3^3^2930825^
;;^DD(9000011,.06,1,2,"%D",1,0)
;;=Allows problem retrieval by patient, facility, and problem number (Nmbr);
;;^DD(9000011,.06,1,2,"%D",2,0)
;;=the number is used as a string in " 000.00" format to assure a consistent
;;^DD(9000011,.06,1,2,"%D",3,0)
;;=ordering.
;;^DD(9000011,.06,3)
;;=Enter the location at which this problem was first observed and recorded.
;;^DD(9000011,.06,21,0)
;;=^^2^2^2930908^^^^
;;^DD(9000011,.06,21,1,0)
;;=This is the facility at which this problem was originally observed and
;;^DD(9000011,.06,21,2,0)
;;=documented.
;;^DD(9000011,.06,"DT")
;;=2940110
;;^DD(9000011,.07,0)
;;=NMBR^RNJ6,2X^^0;7^K:+X'=X!(X>999.99)!(X<1)!(X?.E1"."3N.N) X Q:'$D(X) K:$D(^AUPNPROB("AA",$P(^AUPNPROB(DA,0),U,2),$P(^(0),U,6)," "_$E("000",1,4-$L($P(X,".",1))-1)_$P(X,".",1)_"."_$P(X,".",2)_$E("00",1,3-$L($P(X,".",2))-1))) X
;;^DD(9000011,.07,1,0)
;;=^.1
;;^DD(9000011,.07,1,1,0)
;;=9000011^AA^MUMPS
;;^DD(9000011,.07,1,1,1)
;;=S ^AUPNPROB("AA",$P(^AUPNPROB(DA,0),U,2),$P(^(0),U,6)," "_$E("000",1,4-$L($P(X,".",1))-1)_$P(X,".",1)_"."_$P(X,".",2)_$E("00",1,3-$L($P(X,".",2))-1),DA)=""
;;^DD(9000011,.07,1,1,2)
;;=K ^AUPNPROB("AA",$P(^AUPNPROB(DA,0),U,2),$P(^(0),U,6)," "_$E("000",1,4-$L($P(X,".",1))-1)_$P(X,".",1)_"."_$P(X,".",2)_$E("00",1,3-$L($P(X,".",2))-1),DA)
;;^DD(9000011,.07,1,1,"%D",0)
;;=^^3^3^2930825^
;;^DD(9000011,.07,1,1,"%D",1,0)
;;=Allows problem retrieval by patient, facility, and problem number (Nmbr);
;;^DD(9000011,.07,1,1,"%D",2,0)
;;=the number is used as a string in " 000.00" format to assure a consistent
;;^DD(9000011,.07,1,1,"%D",3,0)
;;=ordering.
;;^DD(9000011,.07,3)
;;=TYPE A NUMBER BETWEEN 1 AND 999.99
;;^DD(9000011,.07,10)
;;=018/PRNUMB
;;^DD(9000011,.07,21,0)
;;=^^4^4^2930726^
;;^DD(9000011,.07,21,1,0)
;;=This is a number which, together with the Patient (#.02) and Facility (#.06)
;;^DD(9000011,.07,21,2,0)
;;=fields, serves as a unique identifier for this problem. Up to 2 decimal
;;^DD(9000011,.07,21,3,0)
;;=places may be used to indicate that a problem is a result of, or related
;;^DD(9000011,.07,21,4,0)
;;=to, another problem.
;;^DD(9000011,.07,"DT")
;;=2930726
;;^DD(9000011,.08,0)
;;=DATE ENTERED^RDI^^0;8^S %DT="EX" D ^%DT S X=Y K:DT<X!(2000000>X) X
;;^DD(9000011,.08,3)
;;=TYPE A DATE BETWEEN 1900 AND TODAY
;;^DD(9000011,.08,10)
;;=018/PREDAT
;;^DD(9000011,.08,12)
;;=VISIT MUST BE FOR CURRENT PATIENT
GMPLI00O ; ; 25-AUG-1994
+1 ;;2.0;Problem List;;Aug 25, 1994
+2 IF 'DIFQ(9000011)
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 ;;^DD(9000011,.05,21,0)
+2 ;;=^^2^2^2930406^^
+3 ;;^DD(9000011,.05,21,1,0)
+4 ;;=This contains the actual text used by the provider to describe this
+5 ;;^DD(9000011,.05,21,2,0)
+6 ;;=problem.
+7 ;;^DD(9000011,.05,"DT")
+8 ;;=2881128
+9 ;;^DD(9000011,.06,0)
+10 ;;=FACILITY^RP9999999.06'I^AUTTLOC(^0;6^Q
+11 ;;^DD(9000011,.06,1,0)
+12 ;;=^.1
+13 ;;^DD(9000011,.06,1,1,0)
+14 ;;=9000011^AV1^MUMPS
+15 ;;^DD(9000011,.06,1,1,1)
+16 ;;=Q
+17 ;;^DD(9000011,.06,1,1,2)
+18 ;;=Q
+19 ;;^DD(9000011,.06,1,1,"%D",0)
+20 ;;=^^1^1^2940110^
+21 ;;^DD(9000011,.06,1,1,"%D",1,0)
+22 ;;=No longer in use.
+23 ;;^DD(9000011,.06,1,1,"DT")
+24 ;;=2940110
+25 ;;^DD(9000011,.06,1,2,0)
+26 ;;=9000011^AATOO2^MUMPS
+27 ;;^DD(9000011,.06,1,2,1)
+28 ;;=I $P(^AUPNPROB(DA,0),U,2)]"",$P(^(0),U,7)]"" S X1=$P($P(^(0),U,7),"."),X2=$P($P(^(0),U,7),".",2),^AUPNPROB("AA",$P(^(0),U,2),X," "_$E("000",1,4-$L(X1)-1)_X1_"."_X2_$E("00",1,3-$L(X2)-1),DA)="" K X1,X2
+29 ;;^DD(9000011,.06,1,2,2)
+30 ;;=I $P(^AUPNPROB(DA,0),U,2)]"",$P(^(0),U,7)]"" S X1=$P($P(^(0),U,7),"."),X2=$P($P(^(0),U,7),".",2) K ^AUPNPROB("AA",$P(^(0),U,2),X," "_$E("000",1,4-$L(X1)-1)_X1_"."_X2_$E("00",1,3-$L(X2)-1),DA),X1,X2
+31 ;;^DD(9000011,.06,1,2,"%D",0)
+32 ;;=^^3^3^2930825^
+33 ;;^DD(9000011,.06,1,2,"%D",1,0)
+34 ;;=Allows problem retrieval by patient, facility, and problem number (Nmbr);
+35 ;;^DD(9000011,.06,1,2,"%D",2,0)
+36 ;;=the number is used as a string in " 000.00" format to assure a consistent
+37 ;;^DD(9000011,.06,1,2,"%D",3,0)
+38 ;;=ordering.
+39 ;;^DD(9000011,.06,3)
+40 ;;=Enter the location at which this problem was first observed and recorded.
+41 ;;^DD(9000011,.06,21,0)
+42 ;;=^^2^2^2930908^^^^
+43 ;;^DD(9000011,.06,21,1,0)
+44 ;;=This is the facility at which this problem was originally observed and
+45 ;;^DD(9000011,.06,21,2,0)
+46 ;;=documented.
+47 ;;^DD(9000011,.06,"DT")
+48 ;;=2940110
+49 ;;^DD(9000011,.07,0)
+50 ;;=NMBR^RNJ6,2X^^0;7^K:+X'=X!(X>999.99)!(X<1)!(X?.E1"."3N.N) X Q:'$D(X) K:$D(^AUPNPROB("AA",$P(^AUPNPROB(DA,0),U,2),$P(^(0),U,6)," "_$E("000",1,4-$L($P(X,".",1))-1)_$P(X,".",1)_"."_$P(X,".",2)_$E("00",1,3-$L($P(X,".",2))-1))) X
+51 ;;^DD(9000011,.07,1,0)
+52 ;;=^.1
+53 ;;^DD(9000011,.07,1,1,0)
+54 ;;=9000011^AA^MUMPS
+55 ;;^DD(9000011,.07,1,1,1)
+56 ;;=S ^AUPNPROB("AA",$P(^AUPNPROB(DA,0),U,2),$P(^(0),U,6)," "_$E("000",1,4-$L($P(X,".",1))-1)_$P(X,".",1)_"."_$P(X,".",2)_$E("00",1,3-$L($P(X,".",2))-1),DA)=""
+57 ;;^DD(9000011,.07,1,1,2)
+58 ;;=K ^AUPNPROB("AA",$P(^AUPNPROB(DA,0),U,2),$P(^(0),U,6)," "_$E("000",1,4-$L($P(X,".",1))-1)_$P(X,".",1)_"."_$P(X,".",2)_$E("00",1,3-$L($P(X,".",2))-1),DA)
+59 ;;^DD(9000011,.07,1,1,"%D",0)
+60 ;;=^^3^3^2930825^
+61 ;;^DD(9000011,.07,1,1,"%D",1,0)
+62 ;;=Allows problem retrieval by patient, facility, and problem number (Nmbr);
+63 ;;^DD(9000011,.07,1,1,"%D",2,0)
+64 ;;=the number is used as a string in " 000.00" format to assure a consistent
+65 ;;^DD(9000011,.07,1,1,"%D",3,0)
+66 ;;=ordering.
+67 ;;^DD(9000011,.07,3)
+68 ;;=TYPE A NUMBER BETWEEN 1 AND 999.99
+69 ;;^DD(9000011,.07,10)
+70 ;;=018/PRNUMB
+71 ;;^DD(9000011,.07,21,0)
+72 ;;=^^4^4^2930726^
+73 ;;^DD(9000011,.07,21,1,0)
+74 ;;=This is a number which, together with the Patient (#.02) and Facility (#.06)
+75 ;;^DD(9000011,.07,21,2,0)
+76 ;;=fields, serves as a unique identifier for this problem. Up to 2 decimal
+77 ;;^DD(9000011,.07,21,3,0)
+78 ;;=places may be used to indicate that a problem is a result of, or related
+79 ;;^DD(9000011,.07,21,4,0)
+80 ;;=to, another problem.
+81 ;;^DD(9000011,.07,"DT")
+82 ;;=2930726
+83 ;;^DD(9000011,.08,0)
+84 ;;=DATE ENTERED^RDI^^0;8^S %DT="EX" D ^%DT S X=Y K:DT<X!(2000000>X) X
+85 ;;^DD(9000011,.08,3)
+86 ;;=TYPE A DATE BETWEEN 1900 AND TODAY
+87 ;;^DD(9000011,.08,10)
+88 ;;=018/PREDAT
+89 ;;^DD(9000011,.08,12)
+90 ;;=VISIT MUST BE FOR CURRENT PATIENT