Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Routine: VENLI002

VENLI002.m

Go to the documentation of this file.
  1. VENLI002 ; ; 28-NOV-2006
  1. ;;2.6;PCC+;;NOV 12, 2007
  1. 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
  1. Q Q
  1. ;;^DD(9000010.16,.041,9.01)
  1. ;;=80^3;9000010.16^.04
  1. ;;^DD(9000010.16,.041,9.1)
  1. ;;=#.04:#3
  1. ;;^DD(9000010.16,.041,9.2)
  1. ;;=S Y(9000010.16,.041,80)=$S($D(D0):D0,1:""),Y(9000010.16,.041,1)=$S($D(^AUPNVPED(D0,0)):^(0),1:""),D0=$P(Y(9000010.16,.041,1),U,4) S:'$D(^ICD9(+D0,0)) D0=-1
  1. ;;^DD(9000010.16,.05,0)
  1. ;;=PROVIDER^*P200'^VA(200,^0;5^S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P($G(^VA(200,+Y,0)),U),+Y)),$S($D(BVC):1,$P($G(^VA(200,+Y,""PS"")),U,4)="""":1,1:0)" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(9000010.16,.05,12)
  1. ;;=Must be a provider.
  1. ;;^DD(9000010.16,.05,12.1)
  1. ;;=S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P($G(^VA(200,+Y,0)),U),+Y)),$S($D(BVC):1,$P($G(^VA(200,+Y,""PS"")),U,4)="""":1,1:0)"
  1. ;;^DD(9000010.16,.05,23,0)
  1. ;;=^^1^1^2960924^
  1. ;;^DD(9000010.16,.05,23,1,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTPRO")
  1. ;;^DD(9000010.16,.05,"DT")
  1. ;;=3000628
  1. ;;^DD(9000010.16,.06,0)
  1. ;;=LEVEL OF UNDERSTANDING^S^1:POOR;2:FAIR;3:GOOD;4:GROUP-NO ASSESSMENT;5:REFUSED;^0;6^Q
  1. ;;^DD(9000010.16,.06,3)
  1. ;;=Enter the number which best rates the patient's level of understanding.
  1. ;;^DD(9000010.16,.06,21,0)
  1. ;;=^^2^2^2950901^
  1. ;;^DD(9000010.16,.06,21,1,0)
  1. ;;=This is the provider's assessment of how well the patient understood the
  1. ;;^DD(9000010.16,.06,21,2,0)
  1. ;;=education received.
  1. ;;^DD(9000010.16,.06,23,0)
  1. ;;=^^1^1^2960924^
  1. ;;^DD(9000010.16,.06,23,1,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTLOU")
  1. ;;^DD(9000010.16,.06,"DT")
  1. ;;=2930907
  1. ;;^DD(9000010.16,.07,0)
  1. ;;=INDIVIDUAL/GROUP^S^G:GROUP SETTING;I:INDIVIDUAL;^0;7^Q
  1. ;;^DD(9000010.16,.07,3)
  1. ;;=WAS THIS PATIENT EDUCATION PROVIDED IN A GROUP SETTING OR PROVIDED TO AN INDIVIDUAL
  1. ;;^DD(9000010.16,.07,23,0)
  1. ;;=^^1^1^2960924^
  1. ;;^DD(9000010.16,.07,23,1,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTIG")
  1. ;;^DD(9000010.16,.07,"DT")
  1. ;;=2960710
  1. ;;^DD(9000010.16,.08,0)
  1. ;;=LENGTH OF EDUC (MINUTES)^NJ3,0^^0;8^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X
  1. ;;^DD(9000010.16,.08,3)
  1. ;;=ENTER THE NUMBER OF MINUTES THAT THIS PATIENT EDUCATION WAS PROVIDED
  1. ;;^DD(9000010.16,.08,23,0)
  1. ;;=^^1^1^2960924^
  1. ;;^DD(9000010.16,.08,23,1,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTMIN")
  1. ;;^DD(9000010.16,.08,"DT")
  1. ;;=2960924
  1. ;;^DD(9000010.16,.09,0)
  1. ;;=CPT CODE^*P81'^ICPT(^0;9^S DIC("S")="D CPT^AUPNSICD" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(9000010.16,.09,12)
  1. ;;=Must be an active CPT code.
  1. ;;^DD(9000010.16,.09,12.1)
  1. ;;=S DIC("S")="D CPT^AUPNSICD"
  1. ;;^DD(9000010.16,.09,23,0)
  1. ;;=^^1^1^2960924^
  1. ;;^DD(9000010.16,.09,23,1,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTCPT")
  1. ;;^DD(9000010.16,.09,"DT")
  1. ;;=3030128
  1. ;;^DD(9000010.16,.11,0)
  1. ;;=COMMENT^F^^0;11^K:$L(X)>100!($L(X)<2) X
  1. ;;^DD(9000010.16,.11,3)
  1. ;;=Answer must be 2-100 characters in length.
  1. ;;^DD(9000010.16,.11,21,0)
  1. ;;=^^2^2^2961105^
  1. ;;^DD(9000010.16,.11,21,1,0)
  1. ;;=This field is to capture narrative text about the patient education
  1. ;;^DD(9000010.16,.11,21,2,0)
  1. ;;=given. Will display on the health summary if present.
  1. ;;^DD(9000010.16,.11,"DT")
  1. ;;=2981009
  1. ;;^DD(9000010.16,.12,0)
  1. ;;=TOPIC CATEGORY^P9001002.5'^APCDEDCV(^0;12^Q
  1. ;;^DD(9000010.16,.12,1,0)
  1. ;;=^.1^^0
  1. ;;^DD(9000010.16,.12,"DT")
  1. ;;=3000601
  1. ;;^DD(9000010.16,.13,0)
  1. ;;=BEHAVIOR CODE^S^GS:GOAL SET;GM:GOAL MET;GNM:GOAL NOT MET;^0;13^Q
  1. ;;^DD(9000010.16,.13,"DT")
  1. ;;=3030213
  1. ;;^DD(9000010.16,.14,0)
  1. ;;=OBJECTIVES MET^F^^0;14^K:$L(X)>20!($L(X)<1) X
  1. ;;^DD(9000010.16,.14,3)
  1. ;;=Answer must be 1-20 characters in length.
  1. ;;^DD(9000010.16,.14,"DT")
  1. ;;=3030411
  1. ;;^DD(9000010.16,1,0)
  1. ;;=SUB-TOPIC^9000010.161^^1;0
  1. ;;^DD(9000010.16,1101,0)
  1. ;;=PROVIDER'S NARRATIVE^F^^11;1^K:$L(X)>80!($L(X)<3) X
  1. ;;^DD(9000010.16,1101,3)
  1. ;;=Answer must be 3-80 characters in length.
  1. ;;^DD(9000010.16,1101,"DT")
  1. ;;=3000621
  1. ;;^DD(9000010.16,1201,0)
  1. ;;=EVENT DATE AND TIME^D^^12;1^S %DT="EST" D ^%DT S X=Y K:Y<1 X
  1. ;;^DD(9000010.16,1201,3)
  1. ;;=Enter the date and time the patient education was given.
  1. ;;^DD(9000010.16,1201,21,0)
  1. ;;=^^9^9^2950901^^^
  1. ;;^DD(9000010.16,1201,21,1,0)
  1. ;;=This is the date and time the education was given by the provider. This
  1. ;;^DD(9000010.16,1201,21,2,0)
  1. ;;=date and time may be different from the visit date and time. For example, for
  1. ;;^DD(9000010.16,1201,21,3,0)
  1. ;;=clinic appointment visits, the visit date and time is the date and time of the
  1. ;;^DD(9000010.16,1201,21,4,0)
  1. ;;=appointment, not the time the provider performed the clinical event.
  1. ;;^DD(9000010.16,1201,21,5,0)
  1. ;;=
  1. ;;^DD(9000010.16,1201,21,6,0)
  1. ;;=The date may be an imprecise date.
  1. ;;^DD(9000010.16,1201,21,7,0)
  1. ;;=
  1. ;;^DD(9000010.16,1201,21,8,0)
  1. ;;=Date and time may be within 30 days before or after the visit date, with the
  1. ;;^DD(9000010.16,1201,21,9,0)
  1. ;;=restriction the date cannot be a future date.
  1. ;;^DD(9000010.16,1201,23,0)
  1. ;;=^^14^14^2960924^
  1. ;;^DD(9000010.16,1201,23,1,0)
  1. ;;=The PCE User Interface, which allows manual entry of data, will be the prmary
  1. ;;^DD(9000010.16,1201,23,2,0)
  1. ;;=source of the event date and time. The event date prompt defaults to the visit
  1. ;;^DD(9000010.16,1201,23,3,0)
  1. ;;=date and the time is entered to reflect the actual time the exam was given.
  1. ;;^DD(9000010.16,1201,23,4,0)
  1. ;;=The event date does not have to be the visit date, but it must be within 30
  1. ;;^DD(9000010.16,1201,23,5,0)
  1. ;;=days before or after the visit, and not be a future date.
  1. ;;^DD(9000010.16,1201,23,6,0)
  1. ;;=
  1. ;;^DD(9000010.16,1201,23,7,0)
  1. ;;=If a user wnats to enter an historical measurement, the user should use the
  1. ;;^DD(9000010.16,1201,23,8,0)
  1. ;;=Historical Encounter entry action to document the historical measurement.
  1. ;;^DD(9000010.16,1201,23,9,0)
  1. ;;=Historical entries will not be eligible for credit.
  1. ;;^DD(9000010.16,1201,23,10,0)
  1. ;;=
  1. ;;^DD(9000010.16,1201,23,11,0)
  1. ;;=PCE data sources for automatic (scanning) data capture will be blank unless the
  1. ;;^DD(9000010.16,1201,23,12,0)
  1. ;;=event date and time are passed to PCE for filing.
  1. ;;^DD(9000010.16,1201,23,13,0)
  1. ;;=
  1. ;;^DD(9000010.16,1201,23,14,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTCDT")
  1. ;;^DD(9000010.16,1201,"DT")
  1. ;;=2940401
  1. ;;^DD(9000010.16,1202,0)
  1. ;;=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
  1. ;;^DD(9000010.16,1202,3)
  1. ;;=Enter the provider who ordered the patient education.
  1. ;;^DD(9000010.16,1202,12)
  1. ;;=Must be a Provider.
  1. ;;^DD(9000010.16,1202,12.1)
  1. ;;=S DIC("S")="I $D(^VA(200,""AK.PROVIDER"",$P(^(0),U)))"
  1. ;;^DD(9000010.16,1202,21,0)
  1. ;;=^^2^2^2950901^^
  1. ;;^DD(9000010.16,1202,21,1,0)
  1. ;;=This field can be used to document the provider who ordered the patient
  1. ;;^DD(9000010.16,1202,21,2,0)
  1. ;;=education.
  1. ;;^DD(9000010.16,1202,23,0)
  1. ;;=^^2^2^2960925^^
  1. ;;^DD(9000010.16,1202,23,1,0)
  1. ;;=The person entered here must hold the "AK.PROVIDER" security key.
  1. ;;^DD(9000010.16,1202,23,2,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTPRV")
  1. ;;^DD(9000010.16,1202,"DT")
  1. ;;=2940426
  1. ;;^DD(9000010.16,1203,0)
  1. ;;=CLINIC^P40.7'^DIC(40.7,^12;3^Q
  1. ;;^DD(9000010.16,1203,23,0)
  1. ;;=^^1^1^2960924^
  1. ;;^DD(9000010.16,1203,23,1,0)
  1. ;;=APCDALVR Variable = APCDALVR("APCDTCLN")
  1. ;;^DD(9000010.16,1203,"DT")
  1. ;;=2960710
  1. ;;^DD(9000010.16,1204,0)
  1. ;;=ENCOUNTER PROVIDER^P200'^VA(200,^12;4^Q
  1. ;;^DD(9000010.16,1204,3)
  1. ;;=Enter the provider who gave the patient education.
  1. ;;^DD(9000010.16,1204,21,0)
  1. ;;=^^1^1^2950901^^^
  1. ;;^DD(9000010.16,1204,21,1,0)
  1. ;;=This is the provider who gave the patient education.
  1. ;;^DD(9000010.16,1204,23,0)
  1. ;;=^^3^3^2960924^
  1. ;;^DD(9000010.16,1204,23,1,0)
  1. ;;=This person can be any person in the new person file. The person does not have
  1. ;;^DD(9000010.16,1204,23,2,0)
  1. ;;=to hold the "AK.PROVIDER" security key.