VENLI001 ; ; 28-NOV-2006
;;2.6;PCC+;;NOV 12, 2007
Q:'DIFQ(9000010.16) 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,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^DIC(9000010.16,0,"GL")
;;=^AUPNVPED(
;;^DIC("B","V PATIENT ED",9000010.16)
;;=
;;^DIC(9000010.16,"%D",0)
;;=7^^7^7^2950901^^
;;^DIC(9000010.16,"%D",1,0)
;;=This file has been designed for joint use by the Indian Health Service and
;;^DIC(9000010.16,"%D",2,0)
;;=the Department of Veteran Affairs.
;;^DIC(9000010.16,"%D",3,0)
;;=
;;^DIC(9000010.16,"%D",4,0)
;;=This is the file which stores the patient education given to a patient
;;^DIC(9000010.16,"%D",5,0)
;;=or his responsible care giver. Data must exist in the Patient/IHS file and
;;^DIC(9000010.16,"%D",6,0)
;;=Visit file for a patient visit before data can be entered in the V Patient
;;^DIC(9000010.16,"%D",7,0)
;;=Ed File.
;;^DD(9000010.16,0)
;;=FIELD^^81203^29
;;^DD(9000010.16,0,"DDA")
;;=N
;;^DD(9000010.16,0,"DT")
;;=3060203
;;^DD(9000010.16,0,"ID",.02)
;;=W " ",$S($D(^DPT(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),@("$E("_DIC_"Y,0),0)")
;;^DD(9000010.16,0,"ID",.03)
;;=W " " S AIHSY=Y,Y=$S($D(^AUPNVSIT(+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:"") X:Y ^DD("DD") W Y S Y=AIHSY K AIHSY W @("$E("_DIC_"Y,0),0)")
;;^DD(9000010.16,0,"IX","AA",9000010.16,.03)
;;=
;;^DD(9000010.16,0,"IX","AATOO",9000010.16,.02)
;;=
;;^DD(9000010.16,0,"IX","AAVA",9000010.16,.01)
;;=
;;^DD(9000010.16,0,"IX","AAVATOO",9000010.16,.02)
;;=
;;^DD(9000010.16,0,"IX","AAVATOOO",9000010.16,.03)
;;=
;;^DD(9000010.16,0,"IX","AC",9000010.16,.02)
;;=
;;^DD(9000010.16,0,"IX","AD",9000010.16,.03)
;;=
;;^DD(9000010.16,0,"IX","AV10",9000010.16,.03)
;;=
;;^DD(9000010.16,0,"IX","AV9",9000010.16,.01)
;;=
;;^DD(9000010.16,0,"IX","AZ10",9000010.16,.03)
;;=
;;^DD(9000010.16,0,"IX","AZ9",9000010.16,.01)
;;=
;;^DD(9000010.16,0,"IX","B",9000010.16,.01)
;;=
;;^DD(9000010.16,0,"NM","V PATIENT ED")
;;=
;;^DD(9000010.16,0,"PT",9000010.16,1208)
;;=
;;^DD(9000010.16,0,"PT",9000010.433,.01)
;;=
;;^DD(9000010.16,0,"VRPK")
;;=AUPN
;;^DD(9000010.16,.01,0)
;;=TOPIC^R*P9999999.09'^AUTTEDT(^0;1^S DIC("S")="I $P(^(0),U,3)'=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(9000010.16,.01,1,0)
;;=^.1
;;^DD(9000010.16,.01,1,1,0)
;;=9000010.16^B
;;^DD(9000010.16,.01,1,1,1)
;;=S ^AUPNVPED("B",$E(X,1,30),DA)=""
;;^DD(9000010.16,.01,1,1,2)
;;=K ^AUPNVPED("B",$E(X,1,30),DA)
;;^DD(9000010.16,.01,1,2,0)
;;=9000010.16^AV9^MUMPS
;;^DD(9000010.16,.01,1,2,1)
;;=S:$D(APCDLOOK) DIC("DR")=""
;;^DD(9000010.16,.01,1,2,2)
;;=Q
;;^DD(9000010.16,.01,1,3,0)
;;=9000010.16^AAVA^MUMPS
;;^DD(9000010.16,.01,1,3,1)
;;=I $P(^AUPNVPED(DA,0),U,2),$P(^(0),U,3) S ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
;;^DD(9000010.16,.01,1,3,2)
;;=I $P(^AUPNVPED(DA,0),U,2),$P(^(0),U,3) K ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
;;^DD(9000010.16,.01,1,3,"DT")
;;=3050711
;;^DD(9000010.16,.01,3)
;;=Select the topic on which education was delivered.
;;^DD(9000010.16,.01,12)
;;=Only active Education Topics may be selected.
;;^DD(9000010.16,.01,12.1)
;;=S DIC("S")="I $P(^(0),U,3)'=1"
;;^DD(9000010.16,.01,21,0)
;;=^^1^1^2870422^
;;^DD(9000010.16,.01,21,1,0)
;;=Pointer to the EDUCATION TOPICS file.
;;^DD(9000010.16,.01,21,2,0)
;;=education given to the patient.
;;^DD(9000010.16,.01,23,0)
;;=^^1^1^2960924^
;;^DD(9000010.16,.01,23,1,0)
;;=APCDALVR Variable = APCDALVR("APCDTTOP")
;;^DD(9000010.16,.01,"DT")
;;=3050711
;;^DD(9000010.16,.02,0)
;;=PATIENT NAME^RP9000001'I^AUPNPAT(^0;2^Q
;;^DD(9000010.16,.02,1,0)
;;=^.1
;;^DD(9000010.16,.02,1,1,0)
;;=9000010.16^AC
;;^DD(9000010.16,.02,1,1,1)
;;=S ^AUPNVPED("AC",$E(X,1,30),DA)=""
;;^DD(9000010.16,.02,1,1,2)
;;=K ^AUPNVPED("AC",$E(X,1,30),DA)
;;^DD(9000010.16,.02,1,2,0)
;;=9000010.16^AATOO^MUMPS
;;^DD(9000010.16,.02,1,2,1)
;;=I $P(^AUPNVPED(DA,0),U,3)]"" S ^AUPNVPED("AA",X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
;;^DD(9000010.16,.02,1,2,2)
;;=I $P(^AUPNVPED(DA,0),U,3)]"" K ^AUPNVPED("AA",X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
;;^DD(9000010.16,.02,1,3,0)
;;=9000010.16^AAVATOO^MUMPS
;;^DD(9000010.16,.02,1,3,1)
;;=I $P(^AUPNVPED(DA,0),U),$P(^AUPNVPED(DA,0),U,3) S ^AUPNVPED("AAVA",X,$P(^AUPNVPED(DA,0),U),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
;;^DD(9000010.16,.02,1,3,2)
;;=I $P(^AUPNVPED(DA,0),U),$P(^AUPNVPED(DA,0),U,3) K ^AUPNVPED("AAVA",X,$P(^AUPNVPED(DA,0),U),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
;;^DD(9000010.16,.02,1,3,"DT")
;;=3050711
;;^DD(9000010.16,.02,23,0)
;;=^^1^1^2960924^
;;^DD(9000010.16,.02,23,1,0)
;;=APCDALVR Variable = APCDALVR("APCDPAT")
;;^DD(9000010.16,.02,"DT")
;;=3050711
;;^DD(9000010.16,.03,0)
;;=VISIT^R*P9000010'I^AUPNVSIT(^0;3^S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVPED(DA,0),U,2)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(9000010.16,.03,1,0)
;;=^.1
;;^DD(9000010.16,.03,1,1,0)
;;=9000010.16^AD
;;^DD(9000010.16,.03,1,1,1)
;;=S ^AUPNVPED("AD",$E(X,1,30),DA)=""
;;^DD(9000010.16,.03,1,1,2)
;;=K ^AUPNVPED("AD",$E(X,1,30),DA)
;;^DD(9000010.16,.03,1,2,0)
;;=9000010.16^AA^MUMPS
;;^DD(9000010.16,.03,1,2,1)
;;=Q:$P(^AUPNVPED(DA,0),U,2)="" S ^AUPNVPED("AA",$P(^AUPNVPED(DA,0),U,2),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)=""
;;^DD(9000010.16,.03,1,2,2)
;;=Q:$P(^AUPNVPED(DA,0),U,2)="" K ^AUPNVPED("AA",$P(^AUPNVPED(DA,0),U,2),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)
;;^DD(9000010.16,.03,1,2,"%D",0)
;;=^^2^2^2940131^
;;^DD(9000010.16,.03,1,2,"%D",1,0)
;;=This is a Health Summary cross-reference.
;;^DD(9000010.16,.03,1,2,"%D",2,0)
;;="AA",PATIENT,VISIT,DA
;;^DD(9000010.16,.03,1,3,0)
;;=9000010.16^AV10^MUMPS
;;^DD(9000010.16,.03,1,3,1)
;;=D ADD^AUPNVSIT
;;^DD(9000010.16,.03,1,3,2)
;;=D SUB^AUPNVSIT
;;^DD(9000010.16,.03,1,3,"%D",0)
;;=^^2^2^2940131^
;;^DD(9000010.16,.03,1,3,"%D",1,0)
;;=This cross-reference adds and subtracts from the dependent entry count in
;;^DD(9000010.16,.03,1,3,"%D",2,0)
;;=the VISIT file.
;;^DD(9000010.16,.03,1,4,0)
;;=9000010.16^AAVATOOO^MUMPS
;;^DD(9000010.16,.03,1,4,1)
;;=I $P(^AUPNVPED(DA,0),U),$P(^(0),U,2) S ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),$P(^AUPNVPED(DA,0),U,1),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
;;^DD(9000010.16,.03,1,4,2)
;;=I $P(^AUPNVPED(DA,0),U),$P(^(0),U,2) K ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),$P(^AUPNVPED(DA,0),U,1),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
;;^DD(9000010.16,.03,1,4,"DT")
;;=3050711
;;^DD(9000010.16,.03,3)
;;=Enter the visit date/time for the encounter where the education was provided.
;;^DD(9000010.16,.03,12)
;;=VISIT MUST BE FOR CURRENT PATIENT
;;^DD(9000010.16,.03,12.1)
;;=S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVPED(DA,0),U,2)"
;;^DD(9000010.16,.03,21,0)
;;=^^2^2^2950901^
;;^DD(9000010.16,.03,21,1,0)
;;=This is the encounter or occasion of service defined in the Visit file
;;^DD(9000010.16,.03,21,2,0)
;;=that represents when and where the education was provided.
;;^DD(9000010.16,.03,23,0)
;;=^^3^3^2960924^
;;^DD(9000010.16,.03,23,1,0)
;;=This is a pointer to the Visit File (#9000010). This field is stuffed by
;;^DD(9000010.16,.03,23,2,0)
;;=the applications. No editing is allowed.
;;^DD(9000010.16,.03,23,3,0)
;;=APCDALVR Variable = APCDALVR("APCDVSIT")
;;^DD(9000010.16,.03,"DT")
;;=3050711
;;^DD(9000010.16,.04,0)
;;=ICD DIAGNOSIS^P80'^ICD9(^0;4^Q
;;^DD(9000010.16,.04,"DT")
;;=3000323
;;^DD(9000010.16,.041,0)
;;=ICD TEXT^CJ8^^ ; ^X ^DD(9000010.16,.041,9.2) S Y(9000010.16,.041,101)=$S($D(^ICD9(D0,0)):^(0),1:"") S X=$P(Y(9000010.16,.041,101),U,3) S D0=Y(9000010.16,.041,80)
;;^DD(9000010.16,.041,9)
;;=^
VENLI001 ; ; 28-NOV-2006
+1 ;;2.6;PCC+;;NOV 12, 2007
+2 IF 'DIFQ(9000010.16)
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,999)
IF $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DIC(9000010.16,0,"GL")
+2 ;;=^AUPNVPED(
+3 ;;^DIC("B","V PATIENT ED",9000010.16)
+4 ;;=
+5 ;;^DIC(9000010.16,"%D",0)
+6 ;;=7^^7^7^2950901^^
+7 ;;^DIC(9000010.16,"%D",1,0)
+8 ;;=This file has been designed for joint use by the Indian Health Service and
+9 ;;^DIC(9000010.16,"%D",2,0)
+10 ;;=the Department of Veteran Affairs.
+11 ;;^DIC(9000010.16,"%D",3,0)
+12 ;;=
+13 ;;^DIC(9000010.16,"%D",4,0)
+14 ;;=This is the file which stores the patient education given to a patient
+15 ;;^DIC(9000010.16,"%D",5,0)
+16 ;;=or his responsible care giver. Data must exist in the Patient/IHS file and
+17 ;;^DIC(9000010.16,"%D",6,0)
+18 ;;=Visit file for a patient visit before data can be entered in the V Patient
+19 ;;^DIC(9000010.16,"%D",7,0)
+20 ;;=Ed File.
+21 ;;^DD(9000010.16,0)
+22 ;;=FIELD^^81203^29
+23 ;;^DD(9000010.16,0,"DDA")
+24 ;;=N
+25 ;;^DD(9000010.16,0,"DT")
+26 ;;=3060203
+27 ;;^DD(9000010.16,0,"ID",.02)
+28 ;;=W " ",$S($D(^DPT(+$P(^(0),U,2),0))#2:$P(^(0),U,1),1:""),@("$E("_DIC_"Y,0),0)")
+29 ;;^DD(9000010.16,0,"ID",.03)
+30 ;;=W " " S AIHSY=Y,Y=$S($D(^AUPNVSIT(+$P(^(0),U,3),0))#2:$P(^(0),U,1),1:"") X:Y ^DD("DD") W Y S Y=AIHSY K AIHSY W @("$E("_DIC_"Y,0),0)")
+31 ;;^DD(9000010.16,0,"IX","AA",9000010.16,.03)
+32 ;;=
+33 ;;^DD(9000010.16,0,"IX","AATOO",9000010.16,.02)
+34 ;;=
+35 ;;^DD(9000010.16,0,"IX","AAVA",9000010.16,.01)
+36 ;;=
+37 ;;^DD(9000010.16,0,"IX","AAVATOO",9000010.16,.02)
+38 ;;=
+39 ;;^DD(9000010.16,0,"IX","AAVATOOO",9000010.16,.03)
+40 ;;=
+41 ;;^DD(9000010.16,0,"IX","AC",9000010.16,.02)
+42 ;;=
+43 ;;^DD(9000010.16,0,"IX","AD",9000010.16,.03)
+44 ;;=
+45 ;;^DD(9000010.16,0,"IX","AV10",9000010.16,.03)
+46 ;;=
+47 ;;^DD(9000010.16,0,"IX","AV9",9000010.16,.01)
+48 ;;=
+49 ;;^DD(9000010.16,0,"IX","AZ10",9000010.16,.03)
+50 ;;=
+51 ;;^DD(9000010.16,0,"IX","AZ9",9000010.16,.01)
+52 ;;=
+53 ;;^DD(9000010.16,0,"IX","B",9000010.16,.01)
+54 ;;=
+55 ;;^DD(9000010.16,0,"NM","V PATIENT ED")
+56 ;;=
+57 ;;^DD(9000010.16,0,"PT",9000010.16,1208)
+58 ;;=
+59 ;;^DD(9000010.16,0,"PT",9000010.433,.01)
+60 ;;=
+61 ;;^DD(9000010.16,0,"VRPK")
+62 ;;=AUPN
+63 ;;^DD(9000010.16,.01,0)
+64 ;;=TOPIC^R*P9999999.09'^AUTTEDT(^0;1^S DIC("S")="I $P(^(0),U,3)'=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+65 ;;^DD(9000010.16,.01,1,0)
+66 ;;=^.1
+67 ;;^DD(9000010.16,.01,1,1,0)
+68 ;;=9000010.16^B
+69 ;;^DD(9000010.16,.01,1,1,1)
+70 ;;=S ^AUPNVPED("B",$E(X,1,30),DA)=""
+71 ;;^DD(9000010.16,.01,1,1,2)
+72 ;;=K ^AUPNVPED("B",$E(X,1,30),DA)
+73 ;;^DD(9000010.16,.01,1,2,0)
+74 ;;=9000010.16^AV9^MUMPS
+75 ;;^DD(9000010.16,.01,1,2,1)
+76 ;;=S:$D(APCDLOOK) DIC("DR")=""
+77 ;;^DD(9000010.16,.01,1,2,2)
+78 ;;=Q
+79 ;;^DD(9000010.16,.01,1,3,0)
+80 ;;=9000010.16^AAVA^MUMPS
+81 ;;^DD(9000010.16,.01,1,3,1)
+82 ;;=I $P(^AUPNVPED(DA,0),U,2),$P(^(0),U,3) S ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
+83 ;;^DD(9000010.16,.01,1,3,2)
+84 ;;=I $P(^AUPNVPED(DA,0),U,2),$P(^(0),U,3) K ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
+85 ;;^DD(9000010.16,.01,1,3,"DT")
+86 ;;=3050711
+87 ;;^DD(9000010.16,.01,3)
+88 ;;=Select the topic on which education was delivered.
+89 ;;^DD(9000010.16,.01,12)
+90 ;;=Only active Education Topics may be selected.
+91 ;;^DD(9000010.16,.01,12.1)
+92 ;;=S DIC("S")="I $P(^(0),U,3)'=1"
+93 ;;^DD(9000010.16,.01,21,0)
+94 ;;=^^1^1^2870422^
+95 ;;^DD(9000010.16,.01,21,1,0)
+96 ;;=Pointer to the EDUCATION TOPICS file.
+97 ;;^DD(9000010.16,.01,21,2,0)
+98 ;;=education given to the patient.
+99 ;;^DD(9000010.16,.01,23,0)
+100 ;;=^^1^1^2960924^
+101 ;;^DD(9000010.16,.01,23,1,0)
+102 ;;=APCDALVR Variable = APCDALVR("APCDTTOP")
+103 ;;^DD(9000010.16,.01,"DT")
+104 ;;=3050711
+105 ;;^DD(9000010.16,.02,0)
+106 ;;=PATIENT NAME^RP9000001'I^AUPNPAT(^0;2^Q
+107 ;;^DD(9000010.16,.02,1,0)
+108 ;;=^.1
+109 ;;^DD(9000010.16,.02,1,1,0)
+110 ;;=9000010.16^AC
+111 ;;^DD(9000010.16,.02,1,1,1)
+112 ;;=S ^AUPNVPED("AC",$E(X,1,30),DA)=""
+113 ;;^DD(9000010.16,.02,1,1,2)
+114 ;;=K ^AUPNVPED("AC",$E(X,1,30),DA)
+115 ;;^DD(9000010.16,.02,1,2,0)
+116 ;;=9000010.16^AATOO^MUMPS
+117 ;;^DD(9000010.16,.02,1,2,1)
+118 ;;=I $P(^AUPNVPED(DA,0),U,3)]"" S ^AUPNVPED("AA",X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
+119 ;;^DD(9000010.16,.02,1,2,2)
+120 ;;=I $P(^AUPNVPED(DA,0),U,3)]"" K ^AUPNVPED("AA",X,(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
+121 ;;^DD(9000010.16,.02,1,3,0)
+122 ;;=9000010.16^AAVATOO^MUMPS
+123 ;;^DD(9000010.16,.02,1,3,1)
+124 ;;=I $P(^AUPNVPED(DA,0),U),$P(^AUPNVPED(DA,0),U,3) S ^AUPNVPED("AAVA",X,$P(^AUPNVPED(DA,0),U),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
+125 ;;^DD(9000010.16,.02,1,3,2)
+126 ;;=I $P(^AUPNVPED(DA,0),U),$P(^AUPNVPED(DA,0),U,3) K ^AUPNVPED("AAVA",X,$P(^AUPNVPED(DA,0),U),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
+127 ;;^DD(9000010.16,.02,1,3,"DT")
+128 ;;=3050711
+129 ;;^DD(9000010.16,.02,23,0)
+130 ;;=^^1^1^2960924^
+131 ;;^DD(9000010.16,.02,23,1,0)
+132 ;;=APCDALVR Variable = APCDALVR("APCDPAT")
+133 ;;^DD(9000010.16,.02,"DT")
+134 ;;=3050711
+135 ;;^DD(9000010.16,.03,0)
+136 ;;=VISIT^R*P9000010'I^AUPNVSIT(^0;3^S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVPED(DA,0),U,2)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+137 ;;^DD(9000010.16,.03,1,0)
+138 ;;=^.1
+139 ;;^DD(9000010.16,.03,1,1,0)
+140 ;;=9000010.16^AD
+141 ;;^DD(9000010.16,.03,1,1,1)
+142 ;;=S ^AUPNVPED("AD",$E(X,1,30),DA)=""
+143 ;;^DD(9000010.16,.03,1,1,2)
+144 ;;=K ^AUPNVPED("AD",$E(X,1,30),DA)
+145 ;;^DD(9000010.16,.03,1,2,0)
+146 ;;=9000010.16^AA^MUMPS
+147 ;;^DD(9000010.16,.03,1,2,1)
+148 ;;=Q:$P(^AUPNVPED(DA,0),U,2)="" S ^AUPNVPED("AA",$P(^AUPNVPED(DA,0),U,2),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)=""
+149 ;;^DD(9000010.16,.03,1,2,2)
+150 ;;=Q:$P(^AUPNVPED(DA,0),U,2)="" K ^AUPNVPED("AA",$P(^AUPNVPED(DA,0),U,2),(9999999-$P(+^AUPNVSIT(X,0),".",1)),DA)
+151 ;;^DD(9000010.16,.03,1,2,"%D",0)
+152 ;;=^^2^2^2940131^
+153 ;;^DD(9000010.16,.03,1,2,"%D",1,0)
+154 ;;=This is a Health Summary cross-reference.
+155 ;;^DD(9000010.16,.03,1,2,"%D",2,0)
+156 ;;="AA",PATIENT,VISIT,DA
+157 ;;^DD(9000010.16,.03,1,3,0)
+158 ;;=9000010.16^AV10^MUMPS
+159 ;;^DD(9000010.16,.03,1,3,1)
+160 ;;=D ADD^AUPNVSIT
+161 ;;^DD(9000010.16,.03,1,3,2)
+162 ;;=D SUB^AUPNVSIT
+163 ;;^DD(9000010.16,.03,1,3,"%D",0)
+164 ;;=^^2^2^2940131^
+165 ;;^DD(9000010.16,.03,1,3,"%D",1,0)
+166 ;;=This cross-reference adds and subtracts from the dependent entry count in
+167 ;;^DD(9000010.16,.03,1,3,"%D",2,0)
+168 ;;=the VISIT file.
+169 ;;^DD(9000010.16,.03,1,4,0)
+170 ;;=9000010.16^AAVATOOO^MUMPS
+171 ;;^DD(9000010.16,.03,1,4,1)
+172 ;;=I $P(^AUPNVPED(DA,0),U),$P(^(0),U,2) S ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),$P(^AUPNVPED(DA,0),U,1),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)=""
+173 ;;^DD(9000010.16,.03,1,4,2)
+174 ;;=I $P(^AUPNVPED(DA,0),U),$P(^(0),U,2) K ^AUPNVPED("AAVA",$P(^AUPNVPED(DA,0),U,2),$P(^AUPNVPED(DA,0),U,1),(9999999-$P(+^AUPNVSIT($P(^AUPNVPED(DA,0),U,3),0),".",1)),DA)
+175 ;;^DD(9000010.16,.03,1,4,"DT")
+176 ;;=3050711
+177 ;;^DD(9000010.16,.03,3)
+178 ;;=Enter the visit date/time for the encounter where the education was provided.
+179 ;;^DD(9000010.16,.03,12)
+180 ;;=VISIT MUST BE FOR CURRENT PATIENT
+181 ;;^DD(9000010.16,.03,12.1)
+182 ;;=S DIC("S")="I $P(^(0),U,5)=$P(^AUPNVPED(DA,0),U,2)"
+183 ;;^DD(9000010.16,.03,21,0)
+184 ;;=^^2^2^2950901^
+185 ;;^DD(9000010.16,.03,21,1,0)
+186 ;;=This is the encounter or occasion of service defined in the Visit file
+187 ;;^DD(9000010.16,.03,21,2,0)
+188 ;;=that represents when and where the education was provided.
+189 ;;^DD(9000010.16,.03,23,0)
+190 ;;=^^3^3^2960924^
+191 ;;^DD(9000010.16,.03,23,1,0)
+192 ;;=This is a pointer to the Visit File (#9000010). This field is stuffed by
+193 ;;^DD(9000010.16,.03,23,2,0)
+194 ;;=the applications. No editing is allowed.
+195 ;;^DD(9000010.16,.03,23,3,0)
+196 ;;=APCDALVR Variable = APCDALVR("APCDVSIT")
+197 ;;^DD(9000010.16,.03,"DT")
+198 ;;=3050711
+199 ;;^DD(9000010.16,.04,0)
+200 ;;=ICD DIAGNOSIS^P80'^ICD9(^0;4^Q
+201 ;;^DD(9000010.16,.04,"DT")
+202 ;;=3000323
+203 ;;^DD(9000010.16,.041,0)
+204 ;;=ICD TEXT^CJ8^^ ; ^X ^DD(9000010.16,.041,9.2) S Y(9000010.16,.041,101)=$S($D(^ICD9(D0,0)):^(0),1:"") S X=$P(Y(9000010.16,.041,101),U,3) S D0=Y(9000010.16,.041,80)
+205 ;;^DD(9000010.16,.041,9)
+206 ;;=^