Difference between revisions of "Internal - Modell for Monitoring"
(Created page with '====Color code==== {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; border:1px #AAA solid; border-collapse:collapse; empty-cells:show; |-style="background:#FFFFFF;" |no re…') |
|||
(5 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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |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 18: | 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 25: | Line 36: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>AnalysisID</u> | |<u>AnalysisID</u> | ||
|int | |int | ||
Line 31: | Line 42: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|AnalysisParentID | |AnalysisParentID | ||
|int | |int | ||
Line 37: | Line 48: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayText | |DisplayText | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 43: | Line 54: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|Description | |Description | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 49: | Line 60: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|MeasurementUnit | |MeasurementUnit | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 55: | Line 66: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 61: | Line 72: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|AnalysisURI | |AnalysisURI | ||
|varchar (255) | |varchar (255) | ||
Line 67: | Line 78: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|OnlyHierarchy | |OnlyHierarchy | ||
|bit | |bit | ||
Line 73: | Line 84: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 79: | Line 90: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 85: | Line 96: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 91: | Line 102: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 97: | Line 108: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 126: | Line 137: | ||
===Table: AnalysisResult=== | ===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. | 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:# | + | {|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 133: | Line 144: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>AnalysisID</u> | |<u>AnalysisID</u> | ||
|int | |int | ||
Line 139: | Line 150: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|<u>AnalysisResult</u> | |<u>AnalysisResult</u> | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 145: | Line 156: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|Description | |Description | ||
|nvarchar (500) | |nvarchar (500) | ||
Line 151: | Line 162: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayText | |DisplayText | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 157: | Line 168: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayOrder | |DisplayOrder | ||
|smallint | |smallint | ||
Line 163: | Line 174: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|Notes | |Notes | ||
|nvarchar (500) | |nvarchar (500) | ||
Line 169: | Line 180: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogInsertedBy | |LogInsertedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 175: | Line 186: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogInsertedWhen | |LogInsertedWhen | ||
|smalldatetime | |smalldatetime | ||
Line 181: | Line 192: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 187: | Line 198: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|smalldatetime | |smalldatetime | ||
Line 193: | Line 204: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 222: | Line 233: | ||
===Table: AnalysisTaxonomicGroup=== | ===Table: AnalysisTaxonomicGroup=== | ||
The types of analysis that are available for a taxonomic group | The types of analysis that are available for a taxonomic group | ||
− | {|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 229: | Line 240: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>AnalysisID</u> | |<u>AnalysisID</u> | ||
|int | |int | ||
Line 235: | Line 246: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|<u>TaxonomicGroup</u> | |<u>TaxonomicGroup</u> | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 241: | Line 252: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 247: | Line 258: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 253: | Line 264: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 280: | Line 291: | ||
|} | |} | ||
− | ===Table: | + | ===Table: Collection=== |
− | + | The collections where the specimen are stored | |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 289: | Line 300: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
− | |<u> | + | |<u>CollectionID</u> |
|int | |int | ||
− | |ID | + | |Unique reference ID for the collection (= Primary key) |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | | | + | |CollectionParentID |
|int | |int | ||
− | | | + | |For a subcollection within another collection: CollectionID of the collection to which the subcollection belongs. Empty for an independent collection |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |CollectionName |
− | |nvarchar ( | + | |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 | |R | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |CollectionAcronym |
− | |nvarchar ( | + | |nvarchar (10) |
− | | | + | |A unique code for the Collection, e.g. the herbarium code from Index Herbariorum |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |AdministrativeContactName |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|nvarchar (500) | |nvarchar (500) | ||
− | |The | + | |The name of the person or organisation responsible for this collection |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |AdministrativeContactAgentURI |
|varchar (255) | |varchar (255) | ||
− | | | + | |The URI of the person or organisation responsible for the Collection e.g. as provided by the module DiversityAgents |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |Description |
− | |nvarchar ( | + | |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 | + | |The order in which the entries are displayed. The order may be changed at any time, but all values must be unique. |
− | |||
| - | | - | ||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
− | |- | + | |- |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 373: | Line 366: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 379: | Line 372: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 385: | Line 378: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 391: | Line 384: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 418: | Line 411: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionAgent=== |
− | The | + | 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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 427: | Line 420: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
− | |<u> | + | |<u>CollectionSpecimenID</u> |
|int | |int | ||
− | | | + | |Refers to ID of CollectionEvent (= Foreign key and part of primary key) |
|R | |R | ||
|U | |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 |
− | | | + | |- |
− | |nvarchar ( | + | |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 ( | + | |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 | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 493: | Line 468: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 499: | Line 474: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 505: | Line 480: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 511: | Line 486: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 538: | Line 513: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionEvent=== |
− | The | + | 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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 548: | Line 523: | ||
!Ind. | !Ind. | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>CollectionEventID</u> |
|int | |int | ||
− | | | + | |Unique ID for the collection event (= Primary key) |
|R | |R | ||
|U | |U | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |Version |
− | | | + | |int |
− | | | + | |The version of the dataset. Automatically set by the system.<br />''DefaultValue: (1)'' |
|R | |R | ||
− | | | + | | - |
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |SeriesID |
− | | | + | |int |
− | |The | + | |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:# | + | |-style="background:#FFC0CB;" |
− | | | + | |CollectionDate |
|datetime | |datetime | ||
− | |The | + | |The date of the event calulated from the entries in CollectionDay, -Month and -Year.<br />''Preset value: getdate()'' |
+ | | - | ||
| - | | - | ||
− | |||
|-style="background:#FFFFFF;" | |-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;" | |-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;" | |-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:# | + | |-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;" | |-style="background:#FFFFFF;" | ||
− | | | + | |CollectionDateCategory |
|nvarchar (50) | |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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |CollectionTimeSpan |
− | | | + | |varchar (50) |
− | |The | + | |The time span e.g. in seconds of the collection event |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |LocalityDescription |
− | |nvarchar ( | + | |nvarchar (MAX) |
− | | | + | |Locality description of the locality, exactly as written on the original label (i.e. without corrections during data entry) |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-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 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |- | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |The | ||
− | |||
| - | | - | ||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
+ | |-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;" | |
− | |-style="background:# | + | |DataWithholdingReason |
− | | | + | |nvarchar (255) |
− | | | + | |If the dataset is withhold, the reason for withholding the data, otherwise null |
− | | | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogCreatedWhen |
− | | | + | |datetime |
− | | | + | |The time when this dataset was created<br />''DefaultValue: getdate()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogCreatedBy |
|nvarchar (50) | |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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |ReferenceDetails |
− | |nvarchar ( | + | |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;" | |-style="background:#FFFFFF;" | ||
− | | | + | |<u>CollectionEventID</u> |
− | | | + | |int |
− | | | + | |Unique ID for the collection event (= Primary key) |
− | | | + | |R |
− | | | + | |U |
|-style="background:#FFFFFF;" | |-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) | |varchar (255) | ||
− | |URI | + | |The URI of the resource (e.g. see module DiversityResources) |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |ImageType |
− | |nvarchar ( | + | |nvarchar (50) |
− | | | + | |Type of the image, e.g. map<br />''Preset value: 'photography''' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
− | |Notes | + | |Notes to this image concerning the collection event |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|DataWithholdingReason | |DataWithholdingReason | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 769: | Line 744: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 775: | Line 750: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 781: | Line 756: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 787: | Line 762: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 793: | Line 768: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 800: | Line 775: | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |Description |
− | | | + | |xml (MAX) |
− | | | + | |Description of the image |
| - | | - | ||
| - | | - | ||
Line 826: | Line 801: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionEventLocalisation=== |
− | The | + | 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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 838: | Line 813: | ||
|<u>CollectionEventID</u> | |<u>CollectionEventID</u> | ||
|int | |int | ||
− | | | + | |Refers to the ID of CollectionEvent (= Foreign key and part of primary key) |
|R | |R | ||
|U | |U | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>LocalisationSystemID</u> |
− | | | + | |int |
− | | | + | |Refers to the ID of LocalisationSystem (= Foreign key and part of primary key) |
|R | |R | ||
|U | |U | ||
|-style="background:#FFFFFF;" | |-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;" | |-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) | |nvarchar (50) | ||
− | | | + | |The accuracy of the determination of this locality |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |LocationNotes |
|nvarchar (MAX) | |nvarchar (MAX) | ||
− | |Notes | + | |Notes on the location |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |DeterminationDate |
− | | | + | |smalldatetime |
− | | | + | |Date of the determination of the geographical localisation<br />''Preset value: getdate()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |DistanceToLocation |
− | | | + | |varchar (50) |
− | | | + | |Distance from the specified place to the real location of the collection event (m) |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-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;" | |-style="background:#FFFFFF;" | ||
− | | | + | |ResponsibleName |
− | | | + | |nvarchar (255) |
− | |The | + | |The name of the agent (person or organization) responsible for this entry.<br />''Preset value: dbo.CurrentUserName()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-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:# | + | |-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;" | |-style="background:#FFFFFF;" | ||
− | | | + | |Geography |
− | | | + | |geography |
− | |The | + | |The geography of the localisation |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |RecordingMethod |
− | |nvarchar ( | + | |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;" | |-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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |PropertyHierarchyCache |
− | | | + | |nvarchar (MAX) |
− | | | + | |A cached text of the complete name of the descriptor including superior categories if present |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-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 |
| - | | - | ||
| - | | - | ||
Line 997: | Line 1,008: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#00FFFF;" |
|ResponsibleAgentURI | |ResponsibleAgentURI | ||
|varchar (255) | |varchar (255) | ||
Line 1,003: | Line 1,014: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |Notes |
− | | | + | |nvarchar (MAX) |
− | | | + | |Notes about the property of the colletion site. |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |AverageValueCache |
|float | |float | ||
− | | | + | |For numeric values - a cached average value according to the |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 1,027: | Line 1,032: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 1,033: | Line 1,038: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 1,039: | Line 1,044: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 1,045: | Line 1,050: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
|<br />''DefaultValue: newsequentialid()'' | |<br />''DefaultValue: newsequentialid()'' | ||
|R | |R | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
|} | |} | ||
Line 1,084: | Line 1,077: | ||
|} | |} | ||
− | ===Table: | + | ===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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 1,094: | Line 1,087: | ||
!Ind. | !Ind. | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>SeriesID</u> |
|int | |int | ||
− | | | + | |Primary key. The ID for this expedition (= Primary key) |
|R | |R | ||
|U | |U | ||
+ | |-style="background:#D3D3D3;" | ||
+ | |SeriesParentID | ||
+ | |int | ||
+ | |The ID of the superior expedition | ||
+ | | - | ||
+ | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |Description |
− | | | + | |nvarchar (MAX) |
− | |The | + | |The description of the expedition as it will be printed on e.g. the label |
|R | |R | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |SeriesCode |
− | | | + | |nvarchar (50) |
− | | | + | |The user defined code for an expedition |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |Notes |
|nvarchar (MAX) | |nvarchar (MAX) | ||
− | | | + | |Notes about this expedition |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |Geography |
− | | | + | |geography |
− | |The | + | |The geography of the collection event series |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |DateStart |
− | | | + | |datetime |
− | |The | + | |The date and time when the collection event series started<br />''Preset value: getdate()'' |
| - | | - | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |DateEnd |
− | | | + | |datetime |
− | | | + | |The date and time when the collection event series ended |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |DateCache |
− | | | + | |datetime |
− | | | + | |Obsolete, use fields for start and end of the collection event series instead |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 1,159: | Line 1,146: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 1,165: | Line 1,152: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 1,171: | Line 1,158: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 1,177: | Line 1,164: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 1,204: | Line 1,191: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionEventSeriesImage=== |
− | The series | + | 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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 1,216: | Line 1,203: | ||
|<u>SeriesID</u> | |<u>SeriesID</u> | ||
|int | |int | ||
− | | | + | |Unique ID for the collection event series (= Foreign key and part of primary key) |
|R | |R | ||
|U | |U | ||
− | |-style="background:# | + | |-style="background:#00FFFF;" |
− | | | + | |<u>URI</u> |
− | | | + | |varchar (255) |
− | |The | + | |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;" | |-style="background:#FFFFFF;" | ||
− | | | + | |ImageType |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|nvarchar (50) | |nvarchar (50) | ||
− | | | + | |Type of the image, e.g. map<br />''Preset value: 'photography''' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
− | |Notes | + | |Notes to this image concerning the collection event |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |DataWithholdingReason |
− | | | + | |nvarchar (255) |
− | | | + | |If the dataset is withhold, the reason for withholding the data, otherwise null |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogCreatedWhen |
|datetime | |datetime | ||
− | |The | + | |The time when this dataset was created<br />''DefaultValue: getdate()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogCreatedBy |
− | | | + | |nvarchar (50) |
− | | | + | |Who created this dataset<br />''DefaultValue: user_name()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | + | |LogUpdatedWhen | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |LogUpdatedWhen | ||
|datetime | |datetime | ||
|The last time when this dataset was updated<br />''DefaultValue: getdate()'' | |The last time when this dataset was updated<br />''DefaultValue: getdate()'' | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 1,291: | Line 1,260: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
|<br />''DefaultValue: newsequentialid()'' | |<br />''DefaultValue: newsequentialid()'' | ||
|R | |R | ||
+ | | - | ||
+ | |-style="background:#FFFFFF;" | ||
+ | |Description | ||
+ | |xml (MAX) | ||
+ | |Description of the image | ||
+ | | - | ||
| - | | - | ||
|} | |} | ||
Line 1,318: | Line 1,293: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionExternalDatasource=== |
− | + | CollectionExternalDatasource document the sources of the names. | |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 1,327: | Line 1,302: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
− | |<u> | + | |<u>ExternalDatasourceID</u> |
|int | |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 | |R | ||
|U | |U | ||
− | |- | + | |- |
− | | | + | |ExternalDatasourceName |
− | | | + | |nvarchar (255) |
− | |The | + | |The name of the data collection that has been integrated or can be linked to for further analysis |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |ExternalDatasourceVersion |
− | |nvarchar ( | + | |nvarchar (255) |
− | | | + | |The version of this data collection (either official version number, or dates when the collection was integrated) |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |Rights |
− | |nvarchar ( | + | |nvarchar (500) |
− | | | + | |A description of copyright agreements or permission to use data from the external database |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |ExternalDatasourceAuthors |
− | |nvarchar ( | + | |nvarchar (200) |
− | | | + | |The persons or institutions responsible for the external database |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |ExternalDatasourceURI |
− | | | + | |nvarchar (300) |
− | |The | + | |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 ( | + | |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 | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 1,393: | Line 1,374: | ||
|R | |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()'' | ||
| - | | - | ||
| - | | - | ||
Line 1,420: | Line 1,419: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionImage=== |
− | + | The images showing the collection | |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 1,429: | Line 1,428: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
− | |<u> | + | |<u>CollectionID</u> |
|int | |int | ||
− | | | + | |Refers to the ID of Collection (= Foreign key and part of primary key) |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | | | + | |<u>URI</u> |
− | | | + | |varchar (255) |
− | |The | + | |The complete URI address of the image. |
+ | |R | ||
+ | |U | ||
+ | |- | ||
+ | |ImageType | ||
+ | |nvarchar (50) | ||
+ | |Type of the image, e.g. label | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |Notes |
− | |nvarchar ( | + | |nvarchar (MAX) |
− | | | + | |Notes about the collection image |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |DataWithholdingReason |
− | |nvarchar ( | + | |nvarchar (255) |
− | | | + | |If the dataset is withhold, the reason for withholding the data, otherwise null |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |LogInsertedWhen |
− | | | + | |datetime |
− | |The | + | |The time when this dataset was created<br />''DefaultValue: getdate()'' |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |LogInsertedBy |
− | |nvarchar ( | + | |nvarchar (50) |
− | | | + | |Who created this dataset<br />''DefaultValue: user_name()'' |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |LogUpdatedWhen |
− | | | + | |datetime |
− | |The | + | |The last time when this dataset was updated<br />''DefaultValue: getdate()'' |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |LogUpdatedBy |
− | |nvarchar ( | + | |nvarchar (50) |
− | | | + | |Who was the last to update this dataset<br />''DefaultValue: user_name()'' |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 1,501: | Line 1,488: | ||
|R | |R | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |Description |
− | | | + | |xml (MAX) |
− | + | |Description of the image | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | | | ||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
| - | | - | ||
Line 1,546: | Line 1,515: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionManager=== |
− | + | Collection managers within DiversityCollection, responsible of specimen transactions | |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 1,555: | Line 1,524: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
− | |<u> | + | |<u>LoginName</u> |
− | | | + | |nvarchar (50) |
− | | | + | |A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | |<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 | |R | ||
|U | |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 | |
− | + | |- | |
− | |-style="background:# | + | |} |
− | | | + | |
+ | |||
+ | ===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) | |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 | ||
| - | | - | ||
− | + | |} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |} | ||
Line 1,642: | Line 1,618: | ||
|} | |} | ||
− | ===Table: | + | ===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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 1,652: | Line 1,628: | ||
!Ind. | !Ind. | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>CollectionSpecimenID</u> |
− | | | + | |int |
− | | | + | |Unique reference ID for the collection specimen record (primary key) |
|R | |R | ||
|U | |U | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |Version |
|int | |int | ||
− | | | + | |The version of the dataset<br />''DefaultValue: (1)'' |
|R | |R | ||
− | | | + | | - |
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |CollectionEventID |
− | | | + | |int |
− | | | + | |Refers to the ID of CollectionEvent (= Foreign key and part of primary key) |
− | | | + | | - |
| - | | - | ||
− | + | |-style="background:#D3D3D3;" | |
− | + | |CollectionID | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |-style="background:# | ||
− | | | ||
|int | |int | ||
− | | | + | |ID of the Collection as stored in table Collection (= foreign key, see table Collection) |
− | | | + | | - |
− | | | + | | - |
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |AccessionNumber |
− | | | + | |nvarchar (50) |
− | | | + | |Accession number of the specimen within the collection, e.g. "M-29834752" |
− | | | + | | - |
− | | | + | | |
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |AccessionDate |
|datetime | |datetime | ||
− | |The | + | |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 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |-style="background:# | ||
− | | | ||
|nvarchar (50) | |nvarchar (50) | ||
− | | | + | |Category of the date of the identification e.g. "system", "estimated" (= foreign key, see in table xColl_DateCategory_Enum) |
− | | | + | | - |
− | | | + | | - |
− | |-style="background:# | + | |-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:# | + | |-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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |LabelTranscriptionState |
− | | | + | |nvarchar (50) |
− | | | + | |The state of the transcription of a label into the database: 'Not started', 'incomplete', 'complete' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |LabelTranscriptionNotes |
− | | | + | |nvarchar (255) |
− | | | + | |User defined notes concerning the transcription of the label into the database |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-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:# | + | | - |
− | | | + | |-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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |Problems |
− | |nvarchar ( | + | |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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |DataWithholdingReason |
|nvarchar (255) | |nvarchar (255) | ||
− | | | + | |If the dataset is withhold, the reason for withholding the data, otherwise null |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogCreatedWhen |
− | | | + | |datetime |
− | |The | + | |The time when this dataset was created<br />''DefaultValue: getdate()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogCreatedBy |
|nvarchar (50) | |nvarchar (50) | ||
− | | | + | |Who created this dataset<br />''DefaultValue: user_name()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogUpdatedWhen |
− | | | + | |datetime |
− | |The | + | |The last time when this dataset was updated<br />''DefaultValue: getdate()'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | | | + | |LogUpdatedBy |
|nvarchar (50) | |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:# | + | |-style="background:#D3D3D3;" |
− | | | + | |ReferenceDetails |
− | |nvarchar ( | + | |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;" | |-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;" | |-style="background:#FFFFFF;" | ||
− | | | + | |ImageType |
− | | | + | |nvarchar (50) |
− | | | + | |Type of the image, e.g. photograph<br />''Preset value: 'photography''' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
− | | | + | |Notes |
− | |nvarchar ( | + | |nvarchar (MAX) |
− | | | + | |Notes about the specimen image |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|DataWithholdingReason | |DataWithholdingReason | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 1,981: | Line 1,915: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 1,987: | Line 1,921: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 1,993: | Line 1,927: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 1,999: | Line 1,933: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,005: | Line 1,939: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 2,030: | Line 1,946: | ||
| - | | - | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |Description |
− | | | + | |xml (MAX) |
− | | | + | |Description of the image |
| - | | - | ||
| - | | - | ||
Line 2,056: | Line 1,972: | ||
|} | |} | ||
− | ===Table: | + | ===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:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 2,065: | Line 1,981: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>CollectionSpecimenID</u> | |<u>CollectionSpecimenID</u> | ||
|int | |int | ||
Line 2,071: | Line 1,987: | ||
|R | |R | ||
|U | |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) | |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 ( | + | |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) | |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 | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 2,119: | Line 2,053: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,125: | Line 2,059: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 2,131: | Line 2,065: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,137: | Line 2,071: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 2,143: | Line 2,077: | ||
|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. | ||
| - | | - | ||
| - | | - | ||
Line 2,170: | Line 2,134: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionSpecimenProcessing=== |
− | + | The processing that was applied to a collection specimen | |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 2,179: | Line 2,143: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>CollectionSpecimenID</u> | |<u>CollectionSpecimenID</u> | ||
|int | |int | ||
− | |Refers to | + | |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 | |R | ||
|U | |U | ||
− | |- | + | |- |
− | | | + | |ProcessingID |
|int | |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) | |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 | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
− | |Notes | + | |Notes about the processing |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 2,251: | Line 2,203: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,257: | Line 2,209: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 2,263: | Line 2,215: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,269: | Line 2,221: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 2,275: | Line 2,227: | ||
|R | |R | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |ToolUsage |
− | | | + | |xml (MAX) |
− | + | |The tools used for the processing and their usage or settings. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |The | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
| - | | - | ||
Line 2,332: | Line 2,254: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionSpecimenRelation=== |
− | The | + | The relations of a collection specimen to other collection specimen |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 2,341: | Line 2,263: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>CollectionSpecimenID</u> | |<u>CollectionSpecimenID</u> | ||
|int | |int | ||
− | | | + | |Unique reference ID for the collection specimen record (primary key) |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | |<u> | + | |<u>RelatedSpecimenURI</u> |
− | | | + | |varchar (255) |
− | | | + | |URI of the related specimen |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | | | + | |RelatedSpecimenDisplayText |
− | | | + | |varchar (255) |
− | | | + | |The name of a related specimen as shown e.g. in a user interface |
|R | |R | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |RelationType |
− | |nvarchar ( | + | |nvarchar (50) |
− | | | + | |Type of the relation between the specimen (= foreign key, see table CollRelationType_Enum) |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |RelatedSpecimenCollectionID |
|int | |int | ||
− | | | + | |ID of the Collection as stored in table Collection (= foreign key, see table Collection) |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |RelatedSpecimenDescription |
− | | | + | |nvarchar (MAX) |
− | | | + | |Description of the related specimen |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
− | |Notes | + | |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 | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 2,401: | Line 2,317: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,407: | Line 2,323: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 2,413: | Line 2,329: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,419: | Line 2,335: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
|<br />''DefaultValue: newsequentialid()'' | |<br />''DefaultValue: newsequentialid()'' | ||
|R | |R | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
|} | |} | ||
Line 2,452: | Line 2,362: | ||
|} | |} | ||
− | ===Table: | + | ===Table: CollectionSpecimenTransaction=== |
− | The | + | The transactions in which a specimen was involved |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 2,461: | Line 2,371: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>CollectionSpecimenID</u> | |<u>CollectionSpecimenID</u> | ||
|int | |int | ||
− | | | + | |Refers to ID of CollectionSpecimen (= Foreign key and part of primary key) |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | |<u> | + | |<u>TransactionID</u> |
− | | | + | |int |
− | | | + | |Unique ID for the transaction (= Foreign key and part of primary key) |
|R | |R | ||
|U | |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 | |R | ||
+ | |U | ||
+ | |- | ||
+ | |IsOnLoan | ||
+ | |bit | ||
+ | |True if a specimen is on loan | ||
| - | | - | ||
− | |- | + | | - |
− | | | + | |- |
+ | |LogInsertedBy | ||
|nvarchar (50) | |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 ( | + | |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 | |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> | <u>'''Relations to other tables'''</u> | ||
Line 2,560: | Line 2,452: | ||
|} | |} | ||
− | ===Table: | + | ===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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 2,570: | Line 2,462: | ||
!Ind. | !Ind. | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>LoginName</u> |
− | | | + | |nvarchar (50) |
− | | | + | |A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. |
|R | |R | ||
|U | |U | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>CollectionID</u> |
|int | |int | ||
− | | | + | |ID for the collection for the User has access to administrate the transaction. |
|R | |R | ||
|U | |U | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<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: 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 | |int | ||
− | | | + | |The ID of the collection which gets the request for a loan. Corresponds to the AdministratingCollectionID in table Transaction. |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | | | + | |RequestingCollectionID |
− | | | + | |int |
− | | | + | |The ID of the collection for which the requester has the permission to create a request |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
|<br />''DefaultValue: newsequentialid()'' | |<br />''DefaultValue: newsequentialid()'' | ||
|R | |R | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
|} | |} | ||
Line 2,650: | Line 2,554: | ||
|} | |} | ||
− | ===Table: | + | ===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;" | {|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;" | |-style="text-align:left; background:#FFFFFF;" | ||
Line 2,660: | Line 2,564: | ||
!Ind. | !Ind. | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>CollectionSpecimenID</u> |
− | | | + | |int |
− | | | + | |Refers to the ID of CollectionSpecimen (= Foreign key and part of primary key) |
|R | |R | ||
|U | |U | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | |<u> | + | |<u>IdentificationUnitID</u> |
|int | |int | ||
− | | | + | |Refers to the ID of IdentficationUnit (= foreign key and part of primary key) |
|R | |R | ||
|U | |U | ||
|-style="background:#FFFFFF;" | |-style="background:#FFFFFF;" | ||
− | | | + | |<u>IdentificationSequence</u> |
− | | | + | |smallint |
− | |<br />''DefaultValue: | + | |The sequence of the identifications. The last identification (having the highest sequence) is regarded as valid<br />''DefaultValue: (1)''<br />''Preset value: 1'' |
|R | |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 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |-style="background:#FFFFFF;" | ||
− | | | ||
|smallint | |smallint | ||
− | |The | + | |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:# | + | |-style="background:#D3D3D3;" |
− | + | |IdentificationDateSupplement | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |IdentificationDateSupplement | ||
|nvarchar (255) | |nvarchar (255) | ||
|Verbal or additional identification date information, e.g. 'end of summer 1985', 'first quarter', '1888-1892' | |Verbal or additional identification date information, e.g. 'end of summer 1985', 'first quarter', '1888-1892' | ||
Line 2,761: | Line 2,617: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|VernacularTerm | |VernacularTerm | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 2,773: | Line 2,629: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#00FFFF;" |
|NameURI | |NameURI | ||
|varchar (255) | |varchar (255) | ||
Line 2,785: | Line 2,641: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|IdentificationQualifier | |IdentificationQualifier | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,791: | Line 2,647: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|TypeStatus | |TypeStatus | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,797: | Line 2,653: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|TypeNotes | |TypeNotes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 2,803: | Line 2,659: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|ReferenceTitle | |ReferenceTitle | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 2,809: | Line 2,665: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|ReferenceURI | |ReferenceURI | ||
|varchar (255) | |varchar (255) | ||
Line 2,815: | Line 2,671: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 2,827: | Line 2,683: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#00FFFF;" |
|ResponsibleAgentURI | |ResponsibleAgentURI | ||
|varchar (255) | |varchar (255) | ||
Line 2,833: | Line 2,689: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 2,839: | Line 2,695: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,845: | Line 2,701: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 2,851: | Line 2,707: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,857: | Line 2,713: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 2,863: | Line 2,719: | ||
|R | |R | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|ReferenceDetails | |ReferenceDetails | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,911: | Line 2,767: | ||
|R | |R | ||
|U | |U | ||
− | |-style="background:# | + | |-style="background:#FFFF00;" |
|LastIdentificationCache | |LastIdentificationCache | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 2,971: | Line 2,827: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|NumberOfUnits | |NumberOfUnits | ||
|smallint | |smallint | ||
Line 2,977: | Line 2,833: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|ExsiccataNumber | |ExsiccataNumber | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,983: | Line 2,839: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|ExsiccataIdentification | |ExsiccataIdentification | ||
|smallint | |smallint | ||
Line 2,989: | Line 2,845: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|UnitIdentifier | |UnitIdentifier | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 2,995: | Line 2,851: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|UnitDescription | |UnitDescription | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,001: | Line 2,857: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Circumstances | |Circumstances | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,007: | Line 2,863: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|DisplayOrder | |DisplayOrder | ||
|smallint | |smallint | ||
Line 3,013: | Line 2,869: | ||
|R | |R | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 3,019: | Line 2,875: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 3,025: | Line 2,881: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,031: | Line 2,887: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 3,037: | Line 2,893: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,043: | Line 2,899: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,121: | Line 2,977: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|ExternalAnalysisURI | |ExternalAnalysisURI | ||
|varchar (255) | |varchar (255) | ||
Line 3,133: | Line 2,989: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#00FFFF;" |
|ResponsibleAgentURI | |ResponsibleAgentURI | ||
|varchar (255) | |varchar (255) | ||
Line 3,145: | Line 3,001: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|SpecimenPartID | |SpecimenPartID | ||
|int | |int | ||
Line 3,151: | Line 3,007: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 3,157: | Line 3,013: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 3,163: | Line 3,019: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,169: | Line 3,025: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 3,175: | Line 3,031: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,181: | Line 3,037: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,247: | Line 3,103: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Geometry | |Geometry | ||
|geometry (MAX) | |geometry (MAX) | ||
Line 3,259: | Line 3,115: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#00FFFF;" |
|ResponsibleAgentURI | |ResponsibleAgentURI | ||
|varchar (255) | |varchar (255) | ||
Line 3,265: | Line 3,121: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#D3D3D3;" |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 3,271: | Line 3,127: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 3,277: | Line 3,133: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,283: | Line 3,139: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 3,289: | Line 3,145: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,295: | Line 3,151: | ||
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |-style="background:#FFC0CB;" |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,324: | Line 3,180: | ||
===Table: IdentificationUnitInPart=== | ===Table: IdentificationUnitInPart=== | ||
The list of the organisms that are found in a part of the specimen | 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:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 3,331: | Line 3,187: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>CollectionSpecimenID</u> | |<u>CollectionSpecimenID</u> | ||
|int | |int | ||
Line 3,337: | Line 3,193: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|<u>IdentificationUnitID</u> | |<u>IdentificationUnitID</u> | ||
|int | |int | ||
Line 3,343: | Line 3,199: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|<u>SpecimenPartID</u> | |<u>SpecimenPartID</u> | ||
|int | |int | ||
Line 3,349: | Line 3,205: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|DisplayOrder | |DisplayOrder | ||
|smallint | |smallint | ||
Line 3,355: | Line 3,211: | ||
|R | |R | ||
| - | | - | ||
− | |- | + | |- |
|Description | |Description | ||
|nvarchar (500) | |nvarchar (500) | ||
Line 3,361: | Line 3,217: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogInsertedBy | |LogInsertedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,367: | Line 3,223: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogInsertedWhen | |LogInsertedWhen | ||
|smalldatetime | |smalldatetime | ||
Line 3,373: | Line 3,229: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,379: | Line 3,235: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|smalldatetime | |smalldatetime | ||
Line 3,385: | Line 3,241: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,414: | Line 3,270: | ||
===Table: LocalisationSystem=== | ===Table: LocalisationSystem=== | ||
The geographic localisation systems, e.g. coordinates | The geographic localisation systems, e.g. coordinates | ||
− | {|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 3,421: | Line 3,277: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>LocalisationSystemID</u> | |<u>LocalisationSystemID</u> | ||
|int | |int | ||
Line 3,427: | Line 3,283: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|LocalisationSystemParentID | |LocalisationSystemParentID | ||
|int | |int | ||
Line 3,433: | Line 3,289: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LocalisationSystemName | |LocalisationSystemName | ||
|nvarchar (100) | |nvarchar (100) | ||
Line 3,439: | Line 3,295: | ||
|R | |R | ||
| - | | - | ||
− | |- | + | |- |
|DefaultAccuracyOfLocalisation | |DefaultAccuracyOfLocalisation | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,445: | Line 3,301: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DefaultMeasurementUnit | |DefaultMeasurementUnit | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,451: | Line 3,307: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|ParsingMethodName | |ParsingMethodName | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,457: | Line 3,313: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayText | |DisplayText | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,463: | Line 3,319: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayEnable | |DisplayEnable | ||
|bit | |bit | ||
Line 3,469: | Line 3,325: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayOrder | |DisplayOrder | ||
|smallint | |smallint | ||
Line 3,475: | Line 3,331: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|Description | |Description | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 3,481: | Line 3,337: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayTextLocation1 | |DisplayTextLocation1 | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,487: | Line 3,343: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DescriptionLocation1 | |DescriptionLocation1 | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 3,493: | Line 3,349: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayTextLocation2 | |DisplayTextLocation2 | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,499: | Line 3,355: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DescriptionLocation2 | |DescriptionLocation2 | ||
|nvarchar (255) | |nvarchar (255) | ||
Line 3,505: | Line 3,361: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,534: | Line 3,390: | ||
===Table: Processing=== | ===Table: Processing=== | ||
The processings of the specimen | The processings of the specimen | ||
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 3,541: | Line 3,397: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>ProcessingID</u> | |<u>ProcessingID</u> | ||
|int | |int | ||
Line 3,547: | Line 3,403: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|ProcessingParentID | |ProcessingParentID | ||
|int | |int | ||
Line 3,553: | Line 3,409: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|DisplayText | |DisplayText | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,559: | Line 3,415: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|Description | |Description | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 3,565: | Line 3,421: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|Notes | |Notes | ||
|nvarchar (MAX) | |nvarchar (MAX) | ||
Line 3,571: | Line 3,427: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|ProcessingURI | |ProcessingURI | ||
|varchar (255) | |varchar (255) | ||
Line 3,577: | Line 3,433: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|OnlyHierarchy | |OnlyHierarchy | ||
|bit | |bit | ||
Line 3,583: | Line 3,439: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 3,589: | Line 3,445: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,595: | Line 3,451: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 3,601: | Line 3,457: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,607: | Line 3,463: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,636: | Line 3,492: | ||
===Table: ProcessingMaterialCategory=== | ===Table: ProcessingMaterialCategory=== | ||
The processings that are possible for a certain material category | The processings that are possible for a certain material category | ||
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 3,643: | Line 3,499: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>ProcessingID</u> | |<u>ProcessingID</u> | ||
|int | |int | ||
Line 3,649: | Line 3,505: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|<u>MaterialCategory</u> | |<u>MaterialCategory</u> | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,655: | Line 3,511: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 3,661: | Line 3,517: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,667: | Line 3,523: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,696: | Line 3,552: | ||
===Table: ProjectAnalysis=== | ===Table: ProjectAnalysis=== | ||
The types of the analysis that are available for a project | The types of the analysis that are available for a project | ||
− | {|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 3,703: | Line 3,559: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>AnalysisID</u> | |<u>AnalysisID</u> | ||
|int | |int | ||
Line 3,709: | Line 3,565: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|<u>ProjectID</u> | |<u>ProjectID</u> | ||
|int | |int | ||
Line 3,715: | Line 3,571: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 3,721: | Line 3,577: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,727: | Line 3,583: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 3,733: | Line 3,589: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,739: | Line 3,595: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,768: | Line 3,624: | ||
===Table: ProjectProcessing=== | ===Table: ProjectProcessing=== | ||
The types of processing available within a project | The types of processing available within a project | ||
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 3,775: | Line 3,631: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
|<u>ProcessingID</u> | |<u>ProcessingID</u> | ||
|int | |int | ||
Line 3,781: | Line 3,637: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|<u>ProjectID</u> | |<u>ProjectID</u> | ||
|int | |int | ||
Line 3,787: | Line 3,643: | ||
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
|LogCreatedWhen | |LogCreatedWhen | ||
|datetime | |datetime | ||
Line 3,793: | Line 3,649: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogCreatedBy | |LogCreatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,799: | Line 3,655: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedWhen | |LogUpdatedWhen | ||
|datetime | |datetime | ||
Line 3,805: | Line 3,661: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|LogUpdatedBy | |LogUpdatedBy | ||
|nvarchar (50) | |nvarchar (50) | ||
Line 3,811: | Line 3,667: | ||
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
|RowGUID | |RowGUID | ||
|uniqueidentifier | |uniqueidentifier | ||
Line 3,838: | Line 3,694: | ||
|} | |} | ||
− | ===Table: | + | ===Table: ProjectProxy=== |
− | The | + | The projects as stored in the module DiversityProjects |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
− | !Column | + | !Column |
!Data type | !Data type | ||
!Description | !Description | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
− | |<u> | + | |<u>ProjectID</u> |
|int | |int | ||
− | | | + | |ID of the project to which the specimen belongs (Projects are defined in DiversityProjects) |
|R | |R | ||
|U | |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 | |R | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |ImageDescriptionTemplate |
− | | | + | |xml (MAX) |
− | | | + | |Template for the description of images |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |ProjectURI |
− | | | + | |varchar (255) |
− | |The | + | |The URI of the project, e.g. as provided by the module DiversityProjects. |
| - | | - | ||
| - | | - | ||
− | + | |} | |
− | + | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |} | ||
− | |||
− | |||
<u>'''Relations to other tables'''</u> | <u>'''Relations to other tables'''</u> | ||
Line 3,934: | Line 3,754: | ||
|} | |} | ||
− | ===Table: | + | ===Table: ProjectUser=== |
− | + | The projects that a user can access | |
− | {|border=1 cellpadding="5" style="margin:1em 1em 1em 0; background:# | + | {|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:# | + | |-style="text-align:left; background:#D3D3D3;" |
!Column | !Column | ||
!Data type | !Data type | ||
Line 3,943: | Line 3,763: | ||
!Requ. | !Requ. | ||
!Ind. | !Ind. | ||
− | |- | + | |- |
− | |<u> | + | |<u>LoginName</u> |
− | | | + | |nvarchar (50) |
− | | | + | |A login name which the user uses for access the DivesityWorkbench, Microsoft domains, etc.. |
|R | |R | ||
|U | |U | ||
− | |- | + | |- |
− | | | + | |<u>ProjectID</u> |
|int | |int | ||
− | | | + | |ID of the project to which the specimen belongs (Projects are defined in DiversityProjects) |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|R | |R | ||
− | | | + | |U |
− | | | + | |- |
− | | | + | |RowGUID |
− | | | + | |uniqueidentifier |
− | + | |<br />''DefaultValue: newsequentialid()'' | |
|R | |R | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |ReadOnly |
− | | | + | |bit |
− | | | + | |If the user has only read access to data of this project<br />''DefaultValue: (0)'' |
| - | | - | ||
| - | | - | ||
− | |-style="background:# | + | |} |
− | | | + | |
− | |int | + | |
− | |ID | + | |
+ | <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 | |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) | |nvarchar (50) | ||
− | | | + | |The default for the accuracy of values that can be reached with this method |
| - | | - | ||
| - | | - | ||
− | |- | + | |- |
− | | | + | |DefaultMeasurementUnit |
− | |nvarchar ( | + | |nvarchar (50) |
− | |The | + | |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) | |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) | |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) | |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 ( | + | |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) | ||
| - | | - | ||
− | |- | + | | - |
− | |ResponsibleName | + | |- |
− | |nvarchar (255) | + | |ToTransactionNumber |
− | |The person responsible for this transaction | + | |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 |
− | | - | + | | - |
− | |- | + | | - |
− | |ResponsibleAgentURI | + | |- |
− | |varchar (255) | + | |NumberOfUnits |
− | |The URI of the person, team or organisation responsible for the data (see e.g. module DiversityAgents) | + | |smallint |
− | | - | + | |The number of units that were (initially) included in the transaction |
− | | - | + | | - |
− | |-style="background:# | + | | - |
− | |LogCreatedWhen | + | |- |
− | |datetime | + | |Investigator |
− | |The time when this dataset was created<br />''DefaultValue: getdate()'' | + | |nvarchar (50) |
− | | - | + | |The investigator for whose study a transacted material was sent |
− | | - | + | | - |
− | |-style="background:# | + | | - |
− | | | + | |- |
− | |nvarchar (50) | + | |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 | |int | ||
− | + | |The current project selected by the user | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |The | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
| - | | - | ||
|} | |} |
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