Difference between revisions of "Internal - Modell for Monitoring"
| (3 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
| − | ====Color code====  | + | ====Color code for accessibility====  | 
{|border=1 cellpadding="5" style="margin:1em 1em 1em 0; border:1px #AAA solid; border-collapse:collapse; empty-cells:show;  | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; border:1px #AAA solid; border-collapse:collapse; empty-cells:show;  | ||
| − | |-style="background:  | + | |-style="background:;"  | 
| − | |no restrictions  | + | |no_restrictions  | 
| − | + | |there are no restrictions to access this entity  | |
|-style="background:#FFC0CB;"  | |-style="background:#FFC0CB;"  | ||
| − | |  | + | |read_only  | 
| − | |  | + | |the access is limited to read only  | 
| − | |||
| − | |||
| − | |||
|-style="background:#D3D3D3;"  | |-style="background:#D3D3D3;"  | ||
|inapplicable  | |inapplicable  | ||
| − | |  | + | |the entity is inapplicable  | 
| − | |-style="background:#  | + | |}  | 
| − | |  | + | |
| − | |  | + | |
| + | ====Color code for determination====  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; border:1px #AAA solid; border-collapse:collapse; empty-cells:show;  | ||
| + | |-style="background:;"  | ||
| + | |user_defined  | ||
| + | |the value can be defined by the user  | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |service_link  | ||
| + | |the value represents a link to a module  | ||
| + | |-style="background:#FFFF00;"  | ||
| + | |calculated  | ||
| + | |the value is calculated by the system e.g. from other entries  | ||
|}  | |}  | ||
| Line 21: | Line 29: | ||
===Table: Analysis===  | ===Table: Analysis===  | ||
Analysis types used within the database  | Analysis types used within the database  | ||
| − | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#  | + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFC0CB;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | 
| − | |-style="text-align:left; background:#  | + | |-style="text-align:left; background:#FFC0CB;"  | 
!Column  | !Column  | ||
!Data type  | !Data type  | ||
| Line 28: | Line 36: | ||
!Requ.  | !Requ.  | ||
!Ind.  | !Ind.  | ||
| − | |-  | + | |-  | 
|<u>AnalysisID</u>  | |<u>AnalysisID</u>  | ||
|int  | |int  | ||
| Line 34: | Line 42: | ||
|R  | |R  | ||
|U  | |U  | ||
| − | |-  | + | |-  | 
|AnalysisParentID  | |AnalysisParentID  | ||
|int  | |int  | ||
| Line 40: | Line 48: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| − | |-  | + | |-  | 
|DisplayText  | |DisplayText  | ||
|nvarchar (50)  | |nvarchar (50)  | ||
| Line 46: | Line 54: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| − | |-  | + | |-  | 
|Description  | |Description  | ||
|nvarchar (MAX)  | |nvarchar (MAX)  | ||
| Line 52: | Line 60: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| − | |-  | + | |-  | 
|MeasurementUnit  | |MeasurementUnit  | ||
|nvarchar (50)  | |nvarchar (50)  | ||
| Line 58: | Line 66: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| − | |-  | + | |-  | 
|Notes  | |Notes  | ||
|nvarchar (MAX)  | |nvarchar (MAX)  | ||
| Line 64: | Line 72: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| − | |-  | + | |-  | 
|AnalysisURI  | |AnalysisURI  | ||
|varchar (255)  | |varchar (255)  | ||
| Line 70: | Line 78: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| − | |-  | + | |-  | 
|OnlyHierarchy  | |OnlyHierarchy  | ||
|bit  | |bit  | ||
| Line 76: | Line 84: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: AnalysisResult===  | ||
| + | Value lists for analysis types with predefined values, e.g. "0, 1, 2, 3, ..." for Red list category. Includes description etc. for the values in the list.  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFC0CB;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFC0CB;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>AnalysisID</u>  | ||
| + | |int  | ||
| + | |ID of the analysis (Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>AnalysisResult</u>  | ||
| + | |nvarchar (255)  | ||
| + | |The categorized value of the analysis  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |Description  | ||
| + | |nvarchar (500)  | ||
| + | |Description of enumerated object, displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayText  | ||
| + | |nvarchar (50)  | ||
| + | |Short abbreviated description of the object, displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayOrder  | ||
| + | |smallint  | ||
| + | |The order in which the entries are displayed. The order may be changed at any time, but all values must be unique.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Notes  | ||
| + | |nvarchar (500)  | ||
| + | |Internal development notes about usage, definition, etc. of an enumerated object  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Name of user who first entered (typed or imported) the data.<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedWhen  | ||
| + | |smalldatetime  | ||
| + | |Date and time when the data were first entered (typed or imported) into this database.<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Name of user who last updated the data.<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |smalldatetime  | ||
| + | |Date and time when the data were last updated.<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: AnalysisTaxonomicGroup===  | ||
| + | The types of analysis that are available for a taxonomic group  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFC0CB;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFC0CB;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>AnalysisID</u>  | ||
| + | |int  | ||
| + | |Analysis ID, foreign key of table Analysis.  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>TaxonomicGroup</u>  | ||
| + | |nvarchar (50)  | ||
| + | |Taxonomic group the organism identified by this unit belongs to. Groups listed in table CollTaxonomicGroup_Enum  (= foreign key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: Collection===  | ||
| + | The collections where the specimen are stored  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionID</u>  | ||
| + | |int  | ||
| + | |Unique reference ID for the collection (= Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |CollectionParentID  | ||
| + | |int  | ||
| + | |For a subcollection within another collection: CollectionID of the collection to which the subcollection belongs. Empty for an independent collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |CollectionName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of the collection (e. g. 'Herbarium Kew') or subcollection (e. g. 'cone collection', 'alcohol preservations'). This text should be kept relatively short, use Description for additional information  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |CollectionAcronym  | ||
| + | |nvarchar (10)  | ||
| + | |A unique code for the Collection, e.g. the herbarium code from Index Herbariorum  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |AdministrativeContactName  | ||
| + | |nvarchar (500)  | ||
| + | |The name of the person or organisation responsible for this collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |AdministrativeContactAgentURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the person or organisation responsible for the Collection e.g. as provided by the module DiversityAgents  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Description  | ||
| + | |nvarchar (MAX)  | ||
| + | |A short description of the collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Location  | ||
| + | |nvarchar (255)  | ||
| + | |Optionally location of the collection, e.g. the number within a file system or a description of the room(s) housing the (sub)collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |CollectionOwner  | ||
| + | |nvarchar (255)  | ||
| + | |The owner of the collection as e.g. printed on a label, should be given if CollectionParentID is null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayOrder  | ||
| + | |smallint  | ||
| + | |The order in which the entries are displayed. The order may be changed at any time, but all values must be unique.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionAgent===  | ||
| + | The collector(s) of collection specimens  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to ID of CollectionEvent (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>CollectorsName</u>  | ||
| + | |nvarchar (255)  | ||
| + | |Name of the Collector<br />''Preset value: SELECT CombinedNameCache FROM UserProxy WHERE LoginName = USER_NAME()''  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |CollectorsAgentURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the Agent, e.g. as stored within the module DiversityAgents<br />''Preset value: SELECT UserURI FROM UserProxy WHERE LoginName = USER_NAME()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |CollectorsSequence  | ||
| + | |datetime  | ||
| + | |The order of collectors in a team. Automatically set by the database system<br />''DefaultValue: getdate()''<br />''Preset value: getdate()''  | ||
| + | |  -    | ||
| + | |U  | ||
| + | |-  | ||
| + | |CollectorsNumber  | ||
| + | |nvarchar (50)  | ||
| + | |Number assigned to a specimen or a batch of specimens by the collector during the collection event (= 'field number')<br />''Preset value: Übername der AccessionNumber''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about the collector, e.g. if the name is uncertain  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the dataset is withhold, the reason for withholding the data, otherwise null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionEvent===  | ||
| + | The collection event where the specimen was collected  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionEventID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the collection event  (= Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |Version  | ||
| + | |int  | ||
| + | |The version of the dataset. Automatically set by the system.<br />''DefaultValue: (1)''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |SeriesID  | ||
| + | |int  | ||
| + | |The ID of the related expedition. Relates to the PK of the table CollectionExpedition (Foreign key).   | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |CollectorsEventNumber  | ||
| + | |nvarchar (50)  | ||
| + | |Number assigned to a collection event  by the collector (= 'field number')  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |CollectionDate  | ||
| + | |datetime  | ||
| + | |The date of the event calulated from the entries in CollectionDay, -Month and -Year.<br />''Preset value: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |CollectionDay  | ||
| + | |tinyint  | ||
| + | |The day of the date of the event or when the collection event started<br />''Preset value: DAY(getdate())''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |CollectionMonth  | ||
| + | |tinyint  | ||
| + | |The month of the date  of the event or when the collection event started<br />''Preset value: MONTH(getdate())''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |CollectionYear  | ||
| + | |smallint  | ||
| + | |The year of the date  of the event or when the collection event started<br />''Preset value: YEAR(getdate())''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |CollectionDateSupplement  | ||
| + | |nvarchar (100)  | ||
| + | |Verbal or additional collection date information, e.g.  'end of summer 1985', 'first quarter', '1888-1892'.  The end date if the collection event comprises a period. The time of the event if necessary.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |CollectionDateCategory  | ||
| + | |nvarchar (50)  | ||
| + | |Category of the date of the identification e.g. "system", "estimated"  (= foreign key, see  in table CollEventDateCategory_Enum)<br />''Preset value: 'actual'''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |CollectionTime  | ||
| + | |varchar (50)  | ||
| + | |The time of the event or when the collection event started  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |CollectionTimeSpan  | ||
| + | |varchar (50)  | ||
| + | |The time span e.g. in seconds of the collection event  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |LocalityDescription  | ||
| + | |nvarchar (MAX)  | ||
| + | |Locality description of the locality, exactly as written on the original label (i.e. without corrections during data entry)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |HabitatDescription  | ||
| + | |nvarchar (MAX)  | ||
| + | |Geo-ecological description of the locality, exactly as written on the original label (i.e. without corrections during data entry)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceTitle  | ||
| + | |nvarchar (255)  | ||
| + | |The title of the publication where the collection event was published. Note this is only a cached value where ReferenceURI is present  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceURI  | ||
| + | |varchar (255)  | ||
| + | |URI (e.g. LSID) of the source publication where the collection event is published, may e.g. refer to the module DiversityReferences  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |CollectingMethod  | ||
| + | |nvarchar (MAX)  | ||
| + | |Description of the method used for collecting the samples, e.g. traps, moist chambers, drag net  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about the collection event  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |CountryCache  | ||
| + | |nvarchar (50)  | ||
| + | |The country where the collection event took place. Cached value derived from an entry in CollectionEventLocalisation  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the dataset is withhold, the reason for withholding the data, otherwise null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceDetails  | ||
| + | |nvarchar (50)  | ||
| + | |The exact location within the reference, e.g. pages, plates  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionEventImage===  | ||
| + | The images showing the site of the collection event or other media like a voice recording  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionEventID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the collection event  (= Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>URI</u>  | ||
| + | |varchar (255)  | ||
| + | |The complete URI address of the image. This is only a cached value if ResourceID is available referring to the module DiversityResources  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ResourceURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the resource (e.g. see module DiversityResources)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ImageType  | ||
| + | |nvarchar (50)  | ||
| + | |Type of the image, e.g. map<br />''Preset value: 'photography'''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes to this image concerning the collection event  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the dataset is withhold, the reason for withholding the data, otherwise null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Description  | ||
| + | |xml (MAX)  | ||
| + | |Description of the image  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionEventLocalisation===  | ||
| + | The geographic localisation of a collection event  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionEventID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionEvent (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>LocalisationSystemID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of LocalisationSystem (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Location1  | ||
| + | |nvarchar (255)  | ||
| + | |Either a named location selected from a thesaurus (e. g. 'Germany, Bavaria, Kleindingharting') or altitude range or other values (e. g. 100-200 m)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Location2  | ||
| + | |nvarchar (255)  | ||
| + | |Corresponding value to Location1 e.g. ID or URI of gazetteer or thesaurus  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |LocationAccuracy  | ||
| + | |nvarchar (50)  | ||
| + | |The accuracy of the determination of this locality  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |LocationNotes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes on the location  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |DeterminationDate  | ||
| + | |smalldatetime  | ||
| + | |Date of the determination of the geographical localisation<br />''Preset value: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DistanceToLocation  | ||
| + | |varchar (50)  | ||
| + | |Distance from the specified place to the real location of the collection event (m)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DirectionToLocation  | ||
| + | |varchar (50)  | ||
| + | |Direction from the specified place to the real location of the collection event (Degrees rel. to north)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |The name of the agent (person or organization) responsible for this entry.<br />''Preset value: dbo.CurrentUserName()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |URI of the person or organisation responsible for the data (see e.g. module DiversityAgents)<br />''Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |AverageAltitudeCache  | ||
| + | |float  | ||
| + | |Calculated altitude as parsed from the location fields  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |AverageLatitudeCache  | ||
| + | |float  | ||
| + | |Calculated latitude as parsed from the location fields  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |AverageLongitudeCache  | ||
| + | |float  | ||
| + | |Calculated longitude as parsed from the location fields  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Geography  | ||
| + | |geography  | ||
| + | |The geography of the localisation  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |RecordingMethod  | ||
| + | |nvarchar (500)  | ||
| + | |The method or device used for the recording of the localisation  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionEventProperty===  | ||
| + | A property of a collection site, e.g. exposition, slope, vegetation. May refer to Diversity Workbench module DiversityScientificTerms  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionEventID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionEvent (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>PropertyID</u>  | ||
| + | |int  | ||
| + | |The ID of the descriptor of the collection event, foreign key, see table Descriptor  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |DisplayText  | ||
| + | |nvarchar (255)  | ||
| + | |The text for the property as shown e.g. in a user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |PropertyURI  | ||
| + | |varchar (255)  | ||
| + | |URI referring to an external datasource e.g. DiversityTerminology  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |PropertyHierarchyCache  | ||
| + | |nvarchar (MAX)  | ||
| + | |A cached text of the complete name of the descriptor including superior categories if present  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |PropertyValue  | ||
| + | |nvarchar (255)  | ||
| + | |The value of a captured feature  e.g. temperature, pH, vegetation etc. If there is a range this is the lower or first value  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |The name of the agent (person or organization) responsible for this entry.<br />''Preset value: dbo.CurrentUserName()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |URI of the person or organisation responsible for the data (see e.g. module DiversityAgents)<br />''Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about the property of the colletion site.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |AverageValueCache  | ||
| + | |float  | ||
| + | |For numeric values - a cached average value according to the  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionEventSeries===  | ||
| + | The series within which collection events take place  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
|-style="background:#FFFFFF;"  | |-style="background:#FFFFFF;"  | ||
| + | |<u>SeriesID</u>  | ||
| + | |int  | ||
| + | |Primary key. The ID for this expedition  (= Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |SeriesParentID  | ||
| + | |int  | ||
| + | |The ID of the superior expedition  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Description  | ||
| + | |nvarchar (MAX)  | ||
| + | |The description of the expedition as it will be printed on e.g. the label  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |SeriesCode  | ||
| + | |nvarchar (50)  | ||
| + | |The user defined code for an expedition  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about this expedition  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Geography  | ||
| + | |geography  | ||
| + | |The geography of the collection event series  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |DateStart  | ||
| + | |datetime  | ||
| + | |The date and time when the collection event series started<br />''Preset value: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |DateEnd  | ||
| + | |datetime  | ||
| + | |The date and time when the collection event series ended  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DateCache  | ||
| + | |datetime  | ||
| + | |Obsolete, use fields for start and end of the collection event series instead  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
|LogCreatedWhen  | |LogCreatedWhen  | ||
|datetime  | |datetime  | ||
| Line 82: | Line 1,146: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionEventSeriesImage===  | ||
| + | The images showing the sites of a collection event series or other media like a voice recording  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
|-style="background:#FFFFFF;"  | |-style="background:#FFFFFF;"  | ||
| + | |<u>SeriesID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the collection event series  (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |<u>URI</u>  | ||
| + | |varchar (255)  | ||
| + | |The complete URI address of the image. This is only a cached value if ResourceID is available referring to the module DiversityResources  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ResourceURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the resource (e.g. see module DiversityResources)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ImageType  | ||
| + | |nvarchar (50)  | ||
| + | |Type of the image, e.g. map<br />''Preset value: 'photography'''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes to this image concerning the collection event  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the dataset is withhold, the reason for withholding the data, otherwise null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
|LogCreatedBy  | |LogCreatedBy  | ||
|nvarchar (50)  | |nvarchar (50)  | ||
| Line 88: | Line 1,248: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Description  | ||
| + | |xml (MAX)  | ||
| + | |Description of the image  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionExternalDatasource===  | ||
| + | CollectionExternalDatasource document the sources of the names.  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>ExternalDatasourceID</u>  | ||
| + | |int  | ||
| + | |An ID to identify an external data collection of collection specimen (primary key, the ID has no meaning outside of the DiversityWorkbench system)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |ExternalDatasourceName  | ||
| + | |nvarchar (255)  | ||
| + | |The name of the data collection that has been integrated or can be linked to for further analysis  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ExternalDatasourceVersion  | ||
| + | |nvarchar (255)  | ||
| + | |The version of this data collection (either official version number, or dates when the collection was integrated)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Rights  | ||
| + | |nvarchar (500)  | ||
| + | |A description of copyright agreements or permission to use data from the external database  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ExternalDatasourceAuthors  | ||
| + | |nvarchar (200)  | ||
| + | |The persons or institutions responsible for the external database  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ExternalDatasourceURI  | ||
| + | |nvarchar (300)  | ||
| + | |The URI of the database provider resp. the external database  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ExternalDatasourceInstitution  | ||
| + | |nvarchar (300)  | ||
| + | |The institution responsible for the external database  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |InternalNotes  | ||
| + | |nvarchar (1500)  | ||
| + | |Additional notes concerning this data collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ExternalAttribute_NameID  | ||
| + | |nvarchar (255)  | ||
| + | |The table and field name in the external data collection to which CollectionExternalID refers  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |PreferredSequence  | ||
| + | |tinyint  | ||
| + | |For selection in e.g. picklists: of several equal names only the name from the source with the lowest preferred sequence will be provided.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Disabled  | ||
| + | |bit  | ||
| + | |If this source should be disabled for selection of names e.g. in picklists  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionImage===  | ||
| + | The images showing the collection  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of Collection (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>URI</u>  | ||
| + | |varchar (255)  | ||
| + | |The complete URI address of the image.   | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |ImageType  | ||
| + | |nvarchar (50)  | ||
| + | |Type of the image, e.g. label  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about the collection image  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the dataset is withhold, the reason for withholding the data, otherwise null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Description  | ||
| + | |xml (MAX)  | ||
| + | |Description of the image  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionManager===  | ||
| + | Collection managers within DiversityCollection, responsible of specimen transactions  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>LoginName</u>  | ||
| + | |nvarchar (50)  | ||
| + | |A login name which the user uses  for access the DivesityWorkbench, Microsoft domains, etc..  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>AdministratingCollectionID</u>  | ||
| + | |int  | ||
| + | |ID for the collection for which the Manager has the right to administrate the transaction. Corresponds to AdministratingCollectionID in table Transaction.  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | |||
| + | ===Table: CollectionRequester===  | ||
| + | Requesters within DiversityCollection, responsible of specimen transactions  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>LoginName</u>  | ||
| + | |nvarchar (50)  | ||
| + | |A login name which the user uses  for access to the DivesityWorkbench, Microsoft domains, etc..  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>AdministratingCollectionID</u>  | ||
| + | |int  | ||
| + | |ID for the collection for which the Requester has the right to request specimen. Corresponds to AdministratingCollectionID in table Transaction.  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |IncludeSubcollections  | ||
| + | |bit  | ||
| + | |If the subcollections of the administrating collection are accessible for a request  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionSpecimen===  | ||
| + | The data directly attributed to the collection specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
|-style="background:#FFFFFF;"  | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Unique reference ID for the collection specimen record (primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |Version  | ||
| + | |int  | ||
| + | |The version of the dataset<br />''DefaultValue: (1)''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |CollectionEventID  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionEvent (= Foreign key and part of primary key)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |CollectionID  | ||
| + | |int  | ||
| + | |ID of the Collection as stored in table Collection (= foreign key, see table Collection)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |AccessionNumber  | ||
| + | |nvarchar (50)  | ||
| + | |Accession number of the specimen within the collection, e.g. "M-29834752"  | ||
| + | |  -    | ||
| + | |   | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |AccessionDate  | ||
| + | |datetime  | ||
| + | |The date of the accession calculated from the entries in AccessionDay, -Month and -Year  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |AccessionDay  | ||
| + | |tinyint  | ||
| + | |The day of the date  when the specimen was acquired in the collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |AccessionMonth  | ||
| + | |tinyint  | ||
| + | |The month of the date  when the specimen was acquired in the collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |AccessionYear  | ||
| + | |smallint  | ||
| + | |The year of the date  when the specimen was acquired in the collection  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |AccessionDateSupplement  | ||
| + | |nvarchar (255)  | ||
| + | |Verbal or additional accession date information, e.g. 'end of summer 1985', 'first quarter', '1888-1892'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |AccessionDateCategory  | ||
| + | |nvarchar (50)  | ||
| + | |Category of the date of the identification e.g. "system", "estimated"  (= foreign key, see  in table xColl_DateCategory_Enum)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DepositorsName  | ||
| + | |nvarchar (255)  | ||
| + | |The name of the depositor(s) (person or organization responsible for deposition). Where entire collections are deposited, this should also contain the collection name (e.g. 'Herbarium P. Döbbler')  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DepositorsAgentURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the depositor(s) (person or organization responsible for deposition)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DepositorsAccessionNumber  | ||
| + | |nvarchar (50)  | ||
| + | |Accession number of the specimen within the previous or original collection, e.g. 'D-23948'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |LabelTitle  | ||
| + | |nvarchar (255)  | ||
| + | |The title of the label e.g. for printing labels.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |LabelType  | ||
| + | |nvarchar (50)  | ||
| + | |Printed, typewritten, typewritten with handwriting added, entirely in handwriting, etc.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |LabelTranscriptionState  | ||
| + | |nvarchar (50)  | ||
| + | |The state of the transcription of a label into the database: 'Not started', 'incomplete', 'complete'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |LabelTranscriptionNotes  | ||
| + | |nvarchar (255)  | ||
| + | |User defined notes concerning the transcription of the label into the database  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ExsiccataURI  | ||
| + | |varchar (255)  | ||
| + | |If specimen is an exsiccata: The URI of the Exsiccata series, e.g. as stored within the DiversityExsiccata module  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ExsiccataAbbreviation  | ||
| + | |nvarchar (255)  | ||
| + | |If specimen is an exsiccata: Standard abbreviation of the exsiccata (not necessarily a unique identifier; editors or publication places may change over time)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |OriginalNotes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes found on the label of the specimen, by the original collector or from a later revision  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |AdditionalNotes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Additional notes made by the editor of the specimen record, e. g. 'doubtful identification/locality'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceTitle  | ||
| + | |nvarchar (255)  | ||
| + | |The title of the publication where the specimen was published. Note this is only a cached value where ReferenceURI is present  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceURI  | ||
| + | |varchar (255)  | ||
| + | |URI (e.g. LSID) of reference where specimen is published, e.g. referring to the module DiversityReferences  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Problems  | ||
| + | |nvarchar (255)  | ||
| + | |Description of a problem that occurred during data editing. Typically these entries should be deleted after help has been obtained. Do not enter scientific problems here; use AdditionalNotes for such permanent problems!  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the dataset is withhold, the reason for withholding the data, otherwise null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
|LogUpdatedWhen  | |LogUpdatedWhen  | ||
|datetime  | |datetime  | ||
| Line 94: | Line 1,801: | ||
|  -    | |  -    | ||
|  -    | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |InternalNotes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Internal notes that should not be published e.g. on websites  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ExternalDatasourceID  | ||
| + | |int  | ||
| + | |An ID to identify an external data collection of collection specimen (primary key, the ID has no meaning outside of the DiversityWorkbench system)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ExternalIdentifier  | ||
| + | |nvarchar (100)  | ||
| + | |The identifier of the external specimen as defined in the external datasource  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceDetails  | ||
| + | |nvarchar (50)  | ||
| + | |The exact location within the reference, e.g. pages, plates  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionSpecimenImage===  | ||
| + | The images, voice recording or other medium of a collection specimen, an identification unit or part within this specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
|-style="background:#FFFFFF;"  | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |<u>URI</u>  | ||
| + | |varchar (255)  | ||
| + | |The complete URI address of the image. This is only a cached value if ResourceID is available referring to the module DiversityResources  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ResourceURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the image, e.g. as stored in the module DiversityResources.   | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |SpecimenPartID  | ||
| + | |int  | ||
| + | |Optional: If the dataset is not related to a part of a specimen, the ID of a related part (= foreign key)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |IdentificationUnitID  | ||
| + | |int  | ||
| + | |If image refers to only on out of several identification units for a specimen, refers to the ID of an IdentificationUnit for a CollectionSpecimen (= foreign key)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ImageType  | ||
| + | |nvarchar (50)  | ||
| + | |Type of the image, e.g. photograph<br />''Preset value: 'photography'''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about the specimen image  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the dataset is withhold, the reason for withholding the data, otherwise null  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
|LogUpdatedBy  | |LogUpdatedBy  | ||
|nvarchar (50)  | |nvarchar (50)  | ||
|Who was the last to update this dataset<br />''DefaultValue: user_name()''  | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
|  -    | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
|  -    | |  -    | ||
|-style="background:#FFFFFF;"  | |-style="background:#FFFFFF;"  | ||
| + | |Description  | ||
| + | |xml (MAX)  | ||
| + | |Description of the image  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionSpecimenPart===  | ||
| + | Parts of a collection specimen. Includes a possible hierarchy of the parts  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |DerivedFromSpecimenPartID  | ||
| + | |int  | ||
| + | |SpecimenPartID of the specimen from which the current specimen is derived from  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |PreparationMethod  | ||
| + | |nvarchar (MAX)  | ||
| + | |The method used for the preparation of the part of the specimen, e.g. the inoculation method for cultures  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |PreparationDate  | ||
| + | |datetime  | ||
| + | |The date and time when the part was preparated e.g when it was separated from the source object  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |AccessionNumber  | ||
| + | |nvarchar (50)  | ||
| + | |Accession number of the part of the specimen within the collection if it is different from the accession number of the specimen as stored in the table CollectionSpecimen, e.g. "M-29834752"  | ||
| + | |  -    | ||
| + | |   | ||
| + | |-  | ||
| + | |PartSublabel  | ||
| + | |nvarchar (50)  | ||
| + | |The label for a part of a specimen, e.g. "cone", or a number attached to a duplicate of a specimen  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |CollectionID  | ||
| + | |int  | ||
| + | |ID of the Collection as stored in table Collection (= foreign key, see table Collection)<br />''Preset value: -1''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |MaterialCategory  | ||
| + | |nvarchar (50)  | ||
| + | |Material category of specimen. Examples: 'herbarium sheets', 'drawings', 'microscopic slides' etc. (= foreign key, see table CollMaterialCategory_Enum)<br />''DefaultValue: N'specimen'''<br />''Preset value: specimen''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |StorageLocation  | ||
| + | |nvarchar (255)  | ||
| + | |A code identifying the place where the specimen is stored within the collection. Frequently the accepted scientific name is used as storage location code.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Stock  | ||
| + | |float  | ||
| + | |Number of stock units if the specimen is stored in separated units e.g. several boxes or vessels (max. 255)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes concerning the storage of the sample  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
|RowGUID  | |RowGUID  | ||
|uniqueidentifier  | |uniqueidentifier  | ||
|<br />''DefaultValue: newsequentialid()''  | |<br />''DefaultValue: newsequentialid()''  | ||
|R  | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |<u>SpecimenPartID</u>  | ||
| + | |int  | ||
| + | |ID of the collection specimen part (= part of Primary key).   | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |StorageContainer  | ||
| + | |nvarchar (500)  | ||
| + | |The container in which the part is stored  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |StockUnit  | ||
| + | |nvarchar (50)  | ||
| + | |If empty the stock is given as a count, else it contains the unit in which stock is expressed, e.g. µl, ml, kg etc.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of the person or institution responsible for the preparation  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |URI of the person or institution responsible for the preparation (= foreign key) as stored in the module DiversityAgents  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DataWithholdingReason  | ||
| + | |nvarchar (255)  | ||
| + | |If the specimen part is withhold, the reason for withholding the data, otherwise null.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionSpecimenProcessing===  | ||
| + | The processing that was applied to a collection specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>ProcessingDate</u>  | ||
| + | |datetime  | ||
| + | |Date and time of the start of the processing<br />''DefaultValue: getdate()''  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |ProcessingID  | ||
| + | |int  | ||
| + | |ID of the processing method. Refers to ProcessingID in table Processing (foreign key)<br />''DefaultValue: (1)''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Protocoll  | ||
| + | |nvarchar (100)  | ||
| + | |The label of the processing protocoll  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |SpecimenPartID  | ||
| + | |int  | ||
| + | |Optional: If the dataset is related to a part of a specimen, the ID of a related part (= foreign key, see table CollectionSpecimenPart)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ProcessingDuration  | ||
| + | |varchar (50)  | ||
| + | |The duration of the processing including the unit (e.g. 5 min) or the end of the processing starting at the processingDate (e.g. 23.05.2008)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of the person or institution responsible for the determination  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about the processing  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ToolUsage  | ||
| + | |xml (MAX)  | ||
| + | |The tools used for the processing and their usage or settings.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionSpecimenRelation===  | ||
| + | The relations of a collection specimen to other collection specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Unique reference ID for the collection specimen record (primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>RelatedSpecimenURI</u>  | ||
| + | |varchar (255)  | ||
| + | |URI of the related specimen  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |RelatedSpecimenDisplayText  | ||
| + | |varchar (255)  | ||
| + | |The name of a related specimen as shown e.g. in a user interface  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RelationType  | ||
| + | |nvarchar (50)  | ||
| + | |Type of the relation between the specimen (= foreign key, see table CollRelationType_Enum)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RelatedSpecimenCollectionID  | ||
| + | |int  | ||
| + | |ID of the Collection as stored in table Collection (= foreign key, see table Collection)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RelatedSpecimenDescription  | ||
| + | |nvarchar (MAX)  | ||
| + | |Description of the related specimen  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes on the relation to the specimen  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |IsInternalRelationCache  | ||
| + | |bit  | ||
| + | |If the relation represents a connection between specimen in this database<br />''DefaultValue: (1)''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionSpecimenTransaction===  | ||
| + | The transactions in which a specimen was involved  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>TransactionID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the transaction (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>SpecimenPartID</u>  | ||
| + | |int  | ||
| + | |Optional: If the dataset is related to a part of a specimen, the ID of a related part (= foreign key, see table CollectionSpecimenPart)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |IsOnLoan  | ||
| + | |bit  | ||
| + | |True if a specimen is on loan  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Name of user who first entered (typed or imported) the data.<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedWhen  | ||
| + | |smalldatetime  | ||
| + | |Date and time when the data were first entered (typed or imported) into this database.<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Name of user who last updated the data.<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |smalldatetime  | ||
| + | |Date and time when the data were last updated.<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |AccessionNumber  | ||
| + | |nvarchar (255)  | ||
| + | |Accession number that has been assigen to the part of the specimen e.g. in connection with a former inventory.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: CollectionUser===  | ||
| + | Users of collections within DiversityCollection  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>LoginName</u>  | ||
| + | |nvarchar (50)  | ||
| + | |A login name which the user uses  for access the DivesityWorkbench, Microsoft domains, etc..  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionID</u>  | ||
| + | |int  | ||
| + | |ID for the collection for the User has access to administrate the transaction.  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: ExternalRequestCredentials ===  | ||
| + | External requestors with the permission to create a request for a loan  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>RequesterLogin</u>  | ||
| + | |nvarchar (50)  | ||
| + | |Login of the person responsible for the loan requests in the collection  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>AdministratingCollectionID</u>  | ||
| + | |int  | ||
| + | |The ID of the collection which gets the request for a loan. Corresponds to the AdministratingCollectionID in table Transaction.  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |RequestingCollectionID  | ||
| + | |int  | ||
| + | |The ID of the collection for which the requester has the permission to create a request  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: Identification===  | ||
| + | The identifications of the organisms within a specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>IdentificationUnitID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of IdentficationUnit (= foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>IdentificationSequence</u>  | ||
| + | |smallint  | ||
| + | |The sequence of the identifications. The last identification (having the highest sequence) is regarded as valid<br />''DefaultValue: (1)''<br />''Preset value: 1''  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |IdentificationDate  | ||
| + | |datetime  | ||
| + | |The date of the identification calculated from the entries in IdentificationDay, -Month and -Year  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |IdentificationDay  | ||
| + | |tinyint  | ||
| + | |The day of the identification event<br />''Preset value: DAY(getdate())''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |IdentificationMonth  | ||
| + | |tinyint  | ||
| + | |The month of the identification event<br />''Preset value: MONTH(getdate())''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |IdentificationYear  | ||
| + | |smallint  | ||
| + | |The year of the identification event. The year may be empty if only the day or month are known.<br />''Preset value: YEAR(getdate())''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |IdentificationDateSupplement  | ||
| + | |nvarchar (255)  | ||
| + | |Verbal or additional identification date information, e.g. 'end of summer 1985', 'first quarter', '1888-1892'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |IdentificationDateCategory  | ||
| + | |nvarchar (50)  | ||
| + | |Category of the date of the identification e.g. "system", "estimated"  (= foreign key, see  in table CollDateCategory_Enum)<br />''Preset value: 'actual'''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |VernacularTerm  | ||
| + | |nvarchar (255)  | ||
| + | |Name or term other than a taxonomic (= scientific) name, e.g. 'pine', 'limestone', 'conifer', 'hardwood'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |TaxonomicName  | ||
| + | |nvarchar (255)  | ||
| + | |Valid name of the species (including the taxonomic author where available). Example: 'Rosa canina L.'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |NameURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the taxonomic name, e.g. as provided by the module DiversityTaxonNames.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |IdentificationCategory  | ||
| + | |nvarchar (50)  | ||
| + | |Category of the identification e.g. 'determination', 'confirmation', 'absence'  (= foreign key, see table CollIdentificationCategory_Enum)<br />''Preset value: 'determination'''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |IdentificationQualifier  | ||
| + | |nvarchar (50)  | ||
| + | |Qualification of the identification e.g. "cf."," aff.", "sp. nov."  (= foreign key, see table CollIdentificationQualifier_Enum)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |TypeStatus  | ||
| + | |nvarchar (50)  | ||
| + | |If identification unit is type of a taxonomic name: holotype, syntype, etc. (= foreign key, see table CollTypeStatus_Enum)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |TypeNotes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes concerning the typification of this specimen  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceTitle  | ||
| + | |nvarchar (255)  | ||
| + | |Publications or authoritative opinions of scientist used during the identification process. Example: enter 'Schmeil-Fitschen 1995' if this field flora was used.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the reference e.g. as provided by the module DiversityReferences  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |User defined notes, e.g. the reason for a re-determination / change of the name, etc.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of the person or institution responsible for the determination<br />''Preset value: dbo.CurrentUserName()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents.<br />''Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |Date and time when the dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Login of the user who created the dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |Date and time when the dataset was changed<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Login of the user who changed the dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ReferenceDetails  | ||
| + | |nvarchar (50)  | ||
| + | |The exact location within the reference, e.g. pages, plates  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: IdentificationUnit===  | ||
| + | Organism that is present in or on a collection specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>IdentificationUnitID</u>  | ||
| + | |int  | ||
| + | |ID of the identification unit (= part of Primary key). Usually one of possibly several organisms present on the collection specimen. Example: parasite with hyperparasite on plant leaf = 3 units,  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFF00;"  | ||
| + | |LastIdentificationCache  | ||
| + | |nvarchar (255)  | ||
| + | |The last identification as entered in table Identification  | ||
| + | |R  | ||
| + | |   | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |FamilyCache  | ||
| + | |nvarchar (255)  | ||
| + | |A cached value of the family of the taxon of the last identification. Can be set by the editor if NameURI  in table Identification is NULL, otherwise set by the system.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |OrderCache  | ||
| + | |nvarchar (255)  | ||
| + | |A cached value of the order of the taxon of the last identification. Can be set by the editor if NameURI in table Identification is NULL, otherwise set by the system.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |TaxonomicGroup  | ||
| + | |nvarchar (50)  | ||
| + | |Taxonomic group the organism identified by this unit belongs to. Groups listed in table CollTaxonomicGroup_Enum  (= foreign key)  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |OnlyObserved  | ||
| + | |bit  | ||
| + | |True if the organism was only observed rather than collected. It is therefore not present on the preserved specimen. Example: Tree under which the collected mycorrhizal fungus grew.<br />''DefaultValue: (0)''<br />''Preset value: True''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |RelatedUnitID  | ||
| + | |int  | ||
| + | |The IdentificationUnitID of the organism or substrate, on which this organism is growing (= foreign key)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |RelationType  | ||
| + | |nvarchar (50)  | ||
| + | |The relation of an unit to its substrate, e.g. parasitism, symbiosis etc. as stored in CollRelationType_Enum  (= foreign key)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ColonisedSubstratePart  | ||
| + | |nvarchar (255)  | ||
| + | |If a substrate association exists: part of the substrate that is affected in the interaction (e.g. 'leaves' if a fungus is growing on the leaves of an infected plant)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |LifeStage  | ||
| + | |nvarchar (255)  | ||
| + | |Examples: 'II, III' for spore generations of rusts or 'seed', 'seedling' etc. for higher plants  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Gender  | ||
| + | |nvarchar (50)  | ||
| + | |The gender of the identification unit, e.g. 'male'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |NumberOfUnits  | ||
| + | |smallint  | ||
| + | |The number of units of this identification unit, e.g. 400 beetle in a bottle  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ExsiccataNumber  | ||
| + | |nvarchar (50)  | ||
| + | |If specimen is an exsiccata: Number of current specimen within the exsiccata series  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ExsiccataIdentification  | ||
| + | |smallint  | ||
| + | |Refers to the IdentificationSequence in Identification (= foreign key). The name under which the collection specimen resp. this unit is published within an exsiccata.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |UnitIdentifier  | ||
| + | |nvarchar (50)  | ||
| + | |An identifier for the identification of the unit e.g. a number painted on a tree within an experimental plot  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |UnitDescription  | ||
| + | |nvarchar (50)  | ||
| + | |Description of the unit, esp. if not an organism but parts or remnants of it were present or observed, e.g. a nest of an insect or a song of a bird  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Circumstances  | ||
| + | |nvarchar (50)  | ||
| + | |Circumstances of the occurence of the organism  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |DisplayOrder  | ||
| + | |smallint  | ||
| + | |The sequence in which the units within this specimen will appear on e.g. a label where the first unit may be printed in the header and others  in the text below. 0 means the unit should not appear on a label.<br />''DefaultValue: (1)''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Further information on the identification unit or interaction, e. g. infection symptoms like 'producing galls'  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |HierarchyCache  | ||
| + | |nvarchar (500)  | ||
| + | |   | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ParentUnitID  | ||
| + | |int  | ||
| + | |The IdentificationUnitID of a parent organism of which this organism is a child of (= foreign key).  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: IdentificationUnitAnalysis===  | ||
| + | The analysis values taken from an identification unit  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>IdentificationUnitID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of IdentficationUnit (= foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>AnalysisID</u>  | ||
| + | |int  | ||
| + | |Analysis ID, foreign key of table Analysis.  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>AnalysisNumber</u>  | ||
| + | |nvarchar (50)  | ||
| + | |Number of the analysis<br />''Preset value: 1''  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |AnalysisResult  | ||
| + | |nvarchar (MAX)  | ||
| + | |The result of the analysis  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |ExternalAnalysisURI  | ||
| + | |varchar (255)  | ||
| + | |An URI for an analysis as defined in an external datasoure  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of the person or institution responsible for the determination<br />''DefaultValue: [dbo].[CurrentUserName]()''<br />''Preset value: dbo.CurrentUserName()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents.<br />''Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |AnalysisDate  | ||
| + | |nvarchar (50)  | ||
| + | |The date of the analysis<br />''Preset value: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |SpecimenPartID  | ||
| + | |int  | ||
| + | |ID of the part of a specimen (optional, Foreign key) if the analysis was done with a part of the specimen (see table CollectionSpecimenPart).  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes concerning this analysis  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ToolUsage  | ||
| + | |xml (MAX)  | ||
| + | |The tools used for the analysis and their usage or settings.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: IdentificationUnitGeoAnalysis===  | ||
| + | The geographical position or region of an organism at a certain time  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFFFFF;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFFFFF;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>IdentificationUnitID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of IdentficationUnit (= foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |<u>AnalysisDate</u>  | ||
| + | |datetime  | ||
| + | |The date of the analysis  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |Geography  | ||
| + | |geography  | ||
| + | |The geography of the identification unit according to WGS84, e.g. a point (latitide, longitude and altitude)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Geometry  | ||
| + | |geometry (MAX)  | ||
| + | |The geometry of the identifiction unit, e.g. an area  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFFFFF;"  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of the person or institution responsible for the determination  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#00FFFF;"  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#D3D3D3;"  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes concerning this analysis  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-style="background:#FFC0CB;"  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: IdentificationUnitInPart===  | ||
| + | The list of the organisms that are found in a part of the specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>CollectionSpecimenID</u>  | ||
| + | |int  | ||
| + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>IdentificationUnitID</u>  | ||
| + | |int  | ||
| + | |ID of the identification unit (= part of Primary key). Usually one of possibly several organisms present on the collection specimen. Example: parasite with hyperparasite on plant leaf = 3 units,  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>SpecimenPartID</u>  | ||
| + | |int  | ||
| + | |ID of the part of a specimen (optional, Foreign key) if the identification unit is located on a part of the specimen (see table CollectionSpecimenPart).  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |DisplayOrder  | ||
| + | |smallint  | ||
| + | |The sequence in which the units within this part will appear on e.g. a label where the first unit may be printed in the header and others  in the text below. 0 means the unit should not appear on a label.<br />''DefaultValue: (1)''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Description  | ||
| + | |nvarchar (500)  | ||
| + | |A description of the unit, esp. if not a whole unit but e.g. parts of it are stored in the collection, e.g. a nest of a bird  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Name of user who first entered (typed or imported) the data.<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogInsertedWhen  | ||
| + | |smalldatetime  | ||
| + | |Date and time when the data were first entered (typed or imported) into this database.<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Name of user who last updated the data.<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |smalldatetime  | ||
| + | |Date and time when the data were last updated.<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: LocalisationSystem===  | ||
| + | The geographic localisation systems, e.g. coordinates  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFC0CB;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFC0CB;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>LocalisationSystemID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the localisation system (= Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |LocalisationSystemParentID  | ||
| + | |int  | ||
| + | |LocalisationSystemID of the superior LocalisationSystem  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LocalisationSystemName  | ||
| + | |nvarchar (100)  | ||
| + | |Name of the system used for the determination of the place of the collection, e. g. Gauss-Krüger, MTB, GIS  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DefaultAccuracyOfLocalisation  | ||
| + | |nvarchar (50)  | ||
| + | |The default for the accuracy of values that can be reached with this method  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DefaultMeasurementUnit  | ||
| + | |nvarchar (50)  | ||
| + | |The default measurement unit for the localisation system, e.g. m, geograpic coordinates  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ParsingMethodName  | ||
| + | |nvarchar (50)  | ||
| + | |Internal value, specifying a programming method used for parsing text in fields Location1/Location2 in table CollectionLocalisation  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayText  | ||
| + | |nvarchar (50)  | ||
| + | |Short abbreviated description of the localisation system as displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayEnable  | ||
| + | |bit  | ||
| + | |Specifies if this item is enabled to be used within the database. LocalisationSystems can be disabled to avoid seeing them, but to keep the definition for the future.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayOrder  | ||
| + | |smallint  | ||
| + | |The order in which the entries are displayed. The order may be changed at any time, but all values must be unique.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Description  | ||
| + | |nvarchar (255)  | ||
| + | |Description of the localisation method  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayTextLocation1  | ||
| + | |nvarchar (50)  | ||
| + | |Short abbreviated description of the attribute Location1 in the table CollectionGeography as displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DescriptionLocation1  | ||
| + | |nvarchar (255)  | ||
| + | |Description of the attribute Location1 in the table CollectionGeography as displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayTextLocation2  | ||
| + | |nvarchar (50)  | ||
| + | |Short abbreviated description of the attribute Location2 in the table CollectionGeography as displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DescriptionLocation2  | ||
| + | |nvarchar (255)  | ||
| + | |Description of the attribute Location2 in the table CollectionGeography as displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: Processing===  | ||
| + | The processings of the specimen  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>ProcessingID</u>  | ||
| + | |int  | ||
| + | |ID of the processing (Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |ProcessingParentID  | ||
| + | |int  | ||
| + | |The ID of the superior type of the processing  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayText  | ||
| + | |nvarchar (50)  | ||
| + | |The display text of the processing as shown e.g. in a user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Description  | ||
| + | |nvarchar (MAX)  | ||
| + | |Description of the processing  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Notes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Notes about the processing  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ProcessingURI  | ||
| + | |varchar (255)  | ||
| + | |An URI for a processing as defined in an external datasource  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |OnlyHierarchy  | ||
| + | |bit  | ||
| + | |If the entry is only used for the hierarchical arrangement of the entries<br />''DefaultValue: (0)''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: ProcessingMaterialCategory===  | ||
| + | The processings that are possible for a certain material category  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>ProcessingID</u>  | ||
| + | |int  | ||
| + | |ID of the processing. Refers to ProcessingID in table Processing (foreign key)<br />''DefaultValue: (1)''  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>MaterialCategory</u>  | ||
| + | |nvarchar (50)  | ||
| + | |Material category of specimen. Examples: 'herbarium sheets', 'drawings', 'microscopic slides' etc.<br />''DefaultValue: N'specimen'''  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: ProjectAnalysis===  | ||
| + | The types of the analysis that are available for a project  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFC0CB;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFC0CB;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>AnalysisID</u>  | ||
| + | |int  | ||
| + | |ID of the analysis (Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>ProjectID</u>  | ||
| + | |int  | ||
| + | |ID of the project to which the specimen belongs (Projects are defined in DiversityProjects)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: ProjectProcessing===  | ||
| + | The types of processing available within a project  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>ProcessingID</u>  | ||
| + | |int  | ||
| + | |ID of the Processing (Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>ProjectID</u>  | ||
| + | |int  | ||
| + | |ID of the project to which the specimen belongs (Projects are defined in DiversityProjects)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: ProjectProxy===  | ||
| + | The projects as stored in the module DiversityProjects  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>ProjectID</u>  | ||
| + | |int  | ||
| + | |ID of the project to which the specimen belongs (Projects are defined in DiversityProjects)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |Project  | ||
| + | |nvarchar (50)  | ||
| + | |The name or title of the project as shown in a user interface  (Projects are defined in DiversityProjects)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ImageDescriptionTemplate  | ||
| + | |xml (MAX)  | ||
| + | |Template for the description of images  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ProjectURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the project, e.g. as provided by the module DiversityProjects.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: ProjectUser===  | ||
| + | The projects that a user can access  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>LoginName</u>  | ||
| + | |nvarchar (50)  | ||
| + | |A login name which the user uses  for access the DivesityWorkbench, Microsoft domains, etc..  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>ProjectID</u>  | ||
| + | |int  | ||
| + | |ID of the project to which the specimen belongs (Projects are defined in DiversityProjects)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ReadOnly  | ||
| + | |bit  | ||
| + | |If the user has only read access to data of this project<br />''DefaultValue: (0)''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: Property===  | ||
| + | The list of the properties that can be specified for the collection site  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#FFC0CB;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#FFC0CB;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>PropertyID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the property (= Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |PropertyParentID  | ||
| + | |int  | ||
| + | |PropertyID of the superior Property  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |PropertyName  | ||
| + | |nvarchar (100)  | ||
| + | |Name of the system used for the characterisation of the collection site, e. g. Lithostratigraphy  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DefaultAccuracyOfProperty  | ||
| + | |nvarchar (50)  | ||
| + | |The default for the accuracy of values that can be reached with this method  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DefaultMeasurementUnit  | ||
| + | |nvarchar (50)  | ||
| + | |The default measurement unit for the characterisation system, e.g. pH  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ParsingMethodName  | ||
| + | |nvarchar (50)  | ||
| + | |Internal value, specifying a programming method used for parsing the contents in table CollectionEventProperty  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayText  | ||
| + | |nvarchar (50)  | ||
| + | |Short abbreviated description of the characterisation system as displayed in the user interface  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayEnabled  | ||
| + | |bit  | ||
| + | |Specifies if this item is enabled to be used within the database. Properties can be disabled to avoid seeing them, but to keep the definition for the future.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |DisplayOrder  | ||
| + | |smallint  | ||
| + | |The order in which the entries are displayed. The order may be changed at any time, but all values must be unique.  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Description  | ||
| + | |nvarchar (255)  | ||
| + | |Description of the characterisation method  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: Transaction===  | ||
| + | Transactions like loan, borrow, gift, exchange etc. of specimen if they are e.g. permanently or temporary transfered from one collection to another  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>TransactionID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the transaction (= Primary key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |ParentTransactionID  | ||
| + | |int  | ||
| + | |The ID of a preceeding transaction of a superior transaction if transactions are organized in a hierarchy  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |TransactionType  | ||
| + | |nvarchar (50)  | ||
| + | |Type of the transaction e.g. gift in or out, exchange in or out, purchase in or out<br />''DefaultValue: N'exchange'''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |TransactionTitle  | ||
| + | |nvarchar (200)  | ||
| + | |The title of the transaction as e.g. shown in an user interface  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ReportingCategory  | ||
| + | |nvarchar (50)  | ||
| + | |A group defined for the transaction, e. g. a taxonomic group as used for exchange balancing  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |AdministratingCollectionID  | ||
| + | |int  | ||
| + | |ID of the collection thas is responsible for the administration of the transaction.  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |MaterialDescription  | ||
| + | |nvarchar (MAX)  | ||
| + | |ID of the project to which the transaction belongs (Projects are defined in DiversityProjects)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |MaterialCategory  | ||
| + | |nvarchar (50)  | ||
| + | |Material category of specimen. Examples: 'herbarium sheets', 'drawings', 'microscopic slides' etc.<br />''DefaultValue: N'specimen'''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |MaterialCollectors  | ||
| + | |nvarchar (MAX)  | ||
| + | |The collectors of the material  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |FromCollectionID  | ||
| + | |int  | ||
| + | |The ID of the collection from which the specimen were transfered, e.g. the donating collection of a gift  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |FromTransactionPartnerName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of  the person or institution  from which the specimen were transfered, e.g. the donator of a gift  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |FromTransactionPartnerAgentURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the transaction partner (see e.g. module DiversityAgents)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |FromTransactionNumber  | ||
| + | |nvarchar (50)  | ||
| + | |Number or code by which a transaction may be recorded by the administration of the source of the specimen, e.g. the donating collection of a gift  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ToCollectionID  | ||
| + | |int  | ||
| + | |The ID of the collection to which the specimen were transfered, e.g. the receiver of a gift  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ToTransactionPartnerName  | ||
| + | |nvarchar (255)  | ||
| + | |Name of  the person or institution  to which the specimen were transfered, e.g. the receiver of a gift  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ToTransactionPartnerAgentURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the transaction partner (see e.g. module DiversityAgents)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ToTransactionNumber  | ||
| + | |nvarchar (50)  | ||
| + | |Number or code by which a transaction may be recorded by the administration of the destination of the specimen, e.g. the receiving collection of a gift  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |NumberOfUnits  | ||
| + | |smallint  | ||
| + | |The number of units that were (initially) included in the transaction  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Investigator  | ||
| + | |nvarchar (50)  | ||
| + | |The investigator for whose study a transacted material was sent  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |TransactionComment  | ||
| + | |nvarchar (MAX)  | ||
| + | |Comments about the exchanged material addressed to the transaction partner  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |BeginDate  | ||
| + | |datetime  | ||
| + | |Date when the transaction started  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |AgreedEndDate  | ||
| + | |datetime  | ||
| + | |End of the transaction period, e.g. if the time for borrowing the specimen is restricted  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ActualEndDate  | ||
| + | |datetime  | ||
| + | |Actual end of the transaction when e.g. the borrowed specimen were returned to the owner  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |InternalNotes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Internal notes about this transaction, not to be published e.g. on a web page  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ResponsibleName  | ||
| + | |nvarchar (255)  | ||
| + | |The person responsible for this transaction  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |ResponsibleAgentURI  | ||
| + | |varchar (255)  | ||
| + | |The URI of the person, team or organisation responsible for the data (see e.g. module DiversityAgents)  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: TransactionDocument===  | ||
| + | The history of transactions resp. the documents connected to the transactions  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>TransactionID</u>  | ||
| + | |int  | ||
| + | |Unique ID for the Transaction, refers to table Transaction  (= Part of primary key and foreign key)  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |<u>Date</u>  | ||
| + | |datetime  | ||
| + | |The date of the event of a transaction  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |TransactionText  | ||
| + | |nvarchar (MAX)  | ||
| + | |The text of a transaction document  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |TransactionDocument  | ||
| + | |image (2147483647)  | ||
| + | |A scanned document connected to this transaction event  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |InternalNotes  | ||
| + | |nvarchar (MAX)  | ||
| + | |Internal notes about this transaction event  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedWhen  | ||
| + | |datetime  | ||
| + | |The time when this dataset was created<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogCreatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who created this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedWhen  | ||
| + | |datetime  | ||
| + | |The last time when this dataset was updated<br />''DefaultValue: getdate()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |LogUpdatedBy  | ||
| + | |nvarchar (50)  | ||
| + | |Who was the last to update this dataset<br />''DefaultValue: user_name()''  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |}  | ||
| + | |||
| + | |||
| + | |||
| + | <u>'''Relations to other tables'''</u>  | ||
| + | |||
| + | {|  | ||
| + | |'''Columns'''  | ||
| + | |'''Related table'''  | ||
| + | |'''Columns in related table'''  | ||
| + | |'''Update rule'''  | ||
| + | |'''Delete rule'''  | ||
| + | |-  | ||
| + | |AnalysisParentID  | ||
| + | |Analysis  | ||
| + | |AnalysisID  | ||
| + | |NO ACTION  | ||
| + | |NO ACTION  | ||
| + | |-  | ||
| + | |}  | ||
| + | |||
| + | ===Table: UserProxy===  | ||
| + | The user as stored in the module DiversityUsers  | ||
| + | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:#D3D3D3;border:1px #AAA solid; border-collapse:collapse; empty-cells:show;"  | ||
| + | |-style="text-align:left; background:#D3D3D3;"  | ||
| + | !Column  | ||
| + | !Data type  | ||
| + | !Description  | ||
| + | !Requ.  | ||
| + | !Ind.  | ||
| + | |-  | ||
| + | |<u>LoginName</u>  | ||
| + | |nvarchar (50)  | ||
| + | |A login name which the user uses  for access the DivesityWorkbench, Microsoft domains, etc..  | ||
| + | |R  | ||
| + | |U  | ||
| + | |-  | ||
| + | |CombinedNameCache  | ||
| + | |nvarchar (255)  | ||
| + | |The short name of the user, e.g. P. Smith  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |UserURI  | ||
| + | |varchar (255)  | ||
| + | |URI of a user in a remote module, e.g. refering to UserInfo.UserID in database DiversityUsers  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |RowGUID  | ||
| + | |uniqueidentifier  | ||
| + | |<br />''DefaultValue: newsequentialid()''  | ||
| + | |R  | ||
| + | |  -    | ||
| + | |-  | ||
| + | |AgentURI  | ||
| + | |varchar (255)  | ||
| + | |   | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Queries  | ||
| + | |xml (MAX)  | ||
| + | |Queries created by the user  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |Settings  | ||
| + | |xml (MAX)  | ||
| + | |The settings for the user  | ||
| + | |  -    | ||
| + | |  -    | ||
| + | |-  | ||
| + | |CurrentProjectID  | ||
| + | |int  | ||
| + | |The current project selected by the user  | ||
| + | |  -    | ||
|  -    | |  -    | ||
|}  | |}  | ||
Latest revision as of 10:41, 12 September 2013
Color code for accessibility
| no_restrictions | there are no restrictions to access this entity | 
| read_only | the access is limited to read only | 
| inapplicable | the entity is inapplicable | 
Color code for determination
| user_defined | the value can be defined by the user | 
| service_link | the value represents a link to a module | 
| calculated | the value is calculated by the system e.g. from other entries | 
Table: Analysis
Analysis types used within the database
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| AnalysisID | int | ID of the analysis (Primary key) | R | U | 
| AnalysisParentID | int | Analysis ID of the parent analysis if it belongs to a certain type documented in this table | - | - | 
| DisplayText | nvarchar (50) | Name of the analysis as e.g. shown in user interface | - | - | 
| Description | nvarchar (MAX) | Description of the analysis | - | - | 
| MeasurementUnit | nvarchar (50) | The measurement unit used for the analysis, e.g. mm, µmol, kg | - | - | 
| Notes | nvarchar (MAX) | Notes concerning this analysis | - | - | 
| AnalysisURI | varchar (255) | URI referring to an external documentation of the analysis | - | - | 
| OnlyHierarchy | bit | If the entry is only used for the hierarchical arrangement of the entries DefaultValue: (0)  | 
- | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: AnalysisResult
Value lists for analysis types with predefined values, e.g. "0, 1, 2, 3, ..." for Red list category. Includes description etc. for the values in the list.
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| AnalysisID | int | ID of the analysis (Primary key) | R | U | 
| AnalysisResult | nvarchar (255) | The categorized value of the analysis | R | U | 
| Description | nvarchar (500) | Description of enumerated object, displayed in the user interface | - | - | 
| DisplayText | nvarchar (50) | Short abbreviated description of the object, displayed in the user interface | - | - | 
| DisplayOrder | smallint | The order in which the entries are displayed. The order may be changed at any time, but all values must be unique. | - | - | 
| Notes | nvarchar (500) | Internal development notes about usage, definition, etc. of an enumerated object | - | - | 
| LogInsertedBy | nvarchar (50) | Name of user who first entered (typed or imported) the data. DefaultValue: user_name()  | 
- | - | 
| LogInsertedWhen | smalldatetime | Date and time when the data were first entered (typed or imported) into this database. DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Name of user who last updated the data. DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | smalldatetime | Date and time when the data were last updated. DefaultValue: getdate()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: AnalysisTaxonomicGroup
The types of analysis that are available for a taxonomic group
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| AnalysisID | int | Analysis ID, foreign key of table Analysis. | R | U | 
| TaxonomicGroup | nvarchar (50) | Taxonomic group the organism identified by this unit belongs to. Groups listed in table CollTaxonomicGroup_Enum (= foreign key) | R | U | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: Collection
The collections where the specimen are stored
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionID | int | Unique reference ID for the collection (= Primary key) | R | U | 
| CollectionParentID | int | For a subcollection within another collection: CollectionID of the collection to which the subcollection belongs. Empty for an independent collection | - | - | 
| CollectionName | nvarchar (255) | Name of the collection (e. g. 'Herbarium Kew') or subcollection (e. g. 'cone collection', 'alcohol preservations'). This text should be kept relatively short, use Description for additional information | R | - | 
| CollectionAcronym | nvarchar (10) | A unique code for the Collection, e.g. the herbarium code from Index Herbariorum | - | - | 
| AdministrativeContactName | nvarchar (500) | The name of the person or organisation responsible for this collection | - | - | 
| AdministrativeContactAgentURI | varchar (255) | The URI of the person or organisation responsible for the Collection e.g. as provided by the module DiversityAgents | - | - | 
| Description | nvarchar (MAX) | A short description of the collection | - | - | 
| Location | nvarchar (255) | Optionally location of the collection, e.g. the number within a file system or a description of the room(s) housing the (sub)collection | - | - | 
| CollectionOwner | nvarchar (255) | The owner of the collection as e.g. printed on a label, should be given if CollectionParentID is null | - | - | 
| DisplayOrder | smallint | The order in which the entries are displayed. The order may be changed at any time, but all values must be unique. | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionAgent
The collector(s) of collection specimens
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to ID of CollectionEvent (= Foreign key and part of primary key) | R | U | 
| CollectorsName | nvarchar (255) | Name of the Collector Preset value: SELECT CombinedNameCache FROM UserProxy WHERE LoginName = USER_NAME()  | 
R | U | 
| CollectorsAgentURI | varchar (255) | The URI of the Agent, e.g. as stored within the module DiversityAgents Preset value: SELECT UserURI FROM UserProxy WHERE LoginName = USER_NAME()  | 
- | - | 
| CollectorsSequence | datetime | The order of collectors in a team. Automatically set by the database system DefaultValue: getdate() Preset value: getdate()  | 
- | U | 
| CollectorsNumber | nvarchar (50) | Number assigned to a specimen or a batch of specimens by the collector during the collection event (= 'field number') Preset value: Übername der AccessionNumber  | 
- | - | 
| Notes | nvarchar (MAX) | Notes about the collector, e.g. if the name is uncertain | - | - | 
| DataWithholdingReason | nvarchar (255) | If the dataset is withhold, the reason for withholding the data, otherwise null | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionEvent
The collection event where the specimen was collected
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionEventID | int | Unique ID for the collection event (= Primary key) | R | U | 
| Version | int | The version of the dataset. Automatically set by the system. DefaultValue: (1)  | 
R | - | 
| SeriesID | int | The ID of the related expedition. Relates to the PK of the table CollectionExpedition (Foreign key). | - | - | 
| CollectorsEventNumber | nvarchar (50) | Number assigned to a collection event by the collector (= 'field number') | - | - | 
| CollectionDate | datetime | The date of the event calulated from the entries in CollectionDay, -Month and -Year. Preset value: getdate()  | 
- | - | 
| CollectionDay | tinyint | The day of the date of the event or when the collection event started Preset value: DAY(getdate())  | 
- | - | 
| CollectionMonth | tinyint | The month of the date  of the event or when the collection event started Preset value: MONTH(getdate())  | 
- | - | 
| CollectionYear | smallint | The year of the date  of the event or when the collection event started Preset value: YEAR(getdate())  | 
- | - | 
| CollectionDateSupplement | nvarchar (100) | Verbal or additional collection date information, e.g. 'end of summer 1985', 'first quarter', '1888-1892'. The end date if the collection event comprises a period. The time of the event if necessary. | - | - | 
| CollectionDateCategory | nvarchar (50) | Category of the date of the identification e.g. "system", "estimated"  (= foreign key, see  in table CollEventDateCategory_Enum) Preset value: 'actual'  | 
- | - | 
| CollectionTime | varchar (50) | The time of the event or when the collection event started | - | - | 
| CollectionTimeSpan | varchar (50) | The time span e.g. in seconds of the collection event | - | - | 
| LocalityDescription | nvarchar (MAX) | Locality description of the locality, exactly as written on the original label (i.e. without corrections during data entry) | - | - | 
| HabitatDescription | nvarchar (MAX) | Geo-ecological description of the locality, exactly as written on the original label (i.e. without corrections during data entry) | - | - | 
| ReferenceTitle | nvarchar (255) | The title of the publication where the collection event was published. Note this is only a cached value where ReferenceURI is present | - | - | 
| ReferenceURI | varchar (255) | URI (e.g. LSID) of the source publication where the collection event is published, may e.g. refer to the module DiversityReferences | - | - | 
| CollectingMethod | nvarchar (MAX) | Description of the method used for collecting the samples, e.g. traps, moist chambers, drag net | - | - | 
| Notes | nvarchar (MAX) | Notes about the collection event | - | - | 
| CountryCache | nvarchar (50) | The country where the collection event took place. Cached value derived from an entry in CollectionEventLocalisation | - | - | 
| DataWithholdingReason | nvarchar (255) | If the dataset is withhold, the reason for withholding the data, otherwise null | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| ReferenceDetails | nvarchar (50) | The exact location within the reference, e.g. pages, plates | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionEventImage
The images showing the site of the collection event or other media like a voice recording
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionEventID | int | Unique ID for the collection event (= Primary key) | R | U | 
| URI | varchar (255) | The complete URI address of the image. This is only a cached value if ResourceID is available referring to the module DiversityResources | R | U | 
| ResourceURI | varchar (255) | The URI of the resource (e.g. see module DiversityResources) | - | - | 
| ImageType | nvarchar (50) | Type of the image, e.g. map Preset value: 'photography'  | 
- | - | 
| Notes | nvarchar (MAX) | Notes to this image concerning the collection event | - | - | 
| DataWithholdingReason | nvarchar (255) | If the dataset is withhold, the reason for withholding the data, otherwise null | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| Description | xml (MAX) | Description of the image | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionEventLocalisation
The geographic localisation of a collection event
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionEventID | int | Refers to the ID of CollectionEvent (= Foreign key and part of primary key) | R | U | 
| LocalisationSystemID | int | Refers to the ID of LocalisationSystem (= Foreign key and part of primary key) | R | U | 
| Location1 | nvarchar (255) | Either a named location selected from a thesaurus (e. g. 'Germany, Bavaria, Kleindingharting') or altitude range or other values (e. g. 100-200 m) | - | - | 
| Location2 | nvarchar (255) | Corresponding value to Location1 e.g. ID or URI of gazetteer or thesaurus | - | - | 
| LocationAccuracy | nvarchar (50) | The accuracy of the determination of this locality | - | - | 
| LocationNotes | nvarchar (MAX) | Notes on the location | - | - | 
| DeterminationDate | smalldatetime | Date of the determination of the geographical localisation Preset value: getdate()  | 
- | - | 
| DistanceToLocation | varchar (50) | Distance from the specified place to the real location of the collection event (m) | - | - | 
| DirectionToLocation | varchar (50) | Direction from the specified place to the real location of the collection event (Degrees rel. to north) | - | - | 
| ResponsibleName | nvarchar (255) | The name of the agent (person or organization) responsible for this entry. Preset value: dbo.CurrentUserName()  | 
- | - | 
| ResponsibleAgentURI | varchar (255) | URI of the person or organisation responsible for the data (see e.g. module DiversityAgents) Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()  | 
- | - | 
| AverageAltitudeCache | float | Calculated altitude as parsed from the location fields | - | - | 
| AverageLatitudeCache | float | Calculated latitude as parsed from the location fields | - | - | 
| AverageLongitudeCache | float | Calculated longitude as parsed from the location fields | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| Geography | geography | The geography of the localisation | - | - | 
| RecordingMethod | nvarchar (500) | The method or device used for the recording of the localisation | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionEventProperty
A property of a collection site, e.g. exposition, slope, vegetation. May refer to Diversity Workbench module DiversityScientificTerms
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionEventID | int | Refers to the ID of CollectionEvent (= Foreign key and part of primary key) | R | U | 
| PropertyID | int | The ID of the descriptor of the collection event, foreign key, see table Descriptor | R | U | 
| DisplayText | nvarchar (255) | The text for the property as shown e.g. in a user interface | - | - | 
| PropertyURI | varchar (255) | URI referring to an external datasource e.g. DiversityTerminology | - | - | 
| PropertyHierarchyCache | nvarchar (MAX) | A cached text of the complete name of the descriptor including superior categories if present | - | - | 
| PropertyValue | nvarchar (255) | The value of a captured feature e.g. temperature, pH, vegetation etc. If there is a range this is the lower or first value | - | - | 
| ResponsibleName | nvarchar (255) | The name of the agent (person or organization) responsible for this entry. Preset value: dbo.CurrentUserName()  | 
- | - | 
| ResponsibleAgentURI | varchar (255) | URI of the person or organisation responsible for the data (see e.g. module DiversityAgents) Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()  | 
- | - | 
| Notes | nvarchar (MAX) | Notes about the property of the colletion site. | - | - | 
| AverageValueCache | float | For numeric values - a cached average value according to the | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionEventSeries
The series within which collection events take place
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| SeriesID | int | Primary key. The ID for this expedition (= Primary key) | R | U | 
| SeriesParentID | int | The ID of the superior expedition | - | - | 
| Description | nvarchar (MAX) | The description of the expedition as it will be printed on e.g. the label | R | - | 
| SeriesCode | nvarchar (50) | The user defined code for an expedition | - | - | 
| Notes | nvarchar (MAX) | Notes about this expedition | - | - | 
| Geography | geography | The geography of the collection event series | - | - | 
| DateStart | datetime | The date and time when the collection event series started Preset value: getdate()  | 
- | - | 
| DateEnd | datetime | The date and time when the collection event series ended | - | - | 
| DateCache | datetime | Obsolete, use fields for start and end of the collection event series instead | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionEventSeriesImage
The images showing the sites of a collection event series or other media like a voice recording
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| SeriesID | int | Unique ID for the collection event series (= Foreign key and part of primary key) | R | U | 
| URI | varchar (255) | The complete URI address of the image. This is only a cached value if ResourceID is available referring to the module DiversityResources | R | U | 
| ResourceURI | varchar (255) | The URI of the resource (e.g. see module DiversityResources) | - | - | 
| ImageType | nvarchar (50) | Type of the image, e.g. map Preset value: 'photography'  | 
- | - | 
| Notes | nvarchar (MAX) | Notes to this image concerning the collection event | - | - | 
| DataWithholdingReason | nvarchar (255) | If the dataset is withhold, the reason for withholding the data, otherwise null | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| Description | xml (MAX) | Description of the image | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionExternalDatasource
CollectionExternalDatasource document the sources of the names.
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| ExternalDatasourceID | int | An ID to identify an external data collection of collection specimen (primary key, the ID has no meaning outside of the DiversityWorkbench system) | R | U | 
| ExternalDatasourceName | nvarchar (255) | The name of the data collection that has been integrated or can be linked to for further analysis | - | - | 
| ExternalDatasourceVersion | nvarchar (255) | The version of this data collection (either official version number, or dates when the collection was integrated) | - | - | 
| Rights | nvarchar (500) | A description of copyright agreements or permission to use data from the external database | - | - | 
| ExternalDatasourceAuthors | nvarchar (200) | The persons or institutions responsible for the external database | - | - | 
| ExternalDatasourceURI | nvarchar (300) | The URI of the database provider resp. the external database | - | - | 
| ExternalDatasourceInstitution | nvarchar (300) | The institution responsible for the external database | - | - | 
| InternalNotes | nvarchar (1500) | Additional notes concerning this data collection | - | - | 
| ExternalAttribute_NameID | nvarchar (255) | The table and field name in the external data collection to which CollectionExternalID refers | - | - | 
| PreferredSequence | tinyint | For selection in e.g. picklists: of several equal names only the name from the source with the lowest preferred sequence will be provided. | - | - | 
| Disabled | bit | If this source should be disabled for selection of names e.g. in picklists | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionImage
The images showing the collection
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionID | int | Refers to the ID of Collection (= Foreign key and part of primary key) | R | U | 
| URI | varchar (255) | The complete URI address of the image. | R | U | 
| ImageType | nvarchar (50) | Type of the image, e.g. label | - | - | 
| Notes | nvarchar (MAX) | Notes about the collection image | - | - | 
| DataWithholdingReason | nvarchar (255) | If the dataset is withhold, the reason for withholding the data, otherwise null | - | - | 
| LogInsertedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogInsertedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| Description | xml (MAX) | Description of the image | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionManager
Collection managers within DiversityCollection, responsible of specimen transactions
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| LoginName | nvarchar (50) | A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. | R | U | 
| AdministratingCollectionID | int | ID for the collection for which the Manager has the right to administrate the transaction. Corresponds to AdministratingCollectionID in table Transaction. | R | U | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionRequester
Requesters within DiversityCollection, responsible of specimen transactions
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| LoginName | nvarchar (50) | A login name which the user uses for access to the DivesityWorkbench, Microsoft domains, etc.. | R | U | 
| AdministratingCollectionID | int | ID for the collection for which the Requester has the right to request specimen. Corresponds to AdministratingCollectionID in table Transaction. | R | U | 
| IncludeSubcollections | bit | If the subcollections of the administrating collection are accessible for a request | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionSpecimen
The data directly attributed to the collection specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Unique reference ID for the collection specimen record (primary key) | R | U | 
| Version | int | The version of the dataset DefaultValue: (1)  | 
R | - | 
| CollectionEventID | int | Refers to the ID of CollectionEvent (= Foreign key and part of primary key) | - | - | 
| CollectionID | int | ID of the Collection as stored in table Collection (= foreign key, see table Collection) | - | - | 
| AccessionNumber | nvarchar (50) | Accession number of the specimen within the collection, e.g. "M-29834752" | - | |
| AccessionDate | datetime | The date of the accession calculated from the entries in AccessionDay, -Month and -Year | - | - | 
| AccessionDay | tinyint | The day of the date when the specimen was acquired in the collection | - | - | 
| AccessionMonth | tinyint | The month of the date when the specimen was acquired in the collection | - | - | 
| AccessionYear | smallint | The year of the date when the specimen was acquired in the collection | - | - | 
| AccessionDateSupplement | nvarchar (255) | Verbal or additional accession date information, e.g. 'end of summer 1985', 'first quarter', '1888-1892' | - | - | 
| AccessionDateCategory | nvarchar (50) | Category of the date of the identification e.g. "system", "estimated" (= foreign key, see in table xColl_DateCategory_Enum) | - | - | 
| DepositorsName | nvarchar (255) | The name of the depositor(s) (person or organization responsible for deposition). Where entire collections are deposited, this should also contain the collection name (e.g. 'Herbarium P. Döbbler') | - | - | 
| DepositorsAgentURI | varchar (255) | The URI of the depositor(s) (person or organization responsible for deposition) | - | - | 
| DepositorsAccessionNumber | nvarchar (50) | Accession number of the specimen within the previous or original collection, e.g. 'D-23948' | - | - | 
| LabelTitle | nvarchar (255) | The title of the label e.g. for printing labels. | - | - | 
| LabelType | nvarchar (50) | Printed, typewritten, typewritten with handwriting added, entirely in handwriting, etc. | - | - | 
| LabelTranscriptionState | nvarchar (50) | The state of the transcription of a label into the database: 'Not started', 'incomplete', 'complete' | - | - | 
| LabelTranscriptionNotes | nvarchar (255) | User defined notes concerning the transcription of the label into the database | - | - | 
| ExsiccataURI | varchar (255) | If specimen is an exsiccata: The URI of the Exsiccata series, e.g. as stored within the DiversityExsiccata module | - | - | 
| ExsiccataAbbreviation | nvarchar (255) | If specimen is an exsiccata: Standard abbreviation of the exsiccata (not necessarily a unique identifier; editors or publication places may change over time) | - | - | 
| OriginalNotes | nvarchar (MAX) | Notes found on the label of the specimen, by the original collector or from a later revision | - | - | 
| AdditionalNotes | nvarchar (MAX) | Additional notes made by the editor of the specimen record, e. g. 'doubtful identification/locality' | - | - | 
| ReferenceTitle | nvarchar (255) | The title of the publication where the specimen was published. Note this is only a cached value where ReferenceURI is present | - | - | 
| ReferenceURI | varchar (255) | URI (e.g. LSID) of reference where specimen is published, e.g. referring to the module DiversityReferences | - | - | 
| Problems | nvarchar (255) | Description of a problem that occurred during data editing. Typically these entries should be deleted after help has been obtained. Do not enter scientific problems here; use AdditionalNotes for such permanent problems! | - | - | 
| DataWithholdingReason | nvarchar (255) | If the dataset is withhold, the reason for withholding the data, otherwise null | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| InternalNotes | nvarchar (MAX) | Internal notes that should not be published e.g. on websites | - | - | 
| ExternalDatasourceID | int | An ID to identify an external data collection of collection specimen (primary key, the ID has no meaning outside of the DiversityWorkbench system) | - | - | 
| ExternalIdentifier | nvarchar (100) | The identifier of the external specimen as defined in the external datasource | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| ReferenceDetails | nvarchar (50) | The exact location within the reference, e.g. pages, plates | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionSpecimenImage
The images, voice recording or other medium of a collection specimen, an identification unit or part within this specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| URI | varchar (255) | The complete URI address of the image. This is only a cached value if ResourceID is available referring to the module DiversityResources | R | U | 
| ResourceURI | varchar (255) | The URI of the image, e.g. as stored in the module DiversityResources. | - | - | 
| SpecimenPartID | int | Optional: If the dataset is not related to a part of a specimen, the ID of a related part (= foreign key) | - | - | 
| IdentificationUnitID | int | If image refers to only on out of several identification units for a specimen, refers to the ID of an IdentificationUnit for a CollectionSpecimen (= foreign key) | - | - | 
| ImageType | nvarchar (50) | Type of the image, e.g. photograph Preset value: 'photography'  | 
- | - | 
| Notes | nvarchar (MAX) | Notes about the specimen image | - | - | 
| DataWithholdingReason | nvarchar (255) | If the dataset is withhold, the reason for withholding the data, otherwise null | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| Description | xml (MAX) | Description of the image | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionSpecimenPart
Parts of a collection specimen. Includes a possible hierarchy of the parts
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| DerivedFromSpecimenPartID | int | SpecimenPartID of the specimen from which the current specimen is derived from | - | - | 
| PreparationMethod | nvarchar (MAX) | The method used for the preparation of the part of the specimen, e.g. the inoculation method for cultures | - | - | 
| PreparationDate | datetime | The date and time when the part was preparated e.g when it was separated from the source object | - | - | 
| AccessionNumber | nvarchar (50) | Accession number of the part of the specimen within the collection if it is different from the accession number of the specimen as stored in the table CollectionSpecimen, e.g. "M-29834752" | - | |
| PartSublabel | nvarchar (50) | The label for a part of a specimen, e.g. "cone", or a number attached to a duplicate of a specimen | - | - | 
| CollectionID | int | ID of the Collection as stored in table Collection (= foreign key, see table Collection) Preset value: -1  | 
R | - | 
| MaterialCategory | nvarchar (50) | Material category of specimen. Examples: 'herbarium sheets', 'drawings', 'microscopic slides' etc. (= foreign key, see table CollMaterialCategory_Enum) DefaultValue: N'specimen' Preset value: specimen  | 
R | - | 
| StorageLocation | nvarchar (255) | A code identifying the place where the specimen is stored within the collection. Frequently the accepted scientific name is used as storage location code. | - | - | 
| Stock | float | Number of stock units if the specimen is stored in separated units e.g. several boxes or vessels (max. 255) | - | - | 
| Notes | nvarchar (MAX) | Notes concerning the storage of the sample | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| SpecimenPartID | int | ID of the collection specimen part (= part of Primary key). | R | U | 
| StorageContainer | nvarchar (500) | The container in which the part is stored | - | - | 
| StockUnit | nvarchar (50) | If empty the stock is given as a count, else it contains the unit in which stock is expressed, e.g. µl, ml, kg etc. | - | - | 
| ResponsibleName | nvarchar (255) | Name of the person or institution responsible for the preparation | - | - | 
| ResponsibleAgentURI | varchar (255) | URI of the person or institution responsible for the preparation (= foreign key) as stored in the module DiversityAgents | - | - | 
| DataWithholdingReason | nvarchar (255) | If the specimen part is withhold, the reason for withholding the data, otherwise null. | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionSpecimenProcessing
The processing that was applied to a collection specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| ProcessingDate | datetime | Date and time of the start of the processing DefaultValue: getdate()  | 
R | U | 
| ProcessingID | int | ID of the processing method. Refers to ProcessingID in table Processing (foreign key) DefaultValue: (1)  | 
R | - | 
| Protocoll | nvarchar (100) | The label of the processing protocoll | - | - | 
| SpecimenPartID | int | Optional: If the dataset is related to a part of a specimen, the ID of a related part (= foreign key, see table CollectionSpecimenPart) | - | - | 
| ProcessingDuration | varchar (50) | The duration of the processing including the unit (e.g. 5 min) or the end of the processing starting at the processingDate (e.g. 23.05.2008) | - | - | 
| ResponsibleName | nvarchar (255) | Name of the person or institution responsible for the determination | - | - | 
| ResponsibleAgentURI | varchar (255) | URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents. | - | - | 
| Notes | nvarchar (MAX) | Notes about the processing | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| ToolUsage | xml (MAX) | The tools used for the processing and their usage or settings. | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionSpecimenRelation
The relations of a collection specimen to other collection specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Unique reference ID for the collection specimen record (primary key) | R | U | 
| RelatedSpecimenURI | varchar (255) | URI of the related specimen | R | U | 
| RelatedSpecimenDisplayText | varchar (255) | The name of a related specimen as shown e.g. in a user interface | R | - | 
| RelationType | nvarchar (50) | Type of the relation between the specimen (= foreign key, see table CollRelationType_Enum) | - | - | 
| RelatedSpecimenCollectionID | int | ID of the Collection as stored in table Collection (= foreign key, see table Collection) | - | - | 
| RelatedSpecimenDescription | nvarchar (MAX) | Description of the related specimen | - | - | 
| Notes | nvarchar (MAX) | Notes on the relation to the specimen | - | - | 
| IsInternalRelationCache | bit | If the relation represents a connection between specimen in this database DefaultValue: (1)  | 
R | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionSpecimenTransaction
The transactions in which a specimen was involved
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| TransactionID | int | Unique ID for the transaction (= Foreign key and part of primary key) | R | U | 
| SpecimenPartID | int | Optional: If the dataset is related to a part of a specimen, the ID of a related part (= foreign key, see table CollectionSpecimenPart) | R | U | 
| IsOnLoan | bit | True if a specimen is on loan | - | - | 
| LogInsertedBy | nvarchar (50) | Name of user who first entered (typed or imported) the data. DefaultValue: user_name()  | 
- | - | 
| LogInsertedWhen | smalldatetime | Date and time when the data were first entered (typed or imported) into this database. DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Name of user who last updated the data. DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | smalldatetime | Date and time when the data were last updated. DefaultValue: getdate()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| AccessionNumber | nvarchar (255) | Accession number that has been assigen to the part of the specimen e.g. in connection with a former inventory. | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: CollectionUser
Users of collections within DiversityCollection
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| LoginName | nvarchar (50) | A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. | R | U | 
| CollectionID | int | ID for the collection for the User has access to administrate the transaction. | R | U | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: ExternalRequestCredentials
External requestors with the permission to create a request for a loan
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| RequesterLogin | nvarchar (50) | Login of the person responsible for the loan requests in the collection | R | U | 
| AdministratingCollectionID | int | The ID of the collection which gets the request for a loan. Corresponds to the AdministratingCollectionID in table Transaction. | R | U | 
| RequestingCollectionID | int | The ID of the collection for which the requester has the permission to create a request | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: Identification
The identifications of the organisms within a specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| IdentificationUnitID | int | Refers to the ID of IdentficationUnit (= foreign key and part of primary key) | R | U | 
| IdentificationSequence | smallint | The sequence of the identifications. The last identification (having the highest sequence) is regarded as valid DefaultValue: (1) Preset value: 1  | 
R | U | 
| IdentificationDate | datetime | The date of the identification calculated from the entries in IdentificationDay, -Month and -Year | - | - | 
| IdentificationDay | tinyint | The day of the identification event Preset value: DAY(getdate())  | 
- | - | 
| IdentificationMonth | tinyint | The month of the identification event Preset value: MONTH(getdate())  | 
- | - | 
| IdentificationYear | smallint | The year of the identification event. The year may be empty if only the day or month are known. Preset value: YEAR(getdate())  | 
- | - | 
| IdentificationDateSupplement | nvarchar (255) | Verbal or additional identification date information, e.g. 'end of summer 1985', 'first quarter', '1888-1892' | - | - | 
| IdentificationDateCategory | nvarchar (50) | Category of the date of the identification e.g. "system", "estimated"  (= foreign key, see  in table CollDateCategory_Enum) Preset value: 'actual'  | 
- | - | 
| VernacularTerm | nvarchar (255) | Name or term other than a taxonomic (= scientific) name, e.g. 'pine', 'limestone', 'conifer', 'hardwood' | - | - | 
| TaxonomicName | nvarchar (255) | Valid name of the species (including the taxonomic author where available). Example: 'Rosa canina L.' | - | - | 
| NameURI | varchar (255) | The URI of the taxonomic name, e.g. as provided by the module DiversityTaxonNames. | - | - | 
| IdentificationCategory | nvarchar (50) | Category of the identification e.g. 'determination', 'confirmation', 'absence'  (= foreign key, see table CollIdentificationCategory_Enum) Preset value: 'determination'  | 
- | - | 
| IdentificationQualifier | nvarchar (50) | Qualification of the identification e.g. "cf."," aff.", "sp. nov." (= foreign key, see table CollIdentificationQualifier_Enum) | - | - | 
| TypeStatus | nvarchar (50) | If identification unit is type of a taxonomic name: holotype, syntype, etc. (= foreign key, see table CollTypeStatus_Enum) | - | - | 
| TypeNotes | nvarchar (MAX) | Notes concerning the typification of this specimen | - | - | 
| ReferenceTitle | nvarchar (255) | Publications or authoritative opinions of scientist used during the identification process. Example: enter 'Schmeil-Fitschen 1995' if this field flora was used. | - | - | 
| ReferenceURI | varchar (255) | The URI of the reference e.g. as provided by the module DiversityReferences | - | - | 
| Notes | nvarchar (MAX) | User defined notes, e.g. the reason for a re-determination / change of the name, etc. | - | - | 
| ResponsibleName | nvarchar (255) | Name of the person or institution responsible for the determination Preset value: dbo.CurrentUserName()  | 
- | - | 
| ResponsibleAgentURI | varchar (255) | URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents. Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()  | 
- | - | 
| LogCreatedWhen | datetime | Date and time when the dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Login of the user who created the dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | Date and time when the dataset was changed DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Login of the user who changed the dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| ReferenceDetails | nvarchar (50) | The exact location within the reference, e.g. pages, plates | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: IdentificationUnit
Organism that is present in or on a collection specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| IdentificationUnitID | int | ID of the identification unit (= part of Primary key). Usually one of possibly several organisms present on the collection specimen. Example: parasite with hyperparasite on plant leaf = 3 units, | R | U | 
| LastIdentificationCache | nvarchar (255) | The last identification as entered in table Identification | R | |
| FamilyCache | nvarchar (255) | A cached value of the family of the taxon of the last identification. Can be set by the editor if NameURI in table Identification is NULL, otherwise set by the system. | - | - | 
| OrderCache | nvarchar (255) | A cached value of the order of the taxon of the last identification. Can be set by the editor if NameURI in table Identification is NULL, otherwise set by the system. | - | - | 
| TaxonomicGroup | nvarchar (50) | Taxonomic group the organism identified by this unit belongs to. Groups listed in table CollTaxonomicGroup_Enum (= foreign key) | R | - | 
| OnlyObserved | bit | True if the organism was only observed rather than collected. It is therefore not present on the preserved specimen. Example: Tree under which the collected mycorrhizal fungus grew. DefaultValue: (0) Preset value: True  | 
- | - | 
| RelatedUnitID | int | The IdentificationUnitID of the organism or substrate, on which this organism is growing (= foreign key) | - | - | 
| RelationType | nvarchar (50) | The relation of an unit to its substrate, e.g. parasitism, symbiosis etc. as stored in CollRelationType_Enum (= foreign key) | - | - | 
| ColonisedSubstratePart | nvarchar (255) | If a substrate association exists: part of the substrate that is affected in the interaction (e.g. 'leaves' if a fungus is growing on the leaves of an infected plant) | - | - | 
| LifeStage | nvarchar (255) | Examples: 'II, III' for spore generations of rusts or 'seed', 'seedling' etc. for higher plants | - | - | 
| Gender | nvarchar (50) | The gender of the identification unit, e.g. 'male' | - | - | 
| NumberOfUnits | smallint | The number of units of this identification unit, e.g. 400 beetle in a bottle | - | - | 
| ExsiccataNumber | nvarchar (50) | If specimen is an exsiccata: Number of current specimen within the exsiccata series | - | - | 
| ExsiccataIdentification | smallint | Refers to the IdentificationSequence in Identification (= foreign key). The name under which the collection specimen resp. this unit is published within an exsiccata. | - | - | 
| UnitIdentifier | nvarchar (50) | An identifier for the identification of the unit e.g. a number painted on a tree within an experimental plot | - | - | 
| UnitDescription | nvarchar (50) | Description of the unit, esp. if not an organism but parts or remnants of it were present or observed, e.g. a nest of an insect or a song of a bird | - | - | 
| Circumstances | nvarchar (50) | Circumstances of the occurence of the organism | - | - | 
| DisplayOrder | smallint | The sequence in which the units within this specimen will appear on e.g. a label where the first unit may be printed in the header and others  in the text below. 0 means the unit should not appear on a label. DefaultValue: (1)  | 
R | - | 
| Notes | nvarchar (MAX) | Further information on the identification unit or interaction, e. g. infection symptoms like 'producing galls' | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| HierarchyCache | nvarchar (500) | - | - | |
| ParentUnitID | int | The IdentificationUnitID of a parent organism of which this organism is a child of (= foreign key). | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: IdentificationUnitAnalysis
The analysis values taken from an identification unit
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| IdentificationUnitID | int | Refers to the ID of IdentficationUnit (= foreign key and part of primary key) | R | U | 
| AnalysisID | int | Analysis ID, foreign key of table Analysis. | R | U | 
| AnalysisNumber | nvarchar (50) | Number of the analysis Preset value: 1  | 
R | U | 
| AnalysisResult | nvarchar (MAX) | The result of the analysis | - | - | 
| ExternalAnalysisURI | varchar (255) | An URI for an analysis as defined in an external datasoure | - | - | 
| ResponsibleName | nvarchar (255) | Name of the person or institution responsible for the determination DefaultValue: [dbo].[CurrentUserName]() Preset value: dbo.CurrentUserName()  | 
- | - | 
| ResponsibleAgentURI | varchar (255) | URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents. Preset value: SELECT AgentURI FROM UserProxy WHERE LoginName = USER_NAME()  | 
- | - | 
| AnalysisDate | nvarchar (50) | The date of the analysis Preset value: getdate()  | 
- | - | 
| SpecimenPartID | int | ID of the part of a specimen (optional, Foreign key) if the analysis was done with a part of the specimen (see table CollectionSpecimenPart). | - | - | 
| Notes | nvarchar (MAX) | Notes concerning this analysis | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| ToolUsage | xml (MAX) | The tools used for the analysis and their usage or settings. | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: IdentificationUnitGeoAnalysis
The geographical position or region of an organism at a certain time
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| IdentificationUnitID | int | Refers to the ID of IdentficationUnit (= foreign key and part of primary key) | R | U | 
| AnalysisDate | datetime | The date of the analysis | R | U | 
| Geography | geography | The geography of the identification unit according to WGS84, e.g. a point (latitide, longitude and altitude) | - | - | 
| Geometry | geometry (MAX) | The geometry of the identifiction unit, e.g. an area | - | - | 
| ResponsibleName | nvarchar (255) | Name of the person or institution responsible for the determination | - | - | 
| ResponsibleAgentURI | varchar (255) | URI of the person or institution responsible for the determination (= foreign key) as stored in the module DiversityAgents. | - | - | 
| Notes | nvarchar (MAX) | Notes concerning this analysis | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created | - | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset | - | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated | - | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: IdentificationUnitInPart
The list of the organisms that are found in a part of the specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| CollectionSpecimenID | int | Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) | R | U | 
| IdentificationUnitID | int | ID of the identification unit (= part of Primary key). Usually one of possibly several organisms present on the collection specimen. Example: parasite with hyperparasite on plant leaf = 3 units, | R | U | 
| SpecimenPartID | int | ID of the part of a specimen (optional, Foreign key) if the identification unit is located on a part of the specimen (see table CollectionSpecimenPart). | R | U | 
| DisplayOrder | smallint | The sequence in which the units within this part will appear on e.g. a label where the first unit may be printed in the header and others  in the text below. 0 means the unit should not appear on a label. DefaultValue: (1)  | 
R | - | 
| Description | nvarchar (500) | A description of the unit, esp. if not a whole unit but e.g. parts of it are stored in the collection, e.g. a nest of a bird | - | - | 
| LogInsertedBy | nvarchar (50) | Name of user who first entered (typed or imported) the data. DefaultValue: user_name()  | 
- | - | 
| LogInsertedWhen | smalldatetime | Date and time when the data were first entered (typed or imported) into this database. DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Name of user who last updated the data. DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | smalldatetime | Date and time when the data were last updated. DefaultValue: getdate()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: LocalisationSystem
The geographic localisation systems, e.g. coordinates
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| LocalisationSystemID | int | Unique ID for the localisation system (= Primary key) | R | U | 
| LocalisationSystemParentID | int | LocalisationSystemID of the superior LocalisationSystem | - | - | 
| LocalisationSystemName | nvarchar (100) | Name of the system used for the determination of the place of the collection, e. g. Gauss-Krüger, MTB, GIS | R | - | 
| DefaultAccuracyOfLocalisation | nvarchar (50) | The default for the accuracy of values that can be reached with this method | - | - | 
| DefaultMeasurementUnit | nvarchar (50) | The default measurement unit for the localisation system, e.g. m, geograpic coordinates | - | - | 
| ParsingMethodName | nvarchar (50) | Internal value, specifying a programming method used for parsing text in fields Location1/Location2 in table CollectionLocalisation | - | - | 
| DisplayText | nvarchar (50) | Short abbreviated description of the localisation system as displayed in the user interface | - | - | 
| DisplayEnable | bit | Specifies if this item is enabled to be used within the database. LocalisationSystems can be disabled to avoid seeing them, but to keep the definition for the future. | - | - | 
| DisplayOrder | smallint | The order in which the entries are displayed. The order may be changed at any time, but all values must be unique. | - | - | 
| Description | nvarchar (255) | Description of the localisation method | - | - | 
| DisplayTextLocation1 | nvarchar (50) | Short abbreviated description of the attribute Location1 in the table CollectionGeography as displayed in the user interface | - | - | 
| DescriptionLocation1 | nvarchar (255) | Description of the attribute Location1 in the table CollectionGeography as displayed in the user interface | - | - | 
| DisplayTextLocation2 | nvarchar (50) | Short abbreviated description of the attribute Location2 in the table CollectionGeography as displayed in the user interface | - | - | 
| DescriptionLocation2 | nvarchar (255) | Description of the attribute Location2 in the table CollectionGeography as displayed in the user interface | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: Processing
The processings of the specimen
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| ProcessingID | int | ID of the processing (Primary key) | R | U | 
| ProcessingParentID | int | The ID of the superior type of the processing | - | - | 
| DisplayText | nvarchar (50) | The display text of the processing as shown e.g. in a user interface | - | - | 
| Description | nvarchar (MAX) | Description of the processing | - | - | 
| Notes | nvarchar (MAX) | Notes about the processing | - | - | 
| ProcessingURI | varchar (255) | An URI for a processing as defined in an external datasource | - | - | 
| OnlyHierarchy | bit | If the entry is only used for the hierarchical arrangement of the entries DefaultValue: (0)  | 
- | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: ProcessingMaterialCategory
The processings that are possible for a certain material category
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| ProcessingID | int | ID of the processing. Refers to ProcessingID in table Processing (foreign key) DefaultValue: (1)  | 
R | U | 
| MaterialCategory | nvarchar (50) | Material category of specimen. Examples: 'herbarium sheets', 'drawings', 'microscopic slides' etc. DefaultValue: N'specimen'  | 
R | U | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: ProjectAnalysis
The types of the analysis that are available for a project
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| AnalysisID | int | ID of the analysis (Primary key) | R | U | 
| ProjectID | int | ID of the project to which the specimen belongs (Projects are defined in DiversityProjects) | R | U | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: ProjectProcessing
The types of processing available within a project
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| ProcessingID | int | ID of the Processing (Primary key) | R | U | 
| ProjectID | int | ID of the project to which the specimen belongs (Projects are defined in DiversityProjects) | R | U | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: ProjectProxy
The projects as stored in the module DiversityProjects
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| ProjectID | int | ID of the project to which the specimen belongs (Projects are defined in DiversityProjects) | R | U | 
| Project | nvarchar (50) | The name or title of the project as shown in a user interface (Projects are defined in DiversityProjects) | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| ImageDescriptionTemplate | xml (MAX) | Template for the description of images | - | - | 
| ProjectURI | varchar (255) | The URI of the project, e.g. as provided by the module DiversityProjects. | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: ProjectUser
The projects that a user can access
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| LoginName | nvarchar (50) | A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. | R | U | 
| ProjectID | int | ID of the project to which the specimen belongs (Projects are defined in DiversityProjects) | R | U | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| ReadOnly | bit | If the user has only read access to data of this project DefaultValue: (0)  | 
- | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: Property
The list of the properties that can be specified for the collection site
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| PropertyID | int | Unique ID for the property (= Primary key) | R | U | 
| PropertyParentID | int | PropertyID of the superior Property | - | - | 
| PropertyName | nvarchar (100) | Name of the system used for the characterisation of the collection site, e. g. Lithostratigraphy | R | - | 
| DefaultAccuracyOfProperty | nvarchar (50) | The default for the accuracy of values that can be reached with this method | - | - | 
| DefaultMeasurementUnit | nvarchar (50) | The default measurement unit for the characterisation system, e.g. pH | - | - | 
| ParsingMethodName | nvarchar (50) | Internal value, specifying a programming method used for parsing the contents in table CollectionEventProperty | R | - | 
| DisplayText | nvarchar (50) | Short abbreviated description of the characterisation system as displayed in the user interface | - | - | 
| DisplayEnabled | bit | Specifies if this item is enabled to be used within the database. Properties can be disabled to avoid seeing them, but to keep the definition for the future. | - | - | 
| DisplayOrder | smallint | The order in which the entries are displayed. The order may be changed at any time, but all values must be unique. | - | - | 
| Description | nvarchar (255) | Description of the characterisation method | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: Transaction
Transactions like loan, borrow, gift, exchange etc. of specimen if they are e.g. permanently or temporary transfered from one collection to another
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| TransactionID | int | Unique ID for the transaction (= Primary key) | R | U | 
| ParentTransactionID | int | The ID of a preceeding transaction of a superior transaction if transactions are organized in a hierarchy | - | - | 
| TransactionType | nvarchar (50) | Type of the transaction e.g. gift in or out, exchange in or out, purchase in or out DefaultValue: N'exchange'  | 
R | - | 
| TransactionTitle | nvarchar (200) | The title of the transaction as e.g. shown in an user interface | R | - | 
| ReportingCategory | nvarchar (50) | A group defined for the transaction, e. g. a taxonomic group as used for exchange balancing | - | - | 
| AdministratingCollectionID | int | ID of the collection thas is responsible for the administration of the transaction. | R | - | 
| MaterialDescription | nvarchar (MAX) | ID of the project to which the transaction belongs (Projects are defined in DiversityProjects) | - | - | 
| MaterialCategory | nvarchar (50) | Material category of specimen. Examples: 'herbarium sheets', 'drawings', 'microscopic slides' etc. DefaultValue: N'specimen'  | 
- | - | 
| MaterialCollectors | nvarchar (MAX) | The collectors of the material | - | - | 
| FromCollectionID | int | The ID of the collection from which the specimen were transfered, e.g. the donating collection of a gift | - | - | 
| FromTransactionPartnerName | nvarchar (255) | Name of the person or institution from which the specimen were transfered, e.g. the donator of a gift | - | - | 
| FromTransactionPartnerAgentURI | varchar (255) | The URI of the transaction partner (see e.g. module DiversityAgents) | - | - | 
| FromTransactionNumber | nvarchar (50) | Number or code by which a transaction may be recorded by the administration of the source of the specimen, e.g. the donating collection of a gift | - | - | 
| ToCollectionID | int | The ID of the collection to which the specimen were transfered, e.g. the receiver of a gift | - | - | 
| ToTransactionPartnerName | nvarchar (255) | Name of the person or institution to which the specimen were transfered, e.g. the receiver of a gift | - | - | 
| ToTransactionPartnerAgentURI | varchar (255) | The URI of the transaction partner (see e.g. module DiversityAgents) | - | - | 
| ToTransactionNumber | nvarchar (50) | Number or code by which a transaction may be recorded by the administration of the destination of the specimen, e.g. the receiving collection of a gift | - | - | 
| NumberOfUnits | smallint | The number of units that were (initially) included in the transaction | - | - | 
| Investigator | nvarchar (50) | The investigator for whose study a transacted material was sent | - | - | 
| TransactionComment | nvarchar (MAX) | Comments about the exchanged material addressed to the transaction partner | - | - | 
| BeginDate | datetime | Date when the transaction started | - | - | 
| AgreedEndDate | datetime | End of the transaction period, e.g. if the time for borrowing the specimen is restricted | - | - | 
| ActualEndDate | datetime | Actual end of the transaction when e.g. the borrowed specimen were returned to the owner | - | - | 
| InternalNotes | nvarchar (MAX) | Internal notes about this transaction, not to be published e.g. on a web page | - | - | 
| ResponsibleName | nvarchar (255) | The person responsible for this transaction | - | - | 
| ResponsibleAgentURI | varchar (255) | The URI of the person, team or organisation responsible for the data (see e.g. module DiversityAgents) | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: TransactionDocument
The history of transactions resp. the documents connected to the transactions
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| TransactionID | int | Unique ID for the Transaction, refers to table Transaction (= Part of primary key and foreign key) | R | U | 
| Date | datetime | The date of the event of a transaction | R | U | 
| TransactionText | nvarchar (MAX) | The text of a transaction document | - | - | 
| TransactionDocument | image (2147483647) | A scanned document connected to this transaction event | - | - | 
| InternalNotes | nvarchar (MAX) | Internal notes about this transaction event | - | - | 
| LogCreatedWhen | datetime | The time when this dataset was created DefaultValue: getdate()  | 
- | - | 
| LogCreatedBy | nvarchar (50) | Who created this dataset DefaultValue: user_name()  | 
- | - | 
| LogUpdatedWhen | datetime | The last time when this dataset was updated DefaultValue: getdate()  | 
- | - | 
| LogUpdatedBy | nvarchar (50) | Who was the last to update this dataset DefaultValue: user_name()  | 
- | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Table: UserProxy
The user as stored in the module DiversityUsers
| Column | Data type | Description | Requ. | Ind. | 
|---|---|---|---|---|
| LoginName | nvarchar (50) | A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. | R | U | 
| CombinedNameCache | nvarchar (255) | The short name of the user, e.g. P. Smith | R | - | 
| UserURI | varchar (255) | URI of a user in a remote module, e.g. refering to UserInfo.UserID in database DiversityUsers | - | - | 
| RowGUID | uniqueidentifier | DefaultValue: newsequentialid()  | 
R | - | 
| AgentURI | varchar (255) | - | - | |
| Queries | xml (MAX) | Queries created by the user | - | - | 
| Settings | xml (MAX) | The settings for the user | - | - | 
| CurrentProjectID | int | The current project selected by the user | - | - | 
Relations to other tables
| Columns | Related table | Columns in related table | Update rule | Delete rule | 
| AnalysisParentID | Analysis | AnalysisID | NO ACTION | NO ACTION | 
Footnotes: The following conventions and abbreviations have been used in the tables: Columns of primary key:underlined R: It is required to enter data in this field. I: The field is indexed to enable faster searching. U: unique index