STANDARD DATA DICTIONARY #704.104 -- TERM_UNIT_CONVERSION FILE 3/24/25 PAGE 1 STORED IN ^MDC(704.104, (82 ENTRIES) SITE: WWW.BMIRWIN.COM UCI: VISTA,VISTA (VERSION 1.0) DATA NAME GLOBAL DATA ELEMENT TITLE LOCATION TYPE ----------------------------------------------------------------------------------------------------------------------------------- NOTICE: This file is maintained exclusively by the CP Terminology group and must not be modified or edited in any way. Subsequent releases of CP Terminology may create lasting errors in the CliO data store if this file is changed. This file links like units of measure together with required conversion logic to change the value from one unit to another. NOTE: Units are presented as entries in the TERM File (#704.101). For example the unit "CENTIMETER" could be identified by the TERM File (#704.101), TERM ID (field #.01) "{EF700458-8C2D-16E8-02DC-9E1711584C53}". DD ACCESS: @ RD ACCESS: @ WR ACCESS: @ DEL ACCESS: @ LAYGO ACCESS: @ AUDIT ACCESS: @ PRIMARY KEY: A (#92) Uniqueness Index: PK (#925) File, Field: 1) UNIT_ID_PRE (704.104,.01) 2) UNIT_ID_POST (704.104,.02) INDEXED BY: UNIT_ID_PRE & UNIT_ID_POST (PK) 704.104,.01 UNIT_ID_PRE 0;1 POINTER TO TERM FILE (#704.101) (Required) (Key field) LAST EDITED: APR 02, 2009 HELP-PROMPT: Answer with an identifier of the unit that a value will be converted from. DESCRIPTION: This field is the identifier of the unit that a value will be converted from. RECORD INDEXES: PK (#925) 704.104,.02 UNIT_ID_POST 0;2 POINTER TO TERM FILE (#704.101) (Required) (Key field) LAST EDITED: APR 02, 2009 HELP-PROMPT: Answer with an identifier of the unit that a value will be converted to. DESCRIPTION: This field is the identifier of the unit that a value will be converted to. RECORD INDEXES: PK (#925) 704.104,.03 CONVERSION_OFFSET_PRE 0;3 NUMBER INPUT TRANSFORM: K:+X'=X!(X>999999999)!(X<-999999999)!(X?.E1"."7.N) X LAST EDITED: APR 02, 2009 HELP-PROMPT: Type a number between -999999999 and 999999999, 6 Decimal Digits DESCRIPTION: This field will be used to offset a value prior to executing the conversion logic. A sample CONVERSION OFFSET PRE could be "0". 704.104,.04 CONVERSION_OFFSET_POST 0;4 NUMBER INPUT TRANSFORM: K:+X'=X!(X>999999999)!(X<-999999999)!(X?.E1"."7.N) X LAST EDITED: APR 02, 2009 HELP-PROMPT: Type a number between -999999999 and 999999999, 6 Decimal Digits DESCRIPTION: This is used to offset a value post execution of the conversion logic. A sample CONVERSION OFFSET POST could be "32". 704.104,.05 CONVERSION_FACTOR 0;5 NUMBER INPUT TRANSFORM: K:+X'=X!(X>999999999)!(X<-999999999)!(X?.E1"."10.N) X LAST EDITED: APR 02, 2009 HELP-PROMPT: Type a number between -999999999 and 999999999, 9 Decimal Digits DESCRIPTION: This value is used by the conversion logic as a multiplier of the original value. A sample CONVERSION FACTOR could be "1.8". 704.104,.06 DECIMAL_PRECISION 0;6 NUMBER INPUT TRANSFORM: K:+X'=X!(X>9)!(X<0)!(X?.E1"."1.N) X LAST EDITED: APR 02, 2009 HELP-PROMPT: Type a number between 0 and 9, 0 Decimal Digits DESCRIPTION: This field is the decimal precision for rounding the resulting conversion value. A sample DECIMAL PRECISION could be "2". 704.104,.09 DESCRIPTION 0;9 FREE TEXT INPUT TRANSFORM: K:$L(X)>150!($L(X)<1) X LAST EDITED: APR 02, 2009 HELP-PROMPT: Answer must be 1-150 characters in length. DESCRIPTION: This is a DESCRIPTION of the conversion logic. A sample DESCRIPTION could be "DEGREES C -> DEGREES F". FILES POINTED TO FIELDS TERM (#704.101) UNIT_ID_PRE (#.01) UNIT_ID_POST (#.02) File #704.104 Record Indexes: PK (#925) RECORD REGULAR IR LOOKUP & SORTING Unique for: Key A (#92), File #704.104 Short Descr: Uniqueness Index for Key 'A' of File #704.104 Description: This will provide a quick reference per related conversion units; the units converted from and units converted to. Set Logic: S ^MDC(704.104,"PK",$E(X(1),1,38),$E(X(2),1,38),DA)="" Kill Logic: K ^MDC(704.104,"PK",$E(X(1),1,38),$E(X(2),1,38),DA) Whole Kill: K ^MDC(704.104,"PK") X(1): UNIT_ID_PRE (704.104,.01) (Subscr 1) (Len 38) X(2): UNIT_ID_POST (704.104,.02) (Subscr 2) (Len 38) INPUT TEMPLATE(S): PRINT TEMPLATE(S): SORT TEMPLATE(S): FORM(S)/BLOCK(S):