IBDEI3JX ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
Q:'DIFQ(358.7) 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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^DIC(358.7,0,"GL")
;;=^IBE(358.7,
;;^DIC("B","IMP/EXP FORM LINE",358.7)
;;=
;;^DIC(358.7,"%D",0)
;;=^^3^3^2940217^
;;^DIC(358.7,"%D",1,0)
;;=This file is nearly identical to file #357.7. It is used by the
;;^DIC(358.7,"%D",2,0)
;;=Import/Export Utility as a temporary staging area for data from that file
;;^DIC(358.7,"%D",3,0)
;;=that is being imported or exported.
;;^DD(358.7,0)
;;=FIELD^^.08^8
;;^DD(358.7,0,"DDA")
;;=N
;;^DD(358.7,0,"DT")
;;=2950717
;;^DD(358.7,0,"ID",.02)
;;=W " STARTING COL=",$P(^(0),U,2)+1
;;^DD(358.7,0,"ID",.03)
;;=W " STARTING ROW=",$P(^(0),U,3)+1
;;^DD(358.7,0,"ID",.06)
;;=W ""
;;^DD(358.7,0,"IX","B",358.7,.01)
;;=
;;^DD(358.7,0,"IX","C",358.7,.06)
;;=
;;^DD(358.7,0,"NM","IMP/EXP FORM LINE")
;;=
;;^DD(358.7,0,"VRPK")
;;=IBD
;;^DD(358.7,.01,0)
;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
;;^DD(358.7,.01,1,0)
;;=^.1
;;^DD(358.7,.01,1,1,0)
;;=358.7^B
;;^DD(358.7,.01,1,1,1)
;;=S ^IBE(358.7,"B",$E(X,1,30),DA)=""
;;^DD(358.7,.01,1,1,2)
;;=K ^IBE(358.7,"B",$E(X,1,30),DA)
;;^DD(358.7,.01,3)
;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
;;^DD(358.7,.01,21,0)
;;=^^4^4^2930527^
;;^DD(358.7,.01,21,1,0)
;;=
;;^DD(358.7,.01,21,2,0)
;;=The name given to the line. Lines should be given names that will allow
;;^DD(358.7,.01,21,3,0)
;;=them to be identifies, such as V(1,1), meaning a vertical line starting at
;;^DD(358.7,.01,21,4,0)
;;=coordinates (1,1).
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3JX 1788 printed Dec 13, 2024@02:50:13 Page 2
IBDEI3JX ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+2 if 'DIFQ(358.7)
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,99)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^DIC(358.7,0,"GL")
+2 ;;=^IBE(358.7,
+3 ;;^DIC("B","IMP/EXP FORM LINE",358.7)
+4 ;;=
+5 ;;^DIC(358.7,"%D",0)
+6 ;;=^^3^3^2940217^
+7 ;;^DIC(358.7,"%D",1,0)
+8 ;;=This file is nearly identical to file #357.7. It is used by the
+9 ;;^DIC(358.7,"%D",2,0)
+10 ;;=Import/Export Utility as a temporary staging area for data from that file
+11 ;;^DIC(358.7,"%D",3,0)
+12 ;;=that is being imported or exported.
+13 ;;^DD(358.7,0)
+14 ;;=FIELD^^.08^8
+15 ;;^DD(358.7,0,"DDA")
+16 ;;=N
+17 ;;^DD(358.7,0,"DT")
+18 ;;=2950717
+19 ;;^DD(358.7,0,"ID",.02)
+20 ;;=W " STARTING COL=",$P(^(0),U,2)+1
+21 ;;^DD(358.7,0,"ID",.03)
+22 ;;=W " STARTING ROW=",$P(^(0),U,3)+1
+23 ;;^DD(358.7,0,"ID",.06)
+24 ;;=W ""
+25 ;;^DD(358.7,0,"IX","B",358.7,.01)
+26 ;;=
+27 ;;^DD(358.7,0,"IX","C",358.7,.06)
+28 ;;=
+29 ;;^DD(358.7,0,"NM","IMP/EXP FORM LINE")
+30 ;;=
+31 ;;^DD(358.7,0,"VRPK")
+32 ;;=IBD
+33 ;;^DD(358.7,.01,0)
+34 ;;=NAME^RF^^0;1^K:$L(X)>30!(X?.N)!($L(X)<3)!'(X'?1P.E) X
+35 ;;^DD(358.7,.01,1,0)
+36 ;;=^.1
+37 ;;^DD(358.7,.01,1,1,0)
+38 ;;=358.7^B
+39 ;;^DD(358.7,.01,1,1,1)
+40 ;;=S ^IBE(358.7,"B",$E(X,1,30),DA)=""
+41 ;;^DD(358.7,.01,1,1,2)
+42 ;;=K ^IBE(358.7,"B",$E(X,1,30),DA)
+43 ;;^DD(358.7,.01,3)
+44 ;;=NAME MUST BE 3-30 CHARACTERS, NOT NUMERIC OR STARTING WITH PUNCTUATION
+45 ;;^DD(358.7,.01,21,0)
+46 ;;=^^4^4^2930527^
+47 ;;^DD(358.7,.01,21,1,0)
+48 ;;=
+49 ;;^DD(358.7,.01,21,2,0)
+50 ;;=The name given to the line. Lines should be given names that will allow
+51 ;;^DD(358.7,.01,21,3,0)
+52 ;;=them to be identifies, such as V(1,1), meaning a vertical line starting at
+53 ;;^DD(358.7,.01,21,4,0)
+54 ;;=coordinates (1,1).