When you create a data set to use for CDD data mappings, you specify the target key type. Target key types control how data is grouped in a CDD. Target key types are used for tables that do not pivot and for pivot tables.
The primary key of the target table determines how data is inserted into CDD target tables. When you create a CDD target table definition, the primary key of the table is a set of database IDs (DBUIDs) and indexes that correspond to the components of a data point’s control path or a subset of the control path. When the InForm application loads data into a CDD table, it creates a new row each time the value of the primary key changes.
In pivot tables, insertion of data is organized around a set of rows called a pivot set. The data points that make up a pivot set share the same values in specified parts of their control paths. The target key type of a pivot table determines where each pivot set breaks by defining which parts of the control path are the same within a pivot set. For example, in a table with a target key type of Pivot Section, a pivot set is made up of all data points in which the patient, visit, form, and section components of the control path match.
One of the columns in a pivot table is identified as the pivot column. Each time the InForm application loads one pivot set of data into a pivot table, it creates a new row for each data point mapped to the pivot column, and it duplicates data points mapped to nonpivot columns in each of those rows.
Copyright © 2013 Oracle and/or its affiliates. All rights reserved. |
---|