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

VEN8I001.m

Go to the documentation of this file.
VEN8I001 ; IHS/OIT/GIS - DIFROM SUPPLIMENT TO KIDS ; 
 ;;2.6;PCC+;**1,3**;APR 03, 2012;Build 24
 Q:'DIFQ(19707.17)  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(19707.17,0,"GL")
 ;;=^VEN(7.17,
 ;;^DIC("B","VEN EHP KB MASTER",19707.17)
 ;;=
 ;;^DIC(19707.17,"%D",0)
 ;;=^^2^2^3051118^^^^
 ;;^DIC(19707.17,"%D",1,0)
 ;;=Items can be guidelines, patient ed topics or clinical tasks.
 ;;^DIC(19707.17,"%D",2,0)
 ;;=Items are filtered by demographics, time and clinical hx
 ;;^DD(19707.17,0)
 ;;=FIELD^^2.06^23
 ;;^DD(19707.17,0,"IX","AC",19707.17,2.03)
 ;;=
 ;;^DD(19707.17,0,"IX","B",19707.17,.01)
 ;;=
 ;;^DD(19707.17,0,"IX","C",19707.17,.02)
 ;;=
 ;;^DD(19707.17,0,"NM","VEN EHP KB MASTER")
 ;;=
 ;;^DD(19707.17,.01,0)
 ;;=TYPE^RP19707.11'^VEN(7.11,^0;1^Q
 ;;^DD(19707.17,.01,1,0)
 ;;=^.1
 ;;^DD(19707.17,.01,1,1,0)
 ;;=19707.17^B
 ;;^DD(19707.17,.01,1,1,1)
 ;;=S ^VEN(7.17,"B",$E(X,1,30),DA)=""
 ;;^DD(19707.17,.01,1,1,2)
 ;;=K ^VEN(7.17,"B",$E(X,1,30),DA)
 ;;^DD(19707.17,.01,3)
 ;;=
 ;;^DD(19707.17,.01,"DT")
 ;;=3050304
 ;;^DD(19707.17,.02,0)
 ;;=TITLE^F^^0;2^K:$L(X)>80!($L(X)<1) X
 ;;^DD(19707.17,.02,1,0)
 ;;=^.1
 ;;^DD(19707.17,.02,1,1,0)
 ;;=19707.17^C
 ;;^DD(19707.17,.02,1,1,1)
 ;;=S ^VEN(7.17,"C",$E(X,1,30),DA)=""
 ;;^DD(19707.17,.02,1,1,2)
 ;;=K ^VEN(7.17,"C",$E(X,1,30),DA)
 ;;^DD(19707.17,.02,1,1,"DT")
 ;;=3050503
 ;;^DD(19707.17,.02,3)
 ;;=Answer must be 1-80 characters in length.
 ;;^DD(19707.17,.02,"DT")
 ;;=3050503
 ;;^DD(19707.17,.03,0)
 ;;=INTERNAL CODE^F^^0;3^K:$L(X)>14!($L(X)<1) X
 ;;^DD(19707.17,.03,3)
 ;;=Answer must be 1-14 characters in length.
 ;;^DD(19707.17,.03,"DT")
 ;;=3051114
 ;;^DD(19707.17,.04,0)
 ;;=EXTERNAL CODE^F^^0;4^K:$L(X)>16!($L(X)<1) X
 ;;^DD(19707.17,.04,3)
 ;;=Answer must be 1-16 characters in length.
 ;;^DD(19707.17,.04,"DT")
 ;;=3050304
 ;;^DD(19707.17,.05,0)
 ;;=START AGE^NJ8,2^^0;5^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."3N.N) X
 ;;^DD(19707.17,.05,3)
 ;;=Type a Number between 0 and 99999, 2 Decimal Digits
 ;;^DD(19707.17,.05,5,1,0)
 ;;=19707.17^.13^1
 ;;^DD(19707.17,.05,"DT")
 ;;=3050913
 ;;^DD(19707.17,.06,0)
 ;;=STOP AGE^NJ8,2^^0;6^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."3N.N) X
 ;;^DD(19707.17,.06,3)
 ;;=Type a Number between 1 and 99999, 2 Decimal Digits
 ;;^DD(19707.17,.06,5,1,0)
 ;;=19707.17^.14^1
 ;;^DD(19707.17,.06,"DT")
 ;;=3050304
 ;;^DD(19707.17,.07,0)
 ;;=START WKS GESTATION^NJ2,0^^0;7^K:+X'=X!(X>40)!(X<1)!(X?.E1"."1N.N) X
 ;;^DD(19707.17,.07,3)
 ;;=Type a Number between 1 and 40, 0 Decimal Digits
 ;;^DD(19707.17,.07,"DT")
 ;;=3050304
 ;;^DD(19707.17,.08,0)
 ;;=STOP WKS GESTATION^NJ2,0^^0;8^K:+X'=X!(X>50)!(X<1)!(X?.E1"."1N.N) X
 ;;^DD(19707.17,.08,3)
 ;;=Type a Number between 1 and 50, 0 Decimal Digits
 ;;^DD(19707.17,.08,"DT")
 ;;=3050901
 ;;^DD(19707.17,.09,0)
 ;;=SCHEDULING INTERVAL^NJ8,2^^0;9^K:+X'=X!(X>99999)!(X<1)!(X?.E1"."3N.N) X
 ;;^DD(19707.17,.09,3)
 ;;=Type a Number between 1 and 99999, 2 Decimal Digits
 ;;^DD(19707.17,.09,"DT")
 ;;=3050304
 ;;^DD(19707.17,.1,0)
 ;;=GENDER SCREEN^S^M:MALE;F:FEMALE;^0;10^Q
 ;;^DD(19707.17,.1,"DT")
 ;;=3050304
 ;;^DD(19707.17,.11,0)
 ;;=ACTIVE^S^1:NO;0:YES;^0;11^Q
 ;;^DD(19707.17,.11,"DT")
 ;;=3060131
 ;;^DD(19707.17,.12,0)
 ;;=MODIFIER TEXT^F^^0;12^K:$L(X)>60!($L(X)<1) X
 ;;^DD(19707.17,.12,3)
 ;;=Answer must be 1-60 characters in length.
 ;;^DD(19707.17,.12,"DT")
 ;;=3050309
 ;;^DD(19707.17,.13,0)
 ;;=EXTERNAL START AGE^NJ8,2^^0;13^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."3N.N) X
 ;;^DD(19707.17,.13,1,0)
 ;;=^.1
 ;;^DD(19707.17,.13,1,1,0)
 ;;=^^TRIGGER^19707.17^.05
 ;;^DD(19707.17,.13,1,1,1)
 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^VEN(7.17,D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y S X=DIV S X=$$TRIG^VENPCCK(X,DA,1) X ^DD(19707.17,.13,1,1,1.4)
 ;;^DD(19707.17,.13,1,1,1.4)
 ;;=S DIH=$S($D(^VEN(7.17,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=19707.17,DIG=.05 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
 ;;^DD(19707.17,.13,1,1,2)
 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^VEN(7.17,D0,0)):^(0),1:"") S X=$P(Y(1),U,5),X=X S DIU=X K Y S X="" X ^DD(19707.17,.13,1,1,2.4)
 ;;^DD(19707.17,.13,1,1,2.4)
 ;;=S DIH=$S($D(^VEN(7.17,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,5)=DIV,DIH=19707.17,DIG=.05 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
 ;;^DD(19707.17,.13,1,1,"CREATE VALUE")
 ;;=S X=$$TRIG^VENPCCK(X,DA,1)
 ;;^DD(19707.17,.13,1,1,"DELETE VALUE")
 ;;=S X=""
 ;;^DD(19707.17,.13,1,1,"FIELD")
 ;;=START AGE
 ;;^DD(19707.17,.13,3)
 ;;=Type a Number between 0 and 99999, 2 Decimal Digits
 ;;^DD(19707.17,.13,"DT")
 ;;=3050309
 ;;^DD(19707.17,.14,0)
 ;;=EXTERNAL STOP AGE^NJ8,2^^0;14^K:+X'=X!(X>99999)!(X<0)!(X?.E1"."3N.N) X
 ;;^DD(19707.17,.14,1,0)
 ;;=^.1
 ;;^DD(19707.17,.14,1,1,0)
 ;;=^^TRIGGER^19707.17^.06
 ;;^DD(19707.17,.14,1,1,1)
 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^VEN(7.17,D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X=DIV S X=$$TRIG^VENPCCK(X,DA,2) X ^DD(19707.17,.14,1,1,1.4)
 ;;^DD(19707.17,.14,1,1,1.4)
 ;;=S DIH=$S($D(^VEN(7.17,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,6)=DIV,DIH=19707.17,DIG=.06 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
 ;;^DD(19707.17,.14,1,1,2)
 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^VEN(7.17,D0,0)):^(0),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X="" X ^DD(19707.17,.14,1,1,2.4)
 ;;^DD(19707.17,.14,1,1,2.4)
 ;;=S DIH=$S($D(^VEN(7.17,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,6)=DIV,DIH=19707.17,DIG=.06 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
 ;;^DD(19707.17,.14,1,1,"CREATE VALUE")
 ;;=S X=$$TRIG^VENPCCK(X,DA,2)
 ;;^DD(19707.17,.14,1,1,"DELETE VALUE")
 ;;=S X=""
 ;;^DD(19707.17,.14,1,1,"DT")
 ;;=3050309
 ;;^DD(19707.17,.14,1,1,"FIELD")
 ;;=STOP AGE
 ;;^DD(19707.17,.14,3)
 ;;=Type a Number between 0 and 99999, 2 Decimal Digits
 ;;^DD(19707.17,.14,"DT")
 ;;=3050309
 ;;^DD(19707.17,.15,0)
 ;;=ICD TAXONOMY^P9002226'^ATXAX(^0;15^Q
 ;;^DD(19707.17,.15,"DT")
 ;;=3050331
 ;;^DD(19707.17,.16,0)
 ;;=SORT LIST BY MODIFER VALUE^S^1:YES;0:NO;^0;16^Q
 ;;^DD(19707.17,.16,"DT")
 ;;=3051114
 ;;^DD(19707.17,1,0)
 ;;=SPECIAL SCREENING LOGIC (EP)^F^^1;E1,245^K:$L(X)>240!($L(X)<1) X
 ;;^DD(19707.17,1,3)
 ;;=Answer must be 1-240 characters in length.
 ;;^DD(19707.17,1,"DT")
 ;;=3050304
 ;;^DD(19707.17,2.01,0)
 ;;=REFERENCE IEN^NJ9,0^^2;1^K:+X'=X!(X>999999999)!(X<0)!(X?.E1"."1N.N) X
 ;;^DD(19707.17,2.01,3)
 ;;=Type a Number between 0 and 999999999, 0 Decimal Digits
 ;;^DD(19707.17,2.01,21,0)
 ;;=^^4^4^3051118^^
 ;;^DD(19707.17,2.01,21,1,0)
 ;;=If the data element is stored in a V-File and the element itself
 ;;^DD(19707.17,2.01,21,2,0)
 ;;=is defined in a reference file (e.g., V MEASUREMENTS), this this
 ;;^DD(19707.17,2.01,21,3,0)
 ;;=field will contain the IEN if the entry in the reference file.  The
 ;;^DD(19707.17,2.01,21,4,0)
 ;;=rest of the filing parameters are stored in VEN EHP KB CATEGORY.
 ;;^DD(19707.17,2.01,"DT")
 ;;=3051118
 ;;^DD(19707.17,2.02,0)
 ;;=CPT CODE^P81'^ICPT(^2;2^Q
 ;;^DD(19707.17,2.02,"DT")
 ;;=3051127
 ;;^DD(19707.17,2.03,0)
 ;;=EDUCATION TOPIC MNEMONIC^F^^2;3^K:$L(X)>12!($L(X)<1) X
 ;;^DD(19707.17,2.03,1,0)
 ;;=^.1
 ;;^DD(19707.17,2.03,1,1,0)
 ;;=19707.17^AC
 ;;^DD(19707.17,2.03,1,1,1)
 ;;=S ^VEN(7.17,"AC",$E(X,1,30),DA)=""
 ;;^DD(19707.17,2.03,1,1,2)
 ;;=K ^VEN(7.17,"AC",$E(X,1,30),DA)
 ;;^DD(19707.17,2.03,1,1,"DT")
 ;;=3060131
 ;;^DD(19707.17,2.03,1,2,0)
 ;;=^^TRIGGER^19707.17^2.06
 ;;^DD(19707.17,2.03,1,2,1)
 ;;=K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^VEN(7.17,D0,2)):^(2),1:"") S X=$P(Y(1),U,6),X=X S DIU=X K Y S X=DIV S X=$$NAME^VENPCCKB(X) X ^DD(19707.17,2.03,1,2,1.4)
 ;;^DD(19707.17,2.03,1,2,1.4)
 ;;=S DIH=$S($D(^VEN(7.17,DIV(0),2)):^(2),1:""),DIV=X S $P(^(2),U,6)=DIV,DIH=19707.17,DIG=2.06 D ^DICR:$O(^DD(DIH,DIG,1,0))>0
 ;;^DD(19707.17,2.03,1,2,2)
 ;;=Q
 ;;^DD(19707.17,2.03,1,2,"CREATE VALUE")
 ;;=S X=$$NAME^VENPCCKB(X)
 ;;^DD(19707.17,2.03,1,2,"DELETE VALUE")
 ;;=NO EFFECT
 ;;^DD(19707.17,2.03,1,2,"DT")
 ;;=3070625
 ;;^DD(19707.17,2.03,1,2,"FIELD")
 ;;=PT ED
 ;;^DD(19707.17,2.03,3)
 ;;=Answer must be 1-12 characters in length.