VENMI002 ; ; 28-NOV-2006
;;2.6;PCC+;;NOV 12, 2007
Q:'DIFQ(9000010.46) 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
;;^DD(9000010.46,3.04,3)
;;=Answer must be 1-60 characters in length.
;;^DD(9000010.46,3.04,"DT")
;;=3051227
;;^DD(9000010.46,4,0)
;;=SPECIAL RISK SCREEN^9000010.464^^4;0
;;^DD(9000010.46,4,21,0)
;;=^^1^1^3051227^
;;^DD(9000010.46,4,21,1,0)
;;=NATL STDS FOR SPECIAL RISK SCREENING - ONLY USED WITH HIGH RISK CHILDREN
;;^DD(9000010.46,4,"DT")
;;=3051226
;;^DD(9000010.46,5,0)
;;=NUTRITION TOPICS^9000010.465^^5;0
;;^DD(9000010.46,6,0)
;;=AGE SPECIFIC PHYSICAL EXAM^9000010.466^^6;0
;;^DD(9000010.46,6,"DT")
;;=3051226
;;^DD(9000010.46,7,0)
;;=BEHAVIORAL HEALTH SCREEN^9000010.467^^7;0
;;^DD(9000010.46,8,0)
;;=GENERAL HEALTH SCREEN^9000010.468^^8;0
;;^DD(9000010.46,9.01,0)
;;=AUTISM SCREENING COMMENTS^F^^9;1^K:$L(X)>60!($L(X)<1) X
;;^DD(9000010.46,9.01,3)
;;=Answer must be 1-60 characters in length.
;;^DD(9000010.46,9.01,"DT")
;;=3060217
;;^DD(9000010.46,1201,0)
;;=EVENT DATE AND TIME^D^^12;1^S %DT="EST" D ^%DT S X=Y K:Y<1 X
;;^DD(9000010.46,1201,3)
;;=Enter the date and time the exam was given.
;;^DD(9000010.46,1201,21,0)
;;=^^9^9^2950901^^^^
;;^DD(9000010.46,1201,21,1,0)
;;=This is the date and time the exam was given by the provider. This date
;;^DD(9000010.46,1201,21,2,0)
;;=and time may be different from the visit date and time. For example, for
;;^DD(9000010.46,1201,21,3,0)
;;=clinic appointment visits, the visit date and time is the date and time of the
;;^DD(9000010.46,1201,21,4,0)
;;=appointment, not the time the provider performed the clinical event.
;;^DD(9000010.46,1201,21,5,0)
;;=
;;^DD(9000010.46,1201,21,6,0)
;;=The date may be an imprecise date.
;;^DD(9000010.46,1201,21,7,0)
;;=
;;^DD(9000010.46,1201,21,8,0)
;;=Date and time may be within 30 days before or after the visit date, with the
;;^DD(9000010.46,1201,21,9,0)
;;=restriction the date cannot be a future date.
;;^DD(9000010.46,1201,23,0)
;;=^^14^14^2960924^
;;^DD(9000010.46,1201,23,1,0)
;;=The PCE User Interface, which allows manual entry of data, will be the
;;^DD(9000010.46,1201,23,2,0)
;;=primary source of the event date and time. The event date prompt defaults
;;^DD(9000010.46,1201,23,3,0)
;;=to the visit date, and the time is entered to reflect the actual time the
;;^DD(9000010.46,1201,23,4,0)
;;=measurement was done. The event date does not have to be the visit date,
;;^DD(9000010.46,1201,23,5,0)
;;=but it must be within 30 days before or after the visit, and not be a
;;^DD(9000010.46,1201,23,6,0)
;;=future date.
;;^DD(9000010.46,1201,23,7,0)
;;=
;;^DD(9000010.46,1201,23,8,0)
;;=If a user wants to enter a historical measurement, the user should use the
;;^DD(9000010.46,1201,23,9,0)
;;=Historical Encounter entry action to document the historical measurement.
;;^DD(9000010.46,1201,23,10,0)
;;=Historical entries will not be eligible for credit.
;;^DD(9000010.46,1201,23,11,0)
;;=
;;^DD(9000010.46,1201,23,12,0)
;;=PCE Data Sources for automatic (scanning) data capture will be blank
;;^DD(9000010.46,1201,23,13,0)
;;=unless the event date and time are passed to PCE for filing.
;;^DD(9000010.46,1201,23,14,0)
;;=APCDALVR Variable = APCDALVR("APCDTCDT")
;;^DD(9000010.46,1201,"DT")
;;=2940608
;;^DD(9000010.46,1202,0)
;;=ORDERING PROVIDER^*P200'X^VA(200,^12;2^S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))",D="AK.PROVIDER" D IX^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
;;^DD(9000010.46,1202,3)
;;=Enter the provider who ordered this exam.
;;^DD(9000010.46,1202,12)
;;=Select ordering provider
;;^DD(9000010.46,1202,12.1)
;;=S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))"
;;^DD(9000010.46,1202,21,0)
;;=^^1^1^2950901^^
;;^DD(9000010.46,1202,21,1,0)
;;=This field can be used to document the provider who ordered the exam.
;;^DD(9000010.46,1202,23,0)
;;=^^2^2^2960924^
;;^DD(9000010.46,1202,23,1,0)
;;=The person entered here must hold the "AK.PROVIDER" security key.
;;^DD(9000010.46,1202,23,2,0)
;;=APCDALVR Variable = APCDALVR("APCDTPRV")
;;^DD(9000010.46,1202,"DT")
;;=2940608
;;^DD(9000010.46,1203,0)
;;=CLINIC^P40.7'^DIC(40.7,^12;3^Q
;;^DD(9000010.46,1203,23,0)
;;=^^1^1^2960924^
;;^DD(9000010.46,1203,23,1,0)
;;=APCDALVR Variable = APCDALVR("APCDTCLN")
;;^DD(9000010.46,1203,"DT")
;;=2960709
;;^DD(9000010.46,1204,0)
;;=ENCOUNTER PROVIDER^P200'^VA(200,^12;4^Q
;;^DD(9000010.46,1204,3)
;;=Enter the provider who gave the exam.
;;^DD(9000010.46,1204,21,0)
;;=^^1^1^2950901^^^
;;^DD(9000010.46,1204,21,1,0)
;;=This is the provider who gave the exam.
;;^DD(9000010.46,1204,23,0)
;;=^^3^3^2960924^
;;^DD(9000010.46,1204,23,1,0)
;;=This person can be any person in the new person file. The person does not have
;;^DD(9000010.46,1204,23,2,0)
;;=to hold the "AK.PROVIDER" security key.
;;^DD(9000010.46,1204,23,3,0)
;;=APCDALVR Variable = APCDALVR("APCDTEPR")
;;^DD(9000010.46,1204,"DT")
;;=2941219
;;^DD(9000010.46,1208,0)
;;=PARENT^P9000010.46'^AUPNVWC(^12;8^Q
;;^DD(9000010.46,1208,23,0)
;;=^^1^1^2960924^
;;^DD(9000010.46,1208,23,1,0)
;;=APCDALVR Variable = APCDALVR("APCDTPNT")
;;^DD(9000010.46,1208,"DT")
;;=2960709
;;^DD(9000010.46,1209,0)
;;=EXTERNAL KEY^F^^12;9^K:$L(X)>20!($L(X)<1) X
;;^DD(9000010.46,1209,3)
;;=Answer must be 1-20 characters in length.
;;^DD(9000010.46,1209,23,0)
;;=^^1^1^2960924^
;;^DD(9000010.46,1209,23,1,0)
;;=APCDALVR Variable = APCDALVR("APCDTEXK")
;;^DD(9000010.46,1209,"DT")
;;=2960925
;;^DD(9000010.46,1210,0)
;;=OUTSIDE PROVIDER NAME^F^^12;10^K:$L(X)>30!($L(X)<1) X
;;^DD(9000010.46,1210,3)
;;=Answer must be 1-30 characters in length.
;;^DD(9000010.46,1210,23,0)
;;=^^1^1^2960924^
;;^DD(9000010.46,1210,23,1,0)
;;=APCDALVR Variable = APCDALVR("APCDTOPR")
;;^DD(9000010.46,1210,"DT")
;;=2960925
;;^DD(9000010.46,1213,0)
;;=ANCILLARY POV^P80'^ICD9(^12;13^Q
;;^DD(9000010.46,1213,"DT")
;;=3030919
;;^DD(9000010.46,80101,0)
;;=EDITED FLAG^S^1:EDITED;^801;1^Q
;;^DD(9000010.46,80101,3)
;;=Answer is automatically entered by PCE filing logic.
;;^DD(9000010.46,80101,21,0)
;;=^^2^2^2950901^
;;^DD(9000010.46,80101,21,1,0)
;;=This field is automatically set to 1 if PCE detects that any original
;;^DD(9000010.46,80101,21,2,0)
;;=exam data is being edited.
;;^DD(9000010.46,80101,23,0)
;;=^^2^2^2950901^
;;^DD(9000010.46,80101,23,1,0)
;;=PCE filing logic automatically compares the before and after pictures of the
;;^DD(9000010.46,80101,23,2,0)
;;=record to determine if the edited flag should be set to "1".
;;^DD(9000010.46,80101,"DT")
;;=2940608
;;^DD(9000010.46,80102,0)
;;=AUDIT TRAIL^F^^801;2^K:$L(X)>85!($L(X)<2) X
;;^DD(9000010.46,80102,3)
;;=Answer is automatically entered by the PCE filing logic.
;;^DD(9000010.46,80102,21,0)
;;=^^3^3^2950901^
;;^DD(9000010.46,80102,21,1,0)
;;=This field is populated automatically by the PCE filing logic. The format of
;;^DD(9000010.46,80102,21,2,0)
;;=the field is as follows: Pointer to PCE data source file_"-"_A for Add or E
;;^DD(9000010.46,80102,21,3,0)
;;=for Edit_" "_DUZ of the person who entered the data_";"...
;;^DD(9000010.46,80102,23,0)
;;=^^15^15^2950901^
;;^DD(9000010.46,80102,23,1,0)
;;=The PCE filing logic requires a pointer to the PCE Data Source file.
;;^DD(9000010.46,80102,23,2,0)
;;=If this is not passed, then PCE filing logic will not process the data.
;;^DD(9000010.46,80102,23,3,0)
;;=
;;^DD(9000010.46,80102,23,4,0)
;;=If the record is a new record, then an "A" is used to specify the source
;;^DD(9000010.46,80102,23,5,0)
;;=that added the data. If the record existed previously, PCE filing logic
;;^DD(9000010.46,80102,23,6,0)
;;=compares the old and new records of information. An "E" will be
VENMI002 ; ; 28-NOV-2006
+1 ;;2.6;PCC+;;NOV 12, 2007
+2 IF 'DIFQ(9000010.46)
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 ;;^DD(9000010.46,3.04,3)
+2 ;;=Answer must be 1-60 characters in length.
+3 ;;^DD(9000010.46,3.04,"DT")
+4 ;;=3051227
+5 ;;^DD(9000010.46,4,0)
+6 ;;=SPECIAL RISK SCREEN^9000010.464^^4;0
+7 ;;^DD(9000010.46,4,21,0)
+8 ;;=^^1^1^3051227^
+9 ;;^DD(9000010.46,4,21,1,0)
+10 ;;=NATL STDS FOR SPECIAL RISK SCREENING - ONLY USED WITH HIGH RISK CHILDREN
+11 ;;^DD(9000010.46,4,"DT")
+12 ;;=3051226
+13 ;;^DD(9000010.46,5,0)
+14 ;;=NUTRITION TOPICS^9000010.465^^5;0
+15 ;;^DD(9000010.46,6,0)
+16 ;;=AGE SPECIFIC PHYSICAL EXAM^9000010.466^^6;0
+17 ;;^DD(9000010.46,6,"DT")
+18 ;;=3051226
+19 ;;^DD(9000010.46,7,0)
+20 ;;=BEHAVIORAL HEALTH SCREEN^9000010.467^^7;0
+21 ;;^DD(9000010.46,8,0)
+22 ;;=GENERAL HEALTH SCREEN^9000010.468^^8;0
+23 ;;^DD(9000010.46,9.01,0)
+24 ;;=AUTISM SCREENING COMMENTS^F^^9;1^K:$L(X)>60!($L(X)<1) X
+25 ;;^DD(9000010.46,9.01,3)
+26 ;;=Answer must be 1-60 characters in length.
+27 ;;^DD(9000010.46,9.01,"DT")
+28 ;;=3060217
+29 ;;^DD(9000010.46,1201,0)
+30 ;;=EVENT DATE AND TIME^D^^12;1^S %DT="EST" D ^%DT S X=Y K:Y<1 X
+31 ;;^DD(9000010.46,1201,3)
+32 ;;=Enter the date and time the exam was given.
+33 ;;^DD(9000010.46,1201,21,0)
+34 ;;=^^9^9^2950901^^^^
+35 ;;^DD(9000010.46,1201,21,1,0)
+36 ;;=This is the date and time the exam was given by the provider. This date
+37 ;;^DD(9000010.46,1201,21,2,0)
+38 ;;=and time may be different from the visit date and time. For example, for
+39 ;;^DD(9000010.46,1201,21,3,0)
+40 ;;=clinic appointment visits, the visit date and time is the date and time of the
+41 ;;^DD(9000010.46,1201,21,4,0)
+42 ;;=appointment, not the time the provider performed the clinical event.
+43 ;;^DD(9000010.46,1201,21,5,0)
+44 ;;=
+45 ;;^DD(9000010.46,1201,21,6,0)
+46 ;;=The date may be an imprecise date.
+47 ;;^DD(9000010.46,1201,21,7,0)
+48 ;;=
+49 ;;^DD(9000010.46,1201,21,8,0)
+50 ;;=Date and time may be within 30 days before or after the visit date, with the
+51 ;;^DD(9000010.46,1201,21,9,0)
+52 ;;=restriction the date cannot be a future date.
+53 ;;^DD(9000010.46,1201,23,0)
+54 ;;=^^14^14^2960924^
+55 ;;^DD(9000010.46,1201,23,1,0)
+56 ;;=The PCE User Interface, which allows manual entry of data, will be the
+57 ;;^DD(9000010.46,1201,23,2,0)
+58 ;;=primary source of the event date and time. The event date prompt defaults
+59 ;;^DD(9000010.46,1201,23,3,0)
+60 ;;=to the visit date, and the time is entered to reflect the actual time the
+61 ;;^DD(9000010.46,1201,23,4,0)
+62 ;;=measurement was done. The event date does not have to be the visit date,
+63 ;;^DD(9000010.46,1201,23,5,0)
+64 ;;=but it must be within 30 days before or after the visit, and not be a
+65 ;;^DD(9000010.46,1201,23,6,0)
+66 ;;=future date.
+67 ;;^DD(9000010.46,1201,23,7,0)
+68 ;;=
+69 ;;^DD(9000010.46,1201,23,8,0)
+70 ;;=If a user wants to enter a historical measurement, the user should use the
+71 ;;^DD(9000010.46,1201,23,9,0)
+72 ;;=Historical Encounter entry action to document the historical measurement.
+73 ;;^DD(9000010.46,1201,23,10,0)
+74 ;;=Historical entries will not be eligible for credit.
+75 ;;^DD(9000010.46,1201,23,11,0)
+76 ;;=
+77 ;;^DD(9000010.46,1201,23,12,0)
+78 ;;=PCE Data Sources for automatic (scanning) data capture will be blank
+79 ;;^DD(9000010.46,1201,23,13,0)
+80 ;;=unless the event date and time are passed to PCE for filing.
+81 ;;^DD(9000010.46,1201,23,14,0)
+82 ;;=APCDALVR Variable = APCDALVR("APCDTCDT")
+83 ;;^DD(9000010.46,1201,"DT")
+84 ;;=2940608
+85 ;;^DD(9000010.46,1202,0)
+86 ;;=ORDERING PROVIDER^*P200'X^VA(200,^12;2^S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))",D="AK.PROVIDER" D IX^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
+87 ;;^DD(9000010.46,1202,3)
+88 ;;=Enter the provider who ordered this exam.
+89 ;;^DD(9000010.46,1202,12)
+90 ;;=Select ordering provider
+91 ;;^DD(9000010.46,1202,12.1)
+92 ;;=S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))"
+93 ;;^DD(9000010.46,1202,21,0)
+94 ;;=^^1^1^2950901^^
+95 ;;^DD(9000010.46,1202,21,1,0)
+96 ;;=This field can be used to document the provider who ordered the exam.
+97 ;;^DD(9000010.46,1202,23,0)
+98 ;;=^^2^2^2960924^
+99 ;;^DD(9000010.46,1202,23,1,0)
+100 ;;=The person entered here must hold the "AK.PROVIDER" security key.
+101 ;;^DD(9000010.46,1202,23,2,0)
+102 ;;=APCDALVR Variable = APCDALVR("APCDTPRV")
+103 ;;^DD(9000010.46,1202,"DT")
+104 ;;=2940608
+105 ;;^DD(9000010.46,1203,0)
+106 ;;=CLINIC^P40.7'^DIC(40.7,^12;3^Q
+107 ;;^DD(9000010.46,1203,23,0)
+108 ;;=^^1^1^2960924^
+109 ;;^DD(9000010.46,1203,23,1,0)
+110 ;;=APCDALVR Variable = APCDALVR("APCDTCLN")
+111 ;;^DD(9000010.46,1203,"DT")
+112 ;;=2960709
+113 ;;^DD(9000010.46,1204,0)
+114 ;;=ENCOUNTER PROVIDER^P200'^VA(200,^12;4^Q
+115 ;;^DD(9000010.46,1204,3)
+116 ;;=Enter the provider who gave the exam.
+117 ;;^DD(9000010.46,1204,21,0)
+118 ;;=^^1^1^2950901^^^
+119 ;;^DD(9000010.46,1204,21,1,0)
+120 ;;=This is the provider who gave the exam.
+121 ;;^DD(9000010.46,1204,23,0)
+122 ;;=^^3^3^2960924^
+123 ;;^DD(9000010.46,1204,23,1,0)
+124 ;;=This person can be any person in the new person file. The person does not have
+125 ;;^DD(9000010.46,1204,23,2,0)
+126 ;;=to hold the "AK.PROVIDER" security key.
+127 ;;^DD(9000010.46,1204,23,3,0)
+128 ;;=APCDALVR Variable = APCDALVR("APCDTEPR")
+129 ;;^DD(9000010.46,1204,"DT")
+130 ;;=2941219
+131 ;;^DD(9000010.46,1208,0)
+132 ;;=PARENT^P9000010.46'^AUPNVWC(^12;8^Q
+133 ;;^DD(9000010.46,1208,23,0)
+134 ;;=^^1^1^2960924^
+135 ;;^DD(9000010.46,1208,23,1,0)
+136 ;;=APCDALVR Variable = APCDALVR("APCDTPNT")
+137 ;;^DD(9000010.46,1208,"DT")
+138 ;;=2960709
+139 ;;^DD(9000010.46,1209,0)
+140 ;;=EXTERNAL KEY^F^^12;9^K:$L(X)>20!($L(X)<1) X
+141 ;;^DD(9000010.46,1209,3)
+142 ;;=Answer must be 1-20 characters in length.
+143 ;;^DD(9000010.46,1209,23,0)
+144 ;;=^^1^1^2960924^
+145 ;;^DD(9000010.46,1209,23,1,0)
+146 ;;=APCDALVR Variable = APCDALVR("APCDTEXK")
+147 ;;^DD(9000010.46,1209,"DT")
+148 ;;=2960925
+149 ;;^DD(9000010.46,1210,0)
+150 ;;=OUTSIDE PROVIDER NAME^F^^12;10^K:$L(X)>30!($L(X)<1) X
+151 ;;^DD(9000010.46,1210,3)
+152 ;;=Answer must be 1-30 characters in length.
+153 ;;^DD(9000010.46,1210,23,0)
+154 ;;=^^1^1^2960924^
+155 ;;^DD(9000010.46,1210,23,1,0)
+156 ;;=APCDALVR Variable = APCDALVR("APCDTOPR")
+157 ;;^DD(9000010.46,1210,"DT")
+158 ;;=2960925
+159 ;;^DD(9000010.46,1213,0)
+160 ;;=ANCILLARY POV^P80'^ICD9(^12;13^Q
+161 ;;^DD(9000010.46,1213,"DT")
+162 ;;=3030919
+163 ;;^DD(9000010.46,80101,0)
+164 ;;=EDITED FLAG^S^1:EDITED;^801;1^Q
+165 ;;^DD(9000010.46,80101,3)
+166 ;;=Answer is automatically entered by PCE filing logic.
+167 ;;^DD(9000010.46,80101,21,0)
+168 ;;=^^2^2^2950901^
+169 ;;^DD(9000010.46,80101,21,1,0)
+170 ;;=This field is automatically set to 1 if PCE detects that any original
+171 ;;^DD(9000010.46,80101,21,2,0)
+172 ;;=exam data is being edited.
+173 ;;^DD(9000010.46,80101,23,0)
+174 ;;=^^2^2^2950901^
+175 ;;^DD(9000010.46,80101,23,1,0)
+176 ;;=PCE filing logic automatically compares the before and after pictures of the
+177 ;;^DD(9000010.46,80101,23,2,0)
+178 ;;=record to determine if the edited flag should be set to "1".
+179 ;;^DD(9000010.46,80101,"DT")
+180 ;;=2940608
+181 ;;^DD(9000010.46,80102,0)
+182 ;;=AUDIT TRAIL^F^^801;2^K:$L(X)>85!($L(X)<2) X
+183 ;;^DD(9000010.46,80102,3)
+184 ;;=Answer is automatically entered by the PCE filing logic.
+185 ;;^DD(9000010.46,80102,21,0)
+186 ;;=^^3^3^2950901^
+187 ;;^DD(9000010.46,80102,21,1,0)
+188 ;;=This field is populated automatically by the PCE filing logic. The format of
+189 ;;^DD(9000010.46,80102,21,2,0)
+190 ;;=the field is as follows: Pointer to PCE data source file_"-"_A for Add or E
+191 ;;^DD(9000010.46,80102,21,3,0)
+192 ;;=for Edit_" "_DUZ of the person who entered the data_";"...
+193 ;;^DD(9000010.46,80102,23,0)
+194 ;;=^^15^15^2950901^
+195 ;;^DD(9000010.46,80102,23,1,0)
+196 ;;=The PCE filing logic requires a pointer to the PCE Data Source file.
+197 ;;^DD(9000010.46,80102,23,2,0)
+198 ;;=If this is not passed, then PCE filing logic will not process the data.
+199 ;;^DD(9000010.46,80102,23,3,0)
+200 ;;=
+201 ;;^DD(9000010.46,80102,23,4,0)
+202 ;;=If the record is a new record, then an "A" is used to specify the source
+203 ;;^DD(9000010.46,80102,23,5,0)
+204 ;;=that added the data. If the record existed previously, PCE filing logic
+205 ;;^DD(9000010.46,80102,23,6,0)
+206 ;;=compares the old and new records of information. An "E" will be