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

FHINI0ME.m

Go to the documentation of this file.
  1. FHINI0ME ; ; 11-OCT-1995
  1. ;;5.0;Dietetics;;Oct 11, 1995
  1. Q:'DIFQ(119.1) 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(119.1,0,"GL")
  1. ;;=^FH(119.1,
  1. ;;^DIC("B","UNITS",119.1)
  1. ;;=
  1. ;;^DIC(119.1,"%D",0)
  1. ;;=^^2^2^2880515^
  1. ;;^DIC(119.1,"%D",1,0)
  1. ;;=This file consists of a list of units used by the ingredient file
  1. ;;^DIC(119.1,"%D",2,0)
  1. ;;=to indicate the dietetic issue unit.
  1. ;;^DD(119.1,0)
  1. ;;=FIELD^^.01^1
  1. ;;^DD(119.1,0,"IX","B",119.1,.01)
  1. ;;=
  1. ;;^DD(119.1,0,"NM","UNITS")
  1. ;;=
  1. ;;^DD(119.1,0,"PT",113,5)
  1. ;;=
  1. ;;^DD(119.1,.01,0)
  1. ;;=NAME^RF^^0;1^K:$L(X)>12!($L(X)<2) X
  1. ;;^DD(119.1,.01,1,0)
  1. ;;=^.1
  1. ;;^DD(119.1,.01,1,1,0)
  1. ;;=119.1^B
  1. ;;^DD(119.1,.01,1,1,1)
  1. ;;=S ^FH(119.1,"B",$E(X,1,30),DA)=""
  1. ;;^DD(119.1,.01,1,1,2)
  1. ;;=K ^FH(119.1,"B",$E(X,1,30),DA)
  1. ;;^DD(119.1,.01,1,1,"%D",0)
  1. ;;=^^1^1^2911118^
  1. ;;^DD(119.1,.01,1,1,"%D",1,0)
  1. ;;=This is the normal B cross-reference of the NAME field.
  1. ;;^DD(119.1,.01,3)
  1. ;;=ANSWER MUST BE 2-12 CHARACTERS IN LENGTH
  1. ;;^DD(119.1,.01,21,0)
  1. ;;=^^2^2^2880709^
  1. ;;^DD(119.1,.01,21,1,0)
  1. ;;=This field contains the name of a unit which can be selected
  1. ;;^DD(119.1,.01,21,2,0)
  1. ;;=as the dietetic 'unit of issue' in the ingredient file.
  1. ;;^DD(119.1,.01,"DT")
  1. ;;=2880306