STANDARD DATA DICTIONARY #117.4 -- DIETETIC REPORT CATEGORIES FILE                                                3/24/25    PAGE 1
STORED IN ^FH(117.4,  (38 ENTRIES)   SITE: WWW.BMIRWIN.COM   UCI: VISTA,VISTA                                      (VERSION 5.5)   

DATA          NAME                  GLOBAL        DATA
ELEMENT       TITLE                 LOCATION      TYPE
-----------------------------------------------------------------------------------------------------------------------------------
This file contains the categories, Specialized Medical Programs, Primary Delivery System, Primary Production System, and the 
Dietetic Service Equipment.  


FILE SCREEN (SCR-node) : I '$D(^FH(117.4,+Y,"I"))!$D(^XUSEC("FHMGR",DUZ))!(DUZ(0)["@")
              DD ACCESS: #
              RD ACCESS: #F
              WR ACCESS: #f
             DEL ACCESS: #f
           LAYGO ACCESS: #f
IDENTIFIED BY: 
      "WRITE": I $D(^("I")) D EN^DDIOL("(** Inactive **)","","?3")

POINTED TO BY: SPECIALIZED MEDICAL PROGRAMS field (#.01) of the SPECIALIZED MEDICAL PROGRAMS sub-field (#117.312) of the ANNUAL 
                   REPORT File (#117.3) 
               PRIMARY DELIVERY SYSTEM field (#.01) of the PRIMARY DELIVERY SYSTEM sub-field (#117.313) of the ANNUAL REPORT File 
                   (#117.3) 
               DIETETIC EQUIPMENT field (#.01) of the DIETETIC EQUIPMENT sub-field (#117.338) of the ANNUAL REPORT File (#117.3) 
               

CROSS
REFERENCED BY: INACTIVE?(AC), NAME(B), UPPERCASE NAME(C)



117.4,.01     NAME                   0;1 FREE TEXT (Required)

              INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3)!'(X'?1P.E) X
              LAST EDITED:      DEC 13, 1991 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This field contains the names of the categories used in the Annual Report.  

              DELETE TEST:      1,0)= I 1 D EN^DDIOL("Cannot delete. Inactivate instead.","","?3")

              CROSS-REFERENCE:  117.4^B 
                                1)= S ^FH(117.4,"B",$E(X,1,30),DA)=""
                                2)= K ^FH(117.4,"B",$E(X,1,30),DA)

              CROSS-REFERENCE:  ^^TRIGGER^117.4^101 
                                1)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^FH(117.4,D0,0)):^(0),1:"") S X=$P(Y(1),U,3),X=X S D
                                IU=X K Y X ^DD(117.4,.01,1,2,1.1) X ^DD(117.4,.01,1,2,1.4)

                                1.1)= S X=DIV S X=DIV X "F %=1:1:$L(X) S:$E(X,%)?1L X=$E(X,0,%-1)_$C($A(X,%)-32)_$E(X,%+1,999)" S X
                                =X,Y(1)=X S X=1,Y(2)=X S X=30,X=$E(Y(1),Y(2),X)

                                1.4)= S DIH=$S($D(^FH(117.4,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,3)=DIV,DIH=117.4,DIG=101 D ^DIC
                                R:$O(^DD(DIH,DIG,1,0))>0

                                2)= K DIV S DIV=X,D0=DA,DIV(0)=D0 S Y(1)=$S($D(^FH(117.4,D0,0)):^(0),1:"") S X=$P(Y(1),U,3),X=X S D
                                IU=X K Y S X="" X ^DD(117.4,.01,1,2,2.4)

                                2.4)= S DIH=$S($D(^FH(117.4,DIV(0),0)):^(0),1:""),DIV=X S $P(^(0),U,3)=DIV,DIH=117.4,DIG=101 D ^DIC
                                R:$O(^DD(DIH,DIG,1,0))>0

                                CREATE VALUE)= $E(UPPERCASE(NAME),1,30)
                                DELETE VALUE)= @
                                FIELD)= UPPER
                                This trigger converts the upper/lower case name into all uppercase and stores it in field 101.  



117.4,1       TYPE                   0;2 SET (Required)

                                'S' FOR Specialized Medical Program; 
                                'D' FOR Primary Delivery System; 
                                'P' FOR Primary Production System; 
                                'E' FOR Dietetic Service Equipment; 
              LAST EDITED:      JAN 30, 1992 
              DESCRIPTION:      This field contains the Type of Category. An "S" for Specialized Medical Program, a "D" for Primary
                                Delivery System, a "P" for Primary Production System, and "E" for Dietetic Service Equipment.  


117.4,99      INACTIVE?              I;1 SET

                                'Y' FOR YES; 
                                'N' FOR NO; 
              LAST EDITED:      FEB 23, 2000 
              DESCRIPTION:
                                This field, if answered YES, will prohibit further selection of this entry.  

              CROSS-REFERENCE:  117.4^AC^MUMPS 
                                1)= K:X'="Y" ^FH(117.4,DA,"I")
                                2)= K ^FH(117.4,DA,"I")
                                This cross-reference is used to create an 'I' node for inactive entries.  



117.4,101     UPPERCASE NAME         0;3 FREE TEXT

              INPUT TRANSFORM:  K:X[""""!($A(X)=45) X I $D(X) K:$L(X)>30!($L(X)<3) X
              LAST EDITED:      DEC 13, 1991 
              HELP-PROMPT:      Answer must be 3-30 characters in length. 
              DESCRIPTION:
                                This is the name of the entry in uppercase text.  

              NOTES:            TRIGGERED by the NAME field of the DIETETIC REPORT CATEGORIES File 

              CROSS-REFERENCE:  117.4^C 
                                1)= S ^FH(117.4,"C",$E(X,1,30),DA)=""
                                2)= K ^FH(117.4,"C",$E(X,1,30),DA)
                                This is a cross-reference of all uppercase text of the name.  




INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):