Concepts of SDCs, SDIs, and Reference Types |
Content |
||||||||||||
|
Overview |
|
|
Definitions |
SDCs and SDIs are the fundamental building blocks of LabVantage:
• | An SDC (Sapphire Data Collection) is a group of records in one or more database tables that collectively define an entity associated with data. |
• | An SDI (Sapphire Data Item) is a group of records that collectively define an item belonging to an SDC. |
Example |
Here is an example that shows the relationship between an SDC and its SDIs. "User" is an SDC that has two SDIs (Users): "JDrake" and "MPrice". This example shows a simple association between the two User SDIs and the Roles to which they belong. Note that this is a simplified example that is intended to show how LabVantage uses multiple tables to define and maintain an SDC and its SDIs. Tthe number of tables required to maintain an SDI vary depending upon the properties of the SDC and what you do with the SDI. For the sake of brevity, only a few tables and columns are shown in order to demonstrate a simple linked relationship.
User SDC
|
User SDIs
|
Types of SDCs |
|
|
Overview of SDC Types |
There are four types of SDCs:
• | "Core" and "System" are provided OOB to provide essential functionality. |
• | "User" are created by you. |
• | "Definition" are provided OOB to define information and links relevant to specific operations (such as Data Sets and Data Items used during Data Entry). |
Each type of SDC defines a set of features. Features available in each configuration depend on various security access settings for the current User:
Feature | |||||||
SDC | Add SDIs | Create | Delete | View | Extend | Link | Use Options |
Core | x | x | |||||
System | x | x | x | x | x | ||
User | x | x | x | x | x | x | x |
Definition | x | x | x |
Overview of SDC Features |
Each SDC feature describes a finite set of functionality:
Feature | Description |
Add SDIs | Add new SDIs to an SDC. |
Create | Create new SDCs (using the SDC Maintenance Page). |
Delete | Delete SDCs from the database. |
View | View (read-only) details concerning an SDC. |
Extend | Add columns to an SDC (done in the SDC Maintenance Page). |
Link | Link SDC columns to other entities in the data model (done in the SDC Maintenance Page). |
Use Options | These options are available for all SDIs added to the relevant SDC (selectable in the SDC Maintenance Page). |
Reference Types |
|
|
Reference Type is a specialized SDC. For each Reference Type SDI, you can specify Reference Values available for user choice.
Example |
Reference Type: | Color |
Reference Values: | red, green, blue |
You associate a Reference Type to an SDC by linking an SDC column Reference Type SDI. The Reference Type SDI then provides a list of available values for this column.
Example |
Reference Type | Linked to column... | In SDC... | Reference Values |
Color | visible | Light | red, green, blue |
The choices for color selection for visible light would then be red, green, or blue.
There are three kinds of Reference Types:
• | "Core" and "System" are provided OOB to provide essential functionality. |
• | "User" are created by you. |
The operations you can perform depend on what kind of Reference Type it is:
What you can do... | ||||
Reference Type | Create | Delete | View | Edit |
Core | x | |||
System | x | x | ||
User | x | x | x | x |