STANDARD DATA DICTIONARY #704.106 -- TERM_CHILD_PAIR FILE                                                         3/24/25    PAGE 1
STORED IN ^MDC(704.106,  (4 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 holds the structure for complex observations by pairing the parent observation to the child observation with an ordinal
position as well.  Observations are entries in the TERM File (#704.101) 


              DD ACCESS: @
              RD ACCESS: @
              WR ACCESS: @
             DEL ACCESS: @
           LAYGO ACCESS: @
           AUDIT ACCESS: @

PRIMARY KEY:        A (#94)
  Uniqueness Index: PK (#927)
       File, Field: 1) TERM_ID (704.106,.01)  2) CHILD_ORDER (704.106,.02)  3) CHILD_ID (704.106,.03)


INDEXED BY:    TERM_ID & CHILD_ORDER & CHILD_ID (PK)




704.106,.01   TERM_ID                0;1 POINTER TO TERM FILE (#704.101) (Required) (Key field)

              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer with an identifier for the primary term for this complex pair. 
              DESCRIPTION:      This identifies the primary observation/term for complex term pairs. A sample TERM_ID could
                                identify "blood pressure" as a primary term.  

              RECORD INDEXES:   PK (#927)

704.106,.02   CHILD_ORDER            0;2 NUMBER (Required) (Key field)

              INPUT TRANSFORM:  K:+X'=X!(X>999)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Type a number between 1 and 999, 0 Decimal Digits 
              DESCRIPTION:
                                This represents the order of the child pair in association with a complex term.  

              RECORD INDEXES:   PK (#927)

704.106,.03   CHILD_ID               0;3 POINTER TO TERM FILE (#704.101) (Required) (Key field)

              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer with an identifier for the child term for this complex term pair. 
              DESCRIPTION:      This identifies the child term for a complex term pair.  A sample CHILD_ID could identify
                                "systolic" as a child term of "blood pressure".  

              RECORD INDEXES:   PK (#927)

704.106,.04   CHILD_UNIT_ID          0;4 POINTER TO TERM FILE (#704.101)

              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer with the unit this child term must be entered in as part of this complex pair. 
              DESCRIPTION:      This is the unit(s) to present this child term.  A sample CHILD_UNIT_ID could identify "MILLIMETERS
                                OF MERCURY". 


704.106,.05   VALUE_TYPE             0;5 SET (Required)

                                '0' FOR Extract; 
                                '1' FOR Delimited; 
              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer with '1' if values are delimited. 
              DESCRIPTION:
                                This field will indicate whether the observation values are delimited or not.  


704.106,.06   VALUE_DELIMITER        0;6 NUMBER

              INPUT TRANSFORM:  K:+X'=X!(X>126)!(X<32)!(X?.E1"."1.N) X
              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer with the ASCII value (32-126, 0 Decimal Digits) of the delimiter character. 
              DESCRIPTION:      This is the number between 32 and 126 (0 Decimal Digits) of the ascii value for the character to be
                                used as the delimiter per delimited values.  A sample VALUE_DELIMITER could be "47" to signify the
                                use of the character "/" as delimiter.  


704.106,.07   VALUE_START_POSITION   0;7 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>250)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer with a number between 1 and 250, 0 Decimal Digits. 
              DESCRIPTION:      The "child values" may be presented in a string of data. This field is either the position or the
                                delimited piece, of the data to begin extracting child values.  


704.106,.08   VALUE_STOP_POSITION    0;8 NUMBER (Required)

              INPUT TRANSFORM:  K:+X'=X!(X>250)!(X<1)!(X?.E1"."1.N) X
              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer with a number between 1 and 250, 0 Decimal Digits. 
              DESCRIPTION:      The "child values" may be presented in a string of data. This field is either the last position or
                                the last delimited piece of the data. This is where extracting of child values is to stop.  


704.106,.09   DESCRIPTION            0;9 FREE TEXT

              INPUT TRANSFORM:  K:$L(X)>50!($L(X)<1) X
              LAST EDITED:      APR 09, 2009 
              HELP-PROMPT:      Answer must be 1-50 characters in length. 
              DESCRIPTION:      This is a DESCRIPTION of this observation/child term pair.  A sample DESCRIPTION could be "Systolic
                                pressure".  



      FILES POINTED TO                      FIELDS

TERM (#704.101)                   TERM_ID (#.01)
                                  CHILD_ID (#.03)
                                  CHILD_UNIT_ID (#.04)


File #704.106

  Record Indexes:

  PK (#927)    RECORD    REGULAR    IR    LOOKUP & SORTING
       Unique for:  Key A (#94), File #704.106
      Short Descr:  Uniqueness Index for Key 'A' of File #704.106
      Description:  This will provide a quick reference per related primary terms and child terms.  
        Set Logic:  S ^MDC(704.106,"PK",$E(X(1),1,38),$E(X(2),1,4),$E(X(3),1,38),DA)=""
       Kill Logic:  K ^MDC(704.106,"PK",$E(X(1),1,38),$E(X(2),1,4),$E(X(3),1,38),DA)
       Whole Kill:  K ^MDC(704.106,"PK")
             X(1):  TERM_ID  (704.106,.01)  (Subscr 1)  (Len 38)
             X(2):  CHILD_ORDER  (704.106,.02)  (Subscr 2)  (Len 4)
             X(3):  CHILD_ID  (704.106,.03)  (Subscr 3)  (Len 38)


INPUT TEMPLATE(S):

PRINT TEMPLATE(S):

SORT TEMPLATE(S):

FORM(S)/BLOCK(S):