- GMPLI00P ; ; 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,.08,12.1)
- ;;=S DIC("S")="I $P(^(0),U,5)=$P(^AUPNPROB(DA,0),U,2)"
- ;;^DD(9000011,.08,21,0)
- ;;=^^1^1^2940111^^^
- ;;^DD(9000011,.08,21,1,0)
- ;;=This is the date this problem was entered into this file.
- ;;^DD(9000011,.08,"DT")
- ;;=2880307
- ;;^DD(9000011,.12,0)
- ;;=STATUS^RS^A:ACTIVE;I:INACTIVE;^0;12^Q
- ;;^DD(9000011,.12,1,0)
- ;;=^.1
- ;;^DD(9000011,.12,1,1,0)
- ;;=9000011^ACTIVE^MUMPS
- ;;^DD(9000011,.12,1,1,1)
- ;;=S:$P(^AUPNPROB(DA,0),U,2) ^AUPNPROB("ACTIVE",+$P(^(0),U,2),X,DA)=""
- ;;^DD(9000011,.12,1,1,2)
- ;;=K ^AUPNPROB("ACTIVE",+$P(^AUPNPROB(DA,0),U,2),X,DA)
- ;;^DD(9000011,.12,1,1,"%D",0)
- ;;=^^1^1^2930706^^
- ;;^DD(9000011,.12,1,1,"%D",1,0)
- ;;=Allows problem retrieval by patient and status, in order of entry.
- ;;^DD(9000011,.12,1,1,"DT")
- ;;=2930706
- ;;^DD(9000011,.12,3)
- ;;=Enter the current status of this problem, active or inactive.
- ;;^DD(9000011,.12,10)
- ;;=018/PRSTAT
- ;;^DD(9000011,.12,21,0)
- ;;=^^3^3^2930406^^
- ;;^DD(9000011,.12,21,1,0)
- ;;=This is the current activity status of this problem, whether active or
- ;;^DD(9000011,.12,21,2,0)
- ;;=inactive; if more detail is needed, a notation may be filed with this
- ;;^DD(9000011,.12,21,3,0)
- ;;=problem.
- ;;^DD(9000011,.12,"DT")
- ;;=2930706
- ;;^DD(9000011,.13,0)
- ;;=DATE OF ONSET^D^^0;13^S %DT="E" D ^%DT S X=Y K:DT<X!(1800000>X) X
- ;;^DD(9000011,.13,3)
- ;;=TYPE A DATE BETWEEN 1880 AND TODAY
- ;;^DD(9000011,.13,21,0)
- ;;=^^1^1^2930726^^^^
- ;;^DD(9000011,.13,21,1,0)
- ;;=This is the approximate date this problem appeared, as precisely as known.
- ;;^DD(9000011,.13,"DT")
- ;;=2930613
- ;;^DD(9000011,1.01,0)
- ;;=PROBLEM^P757.01'^GMP(757.01,^1;1^Q
- ;;^DD(9000011,1.01,1,0)
- ;;=^.1
- ;;^DD(9000011,1.01,1,1,0)
- ;;=9000011^C
- ;;^DD(9000011,1.01,1,1,1)
- ;;=S ^AUPNPROB("C",$E(X,1,30),DA)=""
- ;;^DD(9000011,1.01,1,1,2)
- ;;=K ^AUPNPROB("C",$E(X,1,30),DA)
- ;;^DD(9000011,1.01,1,1,"DT")
- ;;=2930728
- ;;^DD(9000011,1.01,3)
- ;;=Enter the problem observed for this patient.
- ;;^DD(9000011,1.01,21,0)
- ;;=^^2^2^2930908^^
- ;;^DD(9000011,1.01,21,1,0)
- ;;=This field contains the standardized text stored in the Clinical Lexicon
- ;;^DD(9000011,1.01,21,2,0)
- ;;=for this problem.
- ;;^DD(9000011,1.01,"DT")
- ;;=2930728
- ;;^DD(9000011,1.02,0)
- ;;=CONDITION^S^T:TRANSCRIBED;P:PERMANENT;H:HIDDEN;^1;2^Q
- ;;^DD(9000011,1.02,21,0)
- ;;=^^3^3^2930908^^^
- ;;^DD(9000011,1.02,21,1,0)
- ;;=This reflects the current condition of this entry, whether transcribed
- ;;^DD(9000011,1.02,21,2,0)
- ;;=by a clerk from the paper chart, entered or verified by a provider,
- ;;^DD(9000011,1.02,21,3,0)
- ;;=or marked as removed from the patient's list.
- ;;^DD(9000011,1.02,23,0)
- ;;=^^6^6^2930908^^
- ;;^DD(9000011,1.02,23,1,0)
- ;;=This flag is used internally by the DHCP Problem List; entries having
- ;;^DD(9000011,1.02,23,2,0)
- ;;=an H in this field have been "deleted" and are maintained for historical
- ;;^DD(9000011,1.02,23,3,0)
- ;;=use but are generally ignored. If the parameter "Verify Transcribed
- ;;^DD(9000011,1.02,23,4,0)
- ;;=Entries" is turned on in File #125.99, entries made by a clerk will have
- ;;^DD(9000011,1.02,23,5,0)
- ;;=a T here, and a flag will appear on the clinician's display of the list.
- ;;^DD(9000011,1.02,23,6,0)
- ;;=P entries have been entered or verified by a provider.
- ;;^DD(9000011,1.02,"DT")
- ;;=2930726
- ;;^DD(9000011,1.03,0)
- ;;=ENTERED BY^P200'^VA(200,^1;3^Q
- ;;^DD(9000011,1.03,3)
- ;;=Enter the name of the current user.
- ;;^DD(9000011,1.03,21,0)
- ;;=^^1^1^2930726^
- ;;^DD(9000011,1.03,21,1,0)
- ;;=This is the user who actually entered this problem into this file.
- GMPLI00P ; ; 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,.08,12.1)
- +2 ;;=S DIC("S")="I $P(^(0),U,5)=$P(^AUPNPROB(DA,0),U,2)"
- +3 ;;^DD(9000011,.08,21,0)
- +4 ;;=^^1^1^2940111^^^
- +5 ;;^DD(9000011,.08,21,1,0)
- +6 ;;=This is the date this problem was entered into this file.
- +7 ;;^DD(9000011,.08,"DT")
- +8 ;;=2880307
- +9 ;;^DD(9000011,.12,0)
- +10 ;;=STATUS^RS^A:ACTIVE;I:INACTIVE;^0;12^Q
- +11 ;;^DD(9000011,.12,1,0)
- +12 ;;=^.1
- +13 ;;^DD(9000011,.12,1,1,0)
- +14 ;;=9000011^ACTIVE^MUMPS
- +15 ;;^DD(9000011,.12,1,1,1)
- +16 ;;=S:$P(^AUPNPROB(DA,0),U,2) ^AUPNPROB("ACTIVE",+$P(^(0),U,2),X,DA)=""
- +17 ;;^DD(9000011,.12,1,1,2)
- +18 ;;=K ^AUPNPROB("ACTIVE",+$P(^AUPNPROB(DA,0),U,2),X,DA)
- +19 ;;^DD(9000011,.12,1,1,"%D",0)
- +20 ;;=^^1^1^2930706^^
- +21 ;;^DD(9000011,.12,1,1,"%D",1,0)
- +22 ;;=Allows problem retrieval by patient and status, in order of entry.
- +23 ;;^DD(9000011,.12,1,1,"DT")
- +24 ;;=2930706
- +25 ;;^DD(9000011,.12,3)
- +26 ;;=Enter the current status of this problem, active or inactive.
- +27 ;;^DD(9000011,.12,10)
- +28 ;;=018/PRSTAT
- +29 ;;^DD(9000011,.12,21,0)
- +30 ;;=^^3^3^2930406^^
- +31 ;;^DD(9000011,.12,21,1,0)
- +32 ;;=This is the current activity status of this problem, whether active or
- +33 ;;^DD(9000011,.12,21,2,0)
- +34 ;;=inactive; if more detail is needed, a notation may be filed with this
- +35 ;;^DD(9000011,.12,21,3,0)
- +36 ;;=problem.
- +37 ;;^DD(9000011,.12,"DT")
- +38 ;;=2930706
- +39 ;;^DD(9000011,.13,0)
- +40 ;;=DATE OF ONSET^D^^0;13^S %DT="E" D ^%DT S X=Y K:DT<X!(1800000>X) X
- +41 ;;^DD(9000011,.13,3)
- +42 ;;=TYPE A DATE BETWEEN 1880 AND TODAY
- +43 ;;^DD(9000011,.13,21,0)
- +44 ;;=^^1^1^2930726^^^^
- +45 ;;^DD(9000011,.13,21,1,0)
- +46 ;;=This is the approximate date this problem appeared, as precisely as known.
- +47 ;;^DD(9000011,.13,"DT")
- +48 ;;=2930613
- +49 ;;^DD(9000011,1.01,0)
- +50 ;;=PROBLEM^P757.01'^GMP(757.01,^1;1^Q
- +51 ;;^DD(9000011,1.01,1,0)
- +52 ;;=^.1
- +53 ;;^DD(9000011,1.01,1,1,0)
- +54 ;;=9000011^C
- +55 ;;^DD(9000011,1.01,1,1,1)
- +56 ;;=S ^AUPNPROB("C",$E(X,1,30),DA)=""
- +57 ;;^DD(9000011,1.01,1,1,2)
- +58 ;;=K ^AUPNPROB("C",$E(X,1,30),DA)
- +59 ;;^DD(9000011,1.01,1,1,"DT")
- +60 ;;=2930728
- +61 ;;^DD(9000011,1.01,3)
- +62 ;;=Enter the problem observed for this patient.
- +63 ;;^DD(9000011,1.01,21,0)
- +64 ;;=^^2^2^2930908^^
- +65 ;;^DD(9000011,1.01,21,1,0)
- +66 ;;=This field contains the standardized text stored in the Clinical Lexicon
- +67 ;;^DD(9000011,1.01,21,2,0)
- +68 ;;=for this problem.
- +69 ;;^DD(9000011,1.01,"DT")
- +70 ;;=2930728
- +71 ;;^DD(9000011,1.02,0)
- +72 ;;=CONDITION^S^T:TRANSCRIBED;P:PERMANENT;H:HIDDEN;^1;2^Q
- +73 ;;^DD(9000011,1.02,21,0)
- +74 ;;=^^3^3^2930908^^^
- +75 ;;^DD(9000011,1.02,21,1,0)
- +76 ;;=This reflects the current condition of this entry, whether transcribed
- +77 ;;^DD(9000011,1.02,21,2,0)
- +78 ;;=by a clerk from the paper chart, entered or verified by a provider,
- +79 ;;^DD(9000011,1.02,21,3,0)
- +80 ;;=or marked as removed from the patient's list.
- +81 ;;^DD(9000011,1.02,23,0)
- +82 ;;=^^6^6^2930908^^
- +83 ;;^DD(9000011,1.02,23,1,0)
- +84 ;;=This flag is used internally by the DHCP Problem List; entries having
- +85 ;;^DD(9000011,1.02,23,2,0)
- +86 ;;=an H in this field have been "deleted" and are maintained for historical
- +87 ;;^DD(9000011,1.02,23,3,0)
- +88 ;;=use but are generally ignored. If the parameter "Verify Transcribed
- +89 ;;^DD(9000011,1.02,23,4,0)
- +90 ;;=Entries" is turned on in File #125.99, entries made by a clerk will have
- +91 ;;^DD(9000011,1.02,23,5,0)
- +92 ;;=a T here, and a flag will appear on the clinician's display of the list.
- +93 ;;^DD(9000011,1.02,23,6,0)
- +94 ;;=P entries have been entered or verified by a provider.
- +95 ;;^DD(9000011,1.02,"DT")
- +96 ;;=2930726
- +97 ;;^DD(9000011,1.03,0)
- +98 ;;=ENTERED BY^P200'^VA(200,^1;3^Q
- +99 ;;^DD(9000011,1.03,3)
- +100 ;;=Enter the name of the current user.
- +101 ;;^DD(9000011,1.03,21,0)
- +102 ;;=^^1^1^2930726^
- +103 ;;^DD(9000011,1.03,21,1,0)
- +104 ;;=This is the user who actually entered this problem into this file.