- VENKI024 ; ; 16-MAR-2007
- ;;2.6;PCC+;;NOV 12, 2007
- Q:'DIFQ(19707.13) 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.13,0,"GL")
- ;;=^VEN(7.13,
- ;;^DIC("B","VEN EHP KB CLINICAL DOMAIN",19707.13)
- ;;=
- ;;^DD(19707.13,0)
- ;;=FIELD^^3^10
- ;;^DD(19707.13,0,"DDA")
- ;;=N
- ;;^DD(19707.13,0,"DT")
- ;;=3060202
- ;;^DD(19707.13,0,"IX","B",19707.13,.01)
- ;;=
- ;;^DD(19707.13,0,"NM","VEN EHP KB CLINICAL DOMAIN")
- ;;=
- ;;^DD(19707.13,0,"PT",19707.4119,.01)
- ;;=
- ;;^DD(19707.13,0,"VRPK")
- ;;=PCC+A
- ;;^DD(19707.13,.01,0)
- ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
- ;;^DD(19707.13,.01,1,0)
- ;;=^.1
- ;;^DD(19707.13,.01,1,1,0)
- ;;=19707.13^B
- ;;^DD(19707.13,.01,1,1,1)
- ;;=S ^VEN(7.13,"B",$E(X,1,30),DA)=""
- ;;^DD(19707.13,.01,1,1,2)
- ;;=K ^VEN(7.13,"B",$E(X,1,30),DA)
- ;;^DD(19707.13,.01,3)
- ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
- ;;^DD(19707.13,.02,0)
- ;;=HEALTH SUMMARY COMPONENT^P9001016'^APCHSCMP(^0;2^Q
- ;;^DD(19707.13,.02,"DT")
- ;;=3051004
- ;;^DD(19707.13,.03,0)
- ;;=DATA ENTRY MNEMONIC^P9001001'^APCDTKW(^0;3^Q
- ;;^DD(19707.13,.03,"DT")
- ;;=3051004
- ;;^DD(19707.13,.04,0)
- ;;=DOMAIN MNEMONIC^F^^0;4^K:$L(X)>9!($L(X)<1) X
- ;;^DD(19707.13,.04,3)
- ;;=Answer must be 1-9 characters in length.
- ;;^DD(19707.13,.04,"DT")
- ;;=3051215
- ;;^DD(19707.13,.05,0)
- ;;=HEALTH SUMMARY ORDER^NJ3,0^^0;5^K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
- ;;^DD(19707.13,.05,3)
- ;;=Type a Number between 0 and 999, 0 Decimal Digits
- ;;^DD(19707.13,.05,"DT")
- ;;=3051223
- ;;^DD(19707.13,.06,0)
- ;;=PROTECTED^S^1:YES;0:NO;^0;6^Q
- ;;^DD(19707.13,.06,"DT")
- ;;=3060119
- ;;^DD(19707.13,.07,0)
- ;;=ACTIVE WELL CHILD DOMAIN^S^1:YES;0:NO;^0;7^Q
- ;;^DD(19707.13,.07,"DT")
- ;;=3060202
- ;;^DD(19707.13,1,0)
- ;;=KB CATEGORY^19707.131P^^1;0
- ;;^DD(19707.13,2,0)
- ;;=DESCRIPTION OF DOMAIN^19707.132^^2;0
- ;;^DD(19707.13,3,0)
- ;;=FULL DESCRIPTIVE TITLE^F^^3;1^K:$L(X)>80!($L(X)<1) X
- ;;^DD(19707.13,3,3)
- ;;=Answer must be 1-80 characters in length.
- ;;^DD(19707.13,3,"DT")
- ;;=3060119
- ;;^DD(19707.131,0)
- ;;=KB CATEGORY SUB-FIELD^^.02^2
- ;;^DD(19707.131,0,"DT")
- ;;=3051201
- ;;^DD(19707.131,0,"IX","AC",19707.131,.02)
- ;;=
- ;;^DD(19707.131,0,"IX","B",19707.131,.01)
- ;;=
- ;;^DD(19707.131,0,"NM","KB CATEGORY")
- ;;=
- ;;^DD(19707.131,0,"UP")
- ;;=19707.13
- ;;^DD(19707.131,.01,0)
- ;;=KB CATEGORY^MP19707.11'^VEN(7.11,^0;1^Q
- ;;^DD(19707.131,.01,1,0)
- ;;=^.1
- ;;^DD(19707.131,.01,1,1,0)
- ;;=19707.131^B
- ;;^DD(19707.131,.01,1,1,1)
- ;;=S ^VEN(7.13,DA(1),1,"B",$E(X,1,30),DA)=""
- ;;^DD(19707.131,.01,1,1,2)
- ;;=K ^VEN(7.13,DA(1),1,"B",$E(X,1,30),DA)
- ;;^DD(19707.131,.01,"DT")
- ;;=3051004
- ;;^DD(19707.131,.02,0)
- ;;=ORDER^NJ4,0^^0;2^K:+X'=X!(X>1000)!(X<0)!(X?.E1"."1N.N) X
- ;;^DD(19707.131,.02,1,0)
- ;;=^.1
- ;;^DD(19707.131,.02,1,1,0)
- ;;=19707.131^AC
- ;;^DD(19707.131,.02,1,1,1)
- ;;=S ^VEN(7.13,DA(1),1,"AC",$E(X,1,30),DA)=""
- ;;^DD(19707.131,.02,1,1,2)
- ;;=K ^VEN(7.13,DA(1),1,"AC",$E(X,1,30),DA)
- ;;^DD(19707.131,.02,1,1,"DT")
- ;;=3051201
- ;;^DD(19707.131,.02,3)
- ;;=Type a Number between 0 and 1000, 0 Decimal Digits
- ;;^DD(19707.131,.02,"DT")
- ;;=3051201
- ;;^DD(19707.132,0)
- ;;=DESCRIPTION OF DOMAIN SUB-FIELD^^.01^1
- ;;^DD(19707.132,0,"DT")
- ;;=3051004
- ;;^DD(19707.132,0,"NM","DESCRIPTION OF DOMAIN")
- ;;=
- ;;^DD(19707.132,0,"UP")
- ;;=19707.13
- ;;^DD(19707.132,.01,0)
- ;;=DESCRIPTION OF DOMAIN^W^^0;1^Q
- ;;^DD(19707.132,.01,"DT")
- ;;=3051004
- VENKI024 ; ; 16-MAR-2007
- +1 ;;2.6;PCC+;;NOV 12, 2007
- +2 IF 'DIFQ(19707.13)
- 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(19707.13,0,"GL")
- +2 ;;=^VEN(7.13,
- +3 ;;^DIC("B","VEN EHP KB CLINICAL DOMAIN",19707.13)
- +4 ;;=
- +5 ;;^DD(19707.13,0)
- +6 ;;=FIELD^^3^10
- +7 ;;^DD(19707.13,0,"DDA")
- +8 ;;=N
- +9 ;;^DD(19707.13,0,"DT")
- +10 ;;=3060202
- +11 ;;^DD(19707.13,0,"IX","B",19707.13,.01)
- +12 ;;=
- +13 ;;^DD(19707.13,0,"NM","VEN EHP KB CLINICAL DOMAIN")
- +14 ;;=
- +15 ;;^DD(19707.13,0,"PT",19707.4119,.01)
- +16 ;;=
- +17 ;;^DD(19707.13,0,"VRPK")
- +18 ;;=PCC+A
- +19 ;;^DD(19707.13,.01,0)
- +20 ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
- +21 ;;^DD(19707.13,.01,1,0)
- +22 ;;=^.1
- +23 ;;^DD(19707.13,.01,1,1,0)
- +24 ;;=19707.13^B
- +25 ;;^DD(19707.13,.01,1,1,1)
- +26 ;;=S ^VEN(7.13,"B",$E(X,1,30),DA)=""
- +27 ;;^DD(19707.13,.01,1,1,2)
- +28 ;;=K ^VEN(7.13,"B",$E(X,1,30),DA)
- +29 ;;^DD(19707.13,.01,3)
- +30 ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
- +31 ;;^DD(19707.13,.02,0)
- +32 ;;=HEALTH SUMMARY COMPONENT^P9001016'^APCHSCMP(^0;2^Q
- +33 ;;^DD(19707.13,.02,"DT")
- +34 ;;=3051004
- +35 ;;^DD(19707.13,.03,0)
- +36 ;;=DATA ENTRY MNEMONIC^P9001001'^APCDTKW(^0;3^Q
- +37 ;;^DD(19707.13,.03,"DT")
- +38 ;;=3051004
- +39 ;;^DD(19707.13,.04,0)
- +40 ;;=DOMAIN MNEMONIC^F^^0;4^K:$L(X)>9!($L(X)<1) X
- +41 ;;^DD(19707.13,.04,3)
- +42 ;;=Answer must be 1-9 characters in length.
- +43 ;;^DD(19707.13,.04,"DT")
- +44 ;;=3051215
- +45 ;;^DD(19707.13,.05,0)
- +46 ;;=HEALTH SUMMARY ORDER^NJ3,0^^0;5^K:+X'=X!(X>999)!(X<0)!(X?.E1"."1N.N) X
- +47 ;;^DD(19707.13,.05,3)
- +48 ;;=Type a Number between 0 and 999, 0 Decimal Digits
- +49 ;;^DD(19707.13,.05,"DT")
- +50 ;;=3051223
- +51 ;;^DD(19707.13,.06,0)
- +52 ;;=PROTECTED^S^1:YES;0:NO;^0;6^Q
- +53 ;;^DD(19707.13,.06,"DT")
- +54 ;;=3060119
- +55 ;;^DD(19707.13,.07,0)
- +56 ;;=ACTIVE WELL CHILD DOMAIN^S^1:YES;0:NO;^0;7^Q
- +57 ;;^DD(19707.13,.07,"DT")
- +58 ;;=3060202
- +59 ;;^DD(19707.13,1,0)
- +60 ;;=KB CATEGORY^19707.131P^^1;0
- +61 ;;^DD(19707.13,2,0)
- +62 ;;=DESCRIPTION OF DOMAIN^19707.132^^2;0
- +63 ;;^DD(19707.13,3,0)
- +64 ;;=FULL DESCRIPTIVE TITLE^F^^3;1^K:$L(X)>80!($L(X)<1) X
- +65 ;;^DD(19707.13,3,3)
- +66 ;;=Answer must be 1-80 characters in length.
- +67 ;;^DD(19707.13,3,"DT")
- +68 ;;=3060119
- +69 ;;^DD(19707.131,0)
- +70 ;;=KB CATEGORY SUB-FIELD^^.02^2
- +71 ;;^DD(19707.131,0,"DT")
- +72 ;;=3051201
- +73 ;;^DD(19707.131,0,"IX","AC",19707.131,.02)
- +74 ;;=
- +75 ;;^DD(19707.131,0,"IX","B",19707.131,.01)
- +76 ;;=
- +77 ;;^DD(19707.131,0,"NM","KB CATEGORY")
- +78 ;;=
- +79 ;;^DD(19707.131,0,"UP")
- +80 ;;=19707.13
- +81 ;;^DD(19707.131,.01,0)
- +82 ;;=KB CATEGORY^MP19707.11'^VEN(7.11,^0;1^Q
- +83 ;;^DD(19707.131,.01,1,0)
- +84 ;;=^.1
- +85 ;;^DD(19707.131,.01,1,1,0)
- +86 ;;=19707.131^B
- +87 ;;^DD(19707.131,.01,1,1,1)
- +88 ;;=S ^VEN(7.13,DA(1),1,"B",$E(X,1,30),DA)=""
- +89 ;;^DD(19707.131,.01,1,1,2)
- +90 ;;=K ^VEN(7.13,DA(1),1,"B",$E(X,1,30),DA)
- +91 ;;^DD(19707.131,.01,"DT")
- +92 ;;=3051004
- +93 ;;^DD(19707.131,.02,0)
- +94 ;;=ORDER^NJ4,0^^0;2^K:+X'=X!(X>1000)!(X<0)!(X?.E1"."1N.N) X
- +95 ;;^DD(19707.131,.02,1,0)
- +96 ;;=^.1
- +97 ;;^DD(19707.131,.02,1,1,0)
- +98 ;;=19707.131^AC
- +99 ;;^DD(19707.131,.02,1,1,1)
- +100 ;;=S ^VEN(7.13,DA(1),1,"AC",$E(X,1,30),DA)=""
- +101 ;;^DD(19707.131,.02,1,1,2)
- +102 ;;=K ^VEN(7.13,DA(1),1,"AC",$E(X,1,30),DA)
- +103 ;;^DD(19707.131,.02,1,1,"DT")
- +104 ;;=3051201
- +105 ;;^DD(19707.131,.02,3)
- +106 ;;=Type a Number between 0 and 1000, 0 Decimal Digits
- +107 ;;^DD(19707.131,.02,"DT")
- +108 ;;=3051201
- +109 ;;^DD(19707.132,0)
- +110 ;;=DESCRIPTION OF DOMAIN SUB-FIELD^^.01^1
- +111 ;;^DD(19707.132,0,"DT")
- +112 ;;=3051004
- +113 ;;^DD(19707.132,0,"NM","DESCRIPTION OF DOMAIN")
- +114 ;;=
- +115 ;;^DD(19707.132,0,"UP")
- +116 ;;=19707.13
- +117 ;;^DD(19707.132,.01,0)
- +118 ;;=DESCRIPTION OF DOMAIN^W^^0;1^Q
- +119 ;;^DD(19707.132,.01,"DT")
- +120 ;;=3051004