OMOP_5.4_ER_ALL

OMOP_5.4_ER : Model

Entity - specimen link

Properties
Name Value
Description

SPECIMEN

Table Description

The specimen domain contains the records identifying biological samples from a person.

ETL Conventions

Anatomic site is coded at the most specific level of granularity possible, such that higher level classifications can be derived using the Standardized Vocabularies.

CDM Field User Guide ETL Conventions Datatype Required Primary Key Foreign Key FK Table FK Domain
specimen_id Unique identifier for each specimen. integer Yes Yes No
person_id The person from whom the specimen is collected. integer Yes No Yes PERSON
specimen_concept_id The standard CONCEPT_ID that the SPECIMEN_SOURCE_VALUE maps to in the specimen domain. Accepted Concepts integer Yes No Yes CONCEPT
specimen_type_concept_id Put the source of the specimen record, as in an EHR system. Accepted Concepts. A more detailed explanation of each Type Concept can be found on the vocabulary wiki. integer Yes No Yes CONCEPT Type Concept
specimen_date The date the specimen was collected. date Yes No No
specimen_datetime datetime No No No
quantity The amount of specimen collected from the person. float No No No
unit_concept_id The unit for the quantity of the specimen. Map the UNIT_SOURCE_VALUE to a Standard Concept in the Unit domain. Accepted Concepts integer No No Yes CONCEPT
anatomic_site_concept_id This is the site on the body where the specimen is from. Map the ANATOMIC_SITE_SOURCE_VALUE to a Standard Concept in the Spec Anatomic Site domain. This should be coded at the lowest level of granularity Accepted Concepts integer No No Yes CONCEPT
disease_status_concept_id integer No No Yes CONCEPT
specimen_source_id This is the identifier for the specimen from the source system. varchar(50) No No No
specimen_source_value varchar(50) No No No
unit_source_value This unit for the quantity of the specimen, as represented in the source. varchar(50) No No No
anatomic_site_source_value This is the site on the body where the specimen was taken from, as represented in the source. varchar(50) No No No
disease_status_source_value varchar(50) No No No

Data Model Physical
Primary Key Constraint Name xpk_specimen
Primary Key Clustered Unspecified
Unlogged false

Columns Summary
Column Name Data Type PK / FK Nullable Description
specimen_id int4 PK No
person_id int4 PK / FK No
specimen_concept_id int4 PK / FK No
specimen_type_concept_id int4 PK / FK No
specimen_date date No
specimen_datetime timestamp(0) Yes
quantity numeric(19) Yes
unit_concept_id int4 PK / FK No
anatomic_site_concept_id int4 PK / FK No
disease_status_concept_id int4 PK / FK No
specimen_source_id varchar(50) Yes
specimen_source_value varchar(50) Yes
unit_source_value varchar(50) Yes
anatomic_site_source_value varchar(50) Yes
disease_status_source_value varchar(50) Yes

Relationships Summary
Name Begin End
 fpk_specimen_person_id : Relationship
 person : Entity
 specimen : Entity
 fpk_specimen_specimen_concept_id : Relationship
 concept : Entity
 specimen : Entity
 fpk_specimen_specimen_type_concept_id : Relationship
 concept : Entity
 specimen : Entity
 fpk_specimen_unit_concept_id : Relationship
 concept : Entity
 specimen : Entity
 fpk_specimen_anatomic_site_concept_id : Relationship
 concept : Entity
 specimen : Entity
 fpk_specimen_disease_status_concept_id : Relationship
 concept : Entity
 specimen : Entity

Columns Detail
Name Value
Name specimen_id
Type int4
Nullable false
Unique false
Primary Key true
Index false
Length 0
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name person_id
Type int4
Nullable false
Unique false
Primary Key true
Index false
Length 0
Scale 0
Id Generator native
Foreign Key true
Generated Unspecified
Sync To Attribute Yes

Name Value
Name specimen_concept_id
Type int4
Nullable false
Unique false
Primary Key true
Index false
Length 0
Scale 0
Id Generator native
Foreign Key true
Generated Unspecified
Sync To Attribute Yes

Name Value
Name specimen_type_concept_id
Type int4
Nullable false
Unique false
Primary Key true
Index false
Length 0
Scale 0
Id Generator native
Foreign Key true
Generated Unspecified
Sync To Attribute Yes

Name Value
Name specimen_date
Type date
Nullable false
Unique false
Primary Key false
Index false
Type Name date
Length 0
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name specimen_datetime
Type timestamp
Nullable true
Unique false
Primary Key false
Index false
Type Name timestamp
Length 0
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name quantity
Type numeric
Nullable true
Unique false
Primary Key false
Index false
Type Name numeric
Length 19
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name unit_concept_id
Type int4
Nullable false
Unique false
Primary Key true
Index false
Length 0
Scale 0
Id Generator native
Foreign Key true
Generated Unspecified
Sync To Attribute Yes

Name Value
Name anatomic_site_concept_id
Type int4
Nullable false
Unique false
Primary Key true
Index false
Length 0
Scale 0
Id Generator native
Foreign Key true
Generated Unspecified
Sync To Attribute Yes

Name Value
Name disease_status_concept_id
Type int4
Nullable false
Unique false
Primary Key true
Index false
Length 0
Scale 0
Id Generator native
Foreign Key true
Generated Unspecified
Sync To Attribute Yes

Name Value
Name specimen_source_id
Type varchar
Nullable true
Unique false
Primary Key false
Index false
Type Name varchar
Length 50
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name specimen_source_value
Type varchar
Nullable true
Unique false
Primary Key false
Index false
Type Name varchar
Length 50
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name unit_source_value
Type varchar
Nullable true
Unique false
Primary Key false
Index false
Type Name varchar
Length 50
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name anatomic_site_source_value
Type varchar
Nullable true
Unique false
Primary Key false
Index false
Type Name varchar
Length 50
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Name Value
Name disease_status_source_value
Type varchar
Nullable true
Unique false
Primary Key false
Index false
Type Name varchar
Length 50
Scale 0
Id Generator native
Foreign Key false
Generated Unspecified
Sync To Attribute Yes

Relationships Detail
Name Value
Name fpk_specimen_person_id
Foreign Key
specimen
 person_id : Column
Primary Key
person
 person_id : Column
To Multiplicity 0..*
From Multiplicity 1
Sync To Association Yes
Data Model Physical

Name Value
Name fpk_specimen_specimen_concept_id
Foreign Key
specimen
 specimen_concept_id : Column
Primary Key
concept
 concept_id : Column
To Multiplicity 0..*
From Multiplicity 0..1
Sync To Association Yes
Data Model Physical

Name Value
Name fpk_specimen_specimen_type_concept_id
Foreign Key
specimen
 specimen_type_concept_id : Column
Primary Key
concept
 concept_id : Column
To Multiplicity 0..*
From Multiplicity 0..1
Sync To Association Yes
Data Model Physical

Name Value
Name fpk_specimen_unit_concept_id
Foreign Key
specimen
 unit_concept_id : Column
Primary Key
concept
 concept_id : Column
To Multiplicity 0..*
From Multiplicity 1
Sync To Association Yes
Data Model Physical

Name Value
Name fpk_specimen_anatomic_site_concept_id
Foreign Key
specimen
 anatomic_site_concept_id : Column
Primary Key
concept
 concept_id : Column
To Multiplicity 0..*
From Multiplicity 1
Sync To Association Yes
Data Model Physical

Name Value
Name fpk_specimen_disease_status_concept_id
Foreign Key
specimen
 disease_status_concept_id : Column
Primary Key
concept
 concept_id : Column
To Multiplicity 0..*
From Multiplicity 1
Sync To Association Yes
Data Model Physical

Appears In
Diagram
 Standardized_Tables : Entity Relationship Diagram
 Vocabulary_With_Standard : Entity Relationship Diagram
OMOP_5.4_ER_ALL