- IBINI07G ; ; 21-MAR-1994
- ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- Q:'DIFQ(357) 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(357,0,"GL")
- ;;=^IBE(357,
- ;;^DIC("B","ENCOUNTER FORM",357)
- ;;=
- ;;^DIC(357,"%D",0)
- ;;=^^3^3^2940121^
- ;;^DIC(357,"%D",1,0)
- ;;=
- ;;^DIC(357,"%D",2,0)
- ;;=Contains encounter form descriptions, used by the Encounter Form utilities
- ;;^DIC(357,"%D",3,0)
- ;;=to print encounter forms.
- ;;^DD(357,0)
- ;;=FIELD^^.11^8
- ;;^DD(357,0,"DDA")
- ;;=N
- ;;^DD(357,0,"DIK")
- ;;=IBXF0
- ;;^DD(357,0,"DT")
- ;;=2931124
- ;;^DD(357,0,"ID",.03)
- ;;=W " ",$P(^(0),U,3)
- ;;^DD(357,0,"IX","AC",357,.01)
- ;;=
- ;;^DD(357,0,"IX","AG",357,.01)
- ;;=
- ;;^DD(357,0,"IX","AT",357,.01)
- ;;=
- ;;^DD(357,0,"IX","AU",357,.01)
- ;;=
- ;;^DD(357,0,"IX","B",357,.01)
- ;;=
- ;;^DD(357,0,"IX","C",357,.07)
- ;;=
- ;;^DD(357,0,"IX","D",357,.04)
- ;;=
- ;;^DD(357,0,"NM","ENCOUNTER FORM")
- ;;=
- ;;^DD(357,0,"PT",357.1,.02)
- ;;=
- ;;^DD(357,0,"PT",409.95,.02)
- ;;=
- ;;^DD(357,0,"PT",409.95,.03)
- ;;=
- ;;^DD(357,0,"PT",409.95,.04)
- ;;=
- ;;^DD(357,0,"PT",409.95,.05)
- ;;=
- ;;^DD(357,0,"PT",409.95,.06)
- ;;=
- ;;^DD(357,0,"PT",409.95,.07)
- ;;=
- ;;^DD(357,.01,0)
- ;;=NAME^RFX^^0;1^K:X[""""!($A(X)=45) X I $D(X) S X=$$UP^XLFSTR(X) K:$L(X)>30!($L(X)<3) X
- ;;^DD(357,.01,1,0)
- ;;=^.1
- ;;^DD(357,.01,1,1,0)
- ;;=357^B
- ;;^DD(357,.01,1,1,1)
- ;;=S ^IBE(357,"B",$E(X,1,30),DA)=""
- ;;^DD(357,.01,1,1,2)
- ;;=K ^IBE(357,"B",$E(X,1,30),DA)
- ;;^DD(357,.01,1,2,0)
- ;;=357^AT^MUMPS
- ;;^DD(357,.01,1,2,1)
- ;;=Q
- ;;^DD(357,.01,1,2,2)
- ;;=Q
- ;;^DD(357,.01,1,2,"%D",0)
- ;;=^^4^4^2931124^
- ;;^DD(357,.01,1,2,"%D",1,0)
- ;;=This cross-reference will be used to store the text of the compiled form.
- ;;^DD(357,.01,1,2,"%D",2,0)
- ;;=The format will be ..."AT",form ien,row #)=text line. The index will be
- ;;^DD(357,.01,1,2,"%D",3,0)
- ;;=created by the 'compile' action of the encounter form utilities - it is
- ;;^DD(357,.01,1,2,"%D",4,0)
- ;;=optional.
- ;;^DD(357,.01,1,2,"DT")
- ;;=2931124
- ;;^DD(357,.01,1,3,0)
- ;;=357^AC^MUMPS
- ;;^DD(357,.01,1,3,1)
- ;;=Q
- ;;^DD(357,.01,1,3,2)
- ;;=Q
- ;;^DD(357,.01,1,3,"%D",0)
- ;;=^^4^4^2940216^
- ;;^DD(357,.01,1,3,"%D",1,0)
- ;;=This cross-reference will be used to store the special controls needed
- ;;^DD(357,.01,1,3,"%D",2,0)
- ;;=(bold on, bold off, etc.) to print the compiled form. The format will be
- ;;^DD(357,.01,1,3,"%D",3,0)
- ;;=..."AC",form ien,row #,column # )=controls. The index will be created by
- ;;^DD(357,.01,1,3,"%D",4,0)
- ;;=the 'compile' action of the encounter form utilities - it is optional.
- ;;^DD(357,.01,1,3,"DT")
- ;;=2931124
- ;;^DD(357,.01,1,4,0)
- ;;=357^AU^MUMPS
- ;;^DD(357,.01,1,4,1)
- ;;=Q
- ;;^DD(357,.01,1,4,2)
- ;;=Q
- ;;^DD(357,.01,1,4,"%D",0)
- ;;=^^4^4^2931124^
- ;;^DD(357,.01,1,4,"%D",1,0)
- ;;=This cross-reference will be used to store the underlining of the compiled
- ;;^DD(357,.01,1,4,"%D",2,0)
- ;;=form. The format will be ...,"AU",form ien,row #)=underlining . The index
- ;;^DD(357,.01,1,4,"%D",3,0)
- ;;=will be created by the 'compile' action of the encounter form utilities -
- ;;^DD(357,.01,1,4,"%D",4,0)
- ;;=it is optional.
- ;;^DD(357,.01,1,4,"DT")
- ;;=2931124
- ;;^DD(357,.01,1,5,0)
- ;;=357^AG^MUMPS
- ;;^DD(357,.01,1,5,1)
- ;;=Q
- ;;^DD(357,.01,1,5,2)
- ;;=Q
- ;;^DD(357,.01,1,5,"%D",0)
- ;;=^^5^5^2931124^
- ;;^DD(357,.01,1,5,"%D",1,0)
- ;;=This cross-reference will be used to store strings of graphics characters
- ;;^DD(357,.01,1,5,"%D",2,0)
- ;;=(TLC,TRC, etc.) needed for the compiled form. The format will be
- ;;^DD(357,.01,1,5,"%D",3,0)
- ;;=..."AG",form ien,row #,column # )=graphics string . The index will be
- ;;^DD(357,.01,1,5,"%D",4,0)
- ;;=created by the 'compile' action of the encounter form utilities - it is
- ;;^DD(357,.01,1,5,"%D",5,0)
- ;;=optional.
- ;;^DD(357,.01,1,5,"DT")
- ;;=2931124
- IBINI07G ; ; 21-MAR-1994
- +1 ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
- +2 IF 'DIFQ(357)
- 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(357,0,"GL")
- +2 ;;=^IBE(357,
- +3 ;;^DIC("B","ENCOUNTER FORM",357)
- +4 ;;=
- +5 ;;^DIC(357,"%D",0)
- +6 ;;=^^3^3^2940121^
- +7 ;;^DIC(357,"%D",1,0)
- +8 ;;=
- +9 ;;^DIC(357,"%D",2,0)
- +10 ;;=Contains encounter form descriptions, used by the Encounter Form utilities
- +11 ;;^DIC(357,"%D",3,0)
- +12 ;;=to print encounter forms.
- +13 ;;^DD(357,0)
- +14 ;;=FIELD^^.11^8
- +15 ;;^DD(357,0,"DDA")
- +16 ;;=N
- +17 ;;^DD(357,0,"DIK")
- +18 ;;=IBXF0
- +19 ;;^DD(357,0,"DT")
- +20 ;;=2931124
- +21 ;;^DD(357,0,"ID",.03)
- +22 ;;=W " ",$P(^(0),U,3)
- +23 ;;^DD(357,0,"IX","AC",357,.01)
- +24 ;;=
- +25 ;;^DD(357,0,"IX","AG",357,.01)
- +26 ;;=
- +27 ;;^DD(357,0,"IX","AT",357,.01)
- +28 ;;=
- +29 ;;^DD(357,0,"IX","AU",357,.01)
- +30 ;;=
- +31 ;;^DD(357,0,"IX","B",357,.01)
- +32 ;;=
- +33 ;;^DD(357,0,"IX","C",357,.07)
- +34 ;;=
- +35 ;;^DD(357,0,"IX","D",357,.04)
- +36 ;;=
- +37 ;;^DD(357,0,"NM","ENCOUNTER FORM")
- +38 ;;=
- +39 ;;^DD(357,0,"PT",357.1,.02)
- +40 ;;=
- +41 ;;^DD(357,0,"PT",409.95,.02)
- +42 ;;=
- +43 ;;^DD(357,0,"PT",409.95,.03)
- +44 ;;=
- +45 ;;^DD(357,0,"PT",409.95,.04)
- +46 ;;=
- +47 ;;^DD(357,0,"PT",409.95,.05)
- +48 ;;=
- +49 ;;^DD(357,0,"PT",409.95,.06)
- +50 ;;=
- +51 ;;^DD(357,0,"PT",409.95,.07)
- +52 ;;=
- +53 ;;^DD(357,.01,0)
- +54 ;;=NAME^RFX^^0;1^K:X[""""!($A(X)=45) X I $D(X) S X=$$UP^XLFSTR(X) K:$L(X)>30!($L(X)<3) X
- +55 ;;^DD(357,.01,1,0)
- +56 ;;=^.1
- +57 ;;^DD(357,.01,1,1,0)
- +58 ;;=357^B
- +59 ;;^DD(357,.01,1,1,1)
- +60 ;;=S ^IBE(357,"B",$E(X,1,30),DA)=""
- +61 ;;^DD(357,.01,1,1,2)
- +62 ;;=K ^IBE(357,"B",$E(X,1,30),DA)
- +63 ;;^DD(357,.01,1,2,0)
- +64 ;;=357^AT^MUMPS
- +65 ;;^DD(357,.01,1,2,1)
- +66 ;;=Q
- +67 ;;^DD(357,.01,1,2,2)
- +68 ;;=Q
- +69 ;;^DD(357,.01,1,2,"%D",0)
- +70 ;;=^^4^4^2931124^
- +71 ;;^DD(357,.01,1,2,"%D",1,0)
- +72 ;;=This cross-reference will be used to store the text of the compiled form.
- +73 ;;^DD(357,.01,1,2,"%D",2,0)
- +74 ;;=The format will be ..."AT",form ien,row #)=text line. The index will be
- +75 ;;^DD(357,.01,1,2,"%D",3,0)
- +76 ;;=created by the 'compile' action of the encounter form utilities - it is
- +77 ;;^DD(357,.01,1,2,"%D",4,0)
- +78 ;;=optional.
- +79 ;;^DD(357,.01,1,2,"DT")
- +80 ;;=2931124
- +81 ;;^DD(357,.01,1,3,0)
- +82 ;;=357^AC^MUMPS
- +83 ;;^DD(357,.01,1,3,1)
- +84 ;;=Q
- +85 ;;^DD(357,.01,1,3,2)
- +86 ;;=Q
- +87 ;;^DD(357,.01,1,3,"%D",0)
- +88 ;;=^^4^4^2940216^
- +89 ;;^DD(357,.01,1,3,"%D",1,0)
- +90 ;;=This cross-reference will be used to store the special controls needed
- +91 ;;^DD(357,.01,1,3,"%D",2,0)
- +92 ;;=(bold on, bold off, etc.) to print the compiled form. The format will be
- +93 ;;^DD(357,.01,1,3,"%D",3,0)
- +94 ;;=..."AC",form ien,row #,column # )=controls. The index will be created by
- +95 ;;^DD(357,.01,1,3,"%D",4,0)
- +96 ;;=the 'compile' action of the encounter form utilities - it is optional.
- +97 ;;^DD(357,.01,1,3,"DT")
- +98 ;;=2931124
- +99 ;;^DD(357,.01,1,4,0)
- +100 ;;=357^AU^MUMPS
- +101 ;;^DD(357,.01,1,4,1)
- +102 ;;=Q
- +103 ;;^DD(357,.01,1,4,2)
- +104 ;;=Q
- +105 ;;^DD(357,.01,1,4,"%D",0)
- +106 ;;=^^4^4^2931124^
- +107 ;;^DD(357,.01,1,4,"%D",1,0)
- +108 ;;=This cross-reference will be used to store the underlining of the compiled
- +109 ;;^DD(357,.01,1,4,"%D",2,0)
- +110 ;;=form. The format will be ...,"AU",form ien,row #)=underlining . The index
- +111 ;;^DD(357,.01,1,4,"%D",3,0)
- +112 ;;=will be created by the 'compile' action of the encounter form utilities -
- +113 ;;^DD(357,.01,1,4,"%D",4,0)
- +114 ;;=it is optional.
- +115 ;;^DD(357,.01,1,4,"DT")
- +116 ;;=2931124
- +117 ;;^DD(357,.01,1,5,0)
- +118 ;;=357^AG^MUMPS
- +119 ;;^DD(357,.01,1,5,1)
- +120 ;;=Q
- +121 ;;^DD(357,.01,1,5,2)
- +122 ;;=Q
- +123 ;;^DD(357,.01,1,5,"%D",0)
- +124 ;;=^^5^5^2931124^
- +125 ;;^DD(357,.01,1,5,"%D",1,0)
- +126 ;;=This cross-reference will be used to store strings of graphics characters
- +127 ;;^DD(357,.01,1,5,"%D",2,0)
- +128 ;;=(TLC,TRC, etc.) needed for the compiled form. The format will be
- +129 ;;^DD(357,.01,1,5,"%D",3,0)
- +130 ;;=..."AG",form ien,row #,column # )=graphics string . The index will be
- +131 ;;^DD(357,.01,1,5,"%D",4,0)
- +132 ;;=created by the 'compile' action of the encounter form utilities - it is
- +133 ;;^DD(357,.01,1,5,"%D",5,0)
- +134 ;;=optional.
- +135 ;;^DD(357,.01,1,5,"DT")
- +136 ;;=2931124