STANDARD DATA DICTIONARY #.9 -- META DATA DICTIONARY FILE 3/24/25 PAGE 1 STORED IN ^DDD( *** NO DATA STORED YET *** SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 22.2) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- The Meta Data Dictionary file contains detailed information about the Fields in FileMan Files. The information is retrieved from the installed data dictionaries by running the 'Update the META Data Dictionary' Option on the Data Dictionary Utilities menu. That option runs the DDD routine. IDENTIFIED BY: "WDI.03": W " ",$P(^(0),U,3)_",",$P(^(0),U,4) CROSS REFERENCED BY: DATA DICTIONARY NUMBER(AFF), FIELD NUMBER(AFF2), NAME(B), LOOKUP TERM(C), OBJECT NAME(D) LAST MODIFIED: APR 3,2017@14:42:17 .9,.01 NAME 0;1 FREE TEXT (Required) INPUT TRANSFORM: K:$L(X)>150!($L(X)<3)!'(X'?1P.E) X MAXIMUM LENGTH: 150 LAST EDITED: FEB 11, 2016 HELP-PROMPT: Enter NAME as a combination of the FILENAME_FIELDNAME being referenced. DESCRIPTION: The NAME is a unique combination of FILENAME_FIELDNAME used to map file data structures. Examples: NEW PERSON_DEFINED FORMATS FOR LM NEW PERSON_DEFINED FORMATS FOR LM_DEFAULT CROSS-REFERENCE: .9^B 1)= S ^DDD("B",$E(X,1,150),DA)="" 2)= K ^DDD("B",$E(X,1,150),DA) .9,.02 LOOKUP TERM 0;2 FREE TEXT INPUT TRANSFORM: K:$L(X)>30!($L(X)<2) X LAST EDITED: NOV 01, 2002 HELP-PROMPT: Answer must be 2-30 characters in length DESCRIPTION: The name of the FIELD (LABEL). Built by the DDD routine. CROSS-REFERENCE: .9^C 1)= S ^DDD("C",$E(X,1,30),DA)="" 2)= K ^DDD("C",$E(X,1,30),DA) The C cross-reference is a regular cross-reference on the LOOKUP TERM field, supporting lookups on Field Labels. .9,.03 DATA DICTIONARY NUMBER 0;3 NUMBER INPUT TRANSFORM: K:+X'=X!(X>999999999999999)!(X<0)!(X?.E1"."7.N) X LAST EDITED: NOV 01, 2002 HELP-PROMPT: Type a number between 0 and 999999999999999 DESCRIPTION: The number of the FILE in which the FIELD is found. Built by the DDD routine. CROSS-REFERENCE: .9^AFF^MUMPS 1)= N Y S Y=$P(^DDD(DA,0),U,4) S:Y ^DDD("AFF",$E(X,1,30),Y,DA)="" 2)= N Y S Y=$P(^DDD(DA,0),U,4) K:Y ^DDD("AFF",$E(X,1,30),Y,DA) 3)= MULTIPLE CROSS-REF OF FILE,FIELD The AFF cross-reference is a multi-field MUMPS cross-reference based on the DATA DICTIONARY NUMBER and FIELD NUMBER fields. It stores data into the same location as the AFF2 cross-reference on the FIELD NUMBER field. Its structure is: ^DDD("AFF",file_number,field_number,IEN) .9,.04 FIELD NUMBER 0;4 NUMBER INPUT TRANSFORM: K:+X'=X!(X>99999999999)!(X<.001)!(X?.E1"."7.N) X LAST EDITED: NOV 02, 2002 HELP-PROMPT: Type a number between .001 and 99999999999 DESCRIPTION: The number of the FIELD in the relevant FileMan File. Built by the DDD routine. CROSS-REFERENCE: .9^AFF2^MUMPS 1)= N Y S Y=$P(^DDD(DA,0),U,3) S:Y ^DDD("AFF",Y,$E(X,1,30),DA)="" 2)= N Y S Y=$P(^DDD(DA,0),U,3) K:Y ^DDD("AFF",Y,$E(X,1,30),DA) 3)= FILE-FIELD XREF The AFF2 cross-reference is a multi-field MUMPS cross-reference based on the DATA DICTIONARY NUMBER and FIELD NUMBER fields. It stores data into the same location as the AFF cross-reference on the DATA DICTIONARY NUMBER field. Its structure is: ^DDD("AFF",file_number,field_number,IEN) .9,.05 DATA 0;5 SET '1' FOR YES; LAST EDITED: NOV 04, 2015 HELP-PROMPT: Enter "YES" if this is actually the name of some entry in a FileMan file. DESCRIPTION: Not yet used. If this flag were set (to "1") it would indicate that this entry in the Meta-Data-Dictionary is actually an ENTRY in a data file, not a FIELD. This might be useful in the future if the Meta-Data-Dictionary were used as a kind of "Google search" on items of interest other than field names. .9,.06 OBJECT NAME 0;6 FREE TEXT INPUT TRANSFORM: K:$L(X)>150!($L(X)<3)!'(X'?1P.E) X MAXIMUM LENGTH: 150 LAST EDITED: FEB 11, 2016 HELP-PROMPT: Enter this record's NAME field using camel case notation. DESCRIPTION: The OBJECT NAME is the NAME field (.01) converted to camel case notation. The OBJECT NAME will be used to connect to data files and fields. Examples: newPerson.definedFormatsForLm newPerson.definedFormatsForLm.default CROSS-REFERENCE: .9^D 1)= S ^DDD("D",$E(X,1,150),DA)="" 2)= K ^DDD("D",$E(X,1,150),DA) The D cross reference is to give developers a quick file.field lookup in camel case notation to connect to data files and fields. .9,.07 LAST UPDATED 0;7 DATE INPUT TRANSFORM: S %DT="ESTR" D ^%DT S X=Y K:Y<1 X LAST EDITED: FEB 10, 2016 HELP-PROMPT: Enter the date/time of the most recent update to this record DESCRIPTION: This is the most recent date/time that ^DDD ran and updated this record. .9,1 DESCRIPTION 1;0 WORD-PROCESSING #.901 HELP-PROMPT: Enter any text. DESCRIPTION: Contains the text of the HELP-PROMPT and DESCRIPTION of the Field, if available. Built by the DDD routine. LAST EDITED: NOV 01, 2002 .9,9.6 BUILD(S) ; COMPUTED MULTIPLE MUMPS CODE: S %=^DDD(D0,0),X="" D BUILDS^DDD($P(%,U,3),$P(%,U,4)) DESCRIPTION: This multiple computed field returns, from the BUILD File (9.6) a list of all the KIDS Builds that have explicitly transported this data field on this system. .9,25 TYPE ; COMPUTED MUMPS CODE: S %=^DDD(D0,0),X="" I $P(%,U,3) N D0,DCC S DCC="^DD("_$P(%,U,3)_",",D0=$P(%,U,4) X:D0 $P(^DD(0,.25, 0),U,5,99) ALGORITHM: S %=^DDD(D0,0),X="" I $P(%,U,3) N D0,DCC S DCC="^DD("_$P(%,U,3)_",",D0=$P(%,U,4) X:D0 $P(^DD(0,.25, 0),U,5,99) LAST EDITED: NOV 01, 2002 DESCRIPTION: This computed field retrieves the DATA TYPE (SET, POINTER, or whatever) of the FIELD. INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):