Substance 
EntityType  Independent 
Logical Entity Name  Substance 
Default Table Name  Substance 
Logical Only  NO 
Owner   
Definition 
Substance is used a CACHE of data from PubChem.  This cache can be removed if we can be assured that availability and capacity (for API queries) of PubChem will support dynamic use.
 
Note 
 

Substance Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
Substance_ID(PK)  Identifier  BIGINT  NO 
 
SMILES    VARCHAR(4000)  YES 
 
Version  Version  INTEGER  NO 
 
Date_Created  Date_Created  TIMESTAMP/DATE  NO 
 
Last_Updated  Last_Updated  DATETIME  YES 
 
Modified_by  Modified_by  VARCHAR(40)  YES 
 

Substance Keys 
Key Name  Key Type  Keys 
PK_Substance  PrimaryKey  Substance_ID 

Substance Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 

Substance Check Constraints 
Check Constraint Name  CheckConstraint 

Substance Security Types 
Name  Current Value 

Substance Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
Substance 
NO       
BARD - MySQL (MySQL)
Substance 
NO       
BARD_Dev (Oracle)
SUBSTANCE 
NO       
Current Production (Oracle)
Does Not Exist 
NO       

Substance Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
BARD - MySQL (MySQL)  Main Model 
BARD - MySQL (MySQL)  Data Entry 
BARD_Dev (Oracle)  Main Model