IBDEI3DR ; ; 05-NOV-2019
;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
Q:'DIFQ(358.98) 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(358.98,0,"GL")
;;=^IBD(358.98,
;;^DIC("B","IMP/EXP AICS DATA QUALIFIERS",358.98)
;;=
;;^DIC(358.98,"%D",0)
;;=^^1^1^2950927^^^
;;^DIC(358.98,"%D",1,0)
;;=Used by the import/export utility of the encounter forms as a workspace.
;;^DD(358.98,0)
;;=FIELD^^.03^3
;;^DD(358.98,0,"DDA")
;;=N
;;^DD(358.98,0,"DT")
;;=2950717
;;^DD(358.98,0,"ID",.02)
;;=W " ",$P(^(0),U,2)
;;^DD(358.98,0,"IX","B",358.98,.01)
;;=
;;^DD(358.98,0,"NM","IMP/EXP AICS DATA QUALIFIERS")
;;=
;;^DD(358.98,0,"PT",358.22,.09)
;;=
;;^DD(358.98,0,"PT",358.613,.01)
;;=
;;^DD(358.98,0,"PT",358.931,.09)
;;=
;;^DD(358.98,0,"VRPK")
;;=IBD
;;^DD(358.98,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
;;^DD(358.98,.01,1,0)
;;=^.1
;;^DD(358.98,.01,1,1,0)
;;=358.98^B
;;^DD(358.98,.01,1,1,1)
;;=S ^IBD(358.98,"B",$E(X,1,30),DA)=""
;;^DD(358.98,.01,1,1,2)
;;=K ^IBD(358.98,"B",$E(X,1,30),DA)
;;^DD(358.98,.01,3)
;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3DR 1305 printed Nov 22, 2024@17:56:56 Page 2
IBDEI3DR ; ; 05-NOV-2019
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;NOV 05, 2019
+2 if 'DIFQ(358.98)
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(358.98,0,"GL")
+2 ;;=^IBD(358.98,
+3 ;;^DIC("B","IMP/EXP AICS DATA QUALIFIERS",358.98)
+4 ;;=
+5 ;;^DIC(358.98,"%D",0)
+6 ;;=^^1^1^2950927^^^
+7 ;;^DIC(358.98,"%D",1,0)
+8 ;;=Used by the import/export utility of the encounter forms as a workspace.
+9 ;;^DD(358.98,0)
+10 ;;=FIELD^^.03^3
+11 ;;^DD(358.98,0,"DDA")
+12 ;;=N
+13 ;;^DD(358.98,0,"DT")
+14 ;;=2950717
+15 ;;^DD(358.98,0,"ID",.02)
+16 ;;=W " ",$P(^(0),U,2)
+17 ;;^DD(358.98,0,"IX","B",358.98,.01)
+18 ;;=
+19 ;;^DD(358.98,0,"NM","IMP/EXP AICS DATA QUALIFIERS")
+20 ;;=
+21 ;;^DD(358.98,0,"PT",358.22,.09)
+22 ;;=
+23 ;;^DD(358.98,0,"PT",358.613,.01)
+24 ;;=
+25 ;;^DD(358.98,0,"PT",358.931,.09)
+26 ;;=
+27 ;;^DD(358.98,0,"VRPK")
+28 ;;=IBD
+29 ;;^DD(358.98,.01,0)
+30 ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
+31 ;;^DD(358.98,.01,1,0)
+32 ;;=^.1
+33 ;;^DD(358.98,.01,1,1,0)
+34 ;;=358.98^B
+35 ;;^DD(358.98,.01,1,1,1)
+36 ;;=S ^IBD(358.98,"B",$E(X,1,30),DA)=""
+37 ;;^DD(358.98,.01,1,1,2)
+38 ;;=K ^IBD(358.98,"B",$E(X,1,30),DA)
+39 ;;^DD(358.98,.01,3)
+40 ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION