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

IBINI07X.m

Go to the documentation of this file.
  1. IBINI07X ; ; 21-MAR-1994
  1. ;;Version 2.0 ; INTEGRATED BILLING ;; 21-MAR-94
  1. Q:'DIFQ(357.5) 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
  1. Q Q
  1. ;;^DIC(357.5,0,"GL")
  1. ;;=^IBE(357.5,
  1. ;;^DIC("B","DATA FIELD",357.5)
  1. ;;=
  1. ;;^DIC(357.5,"%D",0)
  1. ;;=^^6^6^2940217^
  1. ;;^DIC(357.5,"%D",1,0)
  1. ;;=
  1. ;;^DIC(357.5,"%D",2,0)
  1. ;;=A data field can be composed of a label, determined at the time the form
  1. ;;^DIC(357.5,"%D",3,0)
  1. ;;=description is created, and data, coming from the DHCP database and
  1. ;;^DIC(357.5,"%D",4,0)
  1. ;;=determined at the time the form prints. The label and data are printed to
  1. ;;^DIC(357.5,"%D",5,0)
  1. ;;=the encounter form. A data field can be composed of subfields, each
  1. ;;^DIC(357.5,"%D",6,0)
  1. ;;=subfield containing possibly its own label and data.
  1. ;;^DD(357.5,0)
  1. ;;=FIELD^^2^13
  1. ;;^DD(357.5,0,"DIK")
  1. ;;=IBXF5
  1. ;;^DD(357.5,0,"DT")
  1. ;;=2930730
  1. ;;^DD(357.5,0,"ID",.02)
  1. ;;=W ""
  1. ;;^DD(357.5,0,"ID",.03)
  1. ;;=W ""
  1. ;;^DD(357.5,0,"IX","B",357.5,.01)
  1. ;;=
  1. ;;^DD(357.5,0,"IX","C",357.5,.02)
  1. ;;=
  1. ;;^DD(357.5,0,"NM","DATA FIELD")
  1. ;;=
  1. ;;^DD(357.5,.01,0)
  1. ;;=NAME^RF^^0;1^K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
  1. ;;^DD(357.5,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(357.5,.01,1,1,0)
  1. ;;=357.5^B
  1. ;;^DD(357.5,.01,1,1,1)
  1. ;;=S ^IBE(357.5,"B",$E(X,1,30),DA)=""
  1. ;;^DD(357.5,.01,1,1,2)
  1. ;;=K ^IBE(357.5,"B",$E(X,1,30),DA)
  1. ;;^DD(357.5,.01,3)
  1. ;;=Answer must be 3-30 characters in length.
  1. ;;^DD(357.5,.01,21,0)
  1. ;;=^^3^3^2930419^^^
  1. ;;^DD(357.5,.01,21,1,0)
  1. ;;=
  1. ;;^DD(357.5,.01,21,2,0)
  1. ;;=The name is used to identify the field within a block. It can be anything
  1. ;;^DD(357.5,.01,21,3,0)
  1. ;;=the designer of a form wants it to be.
  1. ;;^DD(357.5,.01,"DT")
  1. ;;=2930419
  1. ;;^DD(357.5,.02,0)
  1. ;;=BLOCK^RP357.1'^IBE(357.1,^0;2^Q
  1. ;;^DD(357.5,.02,1,0)
  1. ;;=^.1
  1. ;;^DD(357.5,.02,1,1,0)
  1. ;;=357.5^C
  1. ;;^DD(357.5,.02,1,1,1)
  1. ;;=S ^IBE(357.5,"C",$E(X,1,30),DA)=""
  1. ;;^DD(357.5,.02,1,1,2)
  1. ;;=K ^IBE(357.5,"C",$E(X,1,30),DA)
  1. ;;^DD(357.5,.02,1,1,"DT")
  1. ;;=2921118
  1. ;;^DD(357.5,.02,3)
  1. ;;=What block should this data field appear in?
  1. ;;^DD(357.5,.02,21,0)
  1. ;;=^^2^2^2930310^
  1. ;;^DD(357.5,.02,21,1,0)
  1. ;;=
  1. ;;^DD(357.5,.02,21,2,0)
  1. ;;=The particular block the data field should appear in.
  1. ;;^DD(357.5,.02,"DT")
  1. ;;=2921118
  1. ;;^DD(357.5,.03,0)
  1. ;;=TYPE OF DATA^*P357.6'^IBE(357.6,^0;3^S DIC("S")="I $P(^(0),U,6)=2,$P(^(0),U,9)=1" D ^DIC K DIC S DIC=DIE,X=+Y K:Y<0 X
  1. ;;^DD(357.5,.03,3)
  1. ;;=What data should be displayed in this field?
  1. ;;^DD(357.5,.03,4)
  1. ;;=
  1. ;;^DD(357.5,.03,12)
  1. ;;=Allows only available output routines
  1. ;;^DD(357.5,.03,12.1)
  1. ;;=S DIC("S")="I $P(^(0),U,6)=2,$P(^(0),U,9)=1"
  1. ;;^DD(357.5,.03,21,0)
  1. ;;=^^5^5^2930409^^
  1. ;;^DD(357.5,.03,21,1,0)
  1. ;;=
  1. ;;^DD(357.5,.03,21,2,0)
  1. ;;=The particular interface that should be invoked to obtain the data for
  1. ;;^DD(357.5,.03,21,3,0)
  1. ;;=display. Some of the interfaces don't actually return data, but are
  1. ;;^DD(357.5,.03,21,4,0)
  1. ;;=instead 'dummy' interfaces for the purpose of printing things like blank
  1. ;;^DD(357.5,.03,21,5,0)
  1. ;;=lines.
  1. ;;^DD(357.5,.03,"DT")
  1. ;;=2930309
  1. ;;^DD(357.5,.04,0)
  1. ;;=LAST ITEM INDICATOR^S^1:YES;0:NO;^0;4^Q
  1. ;;^DD(357.5,.04,.1)
  1. ;;=IS THIS THE LAST ONE THAT WILL FIT ON THE FORM?
  1. ;;^DD(357.5,.04,3)
  1. ;;=
  1. ;;^DD(357.5,.04,4)
  1. ;;=W "Enter YES if this is the last item that should print, else enter NO."
  1. ;;^DD(357.5,.04,21,0)
  1. ;;=^^4^4^2930408^^^^
  1. ;;^DD(357.5,.04,21,1,0)
  1. ;;=
  1. ;;^DD(357.5,.04,21,2,0)
  1. ;;=This field is used to indicate which item on a list is the last to be
  1. ;;^DD(357.5,.04,21,3,0)
  1. ;;=printed to the form. The remaining items can be printed to a separate
  1. ;;^DD(357.5,.04,21,4,0)
  1. ;;=piece of paper.
  1. ;;^DD(357.5,.04,"DT")
  1. ;;=2930413
  1. ;;^DD(357.5,.05,0)
  1. ;;=NUMBER ON LIST^NJ3,0^^0;5^K:+X'=X!(X>999)!(X<1)!(X?.E1"."1N.N) X