observation 
Logical Entity Name  observation 
Default Table Name  observation 
Physical Only  NO 
Do Not Generate  False 
Owner  dbo 
Definition 
 
Note 
 
PreSQL   
DDL Code  CREATE TABLE dbo.observation(
     observeid          nvarchar(12)      NOT NULL,
     socialgpid         nvarchar(9)       NULL,
     obs_round          numeric(2, 0)     NULL,
     locationid         nvarchar(7)       NULL,
     obs_entry_date     datetime          NULL,
     obs_field_wrkr     nvarchar(2)       NULL,
     obs_data_clerk     nvarchar(2)       NULL,
     obs_de_date        datetime          NULL,
     obs_status_dat     nvarchar(1)       NULL,
     obs_responsor      nvarchar(35)      NULL,
     observeidGuid      varchar(36)       NULL,
     socialgpidGuid     varchar(36)       NULL,
     CONSTRAINT PK_observation PRIMARY KEY CLUSTERED (observeid),
     CONSTRAINT Reflocation32 FOREIGN KEY (locationid)
     REFERENCES dbo.location(locationid),
     CONSTRAINT Refsocialgroup37 FOREIGN KEY (socialgpid)
     REFERENCES dbo.socialgroup(socialgpid)
)

go
 
PostSQL   

observation Columns 
ColumnName  Domain  Datatype  NULL  Definition 
observeid(PK)    nvarchar(12)  NO 
 
socialgpid(FK)    nvarchar(9)  YES 
 
obs_round    numeric(2, 0)  YES 
 
locationid(FK)    nvarchar(7)  YES 
 
obs_entry_date    datetime  YES 
 
obs_field_wrkr    nvarchar(2)  YES 
 
obs_data_clerk    nvarchar(2)  YES 
 
obs_de_date    datetime  YES 
 
obs_status_dat    nvarchar(1)  YES 
 
obs_responsor    nvarchar(35)  YES 
 
observeidGuid    varchar(36)  YES 
 
socialgpidGuid    varchar(36)  YES 
 

observation Primary and Unique Keys 
Key Name  Key Type  Keys 
PK_observation  PrimaryKey  observeid 

observation Foreign Keys 
Parent Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype  Not For Replication 
location  Non-Identifying  Zero or One to Zero or More        locationid  NO  NO 
socialgroup  Non-Identifying  Zero or One to Zero or More        socialgpid  NO  NO 
Child Relationships: 
Table Name  Type  Cardinality  Constraint Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype  Not For Replication 
death  Non-Identifying  One To Zero or More          NO  NO 
householdin  Non-Identifying  One To Zero or More          NO  NO 
householdInfo  Non-Identifying  One To Zero or More          NO  NO 
householdout  Non-Identifying  One To Zero or More          NO  NO 
outmigration  Non-Identifying  One To Zero or More          NO  NO 
individres  Non-Identifying  One To Zero or More  FK_individres_observation        NO  NO 
individres  Non-Identifying  One To Zero or More  FK_individres_observation1        NO  NO 
indmarstatus  Non-Identifying  One To Zero or More  FK_indmarstatus_observation        NO  NO 
indmarstatus  Non-Identifying  One To Zero or More  FK_indmarstatus_observation1        NO  NO 
membership  Non-Identifying  One To Zero or More  FK_membership_observation        NO  NO 
membership  Non-Identifying  One To Zero or More  FK_membership_observation1        NO  NO 
occupation  Non-Identifying  One To Zero or More  FK_occupation_observation        NO  NO 
occupation  Non-Identifying  One To Zero or More  FK_occupation_observation1        NO  NO 

observation Check Constraints 
Check Constraint Name  CheckConstraint 

observation Storage 
STORAGE OPTION  STORAGE VALUE 
Filegroup  PRIMARY 
Text Image File Group   

observation Growth Metrics 
TABLE METRIC  TABLE METRIC VALUE 
Current Row Count 
Growth  Static 
Growth Type  N/A 
Growth Period  N/A 
Maximum Rows 

observation Object Permissions 

User/Role Name  Grantee Type  Permission Type  Action Type  Is Action Extended  Is System 
observation Security Types 
Name  Current Value 

observation Bound Attachments 
Name  Current Value 

observation Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
dbo.observation 
NO       
Physical (Microsoft SQL Server)
dbo.observation 
NO       

observation Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  death 
Logical  Household Info 
Logical  Marstatus 
Logical  membership 
Logical  Ocupation 
Logical  Outmigration 
Logical  residence 
Physical (Microsoft SQL Server)  Main Model 

observation Data Movement Rules 
Name  Type  Rule Text/Value