diff --git a/.gitignore b/.gitignore index 7100c6d..a5ba832 100644 --- a/.gitignore +++ b/.gitignore @@ -43,3 +43,4 @@ log .idea .DS_Store +.ipynb_checkpoints diff --git a/Examples/Sample.py b/Examples/Sample.py index bd941cd..88dfe3d 100644 --- a/Examples/Sample.py +++ b/Examples/Sample.py @@ -1,36 +1,32 @@ __author__ = 'stephanie' -import sys -import os + import matplotlib.pyplot as plt from matplotlib import dates -#this will be removed when we can installthe api -# this_file = os.path.realpath(__file__) -# directory = os.path.dirname(os.path.dirname(this_file)) -# print directory -# sys.path.insert(0, directory) from odm2api.ODMconnection import dbconnection from odm2api.ODM2.services.readService import * +from odm2api.ODM2.services import CreateODM2 # Create a connection to the ODM2 database # ---------------------------------------- #connect to database -#createconnection (dbtype, servername, dbname, username, password) -#session_factory = dbconnection.createConnection('mysql', 'localhost', 'odm2', 'ODM', 'odm') -#session_factory = dbconnection.createConnection('connection type: sqlite|mysql|mssql|postgresql', '/your/path/to/db/goes/here', 2.0) -session_factory = dbconnection.createConnection('sqlite', '/Users/denversmith/Downloads/ODM2.sqlite', 2.0) -# session_factory= dbconnection.createConnection('mssql') +# createconnection (dbtype, servername, dbname, username, password) +# session_factory = dbconnection.createConnection('connection type: sqlite|mysql|mssql|postgresql', '/your/path/to/db/goes/here', 2.0)#sqlite +# session_factory = dbconnection.createConnection('mysql', 'localhost', 'odm2', 'ODM', 'odm')#mysql +# session_factory= dbconnection.createConnection('mssql', "(local)", "LBRODM2", "ODM", "odm")#win MSSQL +session_factory= dbconnection.createConnection('mssql', "arroyoodm2", "", "ODM", "odm")#mac/linux MSSQL +# session_factory = dbconnection.createConnection('sqlite', '/Users/Stephanie/Desktop/TestODM2.db', 2.0) #_session = session_factory.getSession() - read = ReadODM2(session_factory) +create =CreateODM2(session_factory) @@ -38,7 +34,7 @@ # ------------------------------ # Get all of the variables from the database and print their names to the console allVars = read.getVariables() - +print ("\n-------- Information about Variables ---------") for x in allVars: print(x.VariableCode + ": " + x.VariableNameCV) @@ -46,13 +42,13 @@ # Get all of the people from the database allPeople = read.getPeople() - +print ("\n-------- Information about People ---------") for x in allPeople: print(x.PersonFirstName + " " + x.PersonLastName) try: print("\n-------- Information about an Affiliation ---------") - allaff = read.getAllAffiliations() + allaff = read.getAffiliations() for x in allaff: print(x.PersonObj.PersonFirstName + ": " + str(x.OrganizationID)) except Exception as e: @@ -60,18 +56,20 @@ # Get all of the SamplingFeatures from the database that are Sites try: - siteFeatures = read.getSamplingFeaturesByType('Site') + print ("\n-------- Information about Sites ---------") + siteFeatures = read.getSamplingFeatures() + # siteFeatures = read.getSamplingFeatures(type='Site') numSites = len(siteFeatures) for x in siteFeatures: - print(x.SamplingFeatureCode + ": " + x.SamplingFeatureName) + print(x.SamplingFeatureCode + ": " + x.SamplingFeatureTypeCV ) except Exception as e: print("Unable to demo getSamplingFeaturesByType", e) # Now get the SamplingFeature object for a SamplingFeature code try: - sf = read.getSamplingFeatureByCode('USU-LBR-Mendon') + sf = read.getSamplingFeatures(code=['USU-LBR-Mendon'])[0] print(sf) print("\n-------- Information about an individual SamplingFeature ---------") print("The following are some of the attributes of a SamplingFeature retrieved using getSamplingFeatureByCode(): \n") @@ -87,18 +85,14 @@ #add sampling feature print("\n------------ Create Sampling Feature --------- \n") try: - from odm2api.ODM2.models import SamplingFeatures - newsf = SamplingFeatures() + # from odm2api.ODM2.models import SamplingFeatures session = session_factory.getSession() - newsf.FeatureGeometry = "POINT(-111.946 41.718)" - newsf.Elevation_m=100 - newsf.ElevationDatumCV=sf.ElevationDatumCV - newsf.SamplingFeatureCode= "TestSF" - newsf.SamplingFeatureDescription = "this is a test to add Feature Geomotry" - newsf.SamplingFeatureGeotypeCV= "Point" - newsf.SamplingFeatureTypeCV=sf.SamplingFeatureTypeCV - newsf.SamplingFeatureUUID= sf.SamplingFeatureUUID+"2" - session.add(newsf) + newsf = Sites(FeatureGeometryWKT = "POINT(-111.946 41.718)", Elevation_m=100, ElevationDatumCV=sf.ElevationDatumCV, + SamplingFeatureCode= "TestSF",SamplingFeatureDescription = "this is a test to add Feature Geomotry", + SamplingFeatureGeotypeCV= "Point", SamplingFeatureTypeCV=sf.SamplingFeatureTypeCV,SamplingFeatureUUID= sf.SamplingFeatureUUID+"2", + SiteTypeCV="cave", Latitude= "100", Longitude= "-100", SpatialReferenceID= 0) + + create.createSamplingFeature(newsf) #session.commit() print("new sampling feature added to database", newsf) @@ -125,29 +119,29 @@ # Now get a particular Result using a ResultID -print("\n------- Example of Retrieving Attributes of a Time Series Result -------") +print("\n------- Example of Retrieving Attributes of a Result -------") try: - tsResult = read.getTimeSeriesResultByResultId(1) + tsResult = read.getResults(ids = [1])[0] print ( - "The following are some of the attributes for the TimeSeriesResult retrieved using getTimeSeriesResultByResultID(): \n" + - "ResultTypeCV: " + tsResult.ResultObj.ResultTypeCV + "\n" + + "The following are some of the attributes for the TimeSeriesResult retrieved using getResults(ids=[1]): \n" + + "ResultTypeCV: " + tsResult.ResultTypeCV + "\n" + # Get the ProcessingLevel from the TimeSeriesResult's ProcessingLevel object - "ProcessingLevel: " + tsResult.ResultObj.ProcessingLevelObj.Definition + "\n" + - "SampledMedium: " + tsResult.ResultObj.SampledMediumCV + "\n" + + "ProcessingLevel: " + tsResult.ProcessingLevelObj.Definition + "\n" + + "SampledMedium: " + tsResult.SampledMediumCV + "\n" + # Get the variable information from the TimeSeriesResult's Variable object - "Variable: " + tsResult.ResultObj.VariableObj.VariableCode + ": " + tsResult.ResultObj.VariableObj.VariableNameCV + "\n" - "AggregationStatistic: " + tsResult.AggregationStatisticCV + "\n" + - "Elevation_m: " + str(sf.Elevation_m) + "\n" + + "Variable: " + tsResult.VariableObj.VariableCode + ": " + tsResult.VariableObj.VariableNameCV + "\n" + #"AggregationStatistic: " + tsResult.AggregationStatisticCV + "\n" + + # Get the site information by drilling down - "SamplingFeature: " + tsResult.ResultObj.FeatureActionObj.SamplingFeatureObj.SamplingFeatureCode + " - " + - tsResult.ResultObj.FeatureActionObj.SamplingFeatureObj.SamplingFeatureName) + "SamplingFeature: " + tsResult.FeatureActionObj.SamplingFeatureObj.SamplingFeatureCode + " - " + + tsResult.FeatureActionObj.SamplingFeatureObj.SamplingFeatureName) except Exception as e: print("Unable to demo Example of retrieving Attributes of a time Series Result: ", e) # Get the values for a particular TimeSeriesResult print("\n-------- Example of Retrieving Time Series Result Values ---------") -tsValues = read.getTimeSeriesResultValuesByResultId(1) # Return type is a pandas dataframe +tsValues = read.getResultValues(resultid = 1) # Return type is a pandas datafram # Print a few Time Series Values to the console # tsValues.set_index('ValueDateTime', inplace=True) @@ -159,18 +153,9 @@ # Plot the time series try: - fig = plt.figure() - ax = fig.add_subplot(111) - tsValues.plot(x='ValueDateTime', y='DataValue', kind='line', - title=tsResult.ResultObj.VariableObj.VariableNameCV + " at " + tsResult.ResultObj.FeatureActionObj.SamplingFeatureObj.SamplingFeatureName, - ax=ax) - ax.set_ylabel(tsResult.ResultObj.VariableObj.VariableNameCV + " (" + tsResult.ResultObj.UnitsObj.UnitsAbbreviation + ")") - ax.set_xlabel("Date/Time") - ax.xaxis.set_minor_locator(dates.MonthLocator()) - ax.xaxis.set_minor_formatter(dates.DateFormatter('%b')) - ax.xaxis.set_major_locator(dates.YearLocator()) - ax.xaxis.set_major_formatter(dates.DateFormatter('\n%Y')) - ax.grid(True) + plt.figure() + ax=tsValues.plot(x='ValueDateTime', y='DataValue') + plt.show() except Exception as e: print("Unable to demo plotting of tsValues: ", e) diff --git a/odm2api/ODM2/apiCustomType.py b/odm2api/ODM2/apiCustomType.py deleted file mode 100644 index 903d284..0000000 --- a/odm2api/ODM2/apiCustomType.py +++ /dev/null @@ -1,132 +0,0 @@ -from sqlalchemy import func -from sqlalchemy.sql.expression import FunctionElement, ClauseElement, Executable -#from sqlalchemy.types import UserDefinedType -from sqlalchemy.ext.compiler import compiles - - -from geoalchemy2 import Geometry as GeometryBase - -# function to pull from the database -def compiles_as_bound(cls): - - @compiles(cls) - def compile_function(element, compiler, **kw): - return None - - @compiles(cls, 'postgresql') - def compile_function(element, compiler, **kw): - val = "%s(%s)"%(element.name, compiler.process(element.clauses.clauses[0])) - #ST_AsText("\"ODM2\".\"SamplingFeatures\".\"FeatureGeometry\"") - return val - - @compiles(cls, 'mysql') - def compile_function(element, compiler, **kw): - val="%s(%s)"%(element.name.lower().split('_')[1], compiler.process(element.clauses.clauses[0])) - #astext("`ODM2`.`SamplingFeatures`.`FeatureGeometry`") - #ST_astext() - return val - - @compiles(cls, 'sqlite') - def compile_function(element, compiler, **kw): - #ST_AsText(samplingfeatures.featuregeometry) - #assuming the user is using spatialite - #return "%s(%s)"%(element.name.split('_')[-1], compiler.process(element.clauses.clauses[0])) - #what if user does not have a spatial db? - return "%s"%compiler.process(element.clauses.clauses[0]) - - @compiles(cls, 'mssql') - def compile_function(element, compiler, **kw): - #[SamplingFeatures].[FeatureGeometry].STAsText() - return "%s.%s()" % (compiler.process(element.clauses.clauses[0]), element.name.replace('_', '') ) - - return cls - - - -# function to save to the database -def saves_as_bound(cls): - - @compiles(cls) - def compile_function(element, compiler, **kw): - return element - - @compiles(cls, 'postgresql') - def compile_function(element, compiler, **kw): - #print "postgresql Save : %s" % element.__str__() - return "%s(%s)"%(element.name, "'POINT(30 10)'") - - @compiles(cls, 'mysql') - def compile_function(element, compiler, **kw): - name= element.name.split('_')[-1] - - # GeomFromText("POINT(30 10)") - # GeomFromText(:featuregeometry) - - val = "%s(%s)"%(name, compiler.process(element.bindelement)) - return val - - @compiles(cls, 'sqlite') - def compile_function(element, compiler, **kw): - name= element.name.split('_')[-1] - #return "%s(%s)" % (element.name.replace('_', ''), "'POINT (30 10)'") - #assuming the user is using spatialite - #return "%s(%s)"%(name, "'POINT(30 10)'") - - #what if user does not have a spatial? -# >>> self.bindtemplate -# '?' -# (BindParameter('featuregeometry', None, type_=Geometry()),) -# >>> dialect.paramstyle - #print compiler.bindtemplate - return "%s(%s)"%(name, '') - - @compiles(cls, 'mssql') - def compile_function(element, compiler, **kw): - #return "Geometry::%s(%s, 0)"%(element.name.replace('_', ''), "'POINT (30 10)'") - name = "Geometry::%s" % element.name.replace('_', '') - - return "%s(%s,0)"%(name, "'POINT(30 10)'") - - return cls - - - -@saves_as_bound -class ST_GeomFromText(FunctionElement): - name = "ST_GeomFromText" - - - -@compiles_as_bound -class ST_AsText(FunctionElement): - name = 'ST_AsText' - -@compiles_as_bound -class ST_AsBinary(FunctionElement): - name = 'ST_AsBinary' - - - -class Geometry(GeometryBase): - - def column_expression(self, col): - value = ST_AsText(col, type_=self) - if value is None: - value = func.ST_AsText(col, type_=self) - return value - - def bind_expression(self, bindvalue): - val = None - # mysql, sqlite - val = func.GeomFromText(bindvalue, type_=self) - - # postgresql - # val = func.ST_GeomFromText(bindvalue, type_=self) - # mssql - if val is None: - val = ST_GeomFromText(bindvalue, type_=self) - return val - - - - diff --git a/odm2api/ODM2/models.py b/odm2api/ODM2/models.py index b05f351..1062e9f 100644 --- a/odm2api/ODM2/models.py +++ b/odm2api/ODM2/models.py @@ -1,8 +1,7 @@ -from sqlalchemy import BigInteger, Column, Date, DateTime, Float, ForeignKey, Integer, String, Boolean, BLOB +from sqlalchemy import BigInteger, Column, Date, DateTime, Float, ForeignKey, Integer, String, Boolean, BLOB, case from sqlalchemy.orm import relationship from sqlalchemy.dialects import postgresql, mysql, sqlite -# Should not be importing anything from a specific dialect -# from sqlalchemy.dialects.mssql.base import BIT + from geoalchemy import GeometryDDL, GeometryColumn from geoalchemy.geometry import Geometry @@ -30,11 +29,8 @@ def is_hex(s): ################################################################################ # CV ################################################################################ - - -class CVActionType(Base): - __tablename__ = 'cv_actiontype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} +class CV (object): + __table_args__ = {u'schema': 'odm2'} Term = Column('term', String(255), nullable=False) Name = Column('name', String(255), primary_key=True) @@ -45,401 +41,124 @@ class CVActionType(Base): def __repr__(self): return "" % (self.Term, self.Name, self.Definition, self.Category) +class CVActionType(Base, CV): + __tablename__ = 'cv_actiontype' -class CVAggregationStatistic(Base): - __tablename__ = 'cv_aggregationstatistic' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % ( - self.Term, self.Name, self.Definition, self.Category) +class CVAggregationStatistic(Base, CV): + __tablename__ = 'cv_aggregationstatistic' -class CVAnnotationType(Base): +class CVAnnotationType(Base, CV): __tablename__ = 'cv_annotationtype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVCensorCode(Base): +class CVCensorCode(Base, CV): __tablename__ = 'cv_censorcode' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVDataQualityType(Base): +class CVDataQualityType(Base, CV): __tablename__ = 'cv_dataqualitytype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVDataSetType(Base): +class CVDataSetType(Base, CV): __tablename__ = 'cv_datasettypecv' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVDeploymentType(Base): +class CVDeploymentType(Base, CV): __tablename__ = 'cv_deploymenttype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVDirectiveType(Base): +class CVDirectiveType(Base, CV): __tablename__ = 'cv_directivetype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVElevationDatum(Base): +class CVElevationDatum(Base, CV): __tablename__ = 'cv_elevationdatum' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVEquipmentType(Base): +class CVEquipmentType(Base, CV): __tablename__ = 'cv_equipmenttype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVMediumType(Base): +class CVMediumType(Base, CV): __tablename__ = 'cv_medium' - __table_args__ = {u'schema': 'odm2'} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyUri = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" %(self.Term, self.Name, self.Definition, self.Category) -class CVMethodType(Base): +class CVMethodType(Base, CV): __tablename__ = 'cv_methodtype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVOrganizationType(Base): +class CVOrganizationType(Base, CV): __tablename__ = 'cv_organizationtype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVPropertyDataType(Base): +class CVPropertyDataType(Base, CV): __tablename__ = 'cv_propertydatatype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVQualityCode(Base): +class CVQualityCode(Base, CV): __tablename__ = 'cv_qualitycode' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVResultType(Base): +class CVResultType(Base, CV): __tablename__ = 'cv_resulttype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVRelationshipType(Base): +class CVRelationshipType(Base, CV): __tablename__ = 'cv_relationshiptype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVSamplingFeatureGeoType(Base): +class CVSamplingFeatureGeoType(Base, CV): __tablename__ = 'cv_samplingfeaturegeotype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVSamplingFeatureType(Base): +class CVSamplingFeatureType(Base, CV): __tablename__ = 'cv_samplingfeaturetype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVSpatialOffsetType(Base): +class CVSpatialOffsetType(Base, CV): __tablename__ = 'cv_spatialoffsettype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVSpeciation(Base): +class CVSpeciation(Base, CV): __tablename__ = 'cv_speciation' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVSpecimenType(Base): +class CVSpecimenType(Base, CV): __tablename__ = 'cv_specimentype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVSiteType(Base): +class CVSiteType(Base, CV): __tablename__ = 'cv_sitetype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVStatus(Base): +class CVStatus(Base, CV): __tablename__ = 'cv_status' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVTaxonomicClassifierType(Base): +class CVTaxonomicClassifierType(Base, CV): __tablename__ = 'cv_taxonomicclassifiertype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVUnitsType(Base): +class CVUnitsType(Base, CV): __tablename__ = 'cv_unitstype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVVariableName(Base): +class CVVariableName(Base, CV): __tablename__ = 'cv_variablename' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVVariableType(Base): +class CVVariableType(Base, CV): __tablename__ = 'cv_variabletype' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) -class CVReferenceMaterialMedium(Base): +class CVReferenceMaterialMedium(Base, CV): __tablename__ = 'cv_referencematerialmedium' - __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) # ################################################################################ # Core # ################################################################################ class People(Base): - __tablename__ = u'people' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + PersonID = Column('personid', Integer, primary_key=True, nullable=False) PersonFirstName = Column('personfirstname', String(255), nullable=False) @@ -452,8 +171,7 @@ def __repr__(self): class Organizations(Base): - __tablename__ = u'organizations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + OrganizationID = Column('organizationid', Integer, primary_key=True, nullable=False) OrganizationTypeCV = Column('organizationtypecv', ForeignKey(CVOrganizationType.Name), nullable=False, @@ -474,8 +192,7 @@ def __repr__(self): class Affiliations(Base): - __tablename__ = 'affiliations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + AffiliationID = Column('affiliationid', Integer, primary_key=True, nullable=False) PersonID = Column('personid', ForeignKey(People.PersonID), nullable=False) @@ -493,8 +210,7 @@ class Affiliations(Base): class Methods(Base): - __tablename__ = 'methods' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + MethodID = Column('methodid', Integer, primary_key=True, nullable=False) MethodTypeCV = Column('methodtypecv', ForeignKey(CVMethodType.Name), nullable=False, index=True) @@ -513,8 +229,7 @@ def __repr__(self): class Actions(Base): - __tablename__ = u'actions' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + ActionID = Column('actionid', Integer, primary_key=True, nullable=False) ActionTypeCV = Column('actiontypecv', ForeignKey(CVActionType.Name), nullable=False, index=True) @@ -534,8 +249,7 @@ def __repr__(self): class ActionBy(Base): - __tablename__ = u'actionby' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ActionID = Column('actionid', Integer, ForeignKey(Actions.ActionID), nullable=False) @@ -548,8 +262,7 @@ class ActionBy(Base): class SamplingFeatures(Base): - __tablename__ = u'samplingfeatures' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + SamplingFeatureID = Column('samplingfeatureid', Integer, primary_key=True, nullable=False) SamplingFeatureUUID = Column('samplingfeatureuuid', String(36), nullable=False) @@ -562,8 +275,20 @@ class SamplingFeatures(Base): index=True) Elevation_m = Column('elevation_m', Float(53)) ElevationDatumCV = Column('elevationdatumcv', ForeignKey(CVElevationDatum.Name), index=True) - FeatureGeometry = Column('featuregeometry', Geometry) + FeatureGeometry = Column('featuregeometry', Geometry) # String(50))# + FeatureGeometryWKT = Column('featuregeometrywkt', String(50)) # FeatureGeometry = Column('featuregeometry', BLOB) # custom geometry queries + __mapper_args__ = { + # 'polymorphic_on': SamplingFeatureTypeCV, + "polymorphic_on":case([ + (SamplingFeatureTypeCV == "Specimen", "Specimen"), + (SamplingFeatureTypeCV == "Site", "Site"), + ], else_="samplingfeatures"), + 'polymorphic_identity':'samplingfeatures', + # 'with_polymorphic':'*' + } + + def shape(self): """ @@ -574,32 +299,36 @@ def shape(self): _FeatureGeometry = self.FeatureGeometry geomshape = None if _FeatureGeometry is not None: + print _FeatureGeometry + print _FeatureGeometry.geom_wkb if is_hex(_FeatureGeometry.geom_wkb): # to parse wkb hex string directly geomshape = wkb.loads(_FeatureGeometry.geom_wkb, hex=True) - # _FeatureGeometry = GeometryColumn('featuregeometry', Geometry) + # _FeatureGeometry = GeometryColumn('featuregeometry', Geometry) else: geomshape = wkt.loads(str(_FeatureGeometry.geom_wkb)) return geomshape def __repr__(self): - geom = self.shape() - if geom is not None: - geomkt = geom.wkt - else: - geomkt = None + # geom = self.shape() + # if geom is not None: + # geomkt = geom.wkt + # else: + # geomkt = None return "" % ( self.SamplingFeatureCode, self.SamplingFeatureName, self.SamplingFeatureDescription, - self.Elevation_m, geomkt) + # self.Elevation_m, geomkt) + self.Elevation_m, self.FeatureGeometryWKT) + GeometryDDL(SamplingFeatures.__table__) # Geoalchemy1 class FeatureActions(Base): __tablename__ = u'featureactions' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} FeatureActionID = Column('featureactionid', Integer, primary_key=True, nullable=False) SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), @@ -615,7 +344,7 @@ def __repr__(self): class DataSets(Base): __tablename__ = u'datasets' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} DataSetID = Column('datasetid', Integer, primary_key=True, nullable=False) @@ -633,7 +362,7 @@ def __repr__(self): class ProcessingLevels(Base): __tablename__ = u'processinglevels' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ProcessingLevelID = Column('processinglevelid', Integer, primary_key=True, nullable=False) ProcessingLevelCode = Column('processinglevelcode', String(50), nullable=False) @@ -647,7 +376,7 @@ def __repr__(self): class RelatedActions(Base): __tablename__ = u'relatedactions' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} RelationID = Column('relationid', Integer, primary_key=True, nullable=False) ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) @@ -661,23 +390,24 @@ class RelatedActions(Base): class TaxonomicClassifiers(Base): __tablename__ = u'taxonomicclassifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} TaxonomicClassifierID = Column('taxonomicclassifierid', Integer, primary_key=True, nullable=False) TaxonomicClassifierTypeCV = Column('taxonomicclassifiertypecv', ForeignKey(CVTaxonomicClassifierType.Name), nullable=False, index=True) TaxonomicClassifierName = Column('taxonomicclassifiername', String(255), nullable=False) - TaxonomicClassifierCommonName = Column('taxonomicclassifiercommonname',String(255)) - TaxonomicClassifierDescription = Column('taxonomicclassifierdescription',String(500)) - ParentTaxonomicClassifierID = Column('parenttaxonomicclassifierid',ForeignKey('odm2.taxonomicclassifiers.taxonomicclassifierid')) + TaxonomicClassifierCommonName = Column('taxonomicclassifiercommonname', String(255)) + TaxonomicClassifierDescription = Column('taxonomicclassifierdescription', String(500)) + ParentTaxonomicClassifierID = Column('parenttaxonomicclassifierid', + ForeignKey('odm2.taxonomicclassifiers.taxonomicclassifierid')) parent = relationship(u'TaxonomicClassifiers', remote_side=[TaxonomicClassifierID]) class Units(Base): __tablename__ = u'units' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} UnitsID = Column('unitsid', Integer, primary_key=True, nullable=False) UnitsTypeCV = Column('unitstypecv', ForeignKey(CVUnitsType.Name), nullable=False, index=True) @@ -687,12 +417,12 @@ class Units(Base): def __repr__(self): return "" % ( - self.UnitsID, self.UnitsTypeCV, self.UnitsAbbreviation, self.UnitsName) + self.UnitsID, self.UnitsTypeCV, self.UnitsAbbreviation, self.UnitsName) class Variables(Base): __tablename__ = u'variables' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} VariableID = Column('variableid', Integer, primary_key=True, nullable=False) VariableTypeCV = Column('variabletypecv', ForeignKey(CVVariableType.Name), nullable=False, index=True) @@ -706,26 +436,9 @@ def __repr__(self): return "" % (self.VariableID, self.VariableCode, self.VariableNameCV) -''' -class ResultTypeCV(Base): - __tablename__ = u'ResultTypeCV' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - ResultTypeCV = Column(String(255), primary_key=True) - ResultTypeCategory = Column(String(255), nullable=False) - DataType = Column(String(255), nullable=False) - ResultTypeDefinition = Column(String(500), nullable=False) - FixedDimensions = Column(String(255), nullable=False) - VaryingDimensions = Column(String(255), nullable=False) - SpaceMeasurementFramework = Column(String(255), nullable=False) - TimeMeasurementFramework = Column(String(255), nullable=False) - VariableMeasurementFramework = Column(String(255), nullable=False) -''' - - class Results(Base): __tablename__ = u'results' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', BigIntegerType, primary_key=True) @@ -757,6 +470,24 @@ class Results(Base): UnitsObj = relationship(Units) VariableObj = relationship(Variables) + __mapper_args__ = { + # 'polymorphic_on':ResultTypeCV, + "polymorphic_on":case([ + (ResultTypeCV == "Point coverage", "Point coverage"), + (ResultTypeCV == "Profile Coverage", "Profile Coverage"), + (ResultTypeCV == "Category coverage", "Category coverage"), + (ResultTypeCV == "Transect Coverage", "Transect Coverage"), + (ResultTypeCV == "Spectra coverage", "Spectra coverage"), + (ResultTypeCV == "Time series coverage", "Time series coverage"), + (ResultTypeCV == "Section coverage", "Section coverage"), + (ResultTypeCV == "Profile Coverage", "Profile Coverage"), + (ResultTypeCV == "Trajectory coverage", "Trajectory coverage"), + (ResultTypeCV == "Measurement", "Measurement"), + ], else_="results"), + 'polymorphic_identity':'results', + # 'with_polymorphic':'*' + } + def __repr__(self): return "" % ( self.ResultID, self.ResultUUID, self.ResultTypeCV, self.ProcessingLevelID, self.ValueCount) @@ -765,12 +496,41 @@ def __repr__(self): # ################################################################################ # Equipment # ################################################################################ + + +class DataLoggerProgramFiles(Base): + __tablename__ = u'dataloggerprogramfiles' + __table_args__ = {u'schema': 'odm2'} + ProgramID = Column('programid', Integer, primary_key=True, nullable=False) + AffiliationID = Column('affiliationid', Integer, ForeignKey(Affiliations.AffiliationID), nullable=False) + ProgramName = Column('programname', String(255), nullable=False) + ProgramDescription = Column('programdescription', String(500)) + ProgramVersion = Column('programversion', String(50)) + ProgramFileLink = Column('programfilelink', String(255)) + + AffiliationObj = relationship(Affiliations) + + +class DataLoggerFiles(Base): + __tablename__ = u'dataloggerfiles' + __table_args__ = {u'schema': 'odm2'} + + DataLoggerFileID = Column('dataloggerfileid', Integer, primary_key=True, nullable=False) + ProgramID = Column('actionid', Integer, ForeignKey(DataLoggerProgramFiles.ProgramID), nullable=False) + DataLoggerFileName = Column('dataloggerfilename', String(255), nullable=False) + DataLoggerOutputFileDescription = Column('dataloggeroutputfiledescription', String(500)) + DataLoggerOutputFileLink = Column('dataloggeroutputfilelink', String(255)) + + ProgramObj = relationship(DataLoggerProgramFiles) + + class EquipmentModels(Base): __tablename__ = u'equipmentmodels' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ModelID = Column('modelid', Integer, primary_key=True, nullable=False) - ModelManufacturerID = Column('modelmanufacturerid', ForeignKey(Organizations.OrganizationID), nullable=False) + ModelManufacturerID = Column('modelmanufacturerid', Integer, + ForeignKey(Organizations.OrganizationID), nullable=False) ModelPartNumber = Column('modelpartnumber', String(50)) ModelName = Column('modelname', String(255), nullable=False) ModelDescription = Column('modeldescription', String(500)) @@ -778,12 +538,60 @@ class EquipmentModels(Base): ModelLink = Column('modellink', String(255)) IsInstrument = Column('isinstrument', Boolean, nullable=False) - OrganizationObj = relationship(Organizations) + OrganizationObj = relationship(Organizations) + + + +class InstrumentOutputVariables(Base): + __tablename__ = u'instrumentoutputvariables' + __table_args__ = {u'schema': 'odm2'} + + InstrumentOutputVariableID = Column('instrumentoutputvariableid', Integer, primary_key=True, nullable=False) + ModelID = Column('modelid', Integer, ForeignKey(EquipmentModels.ModelID), nullable=False) + VariableID = Column('variableid', Integer, ForeignKey(Variables.VariableID), nullable=False) + InstrumentMethodID = Column('instrumentmethodid', Integer, ForeignKey(Methods.MethodID), nullable=False) + InstrumentResolution = Column('instrumentresolution', String(255)) + InstrumentAccuracy = Column('instrumentaccuracy', String(255)) + InstrumentRawOutputUnitsID = Column('instrumentrawoutputunitsid', Integer, ForeignKey(Units.UnitsID), + nullable=False) + + MethodObj = relationship(Methods) + OutputUnitObj = relationship(Units) + EquipmentModelObj = relationship(EquipmentModels) + VariableObj = relationship(Variables) + + + +class DataLoggerFileColumns(Base): + __tablename__ = u'dataloggerfilecolumns' + __table_args__ = {u'schema': 'odm2'} + + DataLoggerFileColumnID = Column('dataloggerfilecolumnid', Integer, primary_key=True, nullable=False) + ResultID = Column('resultid', BigInteger, ForeignKey(Results.ResultID)) + DataLoggerFileID = Column('dataloggerfileid', Integer, + ForeignKey(DataLoggerFiles.DataLoggerFileID), nullable=False) + InstrumentOutputVariableID = Column('instrumentoutputvariableid', Integer, + ForeignKey(InstrumentOutputVariables.VariableID), + nullable=False) + ColumnLabel = Column('columnlabel', String(50), nullable=False) + ColumnDescription = Column('columndescription', String(500)) + MeasurementEquation = Column('measurmentequation', String(255)) + ScanInterval = Column('scaninterval', Float(50)) + ScanIntervalUnitsID = Column('scanintervalunitsid', Integer, ForeignKey(Units.UnitsID)) + RecordingInterval = Column('recordinginterval', Float(50)) + RecordingIntervalUnitsID = Column('recordingintervalunitsid', Integer, ForeignKey(Units.UnitsID)) + AggregationStatisticCV = Column('aggregationstatisticcv', String(255), ForeignKey(CVAggregationStatistic.Name), + index=True) + ResultObj = relationship(Results) + DataLoggerFileObj = relationship(DataLoggerFiles) + InstrumentOutputVariableObj = relationship(InstrumentOutputVariables) + ScanIntervalUnitsObj = relationship(Units, primaryjoin='DataLoggerFileColumns.ScanIntervalUnitsID == Units.UnitsID') + RecordingIntervalUnitsObj = relationship(Units, primaryjoin='DataLoggerFileColumns.RecordingIntervalUnitsID == Units.UnitsID') class Equipment(Base): __tablename__ = u'equipment' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} EquipmentID = Column('equipmentid', Integer, primary_key=True, nullable=False) EquipmentCode = Column('equipmentcode', String(50), nullable=False) @@ -796,52 +604,96 @@ class Equipment(Base): EquipmentVendorID = Column('equipmentvendorid', ForeignKey(Organizations.OrganizationID), nullable=False) EquipmentPurchaseDate = Column('equipmentpurchasedate', DateTime, nullable=False) EquipmentPurchaseOrderNumber = Column('equipmentpurchaseordernumber', String(50)) - EquipmentPhotoFileLink = Column('equipmentphotofilelink', String(255)) EquipmentDescription = Column('equipmentdescription', String(500)) - ParentEquipmentID = Column('parentequipmentid', ForeignKey('odm2.equipment.equipmentid')) + # ParentEquipmentID = Column('parentequipmentid', ForeignKey('odm2.equipment.equipmentid')) PersonObj = relationship(People) OrganizationObj = relationship(Organizations) EquipmentModelObj = relationship(EquipmentModels) - parent = relationship(u'Equipment', remote_side=[EquipmentID]) + # parent = relationship(u'Equipment', remote_side=[EquipmentID]) + +class CalibrationReferenceEquipment(Base): + __tablename__ = u'calibrationreferenceequipment' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ActionID = Column('actionid', Integer, ForeignKey(Actions.ActionID), nullable=False) + EquipmentID = Column('equipmentid', Integer, ForeignKey(Equipment.EquipmentID), nullable=False) + ActionObj = relationship(Actions) + EquipmentObj = relationship(Equipment) class EquipmentActions(Base): __tablename__ = u'equipmentactions' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) EquipmentID = Column('equipmentid', ForeignKey(Equipment.EquipmentID), nullable=False) ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) + ActionObj = relationship(Actions) EquipmentObj = relationship(Equipment) -class InstrumentOutputVariables(Base): - __tablename__ = u'instrumentoutputvariables' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} +class EquipmentUsed(Base): + __tablename__ = u'equipmentused' + __table_args__ = {u'schema': 'odm2'} - InstrumentOutputVariableID = Column('instrumentoutputvariableid', Integer, primary_key=True, nullable=False) - ModelID = Column('modelid', ForeignKey(EquipmentModels.ModelID), nullable=False) - VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) - InstrumentMethodID = Column('instrumentmethodid', ForeignKey(Methods.MethodID), nullable=False) - InstrumentResolution = Column('instrumentresolution', String(255)) - InstrumentAccuracy = Column('instrumentaccuracy', String(255)) - InstrumentRawOutputUnitsID = Column('instrumentrawoutputunitsid', ForeignKey(Units.UnitsID), nullable=False) + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ActionID = Column('actionid', Integer, ForeignKey(Actions.ActionID), nullable=False) + EquipmentID = Column('equipmentid', Integer, ForeignKey(Equipment.EquipmentID), nullable=False) - MethodObj = relationship(Methods) - OutputUnitObj = relationship(Units) - EquipmentModelObj = relationship(EquipmentModels) - VariableObj = relationship(Variables) + ActionObj = relationship(Actions) + EquipmentObj = relationship(Equipment) + + +class MaintenanceActions(Base): + __tablename__ = u'maintenanceactions' + __table_args__ = {u'schema': 'odm2'} + + ActionID = Column('actionid', Integer, ForeignKey(Actions.ActionID), primary_key=True, nullable=False) + IsFactoryService = Column('isfactoryservce', Boolean, nullable=False) + MaintenanceCode = Column('maintenancecode', String(50)) + MantenanceReason = Column('maintenancereason', String(50)) + + ActionObj = relationship(Actions) + + +class RelatedEquipment(Base): + __tablename__ = u'relatedequipment' + __table_args__ = {u'schema': 'odm2'} + RelationID = Column('relationid', Integer, primary_key=True, nullable=True) + EquipmentID = Column('equipmentid', Integer, ForeignKey(Equipment.EquipmentID), nullable=True) + RelationshipTypeCV = Column('relationshiptypecv', String(255), nullable=True, index=True) + RelatedEquipmentID = Column('relatedequipmentid', Integer, ForeignKey(Equipment.EquipmentID), nullable=True) + RelationshipStartDateTime = Column('relationshipstartdatetime', DateTime, nullable=True) + RelationshipStartDateTimeUTCOffset = Column('relationshipstartdatetimeutcoffset', Integer, nullable=True) + RelationshipEndDateTime = Column('relationshipenddatetime', DateTime) + RelationshipEndDateTimeUTCOffset = Column('relationshipenddatetimeutcoffset', Integer) + + EquipmentObj = relationship(Equipment, primaryjoin='RelatedEquipment.EquipmentID == Equipment.EquipmentID') + RelatedEquipmentObj = relationship(Equipment, primaryjoin='RelatedEquipment.RelatedEquipmentID == Equipment.EquipmentID') + + +class CalibrationActions(Base): + __tablename__ = u'calibrationactions' + __table_args__ = {u'schema': 'odm2'} + ActionID = Column('actionid', Integer, ForeignKey(Actions.ActionID),primary_key=True, nullable=False) + CalibrationCheckValue = Column('calibrationcheckvalue', Float(53)) + InstrumentOutputVariableID = Column('instrumentoutputvariableid', Integer, + ForeignKey(InstrumentOutputVariables.VariableID), nullable=False) + CalibrationEquation = Column('calibrationequation', String(255)) + ActionObj = relationship(Actions) + InstrumentOutputVariableObj = relationship(InstrumentOutputVariables) # ################################################################################ # Lab Analyses # ################################################################################ class Directives(Base): __tablename__ = u'directives' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} DirectiveID = Column('directiveid', Integer, primary_key=True, nullable=False) DirectiveTypeCV = Column('directivetypecv', ForeignKey(CVDirectiveType.Name), nullable=False, index=True) @@ -850,7 +702,7 @@ class Directives(Base): class ActionDirectives(Base): __tablename__ = u'actiondirectives' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) @@ -859,13 +711,24 @@ class ActionDirectives(Base): ActionObj = relationship(Actions) DirectiveObj = relationship(Directives) +class SpecimenBatchPositions(Base): + #todo fix misspelling + __tablename__ = u'specimenbatchpostions' + __table_args__ = {u'schema': 'odm2'} + + FeatureActionID = Column('featureactionid', Integer, ForeignKey(FeatureActions.FeatureActionID), primary_key=True, nullable=False) + BatchPositionsNumber = Column('batchpositionnumber', Integer, nullable = False) + BatchPositionLabel =Column('batchpositionlabel', String(255)) + + FeatureActionObj = relationship(FeatureActions) + # ################################################################################ # Sampling Features # ################################################################################ class SpatialReferences(Base): __tablename__ = u'spatialreferences' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} SpatialReferenceID = Column('spatialreferenceid', Integer, primary_key=True, nullable=False) SRSCode = Column('srscode', String(50)) @@ -878,9 +741,9 @@ def __repr__(self): % (self.SpatialReferenceID, self.SRSCode, self.SRSName, self.SRSDescription, self.SRSLink) -class Specimens(Base): +class Specimens(SamplingFeatures): __tablename__ = u'specimens' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), primary_key=True) @@ -888,17 +751,22 @@ class Specimens(Base): SpecimenMediumCV = Column('specimenmediumcv', ForeignKey(CVMediumType.Name), nullable=False, index=True) IsFieldSpecimen = Column('isfieldspecimen', Boolean, nullable=False) - SamplingFeatureObj = relationship(SamplingFeatures) - + # SamplingFeatureObj = relationship(SamplingFeatures) + __mapper_args__ = { + 'polymorphic_identity':'Specimen', + } + def __repr__(self): + return "" \ + % (self.SamplingFeatureID, self.SamplingFeatureCode, self.SpecimenTypeCV,self.SamplingFeatureCode) class SpatialOffsets(Base): __tablename__ = u'spatialoffsets' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} SpatialOffsetID = Column('spatialoffsetid', Integer, primary_key=True, nullable=False) SpatialOffsetTypeCV = Column('spatialoffsettypecv', ForeignKey(CVSpatialOffsetType.Name), nullable=False, index=True) - Offset1Value = Column('offset1value', Float(53), nullable=False) + Offset1Value = Column('offset1value', Float(53), nullable=False) Offset1UnitID = Column('offset1unitid', Integer, ForeignKey(Units.UnitsID), nullable=False) Offset2Value = Column('offset2value', Float(53)) Offset2UnitID = Column('offset2unitid', Integer, ForeignKey(Units.UnitsID)) @@ -910,9 +778,9 @@ class SpatialOffsets(Base): Offset3UnitObj = relationship(Units, primaryjoin='SpatialOffsets.Offset3UnitID == Units.UnitsID') -class Sites(Base): +class Sites(SamplingFeatures): __tablename__ = u'sites' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), primary_key=True) @@ -923,17 +791,20 @@ class Sites(Base): Longitude = Column('longitude', Float(53), nullable=False) SpatialReferenceObj = relationship(SpatialReferences) - SamplingFeatureObj = relationship(SamplingFeatures) + # SamplingFeatureObj = relationship(SamplingFeatures) + __mapper_args__ = { + 'polymorphic_identity':'Site', + } def __repr__(self): return "" \ % (self.SamplingFeatureID, self.SpatialReferenceID, self.SiteTypeCV, self.Latitude, self.Longitude, - self.SpatialReferenceObj, self.SamplingFeatureObj) + self.SpatialReferenceObj, self.SamplingFeatureCode) class RelatedFeatures(Base): __tablename__ = u'relatedfeatures' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} RelationID = Column('relationid', Integer, primary_key=True, nullable=False) SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), @@ -952,7 +823,7 @@ class RelatedFeatures(Base): class SpecimenTaxonomicClassifiers(Base): __tablename__ = u'specimentaxonomicclassifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) SamplingFeatureID = Column('samplingfeatureid', ForeignKey(Specimens.SamplingFeatureID), nullable=False) @@ -964,55 +835,12 @@ class SpecimenTaxonomicClassifiers(Base): TaxonomicClassifierObj = relationship(TaxonomicClassifiers) -# ################################################################################ -# Sensors -# ################################################################################ -class DeploymentActions(Base): - __tablename__ = u'deploymentactions' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - DeploymentActionID = Column('deploymentactionid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - DeploymentTypeCV = Column('deploymenttypecv', ForeignKey(CVDeploymentType.Name), nullable=False, index=True) - DeploymentDescription = Column('deploymentdescription', String(500)) - ConfigurationActionID = Column('configurationactionid', Integer, nullable=False) - CalibrationActionID = Column('calibrationactionid', Integer, nullable=False) - SpatialOffsetID = Column('spatialoffsetid', Integer) - DeploymentSchematicLink = Column('deploymentschematiclink', String(255)) - - ActionObj = relationship(Actions) - - -class DataLoggerFiles(Base): - __tablename__ = u'dataloggerfiles' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - DataLoggerFileID = Column('dataloggerfileid', Integer, primary_key=True, nullable=False) - DeploymentActionID = Column('actionid', ForeignKey(DeploymentActions.DeploymentActionID), nullable=False) - DataLoggerOutputFileLink = Column('dataloggeroutputfilelink', String(255), nullable=False) - DataLoggerOutputFileDescription = Column('dataloggeroutputfiledescription', String(500)) - - DeploymentActionObj = relationship(DeploymentActions) - - -class Photos(Base): - __tablename__ = u'photos' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - PhotoID = Column('photoid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - PhotoFileLink = Column('photofilelink', String(255), nullable=False) - PhotoDescription = Column('photodescription', String(500)) - - ActionObj = relationship(Actions) - - # ################################################################################ # Simulation # ################################################################################ class Models(Base): __tablename__ = 'models' - __table_args__ = {u'schema': 'odm2'} #__table_args__ ={u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} # __table_args__ ={u'schema': Schema.getSchema()} ModelID = Column('modelid', Integer, primary_key=True, nullable=False) ModelCode = Column('modelcode', String(255), nullable=False) @@ -1022,7 +850,7 @@ class Models(Base): class RelatedModels(Base): __tablename__ = 'relatedmodels' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} RelationID = Column('relationid', Integer, primary_key=True, nullable=False) ModelID = Column('modelid', ForeignKey(Models.ModelID), nullable=False) @@ -1036,7 +864,7 @@ class RelatedModels(Base): class Simulations(Base): __tablename__ = 'simulations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} SimulationID = Column('simulationid', Integer, primary_key=True, nullable=False) ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) @@ -1049,7 +877,7 @@ class Simulations(Base): TimeStepValue = Column('timestepvalue', Float(53), nullable=False) TimeStepUnitsID = Column('timestepunitsid', ForeignKey(Units.UnitsID), nullable=False) InputDataSetID = Column('inputdatasetid', ForeignKey(DataSets.DataSetID)) - #OutputDataSetID = Column('outputdatasetid', Integer) # What's this ? + # OutputDataSetID = Column('outputdatasetid', Integer) # What's this ? ModelID = Column('modelid', ForeignKey(Models.ModelID), nullable=False) Action = relationship(Actions) @@ -1061,7 +889,7 @@ class Simulations(Base): # Part of the Provenance table, needed here to meet dependancies class Citations(Base): __tablename__ = u'citations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} CitationID = Column('citationid', Integer, primary_key=True, nullable=False) Title = Column('title', String(255), nullable=False) @@ -1071,7 +899,7 @@ class Citations(Base): def __repr__(self): return "" % ( - self.CitationID, self.Title, self.Publisher, self.PublicationYear, self.CitationLink) + self.CitationID, self.Title, self.Publisher, self.PublicationYear, self.CitationLink) # ################################################################################ @@ -1079,8 +907,7 @@ def __repr__(self): # ################################################################################ class Annotations(Base): __tablename__ = u'annotations' - - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} AnnotationID = Column('annotationid', Integer, primary_key=True, nullable=False) AnnotationTypeCV = Column('annotationtypecv', ForeignKey(CVAnnotationType.Name), nullable=False, index=True) @@ -1098,7 +925,7 @@ class Annotations(Base): class ActionAnnotations(Base): __tablename__ = u'actionannotations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) @@ -1108,9 +935,21 @@ class ActionAnnotations(Base): AnnotationObj = relationship(Annotations) +class EquipmentAnnotations(Base): + __tablename__ = u'equipmentannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + EquipmentID = Column('valueid', BigInteger, ForeignKey(Equipment.EquipmentID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + EquipmentObj = relationship(Equipment) + + class MethodAnnotations(Base): __tablename__ = u'methodannotations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) @@ -1122,7 +961,7 @@ class MethodAnnotations(Base): class ResultAnnotations(Base): __tablename__ = u'resultannotations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) @@ -1134,20 +973,9 @@ class ResultAnnotations(Base): ResultObj = relationship(Results) -class ResultValueAnnotations(Base): - __tablename__ = u'resultvalueannotations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ValueID = Column('valueid', BigInteger, nullable=False) - AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - - AnnotationObj = relationship(Annotations) - - class SamplingFeatureAnnotations(Base): __tablename__ = u'samplingfeatureannotations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), @@ -1158,12 +986,14 @@ class SamplingFeatureAnnotations(Base): SamplingFeatureObj = relationship(SamplingFeatures) + + # ################################################################################ # Data Quality # ################################################################################ class DataSetsResults(Base): __tablename__ = u'datasetsresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) DataSetID = Column('datasetid', ForeignKey(DataSets.DataSetID), nullable=False) @@ -1175,7 +1005,7 @@ class DataSetsResults(Base): class DataQuality(Base): __tablename__ = 'dataquality' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} DataQualityID = Column('dataqualityid', Integer, primary_key=True, nullable=False) DataQualityTypeCV = Column('dataqualitytypecv', ForeignKey(CVDataQualityType.Name), nullable=False, @@ -1191,10 +1021,11 @@ class DataQuality(Base): class ReferenceMaterials(Base): __tablename__ = 'referencematerials' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ReferenceMaterialID = Column('referencematerialid', Integer, primary_key=True, nullable=False) - ReferenceMaterialMediumCV = Column('referencematerialmediumcv', ForeignKey(CVReferenceMaterialMedium.Name), nullable=False, index=True) + ReferenceMaterialMediumCV = Column('referencematerialmediumcv', ForeignKey(CVReferenceMaterialMedium.Name), + nullable=False, index=True) ReferenceMaterialOrganizationID = Column('referencematerialoranizationid', ForeignKey(Organizations.OrganizationID), nullable=False) ReferenceMaterialCode = Column('referencematerialcode', String(50), nullable=False) @@ -1207,19 +1038,30 @@ class ReferenceMaterials(Base): OrganizationObj = relationship(Organizations) SamplingFeatureObj = relationship(SamplingFeatures) +class CalibrationStandards(Base): + __tablename__ = u'calibrationstandards' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ActionID = Column('actionid', Integer, ForeignKey(Actions.ActionID), nullable=False) + ReferenceMaterialID = Column('referencematerialid', Integer, ForeignKey(ReferenceMaterials.ReferenceMaterialID), + nullable=False) + + ActionObj = relationship(Actions) + ReferenceMaterialObj = relationship(ReferenceMaterials) # ResultNormalizationValues = Table( -# u'resultnormalizationvalues', Base.metadata, -# Column(u'resultid', ForeignKey(Results.ResultID), primary_key=True), +# u'resultnormalizationvalues', Base.metadata, +# Column(u'resultid', ForeignKey(Results.ResultID), primary_key=True), # Column(u'normalizedbyreferencematerialvalueid', ForeignKey('odm2.referencematerialvalues.referencematerialvalueid'), # nullable=False), # schema='odm2' # ) -class ReferenceMaterialValue(Base): +class ReferenceMaterialValues(Base): __tablename__ = u'referencematerialvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ReferenceMaterialValueID = Column('referencematerialvalueid', Integer, primary_key=True, nullable=False) ReferenceMaterialID = Column('referencematerialid', ForeignKey(ReferenceMaterials.ReferenceMaterialID), @@ -1236,18 +1078,21 @@ class ReferenceMaterialValue(Base): VariableObj = relationship(Variables) #ResultsObj = relationship(Results, secondary=ResultNormalizationValues) + class ResultNormalizationValues(Base): __tablename__ = 'resultnormalizationvalues' ResultID = Column(u'resultid', ForeignKey(Results.ResultID), primary_key=True) - ReferenceMaterialValueID = Column(u'referencematerialvalueid', ForeignKey(ReferenceMaterialValue.ReferenceMaterialValueID), - nullable=False) + ReferenceMaterialValueID = Column(u'referencematerialvalueid', + ForeignKey(ReferenceMaterialValues.ReferenceMaterialValueID), + nullable=False) ResultsObj = relationship(Results) - ReferenceMaterialValueObj = relationship(ReferenceMaterialValue) + ReferenceMaterialValueObj = relationship(ReferenceMaterialValues) + class ResultsDataQuality(Base): __tablename__ = 'resultsdataquality' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) @@ -1262,7 +1107,7 @@ class ResultsDataQuality(Base): # ################################################################################ class ExtensionProperties(Base): __tablename__ = u'extensionproperties' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} PropertyID = Column('propertyid', Integer, primary_key=True, nullable=False) PropertyName = Column('propertyname', String(255), nullable=False) @@ -1276,7 +1121,7 @@ class ExtensionProperties(Base): class ActionExtensionPropertyValues(Base): __tablename__ = u'actionextensionpropertyvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) @@ -1289,7 +1134,7 @@ class ActionExtensionPropertyValues(Base): class CitationExtensionPropertyValues(Base): __tablename__ = u'citationextensionpropertyvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) @@ -1302,7 +1147,7 @@ class CitationExtensionPropertyValues(Base): class MethodExtensionPropertyValues(Base): __tablename__ = u'methodextensionpropertyvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) @@ -1315,7 +1160,7 @@ class MethodExtensionPropertyValues(Base): class ResultExtensionPropertyValues(Base): __tablename__ = u'resultextensionpropertyvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) @@ -1328,7 +1173,7 @@ class ResultExtensionPropertyValues(Base): class SamplingFeatureExtensionPropertyValues(Base): __tablename__ = u'samplingfeatureextensionpropertyvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), @@ -1342,7 +1187,7 @@ class SamplingFeatureExtensionPropertyValues(Base): class VariableExtensionPropertyValues(Base): __tablename__ = u'variableextensionpropertyvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) @@ -1358,7 +1203,7 @@ class VariableExtensionPropertyValues(Base): # ################################################################################ class ExternalIdentifierSystems(Base): __tablename__ = u'externalidentifiersystems' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ExternalIdentifierSystemID = Column('externalidentifiersystemid', Integer, primary_key=True, nullable=False) ExternalIdentifierSystemName = Column('externalidentifiersystemname', String(255), nullable=False) @@ -1378,7 +1223,7 @@ def __repr__(self): class CitationExternalIdentifiers(Base): __tablename__ = u'citationexternalidentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) @@ -1394,14 +1239,14 @@ class CitationExternalIdentifiers(Base): class MethodExternalIdentifiers(Base): __tablename__ = u'methodexternalidentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) ExternalIdentifierSystemID = Column('externalidentifiersystemid', ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), nullable=False) - + MethodExternalIdentifier = Column('methodexternalidentifier', String(255), nullable=False) MethodExternalIdentifierURI = Column('methodexternalidentifieruri', String(255)) @@ -1411,7 +1256,7 @@ class MethodExternalIdentifiers(Base): class PersonExternalIdentifiers(Base): __tablename__ = u'personexternalidentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) PersonID = Column('personid', ForeignKey(People.PersonID), nullable=False) @@ -1427,7 +1272,7 @@ class PersonExternalIdentifiers(Base): class ReferenceMaterialExternalIdentifiers(Base): __tablename__ = u'referencematerialexternalidentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) ReferenceMaterialID = Column(ForeignKey(ReferenceMaterials.ReferenceMaterialID), nullable=False) @@ -1443,7 +1288,7 @@ class ReferenceMaterialExternalIdentifiers(Base): class SamplingFeatureExternalIdentifiers(Base): __tablename__ = u'samplingfeatureexternalidentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), @@ -1460,7 +1305,7 @@ class SamplingFeatureExternalIdentifiers(Base): class SpatialReferenceExternalIdentifiers(Base): __tablename__ = u'spatialreferenceexternaledentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID), @@ -1477,7 +1322,7 @@ class SpatialReferenceExternalIdentifiers(Base): class TaxonomicClassifierExternalIdentifiers(Base): __tablename__ = u'taxonomicclassifierexternalidentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) TaxonomicClassifierID = Column('taxonomicclassifierid', @@ -1494,7 +1339,7 @@ class TaxonomicClassifierExternalIdentifiers(Base): class VariableExternalIdentifiers(Base): __tablename__ = u'variableexternalidentifiers' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) @@ -1514,7 +1359,7 @@ class VariableExternalIdentifiers(Base): class AuthorLists(Base): __tablename__ = u'authorlists' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) @@ -1531,7 +1376,7 @@ def __repr__(self): class DataSetCitations(Base): __tablename__ = u'datasetcitations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) DataSetID = Column('datasetid', ForeignKey(DataSets.DataSetID), nullable=False) @@ -1553,26 +1398,29 @@ class DataSetCitations(Base): class DerivationEquations(Base): __tablename__ = u'derivationequations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} DerivationEquationID = Column('derivationequationid', Integer, primary_key=True, nullable=False) DerivationEquation = Column('derivationequation', String(255), nullable=False) #ResultsObj = relationship(Results, secondary=ResultDerivationEquations) + class ResultDerivationEquations(Base): __tablename__ = u'resultderivationequations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column(u'resultid', ForeignKey(Results.ResultID), primary_key=True) - DerivationEquationID = Column(u'derivationequationid', ForeignKey(DerivationEquations.DerivationEquationID), nullable=False) + DerivationEquationID = Column(u'derivationequationid', ForeignKey(DerivationEquations.DerivationEquationID), + nullable=False) ResultsObj = relationship(Results) DerivationEquationsObj = relationship(DerivationEquations) + class MethodCitations(Base): __tablename__ = u'methodcitations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) @@ -1586,7 +1434,7 @@ class MethodCitations(Base): # from odm2.Annotations.model import Annotation class RelatedAnnotations(Base): __tablename__ = u'relatedannotations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} RelationID = Column('relationid', Integer, primary_key=True, nullable=False) AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) @@ -1601,7 +1449,7 @@ class RelatedAnnotations(Base): class RelatedCitations(Base): __tablename__ = u'relatedcitations' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} RelationID = Column('relationid', Integer, primary_key=True, nullable=False) CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) @@ -1616,7 +1464,7 @@ class RelatedCitations(Base): class RelatedDataSets(Base): __tablename__ = u'relateddatasets' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} RelationID = Column('relationid', Integer, primary_key=True, nullable=False) DataSetID = Column('datasetid', ForeignKey(DataSets.DataSetID), nullable=False) @@ -1631,7 +1479,7 @@ class RelatedDataSets(Base): class RelatedResults(Base): __tablename__ = u'relatedresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} RelationID = Column('relationid', Integer, primary_key=True, nullable=False) ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) @@ -1650,9 +1498,9 @@ class RelatedResults(Base): # ################################################################################ -class PointCoverageResults(Base): +class PointCoverageResults(Results): __tablename__ = u'pointcoverageresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) ZLocation = Column('zlocation', Float(53)) @@ -1671,12 +1519,14 @@ class PointCoverageResults(Base): YUnitObj = relationship(Units, primaryjoin='PointCoverageResults.IntendedYSpacingUnitsID == Units.UnitsID') SpatialReferenceObj = relationship(SpatialReferences) ZUnitObj = relationship(Units, primaryjoin='PointCoverageResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='PointCoverageResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='PointCoverageResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Point coverage'} -class ProfileResults(Base): + +class ProfileResults(Results): __tablename__ = u'profileresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) XLocation = Column('xlocation', Float(53)) @@ -1696,12 +1546,13 @@ class ProfileResults(Base): SpatialReferenceObj = relationship(SpatialReferences) XUnitObj = relationship(Units, primaryjoin='ProfileResults.XLocationUnitsID == Units.UnitsID') YUnitObj = relationship(Units, primaryjoin='ProfileResults.YLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='ProfileResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='ProfileResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Profile Coverage'} -class CategoricalResults(Base): +class CategoricalResults(Results): __tablename__ = u'categoricalresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) XLocation = Column('xlocation', Float(53)) @@ -1714,12 +1565,13 @@ class CategoricalResults(Base): QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) SpatialReferenceObj = relationship(SpatialReferences) - ResultObj = relationship(Results, primaryjoin='CategoricalResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='CategoricalResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Category coverage'} -class TransectResults(Base): +class TransectResults(Results): __tablename__ = u'transectresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) ZLocation = Column('zlocation', Float(53)) @@ -1736,12 +1588,13 @@ class TransectResults(Base): TransectUnitObj = relationship(Units, primaryjoin='TransectResults.IntendedTransectSpacingUnitsID == Units.UnitsID') SpatialReferenceObj = relationship(SpatialReferences) ZUnitObj = relationship(Units, primaryjoin='TransectResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='TransectResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='TransectResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Transect Coverage'} -class SpectraResults(Base): +class SpectraResults(Results): __tablename__ = u'spectraresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) XLocation = Column('xlocation', Float(53)) @@ -1761,12 +1614,13 @@ class SpectraResults(Base): XUnitObj = relationship(Units, primaryjoin='SpectraResults.XLocationUnitsID == Units.UnitsID') YUnitObj = relationship(Units, primaryjoin='SpectraResults.YLocationUnitsID == Units.UnitsID') ZUnitObj = relationship(Units, primaryjoin='SpectraResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='SpectraResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='SpectraResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Spectra coverage'} -class TimeSeriesResults(Base): +class TimeSeriesResults(Results): __tablename__ = u'timeseriesresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) XLocation = Column('xlocation', Float(53)) @@ -1781,32 +1635,33 @@ class TimeSeriesResults(Base): AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), nullable=False, index=True) - ResultObj = relationship(Results) + # ResultObj = relationship(Results) IntendedTimeSpacingUnitsObj = relationship(Units, primaryjoin='TimeSeriesResults.IntendedTimeSpacingUnitsID == Units.UnitsID') SpatialReferenceObj = relationship(SpatialReferences) XLocationUnitsObj = relationship(Units, primaryjoin='TimeSeriesResults.XLocationUnitsID == Units.UnitsID') YLocationUnitsObj = relationship(Units, primaryjoin='TimeSeriesResults.YLocationUnitsID == Units.UnitsID') ZLocationUnitsObj = relationship(Units, primaryjoin='TimeSeriesResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='TimeSeriesResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='TimeSeriesResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Time series coverage'} def __repr__(self): return "" % \ (self.ResultID, self.XLocation, self.YLocation, self.XLocation, - self.ResultObj, self.XLocationUnitsObj, self.SpatialReferenceObj, + self.ResultTypeCV, self.XLocationUnitsObj, self.SpatialReferenceObj, self.IntendedTimeSpacing, self.AggregationStatisticCV) -class SectionResults(Base): +class SectionResults(Results): __tablename__ = u'sectionresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) YLocation = Column('ylocation', Float(53)) YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID)) SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) IntendedXSpacing = Column('intendedxspacing', Float(53)) - IntendedXSpacingUnitsID = Column('intendedxpacingunitsid', ForeignKey(Units.UnitsID)) + IntendedXSpacingUnitsID = Column('intendedxspacingunitsid', ForeignKey(Units.UnitsID)) IntendedZSpacing = Column('intendedzspacing', Float(53)) IntendedZSpacingUnitsID = Column('intendedzspacingunitsid', ForeignKey(Units.UnitsID)) IntendedTimeSpacing = Column('intendedtimespacing', Float(53)) @@ -1819,12 +1674,13 @@ class SectionResults(Base): ZUnitObj = relationship(Units, primaryjoin='SectionResults.IntendedZSpacingUnitsID == Units.UnitsID') SpatialReferenceObj = relationship(SpatialReferences) YUnitObj = relationship(Units, primaryjoin='SectionResults.YLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='SectionResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='SectionResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Section coverage'} -class TrajectoryResults(Base): +class TrajectoryResults(Results): __tablename__ = u'trajectoryresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) @@ -1839,12 +1695,13 @@ class TrajectoryResults(Base): TrajectoryUnitObj = relationship(Units, primaryjoin='TrajectoryResults.IntendedTrajectorySpacingUnitsID == Units.UnitsID') SpatialReferenceObj = relationship(SpatialReferences) - ResultObj = relationship(Results, primaryjoin='TrajectoryResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='TrajectoryResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Trajectory coverage'} -class MeasurementResults(Base): +class MeasurementResults(Results): __tablename__ = u'measurementresults' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) XLocation = Column('xlocation', Float(53)) @@ -1867,17 +1724,19 @@ class MeasurementResults(Base): XLocationUnitsObj = relationship(Units, primaryjoin='MeasurementResults.XLocationUnitsID == Units.UnitsID') YLocationUnitsObj = relationship(Units, primaryjoin='MeasurementResults.YLocationUnitsID == Units.UnitsID') ZLocationUnitsObj = relationship(Units, primaryjoin='MeasurementResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='MeasurementResults.ResultID == Results.ResultID') + # ResultObj = relationship(Results, primaryjoin='MeasurementResults.ResultID == Results.ResultID') + __mapper_args__ = {'polymorphic_identity':'Measurement'} + def __repr__(self): return "" % \ (self.ResultID, self.XLocation, self.YLocation, self.XLocation, - self.ResultObj, self.XLocationUnitsObj, self.SpatialReferenceObj, - self.AggregationStatisticCV) + self.ResultTypeCV, self.XLocationUnitsObj, self.SpatialReferenceObj, + self.AggregationStatisticCV) class CategoricalResultValues(Base): __tablename__ = u'categoricalresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(CategoricalResults.ResultID), nullable=False) @@ -1890,7 +1749,7 @@ class CategoricalResultValues(Base): class MeasurementResultValues(Base): __tablename__ = u'measurementresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(MeasurementResults.ResultID), nullable=False) @@ -1904,11 +1763,9 @@ def __repr__(self): return "" % (self.DataValue, self.ValueDateTime, self.ResultID) - - class PointCoverageResultValues(Base): __tablename__ = u'pointcoverageresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(PointCoverageResults.ResultID), nullable=False) @@ -1929,7 +1786,7 @@ class PointCoverageResultValues(Base): class ProfileResultValues(Base): __tablename__ = u'profileresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(ProfileResults.ResultID), nullable=False) @@ -1952,7 +1809,7 @@ class ProfileResultValues(Base): class SectionResultValues(Base): __tablename__ = u'sectionresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(SectionResults.ResultID), nullable=False) @@ -1981,7 +1838,7 @@ class SectionResultValues(Base): class SpectraResultValues(Base): __tablename__ = u'spectraresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(SpectraResults.ResultID), nullable=False) @@ -2004,7 +1861,7 @@ class SpectraResultValues(Base): class TimeSeriesResultValues(Base): __tablename__ = u'timeseriesresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(TimeSeriesResults.ResultID), nullable=False) @@ -2030,12 +1887,13 @@ def list_repr(self): self.TimeAggregationIntervalUnitsID] def __repr__(self): - return "" % (self.DataValue, self.ValueDateTime, self.TimeAggregationInterval) + return "" % ( + self.DataValue, self.ValueDateTime, self.TimeAggregationInterval) class TrajectoryResultValues(Base): __tablename__ = u'trajectoryresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(TrajectoryResults.ResultID), nullable=False) @@ -2067,7 +1925,7 @@ class TrajectoryResultValues(Base): class TransectResultValues(Base): __tablename__ = u'transectresultvalues' - __table_args__ = {u'schema': 'odm2'} # __table_args__ = {u'schema': Schema.getSchema()} + __table_args__ = {u'schema': 'odm2'} ValueID = Column('valueid', BigIntegerType, primary_key=True) ResultID = Column('resultid', ForeignKey(TransectResults.ResultID), nullable=False) @@ -2091,16 +1949,123 @@ class TransectResultValues(Base): TransectResultObj = relationship(TransectResults) +class CategoricalResultValueAnnotations(Base): + __tablename__ = u'categoricalresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(CategoricalResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(CategoricalResultValues) + + +class MeasurementResultValueAnnotations(Base): + __tablename__ = u'measurementresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(MeasurementResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(MeasurementResultValues) + + +class PointCoverageResultValueAnnotations(Base): + __tablename__ = u'pointcoverageresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(PointCoverageResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(PointCoverageResultValues) + + +class ProfileResultValueAnnotations(Base): + __tablename__ = u'profileresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(ProfileResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(ProfileResultValues) + + +class SectionResultValueAnnotations(Base): + __tablename__ = u'sectionResultValueAnnotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(SectionResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(SectionResultValues) + + +class SpectraResultValueAnnotations(Base): + __tablename__ = u'spectraresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(SpectraResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(SpectraResultValues) + + +class TimeSeriesResultValueAnnotations(Base): + __tablename__ = u'timeseriesresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(TimeSeriesResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(TimeSeriesResultValues) + + +class TrajectoryResultValueAnnotations(Base): + __tablename__ = u'trajectoryresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(TrajectoryResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + + AnnotationObj = relationship(Annotations) + ValueObj = relationship(TrajectoryResultValues) + + +class TransectResultValueAnnotations(Base): + __tablename__ = u'transectresultvalueannotations' + __table_args__ = {u'schema': 'odm2'} + + BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) + ValueID = Column('valueid', BigInteger, ForeignKey(TransectResultValues.ValueID), nullable=False) + AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) + AnnotationObj = relationship(Annotations) + ValueObj = relationship(TransectResultValues) def _changeSchema(schema): import inspect import sys #get a list of all of the classes in the module - clsmembers = inspect.getmembers(sys.modules[__name__], lambda member: inspect.isclass(member) and member.__module__ == __name__) + clsmembers = inspect.getmembers(sys.modules[__name__], + lambda member: inspect.isclass(member) and member.__module__ == __name__) for name, Tbl in clsmembers: import sqlalchemy.ext.declarative.api as api + if isinstance(Tbl, api.DeclarativeMeta): Tbl.__table__.schema = schema @@ -2108,14 +2073,15 @@ def _changeSchema(schema): def _getSchema(engine): from sqlalchemy.engine import reflection - insp=reflection.Inspector.from_engine(engine) + insp = reflection.Inspector.from_engine(engine) for name in insp.get_schema_names(): - if 'odm2'== name.lower(): + if 'odm2' == name.lower(): return name else: return insp.default_schema_name + def setSchema(engine): s = _getSchema(engine) _changeSchema(s) diff --git a/odm2api/ODM2/models_sqlite.py b/odm2api/ODM2/models_sqlite.py deleted file mode 100644 index bdbee01..0000000 --- a/odm2api/ODM2/models_sqlite.py +++ /dev/null @@ -1,2078 +0,0 @@ -from sqlalchemy import BigInteger, Column, Date, DateTime, Float, ForeignKey, Integer, String, Boolean, Table -from sqlalchemy.orm import relationship - -from sqlalchemy.dialects.sqlite import DATE - -# Should not be importing anything from a specific dialect -# from sqlalchemy.dialects.mssql.base import BIT - -from apiCustomType import Geometry -''' -from sqlalchemy.ext.declarative import declarative_base - -Base = declarative_base() -metadata = Base.metadata -''' - - -#from base import modelBase as Base - -from odm2api.base import modelBase -Base = modelBase.Base - -from sqlalchemy.dialects import postgresql, mysql, sqlite - -BigIntegerType = BigInteger() -BigIntegerType = BigIntegerType.with_variant(sqlite.INTEGER(), 'sqlite') -BigIntegerType = BigIntegerType.with_variant(postgresql.BIGINT(), 'postgresql') -BigIntegerType = BigIntegerType.with_variant(mysql.BIGINT(), 'mysql') - -################################################################################ -# CV -################################################################################ - - -class CVActionType(Base): - __tablename__ = 'cv_actiontype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVAggregationStatistic(Base): - __tablename__ = 'cv_aggregationstatistic' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % ( - self.Term, self.Name, self.Definition, self.Category) - - -class CVAnnotationType(Base): - __tablename__ = 'cv_annotationtype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVCensorCode(Base): - __tablename__ = 'cv_censorcode' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVDataQualityType(Base): - __tablename__ = 'cv_dataqualitytype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVDataSetType(Base): - __tablename__ = 'cv_datasettypecv' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVDeploymentType(Base): - __tablename__ = 'cv_deploymenttype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVDirectiveType(Base): - __tablename__ = 'cv_directivetype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVElevationDatum(Base): - __tablename__ = 'cv_elevationdatum' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVEquipmentType(Base): - __tablename__ = 'cv_equipmenttype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVMediumType(Base): - __tablename__ = 'cv_medium' -# # __table_args__ = {u'schema': 'odm2'} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyUri = Column('sourcevocabularyuri', String(255)) - def __repr__(self): - return "" %(self.Term, self.name, self.Definition, self.Category) - -class CVMethodType(Base): - __tablename__ = 'cv_methodtype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVOrganizationType(Base): - __tablename__ = 'cv_organizationtype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVPropertyDataType(Base): - __tablename__ = 'cv_propertydatatype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVQualityCode(Base): - __tablename__ = 'cv_qualitycode' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVResultType(Base): - __tablename__ = 'cv_resulttype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVRelationshipType(Base): - __tablename__ = 'cv_relationshiptype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - - -class CVSamplingFeatureGeoType(Base): - __tablename__ = 'cv_samplingfeaturegeotype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVSamplingFeatureType(Base): - __tablename__ = 'cv_samplingfeaturetype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVSpatialOffsetType(Base): - __tablename__ = 'cv_spatialoffsettype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVSpeciation(Base): - __tablename__ = 'cv_speciation' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVSpecimenType(Base): - __tablename__ = 'cv_specimentype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVSiteType(Base): - __tablename__ = 'cv_sitetype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVStatus(Base): - __tablename__ = 'cv_status' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVTaxonomicClassifierType(Base): - __tablename__ = 'cv_taxonomicclassifiertype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVUnitsType(Base): - __tablename__ = 'cv_unitstype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVVariableName(Base): - __tablename__ = 'cv_variablename' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -class CVVariableType(Base): - __tablename__ = 'cv_variabletype' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - -class CVReferenceMaterialMedium(Base): - __tablename__ = 'cv_referencematerialmedium' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - Term = Column('term', String(255), nullable=False) - Name = Column('name', String(255), primary_key=True) - Definition = Column('definition', String(1000)) - Category = Column('category', String(255)) - SourceVocabularyURI = Column('sourcevocabularyuri', String(255)) - - def __repr__(self): - return "" % (self.Term, self.Name, self.Definition, self.Category) - - -# ################################################################################ -# Core -# ################################################################################ -class People(Base): - __tablename__ = u'people' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - PersonID = Column('personid', Integer, primary_key=True, nullable=False) - PersonFirstName = Column('personfirstname', String(255), nullable=False) - PersonMiddleName = Column('personmiddlename', String(255)) - PersonLastName = Column('personlastname', String(255), nullable=False) - - def __repr__(self): - return "" % (self.PersonID, self.PersonFirstName, - self.PersonLastName) - - -class Organizations(Base): - __tablename__ = u'organizations' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - OrganizationID = Column('organizationid', Integer, primary_key=True, nullable=False) - OrganizationTypeCV = Column('organizationtypecv', ForeignKey(CVOrganizationType.Name), nullable=False, - index=True) - OrganizationCode = Column('organizationcode', String(50), nullable=False) - OrganizationName = Column('organizationname', String(255), nullable=False) - OrganizationDescription = Column('organizationdescription', String(500)) - OrganizationLink = Column('organizationlink', String(255)) - ParentOrganizationID = Column('parentorganizationid', ForeignKey('organizations.organizationid')) - - OrganizationObj = relationship(u'Organizations', remote_side=[OrganizationID]) - - def __repr__(self): - return "" % ( - self.OrganizationID, self.OrganizationTypeCV, self.OrganizationCode, - self.OrganizationName, self.OrganizationDescription, self.OrganizationLink - ) - - -class Affiliations(Base): - __tablename__ = 'affiliations' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - AffiliationID = Column('affiliationid', Integer, primary_key=True, nullable=False) - PersonID = Column('personid', ForeignKey(People.PersonID), nullable=False) - OrganizationID = Column('organizationid', ForeignKey(Organizations.OrganizationID)) - IsPrimaryOrganizationContact = Column('isprimaryorganizationcontact', Boolean) - AffiliationStartDate = Column('affiliationstartdate', Date, nullable=False) - AffiliationEndDate = Column('affiliationenddate', Date) - #PrimaryPhone = Column('primaryphone', String(50, u'SQL_Latin1_General_CP1_CI_AS')) - #PrimaryEmail = Column('primaryemail', String(255, u'SQL_Latin1_General_CP1_CI_AS'), nullable=False) - #PrimaryAddress = Column('primaryaddress', String(255, u'SQL_Latin1_General_CP1_CI_AS')) - #PersonLink = Column('personlink', String(255, u'SQL_Latin1_General_CP1_CI_AS')) - PrimaryPhone = Column('primaryphone', String(50)) - PrimaryEmail = Column('primaryemail', String(255), nullable=False) - PrimaryAddress = Column('primaryaddress', String(255)) - PersonLink = Column('personlink', String(255)) - - OrganizationObj = relationship(Organizations) - PersonObj = relationship(People) - - -class Methods(Base): - __tablename__ = 'methods' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - MethodID = Column('methodid', Integer, primary_key=True, nullable=False) - MethodTypeCV = Column('methodtypecv', ForeignKey(CVMethodType.Name), nullable=False, index=True) - #MethodCode = Column('methodcode', String(50, u'SQL_Latin1_General_CP1_CI_AS'), nullable=False) - #MethodName = Column('methodname', String(255, u'SQL_Latin1_General_CP1_CI_AS'), nullable=False) - #MethodDescription = Column('methoddescription', String(500, u'SQL_Latin1_General_CP1_CI_AS')) - #MethodLink = Column('methodlink', String(255, u'SQL_Latin1_General_CP1_CI_AS')) - MethodCode = Column('methodcode', String(50), nullable=False) - MethodName = Column('methodname', String(255), nullable=False) - MethodDescription = Column('methoddescription', String(500)) - MethodLink = Column('methodlink', String(255)) - - OrganizationID = Column('organizationid', Integer, ForeignKey(Organizations.OrganizationID)) - - OrganizationObj = relationship(Organizations) - - def __repr__(self): - return "" \ - % (self.MethodID, self.MethodTypeCV, self.MethodCode, self.MethodName, self.MethodDescription, - self.MethodLink, self.OrganizationID) - - -class Actions(Base): - __tablename__ = u'actions' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ActionID = Column('actionid', Integer, primary_key=True, nullable=False) - ActionTypeCV = Column('actiontypecv', ForeignKey(CVActionType.Name), nullable=False, index=True) - MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) - BeginDateTime = Column('begindatetime', DateTime, nullable=False) - BeginDateTimeUTCOffset = Column('begindatetimeutcoffset', Integer, nullable=False) - EndDateTime = Column('enddatetime', DateTime) - EndDateTimeUTCOffset = Column('enddatetimeutcoffset', Integer) - ActionDescription = Column('actiondescription', String(500)) - ActionFileLink = Column('actionfilelink', String(255)) - - MethodObj = relationship(Methods) - - def __repr__(self): - return "" % ( - self.ActionID, self.ActionTypeCV, self.BeginDateTime, self.ActionDescription) - - -class ActionBy(Base): - __tablename__ = u'actionby' -# # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', Integer, ForeignKey(Actions.ActionID), nullable=False) - AffiliationID = Column('affiliationid', ForeignKey(Affiliations.AffiliationID), nullable=False) - IsActionLead = Column('isactionlead', Boolean, nullable=False) - RoleDescription = Column('roledescription', String(500)) - - ActionObj = relationship(Actions) - AffiliationObj = relationship(Affiliations) - - -class SamplingFeatures(Base): - __tablename__ = u'samplingfeatures' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - SamplingFeatureID = Column('samplingfeatureid', Integer, primary_key=True, nullable=False) - SamplingFeatureUUID = Column('samplingfeatureuuid', String(36), nullable=False) - SamplingFeatureTypeCV = Column('samplingfeaturetypecv', ForeignKey(CVSamplingFeatureType.Name), - nullable=False, index=True) - SamplingFeatureCode = Column('samplingfeaturecode', String(50), nullable=False) - SamplingFeatureName = Column('samplingfeaturename', String(255)) - SamplingFeatureDescription = Column('samplingfeaturedescription', String(500)) - SamplingFeatureGeotypeCV = Column('samplingfeaturegeotypecv', ForeignKey(CVSamplingFeatureGeoType.Name), - index=True) - Elevation_m = Column('elevation_m', Float(53)) - ElevationDatumCV = Column('elevationdatumcv', ForeignKey(CVElevationDatum.Name), index=True) - #FeatureGeometry = Column('featuregeometry', Geometry) - - def __repr__(self): - return "" % ( - self.SamplingFeatureCode, self.SamplingFeatureName, self.SamplingFeatureDescription, - self.Elevation_m) # self.FeatureGeometry) - - -class FeatureActions(Base): - __tablename__ = u'featureactions' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - FeatureActionID = Column('featureactionid', Integer, primary_key=True, nullable=False) - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), - nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - - ActionObj = relationship(Actions) - SamplingFeatureObj = relationship(SamplingFeatures) - - def __repr__(self): - return "" % (self.FeatureActionID, self.SamplingFeatureID, self.ActionID) - - -class DataSets(Base): - __tablename__ = u'datasets' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - DataSetID = Column('datasetid', Integer, primary_key=True, nullable=False) - - # This has been changed to String to support multiple database uuid types - DataSetUUID = Column('datasetuuid', String(255), nullable=False) - DataSetTypeCV = Column('datasettypecv', ForeignKey(CVDataSetType.Name), nullable=False, index=True) - DataSetCode = Column('datasetcode', String(50), nullable=False) - DataSetTitle = Column('datasettitle', String(255), nullable=False) - DataSetAbstract = Column('datasetabstract', String(500), nullable=False) - - def __repr__(self): - return "" % ( - self.DataSetID, self.DataSetTypeCV, self.DataSetCode, self.DataSetTitle, self.DataSetAbstract) - - -class ProcessingLevels(Base): - __tablename__ = u'processinglevels' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ProcessingLevelID = Column('processinglevelid', Integer, primary_key=True, nullable=False) - #ProcessingLevelCode = Column('processinglevelcode', String(50, u'SQL_Latin1_General_CP1_CI_AS'), nullable=False) - #Definition = Column('definition', String(500, u'SQL_Latin1_General_CP1_CI_AS')) - #Explanation = Column('explanation', String(500, u'SQL_Latin1_General_CP1_CI_AS')) - ProcessingLevelCode = Column('processinglevelcode', String(50), nullable=False) - Definition = Column('definition', String(500)) - Explanation = Column('explanation', String(500)) - - def __repr__(self): - return "" \ - % (self.ProcessingLevelID, self.ProcessingLevelCode, self.Definition, self.Explanation) - - -class RelatedActions(Base): - __tablename__ = u'relatedactions' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - RelationID = Column('relationid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - RelatedActionID = Column('relatedactionid', ForeignKey(Actions.ActionID), nullable=False) - - ActionObj = relationship(Actions, primaryjoin='RelatedActions.ActionID == Actions.ActionID') - RelatedActionObj = relationship(Actions, primaryjoin='RelatedActions.RelatedActionID == Actions.ActionID') - - -class TaxonomicClassifiers(Base): - __tablename__ = u'taxonomicclassifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - TaxonomicClassifierID = Column('taxonomicclassifierid', Integer, primary_key=True, nullable=False) - TaxonomicClassifierTypeCV = Column('taxonomicclassifiertypcv', ForeignKey(CVTaxonomicClassifierType.Name), - nullable=False, index=True) - #TaxonomicClassifierName = Column('taxonomicclassifiername', String(255, u'SQL_Latin1_General_CP1_CI_AS'), - # nullable=False) - #TaxonomicClassifierCommonName = Column('taxonomicclassifiercommonname', - # String(255, u'SQL_Latin1_General_CP1_CI_AS')) - #TaxonomicClassifierDescription = Column('taxonomicclassifierdescription', - # String(500, u'SQL_Latin1_General_CP1_CI_AS')) - TaxonomicClassifierName = Column('taxonomicclassifiername', String(255),nullable=False) - TaxonomicClassifierCommonName = Column('taxonomicclassifiercommonname',String(255)) - TaxonomicClassifierDescription = Column('taxonomicclassifierdescription',String(500)) - - ParentTaxonomicClassifierID = Column('parenttaxonomicclassifierid', - ForeignKey('taxonomicclassifiers.taxonomicclassifierid')) - - parent = relationship(u'TaxonomicClassifiers', remote_side=[TaxonomicClassifierID]) - - -class Units(Base): - __tablename__ = u'units' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - UnitsID = Column('unitsid', Integer, primary_key=True, nullable=False) - UnitsTypeCV = Column('unitstypecv', ForeignKey(CVUnitsType.Name), nullable=False, index=True) - UnitsAbbreviation = Column('unitsabbreviation', String(255), nullable=False) - UnitsName = Column('unitsname', String, nullable=False) - UnitsLink = Column('unitslink', String(255)) - - def __repr__(self): - return "" % ( - self.UnitsID, self.UnitsTypeCV, self.UnitsAbbreviation, self.UnitsName) - - -class Variables(Base): - __tablename__ = u'variables' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - VariableID = Column('variableid', Integer, primary_key=True, nullable=False) - VariableTypeCV = Column('variabletypecv', ForeignKey(CVVariableType.Name), nullable=False, index=True) - VariableCode = Column('variablecode', String(50), nullable=False) - VariableNameCV = Column('variablenamecv', ForeignKey(CVVariableName.Name), nullable=False, index=True) - VariableDefinition = Column('variabledefinition', String(500)) - SpeciationCV = Column('speciationcv', ForeignKey(CVSpeciation.Name), index=True) - NoDataValue = Column('nodatavalue', Float(asdecimal=True), nullable=False) - - def __repr__(self): - return "" % (self.VariableID, self.VariableCode, self.VariableNameCV) - - -''' -class ResultTypeCV(Base): - __tablename__ = u'ResultTypeCV' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultTypeCV = Column(String(255), primary_key=True) - ResultTypeCategory = Column(String(255), nullable=False) - DataType = Column(String(255), nullable=False) - ResultTypeDefinition = Column(String(500), nullable=False) - FixedDimensions = Column(String(255), nullable=False) - VaryingDimensions = Column(String(255), nullable=False) - SpaceMeasurementFramework = Column(String(255), nullable=False) - TimeMeasurementFramework = Column(String(255), nullable=False) - VariableMeasurementFramework = Column(String(255), nullable=False) -''' - - -class Results(Base): - __tablename__ = u'results' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', BigIntegerType, primary_key=True) - - # This has been changed to String to support multiple database uuid types - # ResultUUID = Column(UNIQUEIDENTIFIER, nullable=False) - ResultUUID = Column('resultuuid', String(36), nullable=False) - FeatureActionID = Column('featureactionid', ForeignKey(FeatureActions.FeatureActionID), nullable=False) - ResultTypeCV = Column('resulttypecv', ForeignKey(CVResultType.Name), nullable=False, index=True) - VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) - UnitsID = Column('unitsid', ForeignKey(Units.UnitsID), nullable=False) - TaxonomicClassifierID = Column('taxonomicclassifierid', - ForeignKey(TaxonomicClassifiers.TaxonomicClassifierID)) - ProcessingLevelID = Column('processinglevelid', ForeignKey(ProcessingLevels.ProcessingLevelID), - nullable=False) - ResultDateTime = Column('resultdatetime', DateTime) - ResultDateTimeUTCOffset = Column('resultdatetimeutcoffset', BigInteger) - ValidDateTime = Column('validdatetime', DateTime) - ValidDateTimeUTCOffset = Column('validdatetimeutcoffset', BigInteger) - StatusCV = Column('statuscv', ForeignKey(CVStatus.Name), index=True) - SampledMediumCV = Column('sampledmediumcv', ForeignKey(CVMediumType.Name), nullable=False, index=True) - ValueCount = Column('valuecount', Integer, nullable=False) - - # IntendedObservationSpacing = Column(String(255)) - - FeatureActionObj = relationship(FeatureActions) - ProcessingLevelObj = relationship(ProcessingLevels) - - TaxonomicClassifierObj = relationship(TaxonomicClassifiers) - UnitsObj = relationship(Units) - VariableObj = relationship(Variables) - - def __repr__(self): - return "" % ( - self.ResultID, self.ResultUUID, self.ResultTypeCV, self.ProcessingLevelID, self.ValueCount) - - -# ################################################################################ -# Equipment -# ################################################################################ -class EquipmentModels(Base): - __tablename__ = u'equipmentmodels' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ModelID = Column('modelid', Integer, primary_key=True, nullable=False) - ModelManufacturerID = Column('modelmanufacturerid', ForeignKey(Organizations.OrganizationID), nullable=False) - ModelPartNumber = Column('modelpartnumber', String(50)) - ModelName = Column('modelname', String(255), nullable=False) - ModelDescription = Column('modeldescription', String(500)) - ModelSpecificationsFileLink = Column('modelspecificationsfilelink', String(255)) - ModelLink = Column('modellink', String(255)) - IsInstrument = Column('isinstrument', Boolean, nullable=False) - - OrganizationObj = relationship(Organizations) - - -class Equipment(Base): - __tablename__ = u'equipment' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - EquipmentID = Column('equipmentid', Integer, primary_key=True, nullable=False) - EquipmentCode = Column('equipmentcode', String(50), nullable=False) - EquipmentName = Column('equipmentname', String(255), nullable=False) - EquipmentTypeCV = Column('equipmenttypecv', ForeignKey(CVEquipmentType.Name), nullable=False, index=True) - ModelID = Column('modelid', ForeignKey(EquipmentModels.ModelID), nullable=False) - EquipmentSerialNumber = Column('equipmentseriealnumber', String(50), nullable=False) - EquipmentInventoryNumber = Column('equipmentinventorynumber', String(50)) - EquipmentOwnerID = Column('equipmentownerid', ForeignKey(People.PersonID), nullable=False) - EquipmentVendorID = Column('equipmentvendorid', ForeignKey(Organizations.OrganizationID), nullable=False) - EquipmentPurchaseDate = Column('equipmentpurchasedate', DateTime, nullable=False) - EquipmentPurchaseOrderNumber = Column('equipmentpurchaseordernumber', String(50)) - EquipmentPhotoFileLink = Column('equipmentphotofilelink', String(255)) - EquipmentDescription = Column('equipmentdescription', String(500)) - ParentEquipmentID = Column('parentequipmentid', ForeignKey('equipment.equipmentid')) - - PersonObj = relationship(People) - OrganizationObj = relationship(Organizations) - EquipmentModelObj = relationship(EquipmentModels) - - parent = relationship(u'Equipment', remote_side=[EquipmentID]) - - -class EquipmentActions(Base): - __tablename__ = u'equipmentactions' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - EquipmentID = Column('equipmentid', ForeignKey(Equipment.EquipmentID), nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - ActionObj = relationship(Actions) - EquipmentObj = relationship(Equipment) - - -class InstrumentOutputVariables(Base): - __tablename__ = u'instrumentoutputvariables' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - InstrumentOutputVariableID = Column('instrumentoutputvariableid', Integer, primary_key=True, nullable=False) - ModelID = Column('modelid', ForeignKey(EquipmentModels.ModelID), nullable=False) - VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) - InstrumentMethodID = Column('instrumentmethodid', ForeignKey(Methods.MethodID), nullable=False) - InstrumentResolution = Column('instrumentresolution', String(255)) - InstrumentAccuracy = Column('instrumentaccuracy', String(255)) - InstrumentRawOutputUnitsID = Column('instrumentrawoutputunitsid', ForeignKey(Units.UnitsID), nullable=False) - - MethodObj = relationship(Methods) - OutputUnitObj = relationship(Units) - EquipmentModelObj = relationship(EquipmentModels) - VariableObj = relationship(Variables) - - -# ################################################################################ -# Lab Analyses -# ################################################################################ -class Directives(Base): - __tablename__ = u'directives' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - DirectiveID = Column('directiveid', Integer, primary_key=True, nullable=False) - DirectiveTypeCV = Column('directivetypecv', ForeignKey(CVDirectiveType.Name), nullable=False, index=True) - DirectiveDescription = Column('directivedescription', String(500), nullable=False) - - -class ActionDirectives(Base): - __tablename__ = u'actiondirectives' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - DirectiveID = Column('directiveid', ForeignKey(Directives.DirectiveID), nullable=False) - - ActionObj = relationship(Actions) - DirectiveObj = relationship(Directives) - - -# ################################################################################ -# Sampling Features -# ################################################################################ -class SpatialReferences(Base): - __tablename__ = u'spatialreferences' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - SpatialReferenceID = Column('spatialreferenceid', Integer, primary_key=True, nullable=False) - SRSCode = Column('srscode', String(50)) - SRSName = Column('srsname', String(255), nullable=False) - SRSDescription = Column('srsdescription', String(500)) - SRSLink = Column('srslink', String(255)) - - def __repr__(self): - return "" \ - % (self.SpatialReferenceID, self.SRSCode, self.SRSName, self.SRSDescription, self.SRSLink) - - -class Specimens(Base): - __tablename__ = u'specimens' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), - primary_key=True) - SpecimenTypeCV = Column('specimentypecv', ForeignKey(CVSpecimenType.Name), nullable=False, index=True) - SpecimenMediumCV = Column('specimenmediumcv', ForeignKey(CVMediumType.Name), nullable=False, index=True) - IsFieldSpecimen = Column('isfieldspecimen', Boolean, nullable=False) - - SamplingFeatureObj = relationship(SamplingFeatures) - - -class SpatialOffsets(Base): - __tablename__ = u'spatialoffsets' - # # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - SpatialOffsetID = Column('spatialoffsetid', Integer, primary_key=True, nullable=False) - SpatialOffsetTypeCV = Column('spatialoffsettypecv', ForeignKey(CVSpatialOffsetType.Name), nullable=False, - index=True) - Offset1Value = Column('offset1value', Float(53), nullable=False) - Offset1UnitID = Column('offset1unitid', Integer, ForeignKey(Units.UnitsID), nullable=False) - Offset2Value = Column('offset2value', Float(53)) - Offset2UnitID = Column('offset2unitid', Integer, ForeignKey(Units.UnitsID)) - Offset3Value = Column('offset3value', Float(53)) - Offset3UnitID = Column('offset3unitid', Integer, ForeignKey(Units.UnitsID)) - - Offset1UnitObj = relationship(Units, primaryjoin='SpatialOffsets.Offset1UnitID == Units.UnitsID') - Offset2UnitObj = relationship(Units, primaryjoin='SpatialOffsets.Offset2UnitID == Units.UnitsID') - Offset3UnitObj = relationship(Units, primaryjoin='SpatialOffsets.Offset3UnitID == Units.UnitsID') - - -class Sites(Base): - __tablename__ = u'sites' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), - primary_key=True) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID), - nullable=False) - SiteTypeCV = Column('sitetypecv', ForeignKey(CVSiteType.Name), nullable=False, index=True) - Latitude = Column('latitude', Float(53), nullable=False) - Longitude = Column('longitude', Float(53), nullable=False) - - SpatialReferenceObj = relationship(SpatialReferences) - SamplingFeatureObj = relationship(SamplingFeatures) - - def __repr__(self): - return "" \ - % (self.SamplingFeatureID, self.SpatialReferenceID, self.SiteTypeCV, self.Latitude, self.Longitude, - self.SpatialReferenceObj, self.SamplingFeatureObj) - - -class RelatedFeatures(Base): - __tablename__ = u'relatedfeatures' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - RelationID = Column('relationid', Integer, primary_key=True, nullable=False) - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), - nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - RelatedFeatureID = Column('relatedfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), nullable=False) - SpatialOffsetID = Column('spatialoffsetid', ForeignKey(SpatialOffsets.SpatialOffsetID)) - - SamplingFeatureObj = relationship(SamplingFeatures, - primaryjoin='RelatedFeatures.SamplingFeatureID == SamplingFeatures.SamplingFeatureID') - RelatedFeatureObj = relationship(SamplingFeatures, - primaryjoin='RelatedFeatures.RelatedFeatureID == SamplingFeatures.SamplingFeatureID') - SpatialOffsetObj = relationship(SpatialOffsets) - - -class SpecimenTaxonomicClassifiers(Base): - __tablename__ = u'specimentaxonomicclassifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(Specimens.SamplingFeatureID), nullable=False) - TaxonomicClassifierID = Column('taxonomicclassifierid', - ForeignKey(TaxonomicClassifiers.TaxonomicClassifierID), nullable=False) - CitationID = Column('citationid', Integer) - - SpecimenObj = relationship(Specimens) - TaxonomicClassifierObj = relationship(TaxonomicClassifiers) - - -# ################################################################################ -# Sensors -# ################################################################################ -class DeploymentActions(Base): - __tablename__ = u'deploymentactions' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - DeploymentActionID = Column('deploymentactionid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - DeploymentTypeCV = Column('deploymenttypecv', ForeignKey(CVDeploymentType.Name), nullable=False, index=True) - DeploymentDescription = Column('deploymentdescription', String(500)) - ConfigurationActionID = Column('configurationactionid', Integer, nullable=False) - CalibrationActionID = Column('calibrationactionid', Integer, nullable=False) - SpatialOffsetID = Column('spatialoffsetid', Integer) - DeploymentSchematicLink = Column('deploymentschematiclink', String(255)) - - ActionObj = relationship(Actions) - - -class DataLoggerFiles(Base): - __tablename__ = u'dataloggerfiles' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - DataLoggerFileID = Column('dataloggerfileid', Integer, primary_key=True, nullable=False) - DeploymentActionID = Column('actionid', ForeignKey(DeploymentActions.DeploymentActionID), nullable=False) - DataLoggerOutputFileLink = Column('dataloggeroutputfilelink', String(255), nullable=False) - DataLoggerOutputFileDescription = Column('dataloggeroutputfiledescription', String(500)) - - DeploymentActionObj = relationship(DeploymentActions) - - -class Photos(Base): - __tablename__ = u'photos' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - PhotoID = Column('photoid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - PhotoFileLink = Column('photofilelink', String(255), nullable=False) - PhotoDescription = Column('photodescription', String(500)) - - ActionObj = relationship(Actions) - - -# ################################################################################ -# Simulation -# ################################################################################ -class Models(Base): - __tablename__ = 'models' - # __table_args__ = {u'schema': 'odm2'} ## __table_args__ ={u'schema': Schema.getSchema()} - - ModelID = Column('modelid', Integer, primary_key=True, nullable=False) - ModelCode = Column('modelcode', String(255), nullable=False) - ModelName = Column('modelname', String(255), nullable=False) - ModelDescription = Column('modeldescription', String(500)) - - -class RelatedModels(Base): - __tablename__ = 'relatedmodels' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - RelationID = Column('relationid', Integer, primary_key=True, nullable=False) - ModelID = Column('modelid', ForeignKey(Models.ModelID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - RelatedModelID = Column('relatedmodelid', ForeignKey(Models.ModelID), nullable=False) - - ModelObj = relationship(Models, primaryjoin='RelatedModels.ModelID == Models.ModelID') - RelatedModelObj = relationship(Models, primaryjoin='RelatedModels.RelatedModelID == Models.ModelID') - - -class Simulations(Base): - __tablename__ = 'simulations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - SimulationID = Column('simulationid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - SimulationName = Column('simulationname', String(255), nullable=False) - SimulationDescription = Column('simulationdescription', String(500)) - SimulationStartDateTime = Column('simulationstartdatetime', Date, nullable=False) - SimulationStartDateTimeUTCOffset = Column('simulationstartdatetimeutcoffset', Integer, nullable=False) - SimulationEndDateTime = Column('simulationenddatetime', Date, nullable=False) - SimulationEndDateTimeUTCOffset = Column('simulationenddatetimeutcoffset', Integer, nullable=False) - TimeStepValue = Column('timestepvalue', Float(53), nullable=False) - TimeStepUnitsID = Column('timestepunitsid', ForeignKey(Units.UnitsID), nullable=False) - InputDataSetID = Column('inputdatasetid', ForeignKey(DataSets.DataSetID)) - OutputDataSetID = Column('outputdatasetid', Integer) - ModelID = Column('modelid', ForeignKey(Models.ModelID), nullable=False) - - Action = relationship(Actions) - DataSet = relationship(DataSets) - Model = relationship(Models) - Unit = relationship(Units) - - -# Part of the Provenance table, needed here to meet dependancies -class Citations(Base): - __tablename__ = u'citations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - CitationID = Column('citationid', Integer, primary_key=True, nullable=False) - Title = Column('title', String(255), nullable=False) - Publisher = Column('publisher', String(255), nullable=False) - PublicationYear = Column('publicationyear', Integer, nullable=False) - CitationLink = Column('citationlink', String(255)) - - def __repr__(self): - return "" % ( - self.CitationID, self.Title, self.Publisher, self.PublicationYear, self.CitationLink) - - -# ################################################################################ -# Annotations -# ################################################################################ -class Annotations(Base): - __tablename__ = u'annotations' - - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - AnnotationID = Column('annotationid', Integer, primary_key=True, nullable=False) - AnnotationTypeCV = Column('annotationtypecv', ForeignKey(CVAnnotationType.Name), nullable=False, index=True) - AnnotationCode = Column('annotationcode', String(50)) - AnnotationText = Column('annotationtext', String(500), nullable=False) - AnnotationDateTime = Column('annotationdatetime', DateTime) - AnnotationUTCOffset = Column('annotationutcoffset', Integer) - AnnotationLink = Column('annotationlink', String(255)) - AnnotatorID = Column('annotatorid', ForeignKey(People.PersonID)) - CitationID = Column('citationid', ForeignKey(Citations.CitationID)) - - PersonObj = relationship(People) - CitationObj = relationship(Citations) - - -class ActionAnnotations(Base): - __tablename__ = u'actionannotations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - - ActionObj = relationship(Actions) - AnnotationObj = relationship(Annotations) - - -class MethodAnnotations(Base): - __tablename__ = u'methodannotations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) - AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - - AnnotationObj = relationship(Annotations) - MethodObj = relationship(Methods) - - -class ResultAnnotations(Base): - __tablename__ = u'resultannotations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) - AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - BeginDateTime = Column('begindatetime', DateTime, nullable=False) - EndDateTime = Column('enddatetime', DateTime, nullable=False) - - AnnotationObj = relationship(Annotations) - ResultObj = relationship(Results) - - -class ResultValueAnnotations(Base): - __tablename__ = u'resultvalueannotations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ValueID = Column('valueid', BigInteger, nullable=False) - AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - - AnnotationObj = relationship(Annotations) - - -class SamplingFeatureAnnotations(Base): - __tablename__ = u'samplingfeatureannotations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), - nullable=False) - AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - - AnnotationObj = relationship(Annotations) - SamplingFeatureObj = relationship(SamplingFeatures) - - -# ################################################################################ -# Data Quality -# ################################################################################ -class DataSetsResults(Base): - __tablename__ = u'datasetsresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - DataSetID = Column('datasetid', ForeignKey(DataSets.DataSetID), nullable=False) - ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) - - DataSetObj = relationship(DataSets) - ResultObj = relationship(Results) - - -class DataQuality(Base): - __tablename__ = 'dataquality' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - DataQualityID = Column('dataqualityid', Integer, primary_key=True, nullable=False) - DataQualityTypeCV = Column('dataqualitytypecv', ForeignKey(CVDataQualityType.Name), nullable=False, - index=True) - #DataQualityCode = Column('dataqualitycode', String(255, u'SQL_Latin1_General_CP1_CI_AS'), nullable=False) - DataQualityCode = Column('dataqualitycode', String(255), nullable=False) - DataQualityValue = Column('dataqualityvalue', Float(53)) - DataQualityValueUnitsID = Column('dataqualityvalueunitsid', ForeignKey(Units.UnitsID)) - #DataQualityDescription = Column('dataqualitydescription', String(500, u'SQL_Latin1_General_CP1_CI_AS')) - #DataQualityLink = Column('dataqualitylink', String(255, u'SQL_Latin1_General_CP1_CI_AS')) - DataQualityDescription = Column('dataqualitydescription', String(500)) - DataQualityLink = Column('dataqualitylink', String(255)) - - UnitObj = relationship(Units) - - -class ReferenceMaterials(Base): - __tablename__ = 'referencematerials' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ReferenceMaterialID = Column('referencematerialid', Integer, primary_key=True, nullable=False) - ReferenceMaterialMediumCV = Column('referencematerialmediumcv', ForeignKey(CVReferenceMaterialMedium.Name), nullable=False, index=True) - ReferenceMaterialOrganizationID = Column('referencematerialoranizationid', - ForeignKey(Organizations.OrganizationID), nullable=False) - #ReferenceMaterialCode = Column('referencematerialcode', String(50, u'SQL_Latin1_General_CP1_CI_AS'), nullable=False) - #ReferenceMaterialLotCode = Column('referencemateriallotcode', String(255, u'SQL_Latin1_General_CP1_CI_AS')) - ReferenceMaterialCode = Column('referencematerialcode', String(50), nullable=False) - ReferenceMaterialLotCode = Column('referencemateriallotcode', String(255)) - ReferenceMaterialPurchaseDate = Column('referencematerialpurchasedate', DateTime) - ReferenceMaterialExpirationDate = Column('referencematerialexpirationdate', DateTime) - #ReferenceMaterialCertificateLink = Column('referencematerialcertificatelink', - # String(255, u'SQL_Latin1_General_CP1_CI_AS')) - ReferenceMaterialCertificateLink = Column('referencematerialcertificatelink', String(255)) - - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID)) - - OrganizationObj = relationship(Organizations) - SamplingFeatureObj = relationship(SamplingFeatures) - -class ReferenceMaterialValue(Base): - __tablename__ = u'referencematerialvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ReferenceMaterialValueID = Column('referencematerialvalueid', Integer, primary_key=True, nullable=False) - ReferenceMaterialID = Column('referencematerialid', ForeignKey(ReferenceMaterials.ReferenceMaterialID), - nullable=False) - ReferenceMaterialValue = Column('referencematerialvalue', Float(53), nullable=False) - ReferenceMaterialAccuracy = Column('referencematerialaccuracy', Float(53)) - VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) - UnitsID = Column('unitsid', ForeignKey(Units.UnitsID), nullable=False) - CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) - - CitationObj = relationship(Citations) - ReferenceMaterialObj = relationship(ReferenceMaterials) - UnitObj = relationship(Units) - VariableObj = relationship(Variables) - -class ResultNormalizationValues(Base): - __tablename__ = 'resultnormalizationvalues' - ResultID = Column(u'resultid', ForeignKey(Results.ResultID), primary_key=True) - ReferenceMaterialValueID = Column(u'referencematerialvalueid', ForeignKey(ReferenceMaterialValue.ReferenceMaterialValueID), - nullable=False) - - ResultsObj = relationship(Results) - ReferenceMaterialValueObj = relationship(ReferenceMaterialValue) - -class ResultsDataQuality(Base): - __tablename__ = 'resultsdataquality' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) - DataQualityID = Column('dataqualityid', ForeignKey(DataQuality.DataQualityID), nullable=False) - - DataQualityObj = relationship(DataQuality) - ResultObj = relationship(Results) - - -# ################################################################################ -# Extension Properties -# ################################################################################ -class ExtensionProperties(Base): - __tablename__ = u'extensionproperties' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - PropertyID = Column('propertyid', Integer, primary_key=True, nullable=False) - PropertyName = Column('propertyname', String(255), nullable=False) - PropertyDescription = Column('propertydescription', String(500)) - PropertyDataTypeCV = Column('propertydatatypecv', ForeignKey(CVPropertyDataType.Name), nullable=False, - index=True) - PropertyUnitsID = Column('propertyunitsid', ForeignKey(Units.UnitsID)) - - UnitObj = relationship(Units) - - -class ActionExtensionPropertyValues(Base): - __tablename__ = u'actionextensionpropertyvalues' - ## __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ActionID = Column('actionid', ForeignKey(Actions.ActionID), nullable=False) - PropertyID = Column('propertyid', ForeignKey(ExtensionProperties.PropertyID), nullable=False) - PropertyValue = Column('propertyvalue', String(255), nullable=False) - - ActionObj = relationship(Actions) - ExtensionPropertyObj = relationship(ExtensionProperties) - - -class CitationExtensionPropertyValues(Base): - __tablename__ = u'citationextensionpropertyvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) - PropertyID = Column('propertyid', ForeignKey(ExtensionProperties.PropertyID), nullable=False) - PropertyValue = Column('propertyvalue', String(255), nullable=False) - - CitationObj = relationship(Citations) - ExtensionPropertyObj = relationship(ExtensionProperties) - - -class MethodExtensionPropertyValues(Base): - __tablename__ = u'methodextensionpropertyvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) - PropertyID = Column('propertyid', ForeignKey(ExtensionProperties.PropertyID), nullable=False) - PropertyValue = Column('propertyvalue', String(255), nullable=False) - - MethodObj = relationship(Methods) - ExtensionPropertyObj = relationship(ExtensionProperties) - - -class ResultExtensionPropertyValues(Base): - __tablename__ = u'resultextensionpropertyvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) - PropertyID = Column('propertyid', ForeignKey(ExtensionProperties.PropertyID), nullable=False) - PropertyValue = Column('propertyvalue', String(255), nullable=False) - - ExtensionPropertyObj = relationship(ExtensionProperties) - ResultObj = relationship(Results) - - -class SamplingFeatureExtensionPropertyValues(Base): - __tablename__ = u'samplingfeatureextensionpropertyvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), - nullable=False) - PropertyID = Column('propertyid', ForeignKey(ExtensionProperties.PropertyID), nullable=False) - PropertyValue = Column('propertyvalue', String(255), nullable=False) - - ExtensionPropertyObj = relationship(ExtensionProperties) - SamplingFeatureObj = relationship(SamplingFeatures) - - -class VariableExtensionPropertyValues(Base): - __tablename__ = u'variableextensionpropertyvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) - PropertyID = Column('propertyid', ForeignKey(ExtensionProperties.PropertyID), nullable=False) - PropertyValue = Column('propertyvalue', String(255), nullable=False) - - ExtensionPropertyObj = relationship(ExtensionProperties) - VariableObj = relationship(Variables) - - -# ################################################################################ -# Extension Identifiers -# ################################################################################ -class ExternalIdentifierSystems(Base): - __tablename__ = u'externalidentifiersystems' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ExternalIdentifierSystemID = Column('externalidentifiersystemid', Integer, primary_key=True, nullable=False) - ExternalIdentifierSystemName = Column('externalidentifiersystemname', String(255), nullable=False) - IdentifierSystemOrganizationID = Column('identifiersystemorganizationid', - ForeignKey(Organizations.OrganizationID), nullable=False) - ExternalIdentifierSystemDescription = Column('externalidentifiersystemdescription', String(500)) - ExternalIdentifierSystemURL = Column('externalidentifiersystemurl', String(255)) - - IdentifierSystemOrganizationObj = relationship(Organizations) - - def __repr__(self): - return "" % ( - self.ExternalIdentifierSystemID, self.ExternalIdentifierSystemName, - self.IdentifierSystemOrganizationID, self.ExternalIdentifierSystemDescription, - self.ExternalIdentifierSystemURL) - - -class CitationExternalIdentifiers(Base): - __tablename__ = u'citationexternalidentifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - CitationExternalIdentifier = Column('citationexternaldentifier', String(255), nullable=False) - CitationExternalIdentifierURI = Column('citationexternaldentifieruri', String(255)) - - CitationObj = relationship(Citations) - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - - -class MethodExternalIdentifiers(Base): - __tablename__ = u'methodexternalidentifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - - MethodExternalIdentifier = Column('methodexternalidentifier', String(255), nullable=False) - MethodExternalIdentifierURI = Column('methodexternalidentifieruri', String(255)) - - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - MethodObj = relationship(Methods) - - -class PersonExternalIdentifiers(Base): - __tablename__ = u'personexternalidentifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - PersonID = Column('personid', ForeignKey(People.PersonID), nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - PersonExternalIdentifier = Column('personexternalidentifier', String(255), nullable=False) - PersonExternalIdentifierURI = Column('personexternalidentifieruri', String(255)) - - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - PersonObj = relationship(People) - - -class ReferenceMaterialExternalIdentifiers(Base): - __tablename__ = u'referencematerialexternalidentifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - ReferenceMaterialID = Column(ForeignKey(ReferenceMaterials.ReferenceMaterialID), nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - ReferenceMaterialExternalIdentifier = Column('referencematerialexternalidentifier', String(255), nullable=False) - ReferenceMaterialExternalIdentifierURI = Column('referencematerialexternalidentifieruri', String(255)) - - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - ReferenceMaterialObj = relationship(ReferenceMaterials) - - -class SamplingFeatureExternalIdentifiers(Base): - __tablename__ = u'samplingfeatureexternalidentifiers' - ## __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - SamplingFeatureID = Column('samplingfeatureid', ForeignKey(SamplingFeatures.SamplingFeatureID), - nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - SamplingFeatureExternalIdentifier = Column('samplingfeatureexternalidentifier', String(255), nullable=False) - SamplingFeatureExternalIdentifierURI = Column('samplingfeatureexternalidentifieruri', String(255)) - - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - SamplingFeatureObj = relationship(SamplingFeatures) - - -class SpatialReferenceExternalIdentifiers(Base): - __tablename__ = u'spatialreferenceexternaledentifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID), - nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - SpatialReferenceExternalIdentifier = Column('spatialreferenceexternalidentifier', String(255), nullable=False) - SpatialReferenceExternalIdentifierURI = Column('spatialreferenceexternalidentifieruri', String(255)) - - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - SpatialReferenceObj = relationship(SpatialReferences) - - -class TaxonomicClassifierExternalIdentifiers(Base): - __tablename__ = u'taxonomicclassifierexternalidentifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - TaxonomicClassifierID = Column('taxonomicclassifierid', - ForeignKey(TaxonomicClassifiers.TaxonomicClassifierID), nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - TaxonomicClassifierExternalIdentifier = Column('taxonomicclassifierexternalidentifier', String(255), nullable=False) - TaxonomicClassifierExternalIdentifierURI = Column('taxonomicclassifierexternalidentifieruri', String(255)) - - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - TaxonomicClassifierObj = relationship(TaxonomicClassifiers) - - -class VariableExternalIdentifiers(Base): - __tablename__ = u'variableexternalidentifiers' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - VariableID = Column('variableid', ForeignKey(Variables.VariableID), nullable=False) - ExternalIdentifierSystemID = Column('externalidentifiersystemid', - ForeignKey(ExternalIdentifierSystems.ExternalIdentifierSystemID), - nullable=False) - VariableExternalIdentifier = Column('variableexternalidentifer', String(255), nullable=False) - VariableExternalIdentifierURI = Column('variableexternalidentifieruri', String(255)) - - ExternalIdentifierSystemObj = relationship(ExternalIdentifierSystems) - VariableObj = relationship(Variables) - - -# ################################################################################ -# Provenance -# ################################################################################ - -class AuthorLists(Base): - __tablename__ = u'authorlists' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) - PersonID = Column('personid', ForeignKey(People.PersonID), nullable=False) - AuthorOrder = Column('authororder', Integer, nullable=False) - - CitationObj = relationship(Citations, primaryjoin='AuthorLists.CitationID == Citations.CitationID') - PersonObj = relationship(People, primaryjoin='AuthorLists.PersonID == People.PersonID') - - def __repr__(self): - return "" \ - % (self.BridgeID, self.CitationID, self.PersonID, self.AuthorOrder, self.CitationObj, self.PersonObj) - - -class DataSetCitations(Base): - __tablename__ = u'datasetcitations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - DataSetID = Column('datasetid', ForeignKey(DataSets.DataSetID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) - - CitationObj = relationship(Citations) - DataSetObj = relationship(DataSets) - -class DerivationEquations(Base): - __tablename__ = u'derivationequations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - DerivationEquationID = Column('derivationequationid', Integer, primary_key=True, nullable=False) - DerivationEquation = Column('derivationequation', String(255), nullable=False) - -class ResultDerivationEquations(Base): - __tablename__ = u'resultderivationequations' - ResultID = Column(u'resultid', ForeignKey(Results.ResultID), primary_key=True) - DerivationEquationID = Column(u'derivationequationid', ForeignKey(DerivationEquations.DerivationEquationID), nullable=False) - - ResultsObj = relationship(Results) - DerivationEquationsObj = relationship(DerivationEquations) - -class MethodCitations(Base): - __tablename__ = u'methodcitations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - BridgeID = Column('bridgeid', Integer, primary_key=True, nullable=False) - MethodID = Column('methodid', ForeignKey(Methods.MethodID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) - CitationObj = relationship(Citations) - MethodObj = relationship(Methods) - - -# from odm2.Annotations.model import Annotation -class RelatedAnnotations(Base): - __tablename__ = u'relatedannotations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - RelationID = Column('relationid', Integer, primary_key=True, nullable=False) - AnnotationID = Column('annotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - RelatedAnnotationID = Column('relatedannotationid', ForeignKey(Annotations.AnnotationID), nullable=False) - - AnnotationObj = relationship(Annotations, primaryjoin='RelatedAnnotations.AnnotationID == Annotations.AnnotationID') - RelatedAnnotationObj = relationship(Annotations, - primaryjoin='RelatedAnnotations.RelatedAnnotationID == Annotations.AnnotationID') - - -class RelatedCitations(Base): - __tablename__ = u'relatedcitations' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - RelationID = Column('relationid', Integer, primary_key=True, nullable=False) - CitationID = Column('citationid', ForeignKey(Citations.CitationID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - RelatedCitationID = Column('relatedcitationid', ForeignKey(Citations.CitationID), nullable=False) - - CitationObj = relationship(Citations, primaryjoin='RelatedCitations.CitationID == Citations.CitationID') - RelatedCitationObj = relationship(Citations, - primaryjoin='RelatedCitations.RelatedCitationID == Citations.CitationID') - - -class RelatedDataSets(Base): - __tablename__ = u'relateddatasets' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - RelationID = Column('relationid', Integer, primary_key=True, nullable=False) - DataSetID = Column('datasetid', ForeignKey(DataSets.DataSetID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - RelatedDataSetID = Column('relateddatasetid', ForeignKey(DataSets.DataSetID), nullable=False) - VersionCode = Column('versioncode', String(50)) - - DataSetObj = relationship(DataSets, primaryjoin='RelatedDataSets.DataSetID == DataSets.DataSetID') - RelatedDataSetObj = relationship(DataSets, primaryjoin='RelatedDataSets.RelatedDataSetID == DataSets.DataSetID') - - -class RelatedResults(Base): - __tablename__ = u'relatedresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - RelationID = Column('relationid', Integer, primary_key=True, nullable=False) - ResultID = Column('resultid', ForeignKey(Results.ResultID), nullable=False) - RelationshipTypeCV = Column('relationshiptypecv', ForeignKey(CVRelationshipType.Name), nullable=False, - index=True) - RelatedResultID = Column('relatedresultid', ForeignKey(Results.ResultID), nullable=False) - VersionCode = Column('versioncode', String(50)) - RelatedResultSequenceNumber = Column('relatedresultsequencenumber', Integer) - - ResultObj = relationship(Results, primaryjoin='RelatedResults.RelatedResultID == Results.ResultID') - RelatedResultObj = relationship(Results, primaryjoin='RelatedResults.ResultID == Results.ResultID') - - -# ################################################################################ -# Results -# ################################################################################ - - -class PointCoverageResults(Base): - __tablename__ = u'pointcoverageresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - ZLocation = Column('zlocation', Float(53)) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID)) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - IntendedXSpacing = Column('intendedxspacing', Float(53)) - IntendedXSpacingUnitsID = Column('intendedxspacingunitsid', ForeignKey(Units.UnitsID)) - IntendedYSpacing = Column('intendedyspacing', Float(53)) - IntendedYSpacingUnitsID = Column('intendedyspacingunitsid', ForeignKey(Units.UnitsID)) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', Integer, nullable=False) - - XUnitObj = relationship(Units, primaryjoin='PointCoverageResults.IntendedXSpacingUnitsID == Units.UnitsID') - YUnitObj = relationship(Units, primaryjoin='PointCoverageResults.IntendedYSpacingUnitsID == Units.UnitsID') - SpatialReferenceObj = relationship(SpatialReferences) - ZUnitObj = relationship(Units, primaryjoin='PointCoverageResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='PointCoverageResults.ResultID == Results.ResultID') - - -class ProfileResults(Base): - __tablename__ = u'profileresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - XLocation = Column('xlocation', Float(53)) - XLocationUnitsID = Column('xlocationunitsid', ForeignKey(Units.UnitsID)) - YLocation = Column('ylocation', Float(53)) - YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID)) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - IntendedZSpacing = Column('intendedzspacing', Float(53)) - IntendedZSpacingUnitsID = Column('intendedzspacingunitsid', ForeignKey(Units.UnitsID)) - IntendedTimeSpacing = Column('intendedtimespacing', Float(53)) - IntendedTimeSpacingUnitsID = Column('intendedtimespacingunitsid', ForeignKey(Units.UnitsID)) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - - TimeUnitObj = relationship(Units, primaryjoin='ProfileResults.IntendedTimeSpacingUnitsID == Units.UnitsID') - ZUnitObj = relationship(Units, primaryjoin='ProfileResults.IntendedZSpacingUnitsID == Units.UnitsID') - SpatialReferenceObj = relationship(SpatialReferences) - XUnitObj = relationship(Units, primaryjoin='ProfileResults.XLocationUnitsID == Units.UnitsID') - YUnitObj = relationship(Units, primaryjoin='ProfileResults.YLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='ProfileResults.ResultID == Results.ResultID') - - -class CategoricalResults(Base): - __tablename__ = u'categoricalresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - XLocation = Column('xlocation', Float(53)) - XLocationUnitsID = Column('xlocationunitsid', Integer) - YLocation = Column('ylocation', Float(53)) - YLocationUnitsID = Column('ylocationunitsid', Integer) - ZLocation = Column('zlocation', Float(53)) - ZLocationUnitsID = Column('zlocationunitsid', Integer) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - - SpatialReferenceObj = relationship(SpatialReferences) - ResultObj = relationship(Results, primaryjoin='CategoricalResults.ResultID == Results.ResultID') - - -class TransectResults(Base): - __tablename__ = u'transectresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - ZLocation = Column('zlocation', Float(53)) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID)) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - IntendedTransectSpacing = Column('intendedtransectspacing', Float(53)) - IntendedTransectSpacingUnitsID = Column('intendedtransectspacingunitsid', ForeignKey(Units.UnitsID)) - IntendedTimeSpacing = Column('intendedtimespacing', Float(53)) - IntendedTimeSpacingUnitsID = Column('intendedtimespacingunitsid', ForeignKey(Units.UnitsID)) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - - TimeUnitObj = relationship(Units, primaryjoin='TransectResults.IntendedTimeSpacingUnitsID == Units.UnitsID') - TransectUnitObj = relationship(Units, primaryjoin='TransectResults.IntendedTransectSpacingUnitsID == Units.UnitsID') - SpatialReferenceObj = relationship(SpatialReferences) - ZUnitObj = relationship(Units, primaryjoin='TransectResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='TransectResults.ResultID == Results.ResultID') - - -class SpectraResults(Base): - __tablename__ = u'spectraresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - XLocation = Column('xlocation', Float(53)) - XLocationUnitsID = Column('xlocationunitsid', ForeignKey(Units.UnitsID)) - YLocation = Column('ylocation', Float(53)) - YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID)) - ZLocation = Column('zlocation', Float(53)) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID)) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - IntendedWavelengthSpacing = Column('intendedwavelengthspacing', Float(53)) - IntendedWavelengthSpacingUnitsID = Column('intendedwavelengthspacingunitsid', ForeignKey(Units.UnitsID)) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - - WaveUnitObj = relationship(Units, primaryjoin='SpectraResults.IntendedWavelengthSpacingUnitsID == Units.UnitsID') - SpatialReferenceObj = relationship(SpatialReferences) - XUnitObj = relationship(Units, primaryjoin='SpectraResults.XLocationUnitsID == Units.UnitsID') - YUnitObj = relationship(Units, primaryjoin='SpectraResults.YLocationUnitsID == Units.UnitsID') - ZUnitObj = relationship(Units, primaryjoin='SpectraResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='SpectraResults.ResultID == Results.ResultID') - - -class TimeSeriesResults(Base): - __tablename__ = u'timeseriesresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - XLocation = Column('xlocation', Float(53)) - XLocationUnitsID = Column('xlocationunitsid', ForeignKey(Units.UnitsID)) - YLocation = Column('ylocation', Float(53)) - YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID)) - ZLocation = Column('zlocation', Float(53)) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID)) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - IntendedTimeSpacing = Column('intendedtimespacing', Float(53)) - IntendedTimeSpacingUnitsID = Column('intendedtimespacingunitsid', ForeignKey(Units.UnitsID)) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - - ResultObj = relationship(Results) - IntendedTimeSpacingUnitsObj = relationship(Units, - primaryjoin='TimeSeriesResults.IntendedTimeSpacingUnitsID == Units.UnitsID') - SpatialReferenceObj = relationship(SpatialReferences) - XLocationUnitsObj = relationship(Units, primaryjoin='TimeSeriesResults.XLocationUnitsID == Units.UnitsID') - YLocationUnitsObj = relationship(Units, primaryjoin='TimeSeriesResults.YLocationUnitsID == Units.UnitsID') - ZLocationUnitsObj = relationship(Units, primaryjoin='TimeSeriesResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='TimeSeriesResults.ResultID == Results.ResultID') - - def __repr__(self): - return "" % \ - (self.ResultID, self.XLocation, self.YLocation, self.XLocation, - self.ResultObj, self.XLocationUnitsObj, self.SpatialReferenceObj, - self.IntendedTimeSpacing, self.AggregationStatisticCV) - - -class SectionResults(Base): - __tablename__ = u'sectionresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - YLocation = Column('ylocation', Float(53)) - YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID)) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - IntendedXSpacing = Column('intendedxspacing', Float(53)) - IntendedXSpacingUnitsID = Column('intendedxpacingunitsid', ForeignKey(Units.UnitsID)) - IntendedZSpacing = Column('intendedzspacing', Float(53)) - IntendedZSpacingUnitsID = Column('intendedzspacingunitsid', ForeignKey(Units.UnitsID)) - IntendedTimeSpacing = Column('intendedtimespacing', Float(53)) - IntendedTimeSpacingUnitsID = Column('intendedtimespacingunitsid', ForeignKey(Units.UnitsID)) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - - TimeUnitObj = relationship(Units, primaryjoin='SectionResults.IntendedTimeSpacingUnitsID == Units.UnitsID') - XUnitObj = relationship(Units, primaryjoin='SectionResults.IntendedXSpacingUnitsID == Units.UnitsID') - ZUnitObj = relationship(Units, primaryjoin='SectionResults.IntendedZSpacingUnitsID == Units.UnitsID') - SpatialReferenceObj = relationship(SpatialReferences) - YUnitObj = relationship(Units, primaryjoin='SectionResults.YLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='SectionResults.ResultID == Results.ResultID') - - -class TrajectoryResults(Base): - __tablename__ = u'trajectoryresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - IntendedTrajectorySpacing = Column('intendedtrajectoryspacing', Float(53)) - IntendedTrajectorySpacingUnitsID = Column('intendedtrajectoryspacingunitsid', ForeignKey(Units.UnitsID)) - IntendedTimeSpacing = Column('intendedtimespacing', Float(53)) - IntendedTimeSpacingUnitsID = Column('intendedtimespacingunitsid', ForeignKey(Units.UnitsID)) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - - TimeUnitObj = relationship(Units, primaryjoin='TrajectoryResults.IntendedTimeSpacingUnitsID == Units.UnitsID') - TrajectoryUnitObj = relationship(Units, - primaryjoin='TrajectoryResults.IntendedTrajectorySpacingUnitsID == Units.UnitsID') - SpatialReferenceObj = relationship(SpatialReferences) - ResultObj = relationship(Results, primaryjoin='TrajectoryResults.ResultID == Results.ResultID') - - -class MeasurementResults(Base): - __tablename__ = u'measurementresults' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ResultID = Column('resultid', ForeignKey(Results.ResultID), primary_key=True) - XLocation = Column('xlocation', Float(53)) - XLocationUnitsID = Column('xlocationunitsid', ForeignKey(Units.UnitsID)) - YLocation = Column('ylocation', Float(53)) - YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID)) - ZLocation = Column('zlocation', Float(53)) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID)) - SpatialReferenceID = Column('spatialreferenceid', ForeignKey(SpatialReferences.SpatialReferenceID)) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', ForeignKey(Units.UnitsID), - nullable=False) - - SpatialReferenceObj = relationship(SpatialReferences) - TimeUnitObj = relationship(Units, primaryjoin='MeasurementResults.TimeAggregationIntervalUnitsID == Units.UnitsID') - XLocationUnitsObj = relationship(Units, primaryjoin='MeasurementResults.XLocationUnitsID == Units.UnitsID') - YLocationUnitsObj = relationship(Units, primaryjoin='MeasurementResults.YLocationUnitsID == Units.UnitsID') - ZLocationUnitsObj = relationship(Units, primaryjoin='MeasurementResults.ZLocationUnitsID == Units.UnitsID') - ResultObj = relationship(Results, primaryjoin='MeasurementResults.ResultID == Results.ResultID') - def __repr__(self): - return "" % \ - (self.ResultID, self.XLocation, self.YLocation, self.XLocation, - self.ResultObj, self.XLocationUnitsObj, self.SpatialReferenceObj, - self.AggregationStatisticCV) - - -class CategoricalResultValues(Base): - __tablename__ = u'categoricalresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(CategoricalResults.ResultID), nullable=False) - DataValue = Column('datavalue', String(255), nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', Integer, nullable=False) - - CategoricalResultObj = relationship(CategoricalResults) - - -class MeasurementResultValues(Base): - __tablename__ = u'measurementresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(MeasurementResults.ResultID), nullable=False) - DataValue = Column('datavalue', Float(53), nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', Integer, nullable=False) - - MeasurementResultObj = relationship(MeasurementResults) - - def __repr__(self): - return "" % (self.DataValue, self.ValueDateTime, self.ResultID) - - - - -class PointCoverageResultValues(Base): - __tablename__ = u'pointcoverageresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(PointCoverageResults.ResultID), nullable=False) - DataValue = Column('datavalue', BigInteger, nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', Integer, nullable=False) - XLocation = Column('xlocation', Float(53), nullable=False) - XLocationUnitsID = Column('xlocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - YLocation = Column('ylocation', Float(53), nullable=False) - YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - - PointCoverageResultObj = relationship(PointCoverageResults) - XUnitObj = relationship(Units, primaryjoin='PointCoverageResultValues.XLocationUnitsID == Units.UnitsID') - YUnitObj = relationship(Units, primaryjoin='PointCoverageResultValues.YLocationUnitsID == Units.UnitsID') - - -class ProfileResultValues(Base): - __tablename__ = u'profileresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(ProfileResults.ResultID), nullable=False) - DataValue = Column('datavalue', Float(53), nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', Integer, nullable=False) - ZLocation = Column('zlocation', Float(53), nullable=False) - ZAggregationInterval = Column('zaggregationinterval', Float(53), nullable=False) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', ForeignKey(Units.UnitsID), - nullable=False) - - ProfileResultObj = relationship(ProfileResults) - TimeUnitObj = relationship(Units, primaryjoin='ProfileResultValues.TimeAggregationIntervalUnitsID == Units.UnitsID') - ZUnitObj = relationship(Units, primaryjoin='ProfileResultValues.ZLocationUnitsID == Units.UnitsID') - - -class SectionResultValues(Base): - __tablename__ = u'sectionresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(SectionResults.ResultID), nullable=False) - DataValue = Column('datavalue', Float(53), nullable=False) - ValueDateTime = Column('valuedatetime', BigInteger, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', BigInteger, nullable=False) - XLocation = Column('xlocation', Float(53), nullable=False) - XAggregationInterval = Column('xaggregationinterval', Float(53), nullable=False) - XLocationUnitsID = Column('xlocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - ZLocation = Column('zlocation', BigInteger, nullable=False) - ZAggregationInterval = Column('zaggregationinterval', Float(53), nullable=False) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', ForeignKey(Units.UnitsID), - nullable=False) - - SectionResultObj = relationship(SectionResults) - TimeUnitObj = relationship(Units, primaryjoin='SectionResultValues.TimeAggregationIntervalUnitsID == Units.UnitsID') - XUnitObj = relationship(Units, primaryjoin='SectionResultValues.XLocationUnitsID == Units.UnitsID') - ZUnitObj = relationship(Units, primaryjoin='SectionResultValues.ZLocationUnitsID == Units.UnitsID') - - -class SpectraResultValues(Base): - __tablename__ = u'spectraresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(SpectraResults.ResultID), nullable=False) - DataValue = Column('datavalue', Float(53), nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', Integer, nullable=False) - ExcitationWavelength = Column('excitationwavelength', Float(53), nullable=False) - EmissionWavelength = Column('emmistionwavelength', Float(53), nullable=False) - WavelengthUnitsID = Column('wavelengthunitsid', ForeignKey(Units.UnitsID), nullable=False) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', ForeignKey(Units.UnitsID), - nullable=False) - - SpectraResultObj = relationship(SpectraResults) - TimeUnitObj = relationship(Units, primaryjoin='SpectraResultValues.TimeAggregationIntervalUnitsID == Units.UnitsID') - WavelengthUnitObj = relationship(Units, primaryjoin='SpectraResultValues.WavelengthUnitsID == Units.UnitsID') - - -class TimeSeriesResultValues(Base): - __tablename__ = u'timeseriesresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigIntegerType, primary_key=True) - ResultID = Column('resultid', ForeignKey(TimeSeriesResults.ResultID), nullable=False) - DataValue = Column('datavalue', Float(53), nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', Integer, nullable=False) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', ForeignKey(Units.UnitsID), - nullable=False) - - TimeSeriesResultObj = relationship(TimeSeriesResults) - TimeUnitObj = relationship(Units) - - def get_columns(self): - return ["ValueID", "ResultID", "DataValue", "ValueDateTime", "ValueDateTimeUTCOffset", - "CensorCodeCV", "QualityCodeCV", "TimeAggregationInterval", "TimeAggregationIntervalUnitsID"] - - def list_repr(self): - return [self.ValueID, self.ResultID, self.DataValue, self.ValueDateTime, self.ValueDateTimeUTCOffset, - self.CensorCodeCV, self.QualityCodeCV, self.TimeAggregationInterval, - self.TimeAggregationIntervalUnitsID] - - def __repr__(self): - return "" % (self.DataValue, self.ValueDateTime, self.TimeAggregationInterval) - - -class TrajectoryResultValues(Base): - __tablename__ = u'trajectoryresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(TrajectoryResults.ResultID), nullable=False) - DataValue = Column('datavalue', Float(53), nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', Integer, nullable=False) - XLocation = Column('xlocation', Float(53), nullable=False) - XLocationUnitsID = Column('xlocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - YLocation = Column('ylocation', Float(53), nullable=False) - YLocationUnitsID = Column('ylocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - ZLocation = Column('zlocation', Float(53), nullable=False) - ZLocationUnitsID = Column('zlocationunitsid', ForeignKey(Units.UnitsID), nullable=False) - TrajectoryDistance = Column('trajectorydistance', Float(53), nullable=False) - TrajectoryDistanceAggregationInterval = Column('trajectorydistanceaggregationinterval', Float(53), nullable=False) - TrajectoryDistanceUnitsID = Column('trajectorydistanceunitsid', Integer, nullable=False) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', ForeignKey(Units.UnitsID), - nullable=False) - - TrajectoryResultObj = relationship(TrajectoryResults) - TimeUnitObj = relationship(Units, - primaryjoin='TrajectoryResultValues.TimeAggregationIntervalUnitsID == Units.UnitsID') - XUnitObj = relationship(Units, primaryjoin='TrajectoryResultValues.XLocationUnitsID == Units.UnitsID') - YUnitObj = relationship(Units, primaryjoin='TrajectoryResultValues.YLocationUnitsID == Units.UnitsID') - ZUnitObj = relationship(Units, primaryjoin='TrajectoryResultValues.ZLocationUnitsID == Units.UnitsID') - - -class TransectResultValues(Base): - __tablename__ = u'transectresultvalues' - # __table_args__ = {u'schema': 'odm2'} # # __table_args__ = {u'schema': Schema.getSchema()} - - ValueID = Column('valueid', BigInteger, primary_key=True) - ResultID = Column('resultid', ForeignKey(TransectResults.ResultID), nullable=False) - DataValue = Column('datavalue', Float(53), nullable=False) - ValueDateTime = Column('valuedatetime', DateTime, nullable=False) - ValueDateTimeUTCOffset = Column('valuedatetimeutcoffset', DateTime, nullable=False) - XLocation = Column('xlocation', Float(53), nullable=False) - XLocationUnitsID = Column('xlocationunitsid', Integer, nullable=False) - YLocation = Column('ylocation', Float(53), nullable=False) - YLocationUnitsID = Column('ylocationunitsid', Integer, nullable=False) - TransectDistance = Column('transectdistance', Float(53), nullable=False) - TransectDistanceAggregationInterval = Column('transectdistanceaggregationinterval', Float(53), nullable=False) - TransectDistanceUnitsID = Column('transectdistanceunitsid', Integer, nullable=False) - CensorCodeCV = Column('censorcodecv', ForeignKey(CVCensorCode.Name), nullable=False, index=True) - QualityCodeCV = Column('qualitycodecv', ForeignKey(CVQualityCode.Name), nullable=False, index=True) - AggregationStatisticCV = Column('aggregationstatisticcv', ForeignKey(CVAggregationStatistic.Name), - nullable=False, index=True) - TimeAggregationInterval = Column('timeaggregationinterval', Float(53), nullable=False) - TimeAggregationIntervalUnitsID = Column('timeaggregationintervalunitsid', Integer, nullable=False) - - TransectResultObj = relationship(TransectResults) - - -import inspect -import sys - -def change_schema(schema): - #get a list of all of the classes in the module - clsmembers = inspect.getmembers(sys.modules[__name__], lambda member: inspect.isclass(member) and member.__module__ == __name__) - - for name, Tbl in clsmembers: - Tbl.__table__.schema = schema diff --git a/odm2api/ODM2/services/createService.py b/odm2api/ODM2/services/createService.py index 1f5309c..cd2f88b 100644 --- a/odm2api/ODM2/services/createService.py +++ b/odm2api/ODM2/services/createService.py @@ -3,656 +3,703 @@ import datetime as dt import uuid -#from src.api.ODM2.LikeODM1.model import Site +# from src.api.ODM2.LikeODM1.model import Site from odm2api.ODM2.models import * from odm2api.ODM2 import serviceBase -class CreateODM2( serviceBase): +class CreateODM2(serviceBase): ''' def __init__(self, session): self._session = session ''' -# ################################################################################ -# Annotations -# ################################################################################ - - - -# ################################################################################ -# CV -# ################################################################################ - - - - -# ################################################################################ -# Core -# ################################################################################ - - def createVariable(self, code, name, vType, nodv, speciation=None, definition=None): - """ - - :param code: - :type String(50): - :param name: - :type String(255): - :param vType: - :type String(255): - :param nodv: - :type Float(53): - :param speciation: - :type String(255): - :param definition: - :type String(500): - :return: - """ - var = Variables() - var.VariableCode = code - var.VariableNameCV = name - var.VariableDefinition = definition - var.VariableTypeCV = vType - var.NoDataValue = nodv - var.SpeciationCV = speciation + # ################################################################################ + # Annotations + # ################################################################################ + + def create(self, values): + if len(values)>1: + self._session.add_all(values) + else: + self._session.add(values) + self._session.commit() + def createVariable(self, var): self._session.add(var) self._session.commit() - return var - - def createMethod(self, code, name, vType, orgId=None, link=None, description=None): - """Create Method table for the database - - :param code: - :type String(50): - :param name: - :type String(255): - :param vType: - :type String(255): - :param orgId: - :type Integer: - :param link: - :type String(255): - :param description: - :type String(500): - :return: - """ - - meth = Methods() - meth.MethodCode = code - meth.MethodName = name - meth.MethodDescription = description - meth.MethodTypeCV = vType - meth.MethodLink = link - meth.OrganizationID = orgId - - self._session.add(meth) + def createMethod(self, method): + self._session.add(method) self._session.commit() - return meth - - def createProcessingLevel(self, code, definition=None, explanation=None): - """Create Processinglevel table for database - - :param code: - :type String(50): - :param definition: - :type String(500): - :param explanation: - :type String(500): - :return: - """ - pl = ProcessingLevels() - pl.ProcessingLevelCode = str(code) - pl.Definition = definition - pl.Explanation = explanation - - self._session.add(pl) + def createProcessingLevel(self, proclevel): + self._session.add(proclevel) self._session.commit() - return pl - - def createSamplingFeature(self, uuid, code, vType, name=None, description=None, geoType=None, elevation=None, - elevationDatum=None, featureGeo=None): - """Create SamplingFeature table - - :param code: - :type String(50): - :param vType: - :type String(255): - :param name: - :type String(255): - :param description: - :type String(500): - :param geoType: - :type String(255): - :param evelation: - :type Float(53): - :param evelationDatum: - :type String(255): - :param featureGeo: - :type NullType: - :return: - """ - - sf = SamplingFeatures() - sf.SamplingFeatureUUID = uuid - sf.SamplingFeatureTypeCV = vType - sf.SamplingFeatureCode = code - sf.SamplingFeatureName = name - sf.SamplingFeatureDescription = description - sf.SamplingFeatureGeoTypeCV = geoType - sf.Elevation_m = elevation - sf.ElevationDatumCV = elevationDatum - sf.FeatureGeometry = featureGeo - - self._session.add(sf) + def createSamplingFeature(self, samplingfeature): + self._session.add(samplingfeature) self._session.commit() - return sf - - - def createUnit(self, type, abbrev, name, link=None): - """Create Unit table - - :param code: - :type String(255): - :param abbrev: - :type String(50): - :param name: - :type String(255): - :return: - """ - unit = Units() - unit.UnitsTypeCV = type - unit.UnitsAbbreviation = abbrev - unit.UnitsName = name - unit.UnitsLink = link - + def createUnit(self, unit): self._session.add(unit) self._session.commit() - return unit - - def createOrganization(self, cvType, code, name, desc, link, parentOrgId): - """Create Organization table - - :param cvType: - :type String(255): - :param code: - :type String(50): - :param name: - :type String(255): - :param desc: - :type String(500): - :param link: - :type String(255): - :param parentOrgId: - :type Integer: - :return: - """ - - org = Organizations() - org.OrganizationTypeCV = cvType - org.OrganizationCode = code - org.OrganizationName = name - org.OrganizationDescription = desc - org.OrganizationLink = link - org.ParentOrganizationID = parentOrgId - + def createOrganization(self, org): self._session.add(org) self._session.commit() - return org - - def createPerson(self, firstName, lastName, middleName=""): - """Create Person Table - - :param firstName: - :type String(255): - :param lastName: - :type String(255): - :param middleName: - :type String(255): - :return: - """ - - p = People() - p.PersonFirstName = firstName - p.PersonMiddleName = middleName - p.PersonLastName = lastName - - self._session.add(p) + def createPerson(self, person): + self._session.add(person) self._session.commit() - return p - - # def createResult(self, uuid, featureActionId, vType, ): - - def createAffiliation(self, personid, organizationid, email, phone=None, address=None, link=None, - iscontact=False, affiliation_start=dt.datetime.today(), affiliation_end=None): - """ - - :param personid: id of the person record - :param organizationid: id of the organization record - :param email: primary email address - :param phone: primary phone number - :param address: primary mailing address - :param link: url pointing the web resource such as researchGate profile - :param iscontact: indicate if this person is the primary contact for the organization - :param affiliation_start: begin date of affiliation with organization - :param affiliation_end: end date of affiliation with organization - :return: ODM2.Affiliation - """ - - # create affiliation object - a = Affiliations() - a.PersonID = personid - a.OrganizationID = organizationid - a.PrimaryEmail = email - a.PrimaryPhone = phone - a.PrimaryAddress = address - a.PersonLink = link - a.IsPrimaryOrganizationContact = iscontact - a.AffiliationStartDate = affiliation_start - a.AffiliationEndDate = affiliation_end - - self._session.add(a) + def createAffiliation(self, affiliation): + self._session.add(affiliation) self._session.commit() - #self._session.flush() - # self._session.refresh(a) - - print(a.OrganizationID) - - return a - - def createDataset(self, dstype, dscode, dstitle, dsabstract): - ds = DataSets() - - # create the dataset - ds.DataSetTypeCV = dstype - ds.DataSetCode = dscode - ds.DataSetTitle = dstitle - ds.DataSetAbstract = dsabstract - ds.DataSetUUID = uuid.uuid4().hex - self._session.add(ds) + def createDataset(self, dataset): + self._session.add(dataset) self._session.commit() - return ds - - def createDatasetResults(self, dsid, resultid): - dsr = DataSetsResults() - - # link dataset to results - dsr.DatasetID = dsid - dsr.ResultID = resultid - - self._session.add(dsr) + def createDatasetResults(self, datasetresult): + self._session.add(datasetresult) self._session.commit() - return dsr - - def createAction(self, type, methodid, begindatetime, begindatetimeoffset, enddatetime=None, enddatetimeoffset=None, - description=None, filelink=None): - action = Actions() - action.ActionTypeCV = type - action.MethodID = methodid - action.BeginDateTime = begindatetime - action.BeginDateTimeUTCOffset = begindatetimeoffset - action.EndDateTime = enddatetime - action.EndDateTimeUTCOffset = enddatetimeoffset - action.ActionDescription = description - action.ActionFileLink = filelink - + def createAction(self, action, actionby): self._session.add(action) - self._session.commit() - - return action - - def createActionBy(self, actionid, affiliationid, isactionlead=True, roledescription=None): - actionby = ActionBy() - actionby.ActionID = actionid - actionby.AffiliationID = affiliationid - actionby.IsActionLead = isactionlead - actionby.RoleDescription = roledescription - self._session.add(actionby) self._session.commit() - return actionby - - def createFeatureAction(self, samplingfeatureid, actionid): - featureaction = FeatureActions() - featureaction.SamplingFeatureID = samplingfeatureid - featureaction.ActionID = actionid - - self._session.add(featureaction) + def createRelatedAction(self, relatedaction): + self._session.add(relatedaction) self._session.commit() - return featureaction - - - def createResult(self, featureactionid, variableid, unitid, processinglevelid, valuecount, sampledmedium, - resulttypecv, - taxonomicclass=None, resultdatetime=None, resultdatetimeutcoffset=None, - validdatetime=None, validdatetimeutcoffset=None, statuscv=None): - result = Results() - #result.ResultUUID = uuid.uuid4().hex - result.ResultUUID = str(uuid.uuid4()) # Denver - result.FeatureActionID = featureactionid - result.ResultTypeCV = resulttypecv - result.VariableID = variableid - result.UnitsID = unitid - result.ProcessingLevelID = processinglevelid - result.ValueCount = valuecount - result.SampledMediumCV = sampledmedium - result.TaxonomicClassifierID = taxonomicclass - result.ResultDateTime = resultdatetime - result.ResultDateTimeUTCOffset = resultdatetimeutcoffset - result.ValidDateTime = validdatetime - result.ValidDateTimeUTCOffset = validdatetimeutcoffset - result.StatusCV = statuscv - + def createResult(self, result): self._session.add(result) self._session.commit() - return result - - -# ################################################################################ -# Data Quality -# ################################################################################ - - - -# ################################################################################ -# Equipment -# ################################################################################ - - - - -# ################################################################################ -# ExtensionProperties -# ################################################################################ - - - - - -# ################################################################################ -# External Identifiers -# ################################################################################ - - - - -# ################################################################################ -# Lab Analyses -# ################################################################################ - - - - -# ################################################################################ -# Provenance -# ################################################################################ - - - - -# ################################################################################ -# Results -# ################################################################################ - - - - def createTimeSeriesResult(self, result, aggregationstatistic, xloc=None, xloc_unitid=None, yloc=None, - yloc_unitid=None, zloc=None, zloc_unitid=None, - srsID=None, timespacing=None, timespacing_unitid=None): - - tsr = TimeSeriesResults() - - tsr.ResultID = result.ResultID - #tsr.ResultUUID = result.ResultUUID - - - tsr.XLocation = xloc - tsr.XLocationUnitsID = xloc_unitid - tsr.YLocation = yloc - tsr.YLocationUnitsID = yloc_unitid - tsr.ZLocation = zloc - tsr.ZLocationUnitsID = zloc_unitid - tsr.SpatialReferenceID = srsID - tsr.IntendedTimeSpacing = timespacing - tsr.IntendedTimeSpacingUnitsID = timespacing_unitid - tsr.AggregationStatisticCV = aggregationstatistic - - - #tsr.ResultID = result.ResultID - # tsr.ResultUUID = result.ResultUUID - # tsr.FeatureActionID = result.FeatureActionID - # tsr.VariableID = result.VariableID - # tsr.UnitsID = result.UnitsID - # tsr.ProcessingLevelID = result.ProcessingLevelID - # tsr.ValueCount = result.ValueCount - # tsr.SampledMediumCV = result.SampledMediumCV - # tsr.ResultTypeCV = result.ResultTypeCV + def createResultValues(self, values): + self._session.add(values) + self._session.commit() - self._session.add(tsr) + def createSpatialReference(self, spatialref): + self._session.add(spatialref) self._session.commit() - return tsr - ''' - def createTimeSeriesResultValues(self, resultid, datavalues, datetimes, datetimeoffsets, censorcodecv, - qualitycodecv, - timeaggregationinterval, timeaggregationunit): + def createModel(self, model): + self._session.add(model) + self._session.commit() + def createRelatedModel(self, relatedmodel): + self._session.add(relatedmodel) + self._session.commit() - try: - values = TimeSeriesResultValues() - for i in range(len(datavalues)): - values.ResultID = resultid - values.CensorCodeCV = censorcodecv - values.QualityCodeCV = qualitycodecv - values.TimeAggregationInterval = timeaggregationinterval - values.TimeAggregationIntervalUnitsID = timeaggregationunit - values.DataValue = datavalues[i] - values.ValueDateTime = datetimes[i] - values.ValueDateTimeUTCOffset = datetimeoffsets[i] - self._session.add(values) - self._session.commit() - return values - except Exception, e: - print e - return None - ''' + def createSimulation(self, simulation): + self._session.add(simulation) + self._session.commit() def createTimeSeriesResultValues(self, datavalues): try: - #using Pandas built-in --slow - #changing way values sent --unknown error on insert - #cols = datavalues.columns.tolist() - #['ValueDateTime', 'DataValue', 'TimeAggregationInterval', 'TimeAggregationIntervalUnitsID', 'QualityCodeCV', 'CensorCodeCV', 'ResultID', 'ValueDateTimeUTCOffset'] - #cols = ['ResultID','DataValue','ValueDateTime','ValueDateTimeUTCOffset','CensorCodeCV','QualityCodeCV','TimeAggregationInterval','TimeAggregationIntervalUnitsID'] - #datavalues = datavalues[cols] - #print datavalues - #datavalues.to_sql(name=TimeSeriesResultValues.__tablename__, + tablename = TimeSeriesResultValues.__tablename__ + print "I am TS saving name the table name"+ tablename datavalues.to_sql(name="TimeSeriesResultValues", schema=TimeSeriesResultValues.__table_args__['schema'], if_exists='append', - chunksize= 1000, + chunksize=1000, con=self._session_factory.engine, index=False) self._session.commit() - - #using sqlalchemy core --sending empty parameters - # data = datavalues.to_dict('records') - # self._session.execute(TimeSeriesResultValues.__table__.insert(data)) - - #using cursor and StringIO --not all cursors have the copy_from function - # print "using cursor" - # import cStringIO - # #stream the data using 'to_csv' and StringIO(); then use sql's 'copy_from' function - # output = cStringIO.StringIO() - # #ignore the index - # datavalues.to_csv(output, sep='\t', header=False, index=False) - # #jump to start of stream - # output.seek(0) - # contents = output.getvalue() - # connection = self._session_factory.engine.raw_connection() - # cur = connection.cursor() - # #null values become '' - # cur.copy_from(output, 'ODM2.TimeSeriesResultValues', null="") - # connection.commit() - # cur.close() - - #using Bulk Insert * user must have permissions --file created locally code running remote - # datavalues.to_csv('C:\\Users\\Stephanie\\temp.csv') - # sql = """ - # BULK INSERT ODM2.TimeSeriesResultValues - # FROM 'C:\\Users\\Stephanie\\temp.csv' WITH ( - # FIELDTERMINATOR=',', - # ROWTERMINATOR='\\n'); - # """ - # self._session.execute(sql) - - - - return datavalues except Exception as e: print(e) return None -# ################################################################################ -# Sampling Features -# ################################################################################ - - - def createSite(self, sfId, spatialRefId, vType, latitude, longitude): - """Create Site table - - :param vType: - :type String(255): - :param latitude: - :type Float(53): - :param longitude: - :type Float(53): - :return: - """ - - s = Sites() - s.SamplingFeatureID = sfId - s.SpatialReferenceID = spatialRefId - s.SiteTypeCV = vType - s.Latitude = latitude - s.Longitude = longitude - - self._session.add(s) - self._session.commit() - return s - - def createSpatialReference(self, srsCode, srsName, srsDescription=None): - spatialreference = SpatialReferences() - spatialreference.SRSCode = srsCode - spatialreference.SRSName = srsName - spatialreference.SRSDescription = srsDescription - - self._session.add(spatialreference) - self._session.commit() - - return spatialreference - - -# ################################################################################ -# Sensors # ################################################################################ - - def createDeploymentAction(self, actionId, cvType, desc, configActionId, calibActionId, spatialOffSet, - deploymentSchematicLink, **kwargs): - """Create DeploymentAction Object - - :param **kwargs: - :param actionId: - :type Integer: - :param cvType: - :type String(255): - :param desc: - :type String(500): - :param configActionId: - :type Integer: - :param calibActionId: - :type Integer: - :param spatialOffSet: - :type Integer: - :param deploymentSchematicLink: - :type String(255): - :return: - """ - - da = DeploymentActions() - da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) - da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) - da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) - da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) - da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) - da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) - - -# ################################################################################ -# Simulation +# Core # ################################################################################ - - def createModel(self, code, name, description=None): - model = Models() - model.ModelCode = code - model.ModelName = name - model.ModelDescription = description - - self._session.add(model) - self._session.commit() - - return model - - - def createRelatedModel(self, modelid, relatedModelID, relationshipType): - related = RelatedModels() - related.ModelID = modelid - related.RelationshipTypeCV = relationshipType - related.RelatedModelID = relatedModelID - - self._session.add(related) - self._session.commit() - - return related - - - def createSimulation(self, actionid, modelID, simulationName, simulationDescription, simulationStartDateTime, - simulationStartOffset, - simulationEndDateTime, simulationEndOffset, timeStepValue, timeStepUnitID, - inputDatasetID=None): - sim = Simulations() - sim.ActionID = actionid - sim.ModelID = modelID - sim.SimulationName = simulationName - sim.SimulationDescription = simulationDescription - sim.SimulationStartDateTime = simulationStartDateTime - sim.SimulationStartDateTimeUTCOffset = simulationStartOffset - sim.SimulationEndDateTime = simulationEndDateTime - sim.SimulationEndDateTimeUTCOffset = simulationEndOffset - sim.TimeStepValue = timeStepValue - sim.TimeStepUnitsID = timeStepUnitID - sim.InputDatasetID = inputDatasetID - - self._session.add(sim) - self._session.commit() - - return sim - +# def createVariable(self, code, name, vType, nodv, speciation=None, definition=None): +# """ +# +# :param code: +# :type String(50): +# :param name: +# :type String(255): +# :param vType: +# :type String(255): +# :param nodv: +# :type Float(53): +# :param speciation: +# :type String(255): +# :param definition: +# :type String(500): +# :return: +# """ +# var = Variables() +# var.VariableCode = code +# var.VariableNameCV = name +# var.VariableDefinition = definition +# var.VariableTypeCV = vType +# var.NoDataValue = nodv +# var.SpeciationCV = speciation +# +# self._session.add(var) +# self._session.commit() +# +# return var +# +# def createMethod(self, code, name, vType, orgId=None, link=None, description=None): +# """Create Method table for the database +# +# :param code: +# :type String(50): +# :param name: +# :type String(255): +# :param vType: +# :type String(255): +# :param orgId: +# :type Integer: +# :param link: +# :type String(255): +# :param description: +# :type String(500): +# :return: +# """ +# +# meth = Methods() +# meth.MethodCode = code +# meth.MethodName = name +# meth.MethodDescription = description +# meth.MethodTypeCV = vType +# meth.MethodLink = link +# meth.OrganizationID = orgId +# +# self._session.add(meth) +# self._session.commit() +# +# return meth +# +# def createProcessingLevel(self, code, definition=None, explanation=None): +# """Create Processinglevel table for database +# +# :param code: +# :type String(50): +# :param definition: +# :type String(500): +# :param explanation: +# :type String(500): +# :return: +# """ +# pl = ProcessingLevels() +# pl.ProcessingLevelCode = str(code) +# pl.Definition = definition +# pl.Explanation = explanation +# +# self._session.add(pl) +# self._session.commit() +# +# return pl +# +# def createSamplingFeature(self, uuid, code, vType, name=None, description=None, geoType=None, elevation=None, +# elevationDatum=None, featureGeo=None): +# """Create SamplingFeature table +# +# :param code: +# :type String(50): +# :param vType: +# :type String(255): +# :param name: +# :type String(255): +# :param description: +# :type String(500): +# :param geoType: +# :type String(255): +# :param evelation: +# :type Float(53): +# :param evelationDatum: +# :type String(255): +# :param featureGeo: +# :type NullType: +# :return: +# """ +# +# sf = SamplingFeatures() +# sf.SamplingFeatureUUID = uuid +# sf.SamplingFeatureTypeCV = vType +# sf.SamplingFeatureCode = code +# sf.SamplingFeatureName = name +# sf.SamplingFeatureDescription = description +# sf.SamplingFeatureGeoTypeCV = geoType +# sf.Elevation_m = elevation +# sf.ElevationDatumCV = elevationDatum +# sf.FeatureGeometry = featureGeo +# +# self._session.add(sf) +# self._session.commit() +# +# return sf +# +# +# def createUnit(self, type, abbrev, name, link=None): +# """Create Unit table +# +# :param code: +# :type String(255): +# :param abbrev: +# :type String(50): +# :param name: +# :type String(255): +# :return: +# """ +# unit = Units() +# unit.UnitsTypeCV = type +# unit.UnitsAbbreviation = abbrev +# unit.UnitsName = name +# unit.UnitsLink = link +# +# self._session.add(unit) +# self._session.commit() +# +# return unit +# +# def createOrganization(self, cvType, code, name, desc, link, parentOrgId): +# """Create Organization table +# +# :param cvType: +# :type String(255): +# :param code: +# :type String(50): +# :param name: +# :type String(255): +# :param desc: +# :type String(500): +# :param link: +# :type String(255): +# :param parentOrgId: +# :type Integer: +# :return: +# """ +# +# org = Organizations() +# org.OrganizationTypeCV = cvType +# org.OrganizationCode = code +# org.OrganizationName = name +# org.OrganizationDescription = desc +# org.OrganizationLink = link +# org.ParentOrganizationID = parentOrgId +# +# self._session.add(org) +# self._session.commit() +# +# return org +# +# def createPerson(self, firstName, lastName, middleName=""): +# """Create Person Table +# +# :param firstName: +# :type String(255): +# :param lastName: +# :type String(255): +# :param middleName: +# :type String(255): +# :return: +# """ +# +# p = People() +# p.PersonFirstName = firstName +# p.PersonMiddleName = middleName +# p.PersonLastName = lastName +# +# +# +# self._session.add(p) +# self._session.commit() +# +# return p +# +# # def createResult(self, uuid, featureActionId, vType, ): +# +# def createAffiliation(self, personid, organizationid, email, phone=None, address=None, link=None, +# iscontact=False, affiliation_start=dt.datetime.today(), affiliation_end=None): +# """ +# +# :param personid: id of the person record +# :param organizationid: id of the organization record +# :param email: primary email address +# :param phone: primary phone number +# :param address: primary mailing address +# :param link: url pointing the web resource such as researchGate profile +# :param iscontact: indicate if this person is the primary contact for the organization +# :param affiliation_start: begin date of affiliation with organization +# :param affiliation_end: end date of affiliation with organization +# :return: ODM2.Affiliation +# """ +# +# # create affiliation object +# a = Affiliations() +# a.PersonID = personid +# a.OrganizationID = organizationid +# a.PrimaryEmail = email +# a.PrimaryPhone = phone +# a.PrimaryAddress = address +# a.PersonLink = link +# a.IsPrimaryOrganizationContact = iscontact +# a.AffiliationStartDate = affiliation_start +# a.AffiliationEndDate = affiliation_end +# +# self._session.add(a) +# self._session.commit() +# #self._session.flush() +# # self._session.refresh(a) +# +# print a.OrganizationID +# +# return a +# +# def createDataset(self, dstype, dscode, dstitle, dsabstract): +# ds = DataSets() +# +# # create the dataset +# ds.DataSetTypeCV = dstype +# ds.DataSetCode = dscode +# ds.DataSetTitle = dstitle +# ds.DataSetAbstract = dsabstract +# ds.DataSetUUID = uuid.uuid4().hex +# +# self._session.add(ds) +# self._session.commit() +# +# return ds +# +# def createDatasetResults(self, dsid, resultid): +# dsr = DataSetsResults() +# +# # link dataset to results +# dsr.DatasetID = dsid +# dsr.ResultID = resultid +# +# self._session.add(dsr) +# self._session.commit() +# +# return dsr +# +# def createAction(self, type, methodid, begindatetime, begindatetimeoffset, enddatetime=None, enddatetimeoffset=None, +# description=None, filelink=None): +# action = Actions() +# action.ActionTypeCV = type +# action.MethodID = methodid +# action.BeginDateTime = begindatetime +# action.BeginDateTimeUTCOffset = begindatetimeoffset +# action.EndDateTime = enddatetime +# action.EndDateTimeUTCOffset = enddatetimeoffset +# action.ActionDescription = description +# action.ActionFileLink = filelink +# +# self._session.add(action) +# self._session.commit() +# +# return action +# +# def createActionBy(self, actionid, affiliationid, isactionlead=True, roledescription=None): +# actionby = ActionBy() +# actionby.ActionID = actionid +# actionby.AffiliationID = affiliationid +# actionby.IsActionLead = isactionlead +# actionby.RoleDescription = roledescription +# +# self._session.add(actionby) +# self._session.commit() +# +# return actionby +# +# def createFeatureAction(self, samplingfeatureid, actionid): +# featureaction = FeatureActions() +# featureaction.SamplingFeatureID = samplingfeatureid +# featureaction.ActionID = actionid +# +# self._session.add(featureaction) +# self._session.commit() +# +# return featureaction +# +# +# def createResult(self, featureactionid, variableid, unitid, processinglevelid, valuecount, sampledmedium, +# resulttypecv, +# taxonomicclass=None, resultdatetime=None, resultdatetimeutcoffset=None, +# validdatetime=None, validdatetimeutcoffset=None, statuscv=None): +# result = Results() +# #result.ResultUUID = uuid.uuid4().hex +# result.ResultUUID = str(uuid.uuid4()) # Denver +# result.FeatureActionID = featureactionid +# result.ResultTypeCV = resulttypecv +# result.VariableID = variableid +# result.UnitsID = unitid +# result.ProcessingLevelID = processinglevelid +# result.ValueCount = valuecount +# result.SampledMediumCV = sampledmedium +# result.TaxonomicClassifierID = taxonomicclass +# result.ResultDateTime = resultdatetime +# result.ResultDateTimeUTCOffset = resultdatetimeutcoffset +# result.ValidDateTime = validdatetime +# result.ValidDateTimeUTCOffset = validdatetimeutcoffset +# result.StatusCV = statuscv +# +# self._session.add(result) +# self._session.commit() +# +# return result +# + +# +# +# def createTimeSeriesResult(self, result, aggregationstatistic, xloc=None, xloc_unitid=None, yloc=None, +# yloc_unitid=None, zloc=None, zloc_unitid=None, +# srsID=None, timespacing=None, timespacing_unitid=None): +# +# tsr = TimeSeriesResults() +# +# tsr.ResultID = result.ResultID +# #tsr.ResultUUID = result.ResultUUID +# +# +# tsr.XLocation = xloc +# tsr.XLocationUnitsID = xloc_unitid +# tsr.YLocation = yloc +# tsr.YLocationUnitsID = yloc_unitid +# tsr.ZLocation = zloc +# tsr.ZLocationUnitsID = zloc_unitid +# tsr.SpatialReferenceID = srsID +# tsr.IntendedTimeSpacing = timespacing +# tsr.IntendedTimeSpacingUnitsID = timespacing_unitid +# tsr.AggregationStatisticCV = aggregationstatistic +# +# +# #tsr.ResultID = result.ResultID +# # tsr.ResultUUID = result.ResultUUID +# # tsr.FeatureActionID = result.FeatureActionID +# # tsr.VariableID = result.VariableID +# # tsr.UnitsID = result.UnitsID +# # tsr.ProcessingLevelID = result.ProcessingLevelID +# # tsr.ValueCount = result.ValueCount +# # tsr.SampledMediumCV = result.SampledMediumCV +# # tsr.ResultTypeCV = result.ResultTypeCV +# +# self._session.add(tsr) +# self._session.commit() +# +# return tsr +# ''' +# def createTimeSeriesResultValues(self, resultid, datavalues, datetimes, datetimeoffsets, censorcodecv, +# qualitycodecv, +# timeaggregationinterval, timeaggregationunit): +# +# +# try: +# values = TimeSeriesResultValues() +# for i in range(len(datavalues)): +# values.ResultID = resultid +# values.CensorCodeCV = censorcodecv +# values.QualityCodeCV = qualitycodecv +# values.TimeAggregationInterval = timeaggregationinterval +# values.TimeAggregationIntervalUnitsID = timeaggregationunit +# values.DataValue = datavalues[i] +# values.ValueDateTime = datetimes[i] +# values.ValueDateTimeUTCOffset = datetimeoffsets[i] +# self._session.add(values) +# self._session.commit() +# return values +# except Exception, e: +# print e +# return None +# ''' +# +# def createTimeSeriesResultValues(self, datavalues): +# try: +# #using Pandas built-in --slow +# #changing way values sent --unknown error on insert +# #cols = datavalues.columns.tolist() +# #['ValueDateTime', 'DataValue', 'TimeAggregationInterval', 'TimeAggregationIntervalUnitsID', 'QualityCodeCV', 'CensorCodeCV', 'ResultID', 'ValueDateTimeUTCOffset'] +# #cols = ['ResultID','DataValue','ValueDateTime','ValueDateTimeUTCOffset','CensorCodeCV','QualityCodeCV','TimeAggregationInterval','TimeAggregationIntervalUnitsID'] +# #datavalues = datavalues[cols] +# #print datavalues +# #datavalues.to_sql(name=TimeSeriesResultValues.__tablename__, +# datavalues.to_sql(name="TimeSeriesResultValues", +# schema=TimeSeriesResultValues.__table_args__['schema'], +# if_exists='append', +# chunksize= 1000, +# con=self._session_factory.engine, +# index=False) +# self._session.commit() +# +# +# #using sqlalchemy core --sending empty parameters +# # data = datavalues.to_dict('records') +# # self._session.execute(TimeSeriesResultValues.__table__.insert(data)) +# +# #using cursor and StringIO --not all cursors have the copy_from function +# # print "using cursor" +# # import cStringIO +# # #stream the data using 'to_csv' and StringIO(); then use sql's 'copy_from' function +# # output = cStringIO.StringIO() +# # #ignore the index +# # datavalues.to_csv(output, sep='\t', header=False, index=False) +# # #jump to start of stream +# # output.seek(0) +# # contents = output.getvalue() +# # connection = self._session_factory.engine.raw_connection() +# # cur = connection.cursor() +# # #null values become '' +# # cur.copy_from(output, 'ODM2.TimeSeriesResultValues', null="") +# # connection.commit() +# # cur.close() +# +# #using Bulk Insert * user must have permissions --file created locally code running remote +# # datavalues.to_csv('C:\\Users\\Stephanie\\temp.csv') +# # sql = """ +# # BULK INSERT ODM2.TimeSeriesResultValues +# # FROM 'C:\\Users\\Stephanie\\temp.csv' WITH ( +# # FIELDTERMINATOR=',', +# # ROWTERMINATOR='\\n'); +# # """ +# # self._session.execute(sql) +# +# +# +# +# return datavalues +# except Exception, e: +# print e +# return None +# +# +# # ################################################################################ +# # Sampling Features +# # ################################################################################ +# +# +# def createSite(self, sfId, spatialRefId, vType, latitude, longitude): +# """Create Site table +# +# :param vType: +# :type String(255): +# :param latitude: +# :type Float(53): +# :param longitude: +# :type Float(53): +# :return: +# """ +# +# s = Sites() +# s.SamplingFeatureID = sfId +# s.SpatialReferenceID = spatialRefId +# s.SiteTypeCV = vType +# s.Latitude = latitude +# s.Longitude = longitude +# +# self._session.add(s) +# self._session.commit() +# +# return s +# +# +# def createSpatialReference(self, srsCode, srsName, srsDescription=None): +# spatialreference = SpatialReferences() +# spatialreference.SRSCode = srsCode +# spatialreference.SRSName = srsName +# spatialreference.SRSDescription = srsDescription +# +# self._session.add(spatialreference) +# self._session.commit() +# +# return spatialreference +# +# +# # ################################################################################ +# # Sensors +# # ################################################################################ +# +# def createDeploymentAction(self, actionId, cvType, desc, configActionId, calibActionId, spatialOffSet, +# deploymentSchematicLink, **kwargs): +# """Create DeploymentAction Object +# +# :param **kwargs: +# :param actionId: +# :type Integer: +# :param cvType: +# :type String(255): +# :param desc: +# :type String(500): +# :param configActionId: +# :type Integer: +# :param calibActionId: +# :type Integer: +# :param spatialOffSet: +# :type Integer: +# :param deploymentSchematicLink: +# :type String(255): +# :return: +# """ +# +# da = DeploymentActions() +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# +# +# # ################################################################################ +# # Simulation +# # ################################################################################ +# +# +# def createModel(self, code, name, description=None): +# model = Models() +# model.ModelCode = code +# model.ModelName = name +# model.ModelDescription = description +# +# self._session.add(model) +# self._session.commit() +# +# return model +# +# +# def createRelatedModel(self, modelid, relatedModelID, relationshipType): +# related = RelatedModels() +# related.ModelID = modelid +# related.RelationshipTypeCV = relationshipType +# related.RelatedModelID = relatedModelID +# +# self._session.add(related) +# self._session.commit() +# +# return related +# +# +# def createSimulation(self, actionid, modelID, simulationName, simulationDescription, simulationStartDateTime, +# simulationStartOffset, +# simulationEndDateTime, simulationEndOffset, timeStepValue, timeStepUnitID, +# inputDatasetID=None): +# sim = Simulations() +# sim.ActionID = actionid +# sim.ModelID = modelID +# sim.SimulationName = simulationName +# sim.SimulationDescription = simulationDescription +# sim.SimulationStartDateTime = simulationStartDateTime +# sim.SimulationStartDateTimeUTCOffset = simulationStartOffset +# sim.SimulationEndDateTime = simulationEndDateTime +# sim.SimulationEndDateTimeUTCOffset = simulationEndOffset +# sim.TimeStepValue = timeStepValue +# sim.TimeStepUnitsID = timeStepUnitID +# sim.InputDatasetID = inputDatasetID +# +# self._session.add(sim) +# self._session.commit() +# +# return sim +# diff --git a/odm2api/ODM2/services/createService.py.orig b/odm2api/ODM2/services/createService.py.orig new file mode 100644 index 0000000..b6ea04b --- /dev/null +++ b/odm2api/ODM2/services/createService.py.orig @@ -0,0 +1,724 @@ +__author__ = 'sreeder' + +import datetime as dt +import uuid + +# from src.api.ODM2.LikeODM1.model import Site +from odm2api.ODM2.models import * +from odm2api.ODM2 import serviceBase + + +class CreateODM2(serviceBase): + ''' + def __init__(self, session): + self._session = session + ''' + # ################################################################################ + # Annotations + # ################################################################################ + + def create(self, values): + if len(values)>1: + self._session.add_all(values) + else: + self._session.add(values) + self._session.commit() + + def createVariable(self, var): + self._session.add(var) + self._session.commit() + + def createMethod(self, method): + self._session.add(method) + self._session.commit() + + def createProcessingLevel(self, proclevel): + self._session.add(proclevel) + self._session.commit() + + def createSamplingFeature(self, samplingfeature): + self._session.add(samplingfeature) + self._session.commit() + + def createUnit(self, unit): + self._session.add(unit) + self._session.commit() + + def createOrganization(self, org): + self._session.add(org) + self._session.commit() + + def createPerson(self, person): + self._session.add(person) + self._session.commit() + + def createAffiliation(self, affiliation): + self._session.add(affiliation) + self._session.commit() +<<<<<<< HEAD +======= + #self._session.flush() + # self._session.refresh(a) + + print(a.OrganizationID) + + return a + + def createDataset(self, dstype, dscode, dstitle, dsabstract): + ds = DataSets() + + # create the dataset + ds.DataSetTypeCV = dstype + ds.DataSetCode = dscode + ds.DataSetTitle = dstitle + ds.DataSetAbstract = dsabstract + ds.DataSetUUID = uuid.uuid4().hex +>>>>>>> origin/master + + def createDataset(self, dataset): + self._session.add(dataset) + self._session.commit() + + def createDatasetResults(self, datasetresult): + self._session.add(datasetresult) + self._session.commit() + + def createAction(self, action, actionby): + self._session.add(action) + self._session.add(actionby) + self._session.commit() + + def createRelatedAction(self, relatedaction): + self._session.add(relatedaction) + self._session.commit() + + def createResult(self, result): + self._session.add(result) + self._session.commit() + + def createResultValues(self, values): + self._session.add(values) + self._session.commit() + + def createSpatialReference(self, spatialref): + self._session.add(spatialref) + self._session.commit() + + def createModel(self, model): + self._session.add(model) + self._session.commit() + + def createRelatedModel(self, relatedmodel): + self._session.add(relatedmodel) + self._session.commit() + + def createSimulation(self, simulation): + self._session.add(simulation) + self._session.commit() + + def createTimeSeriesResultValues(self, datavalues): + try: + tablename = TimeSeriesResultValues.__tablename__ + print "I am TS saving name the table name"+ tablename + datavalues.to_sql(name="TimeSeriesResultValues", + schema=TimeSeriesResultValues.__table_args__['schema'], + if_exists='append', + chunksize=1000, + con=self._session_factory.engine, + index=False) + self._session.commit() + + return datavalues + except Exception as e: + print(e) + return None + + + + +# ################################################################################ +# Core +# ################################################################################ + +# def createVariable(self, code, name, vType, nodv, speciation=None, definition=None): +# """ +# +# :param code: +# :type String(50): +# :param name: +# :type String(255): +# :param vType: +# :type String(255): +# :param nodv: +# :type Float(53): +# :param speciation: +# :type String(255): +# :param definition: +# :type String(500): +# :return: +# """ +# var = Variables() +# var.VariableCode = code +# var.VariableNameCV = name +# var.VariableDefinition = definition +# var.VariableTypeCV = vType +# var.NoDataValue = nodv +# var.SpeciationCV = speciation +# +# self._session.add(var) +# self._session.commit() +# +# return var +# +# def createMethod(self, code, name, vType, orgId=None, link=None, description=None): +# """Create Method table for the database +# +# :param code: +# :type String(50): +# :param name: +# :type String(255): +# :param vType: +# :type String(255): +# :param orgId: +# :type Integer: +# :param link: +# :type String(255): +# :param description: +# :type String(500): +# :return: +# """ +# +# meth = Methods() +# meth.MethodCode = code +# meth.MethodName = name +# meth.MethodDescription = description +# meth.MethodTypeCV = vType +# meth.MethodLink = link +# meth.OrganizationID = orgId +# +# self._session.add(meth) +# self._session.commit() +# +# return meth +# +# def createProcessingLevel(self, code, definition=None, explanation=None): +# """Create Processinglevel table for database +# +# :param code: +# :type String(50): +# :param definition: +# :type String(500): +# :param explanation: +# :type String(500): +# :return: +# """ +# pl = ProcessingLevels() +# pl.ProcessingLevelCode = str(code) +# pl.Definition = definition +# pl.Explanation = explanation +# +# self._session.add(pl) +# self._session.commit() +# +# return pl +# +# def createSamplingFeature(self, uuid, code, vType, name=None, description=None, geoType=None, elevation=None, +# elevationDatum=None, featureGeo=None): +# """Create SamplingFeature table +# +# :param code: +# :type String(50): +# :param vType: +# :type String(255): +# :param name: +# :type String(255): +# :param description: +# :type String(500): +# :param geoType: +# :type String(255): +# :param evelation: +# :type Float(53): +# :param evelationDatum: +# :type String(255): +# :param featureGeo: +# :type NullType: +# :return: +# """ +# +# sf = SamplingFeatures() +# sf.SamplingFeatureUUID = uuid +# sf.SamplingFeatureTypeCV = vType +# sf.SamplingFeatureCode = code +# sf.SamplingFeatureName = name +# sf.SamplingFeatureDescription = description +# sf.SamplingFeatureGeoTypeCV = geoType +# sf.Elevation_m = elevation +# sf.ElevationDatumCV = elevationDatum +# sf.FeatureGeometry = featureGeo +# +# self._session.add(sf) +# self._session.commit() +# +# return sf +# +# +# def createUnit(self, type, abbrev, name, link=None): +# """Create Unit table +# +# :param code: +# :type String(255): +# :param abbrev: +# :type String(50): +# :param name: +# :type String(255): +# :return: +# """ +# unit = Units() +# unit.UnitsTypeCV = type +# unit.UnitsAbbreviation = abbrev +# unit.UnitsName = name +# unit.UnitsLink = link +# +# self._session.add(unit) +# self._session.commit() +# +# return unit +# +# def createOrganization(self, cvType, code, name, desc, link, parentOrgId): +# """Create Organization table +# +# :param cvType: +# :type String(255): +# :param code: +# :type String(50): +# :param name: +# :type String(255): +# :param desc: +# :type String(500): +# :param link: +# :type String(255): +# :param parentOrgId: +# :type Integer: +# :return: +# """ +# +# org = Organizations() +# org.OrganizationTypeCV = cvType +# org.OrganizationCode = code +# org.OrganizationName = name +# org.OrganizationDescription = desc +# org.OrganizationLink = link +# org.ParentOrganizationID = parentOrgId +# +# self._session.add(org) +# self._session.commit() +# +# return org +# +# def createPerson(self, firstName, lastName, middleName=""): +# """Create Person Table +# +# :param firstName: +# :type String(255): +# :param lastName: +# :type String(255): +# :param middleName: +# :type String(255): +# :return: +# """ +# +# p = People() +# p.PersonFirstName = firstName +# p.PersonMiddleName = middleName +# p.PersonLastName = lastName +# +# +# +# self._session.add(p) +# self._session.commit() +# +# return p +# +# # def createResult(self, uuid, featureActionId, vType, ): +# +# def createAffiliation(self, personid, organizationid, email, phone=None, address=None, link=None, +# iscontact=False, affiliation_start=dt.datetime.today(), affiliation_end=None): +# """ +# +# :param personid: id of the person record +# :param organizationid: id of the organization record +# :param email: primary email address +# :param phone: primary phone number +# :param address: primary mailing address +# :param link: url pointing the web resource such as researchGate profile +# :param iscontact: indicate if this person is the primary contact for the organization +# :param affiliation_start: begin date of affiliation with organization +# :param affiliation_end: end date of affiliation with organization +# :return: ODM2.Affiliation +# """ +# +# # create affiliation object +# a = Affiliations() +# a.PersonID = personid +# a.OrganizationID = organizationid +# a.PrimaryEmail = email +# a.PrimaryPhone = phone +# a.PrimaryAddress = address +# a.PersonLink = link +# a.IsPrimaryOrganizationContact = iscontact +# a.AffiliationStartDate = affiliation_start +# a.AffiliationEndDate = affiliation_end +# +# self._session.add(a) +# self._session.commit() +# #self._session.flush() +# # self._session.refresh(a) +# +# print a.OrganizationID +# +# return a +# +# def createDataset(self, dstype, dscode, dstitle, dsabstract): +# ds = DataSets() +# +# # create the dataset +# ds.DataSetTypeCV = dstype +# ds.DataSetCode = dscode +# ds.DataSetTitle = dstitle +# ds.DataSetAbstract = dsabstract +# ds.DataSetUUID = uuid.uuid4().hex +# +# self._session.add(ds) +# self._session.commit() +# +# return ds +# +# def createDatasetResults(self, dsid, resultid): +# dsr = DataSetsResults() +# +# # link dataset to results +# dsr.DatasetID = dsid +# dsr.ResultID = resultid +# +# self._session.add(dsr) +# self._session.commit() +# +# return dsr +# +# def createAction(self, type, methodid, begindatetime, begindatetimeoffset, enddatetime=None, enddatetimeoffset=None, +# description=None, filelink=None): +# action = Actions() +# action.ActionTypeCV = type +# action.MethodID = methodid +# action.BeginDateTime = begindatetime +# action.BeginDateTimeUTCOffset = begindatetimeoffset +# action.EndDateTime = enddatetime +# action.EndDateTimeUTCOffset = enddatetimeoffset +# action.ActionDescription = description +# action.ActionFileLink = filelink +# +# self._session.add(action) +# self._session.commit() +# +# return action +# +# def createActionBy(self, actionid, affiliationid, isactionlead=True, roledescription=None): +# actionby = ActionBy() +# actionby.ActionID = actionid +# actionby.AffiliationID = affiliationid +# actionby.IsActionLead = isactionlead +# actionby.RoleDescription = roledescription +# +# self._session.add(actionby) +# self._session.commit() +# +# return actionby +# +# def createFeatureAction(self, samplingfeatureid, actionid): +# featureaction = FeatureActions() +# featureaction.SamplingFeatureID = samplingfeatureid +# featureaction.ActionID = actionid +# +# self._session.add(featureaction) +# self._session.commit() +# +# return featureaction +# +# +# def createResult(self, featureactionid, variableid, unitid, processinglevelid, valuecount, sampledmedium, +# resulttypecv, +# taxonomicclass=None, resultdatetime=None, resultdatetimeutcoffset=None, +# validdatetime=None, validdatetimeutcoffset=None, statuscv=None): +# result = Results() +# #result.ResultUUID = uuid.uuid4().hex +# result.ResultUUID = str(uuid.uuid4()) # Denver +# result.FeatureActionID = featureactionid +# result.ResultTypeCV = resulttypecv +# result.VariableID = variableid +# result.UnitsID = unitid +# result.ProcessingLevelID = processinglevelid +# result.ValueCount = valuecount +# result.SampledMediumCV = sampledmedium +# result.TaxonomicClassifierID = taxonomicclass +# result.ResultDateTime = resultdatetime +# result.ResultDateTimeUTCOffset = resultdatetimeutcoffset +# result.ValidDateTime = validdatetime +# result.ValidDateTimeUTCOffset = validdatetimeutcoffset +# result.StatusCV = statuscv +# +# self._session.add(result) +# self._session.commit() +# +# return result +# + +# +# +# def createTimeSeriesResult(self, result, aggregationstatistic, xloc=None, xloc_unitid=None, yloc=None, +# yloc_unitid=None, zloc=None, zloc_unitid=None, +# srsID=None, timespacing=None, timespacing_unitid=None): +# +# tsr = TimeSeriesResults() +# +# tsr.ResultID = result.ResultID +# #tsr.ResultUUID = result.ResultUUID +# +# +# tsr.XLocation = xloc +# tsr.XLocationUnitsID = xloc_unitid +# tsr.YLocation = yloc +# tsr.YLocationUnitsID = yloc_unitid +# tsr.ZLocation = zloc +# tsr.ZLocationUnitsID = zloc_unitid +# tsr.SpatialReferenceID = srsID +# tsr.IntendedTimeSpacing = timespacing +# tsr.IntendedTimeSpacingUnitsID = timespacing_unitid +# tsr.AggregationStatisticCV = aggregationstatistic +# +# +# #tsr.ResultID = result.ResultID +# # tsr.ResultUUID = result.ResultUUID +# # tsr.FeatureActionID = result.FeatureActionID +# # tsr.VariableID = result.VariableID +# # tsr.UnitsID = result.UnitsID +# # tsr.ProcessingLevelID = result.ProcessingLevelID +# # tsr.ValueCount = result.ValueCount +# # tsr.SampledMediumCV = result.SampledMediumCV +# # tsr.ResultTypeCV = result.ResultTypeCV +# +# self._session.add(tsr) +# self._session.commit() +# +# return tsr +# ''' +# def createTimeSeriesResultValues(self, resultid, datavalues, datetimes, datetimeoffsets, censorcodecv, +# qualitycodecv, +# timeaggregationinterval, timeaggregationunit): +# +# +# try: +# values = TimeSeriesResultValues() +# for i in range(len(datavalues)): +# values.ResultID = resultid +# values.CensorCodeCV = censorcodecv +# values.QualityCodeCV = qualitycodecv +# values.TimeAggregationInterval = timeaggregationinterval +# values.TimeAggregationIntervalUnitsID = timeaggregationunit +# values.DataValue = datavalues[i] +# values.ValueDateTime = datetimes[i] +# values.ValueDateTimeUTCOffset = datetimeoffsets[i] +# self._session.add(values) +# self._session.commit() +# return values +# except Exception, e: +# print e +# return None +# ''' +# +# def createTimeSeriesResultValues(self, datavalues): +# try: +# #using Pandas built-in --slow +# #changing way values sent --unknown error on insert +# #cols = datavalues.columns.tolist() +# #['ValueDateTime', 'DataValue', 'TimeAggregationInterval', 'TimeAggregationIntervalUnitsID', 'QualityCodeCV', 'CensorCodeCV', 'ResultID', 'ValueDateTimeUTCOffset'] +# #cols = ['ResultID','DataValue','ValueDateTime','ValueDateTimeUTCOffset','CensorCodeCV','QualityCodeCV','TimeAggregationInterval','TimeAggregationIntervalUnitsID'] +# #datavalues = datavalues[cols] +# #print datavalues +# #datavalues.to_sql(name=TimeSeriesResultValues.__tablename__, +# datavalues.to_sql(name="TimeSeriesResultValues", +# schema=TimeSeriesResultValues.__table_args__['schema'], +# if_exists='append', +# chunksize= 1000, +# con=self._session_factory.engine, +# index=False) +# self._session.commit() +# +# +# #using sqlalchemy core --sending empty parameters +# # data = datavalues.to_dict('records') +# # self._session.execute(TimeSeriesResultValues.__table__.insert(data)) +# +# #using cursor and StringIO --not all cursors have the copy_from function +# # print "using cursor" +# # import cStringIO +# # #stream the data using 'to_csv' and StringIO(); then use sql's 'copy_from' function +# # output = cStringIO.StringIO() +# # #ignore the index +# # datavalues.to_csv(output, sep='\t', header=False, index=False) +# # #jump to start of stream +# # output.seek(0) +# # contents = output.getvalue() +# # connection = self._session_factory.engine.raw_connection() +# # cur = connection.cursor() +# # #null values become '' +# # cur.copy_from(output, 'ODM2.TimeSeriesResultValues', null="") +# # connection.commit() +# # cur.close() +# +# #using Bulk Insert * user must have permissions --file created locally code running remote +# # datavalues.to_csv('C:\\Users\\Stephanie\\temp.csv') +# # sql = """ +# # BULK INSERT ODM2.TimeSeriesResultValues +# # FROM 'C:\\Users\\Stephanie\\temp.csv' WITH ( +# # FIELDTERMINATOR=',', +# # ROWTERMINATOR='\\n'); +# # """ +# # self._session.execute(sql) +# +# +# +# +# return datavalues +# except Exception, e: +# print e +# return None +# +# +# # ################################################################################ +# # Sampling Features +# # ################################################################################ +# +# +# def createSite(self, sfId, spatialRefId, vType, latitude, longitude): +# """Create Site table +# +# :param vType: +# :type String(255): +# :param latitude: +# :type Float(53): +# :param longitude: +# :type Float(53): +# :return: +# """ +# +# s = Sites() +# s.SamplingFeatureID = sfId +# s.SpatialReferenceID = spatialRefId +# s.SiteTypeCV = vType +# s.Latitude = latitude +# s.Longitude = longitude +# +# self._session.add(s) +# self._session.commit() +# +# return s +# +# +# def createSpatialReference(self, srsCode, srsName, srsDescription=None): +# spatialreference = SpatialReferences() +# spatialreference.SRSCode = srsCode +# spatialreference.SRSName = srsName +# spatialreference.SRSDescription = srsDescription +# +# self._session.add(spatialreference) +# self._session.commit() +# +# return spatialreference +# +# +# # ################################################################################ +# # Sensors +# # ################################################################################ +# +# def createDeploymentAction(self, actionId, cvType, desc, configActionId, calibActionId, spatialOffSet, +# deploymentSchematicLink, **kwargs): +# """Create DeploymentAction Object +# +# :param **kwargs: +# :param actionId: +# :type Integer: +# :param cvType: +# :type String(255): +# :param desc: +# :type String(500): +# :param configActionId: +# :type Integer: +# :param calibActionId: +# :type Integer: +# :param spatialOffSet: +# :type Integer: +# :param deploymentSchematicLink: +# :type String(255): +# :return: +# """ +# +# da = DeploymentActions() +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# da.ActionID = (kwargs['actionId'] if kwargs['actionId'] else None) +# +# +# # ################################################################################ +# # Simulation +# # ################################################################################ +# +# +# def createModel(self, code, name, description=None): +# model = Models() +# model.ModelCode = code +# model.ModelName = name +# model.ModelDescription = description +# +# self._session.add(model) +# self._session.commit() +# +# return model +# +# +# def createRelatedModel(self, modelid, relatedModelID, relationshipType): +# related = RelatedModels() +# related.ModelID = modelid +# related.RelationshipTypeCV = relationshipType +# related.RelatedModelID = relatedModelID +# +# self._session.add(related) +# self._session.commit() +# +# return related +# +# +# def createSimulation(self, actionid, modelID, simulationName, simulationDescription, simulationStartDateTime, +# simulationStartOffset, +# simulationEndDateTime, simulationEndOffset, timeStepValue, timeStepUnitID, +# inputDatasetID=None): +# sim = Simulations() +# sim.ActionID = actionid +# sim.ModelID = modelID +# sim.SimulationName = simulationName +# sim.SimulationDescription = simulationDescription +# sim.SimulationStartDateTime = simulationStartDateTime +# sim.SimulationStartDateTimeUTCOffset = simulationStartOffset +# sim.SimulationEndDateTime = simulationEndDateTime +# sim.SimulationEndDateTimeUTCOffset = simulationEndOffset +# sim.TimeStepValue = timeStepValue +# sim.TimeStepUnitsID = timeStepUnitID +# sim.InputDatasetID = inputDatasetID +# +# self._session.add(sim) +# self._session.commit() +# +# return sim +# diff --git a/odm2api/ODM2/services/readService.py b/odm2api/ODM2/services/readService.py index 0628d95..bcee945 100644 --- a/odm2api/ODM2/services/readService.py +++ b/odm2api/ODM2/services/readService.py @@ -26,174 +26,166 @@ def __init__(self, result, self.variableNameCV = variable.VariableNameCV self.processingLevelDef = processingLevel.Definition + class DetailedAffiliation: def __init__(self, affiliation, person, org): self.affiliationID = affiliation.AffiliationID self.name = person.PersonFirstName + \ " " + \ person.PersonLastName - self.organization = "(" + org.OrganizationCode + ") " +\ + self.organization = "(" + org.OrganizationCode + ") " + \ org.OrganizationName - #def __repr__(self): - # return str(self.name) + " " + str(self.organization) + # def __repr__(self): + # return str(self.name) + " " + str(self.organization) + -class ReadODM2( serviceBase ): +class ReadODM2(serviceBase): ''' def __init__(self, session): self._session = session ''' -# ################################################################################ -# Annotations -# ################################################################################ - - - - -# ################################################################################ -# CV -# ################################################################################ - - def getCVOrganizationTypes(self): - return self._session.query(CVOrganizationType).all() - - def getCVSamplingFeatureTypes(self): - """Select all on Sampling Features - - :return CVSamplingFeatureType Objects: - :type list: - """ - return self._session.query(CVSamplingFeatureType).all() - - def getCVSiteTypes(self): - """Select all on Sampling Features - - :return CVSiteType Objects: - :type list: - """ - return self._session.query(CVSiteType).all() - - def getCVSpacialReferenceTypes(self): - """Select all on SpatialReferences - - :return CVSpacialReferenceType Objects: - :type list: - """ - return self._session.query(SpatialReferences).all() - - def getCVSamplingFeatureGeoTypes(self): - """Select all on Sampling Features - - :return CVSamplingFeatureGeoType Objects: - :type list: - """ - return self._session.query(CVSamplingFeatureGeoType).all() - - def getCVElevationDatums(self): - """Select all on CVElevationDatum - - :return CVElevationDatum Objects: - :type list: - """ - return self._session.query(CVElevationDatum).all() - - def getCVVariableTypes(self): - """Select all on CVVariableType - - :return CVVariableType Objects: - :type list: - """ - return self._session.query(CVVariableType).all() - - def getCVVariableNames(self): - """Select all on CVVariableName - - :return CVVariableName Objects: - :type list: - """ - return self._session.query(CVVariableName).all() - - def getCVSpeciations(self): - """Select all on CVSpeciation - - :return CVSpeciation Objects: - :type list: - """ - return self._session.query(CVSpeciation).all() - - def getCVUnitsTypes(self): - """Select all on CVUnitsType - - :return CVUnitsType Objects: - :type list: - """ - return self._session.query(CVUnitsType).all() + # ################################################################################ + # Annotations + # ################################################################################ + + def getAnnotations(self, type=None): + + # TODO What keywords do I use for type + a = Annotations + if type == "action": + a = ActionAnnotations + elif type == "categoricalresultvalue": + a = CategoricalResultValueAnnotations + elif type == "equipmentannotation": + a = EquipmentAnnotations + elif type == "measurementresultvalue": + a = MeasurementResultValueAnnotations + elif type == "method": + a = MethodAnnotations + elif type == "pointcoverageresultvalue": + a = PointCoverageResultValueAnnotations + elif type == "profileresultvalue": + a = ProfileResultValueAnnotations + elif type == "result": + a = ResultAnnotations + elif type == "samplingfeature": + a = SamplingFeatureAnnotations + elif type == "sectionresultvalue": + a = SectionResultValueAnnotations + elif type == "spectraresultvalue": + a = SpectraResultValueAnnotations + elif type == "timeSeriesresultvalue": + a = TimeSeriesResultValueAnnotations + elif type == "trajectoryresultvalue": + a = TrajectoryResultValueAnnotations + elif type == "transectresultvalue": + a = TransectResultValueAnnotations + try: + return self._session.query(a).all() + except: + return None + + # ################################################################################ + # CV + # ############################################################################## + + def getCVs(self, type): + + CV = CVActionType + if type == "actiontype": + CV = CVActionType + elif type == "aggregationstatistic": + CV = CVAggregationStatistic + elif type == "annotationtype": + CV = CVAnnotationType + elif type == "censorcode": + CV = CVCensorCode + elif type == "dataqualitytype": + CV = CVDataQualityType + elif type == "dataset type": + CV = CVDataSetType + elif type == "Directive Type": + CV = CVDirectiveType + elif type == "Elevation Datum": + CV = CVElevationDatum + elif type == "Equipment Type": + CV = CVEquipmentType + elif type == "Medium": + CV = CVMediumType + elif type == "Method Type": + CV = CVMethodType + elif type == "Organization Type": + CV = CVOrganizationType + elif type == "Property Data Type": + CV = CVPropertyDataType + elif type == "Quality Code": + CV = CVQualityCode + elif type == "Relationship Type": + CV = CVRelationshipType + elif type == "Result Type": + CV = CVResultType + elif type == "Sampling Feature Geo-type": + CV = CVSamplingFeatureGeoType + elif type == "Sampling Feature Type": + CV = CVSamplingFeatureType + elif type == "Site Type": + CV = CVSiteType + elif type == "Spatial Offset Type": + CV = CVSpatialOffsetType + elif type == "Speciation": + CV = CVSpeciation + elif type == "Specimen Type": + CV = CVSpecimenType + elif type == "Status": + CV = CVStatus + elif type == "Taxonomic Classifier Type": + CV = CVTaxonomicClassifierType + elif type == "Units Type": + CV = CVUnitsType + elif type == "Variable Name": + CV = CVVariableName + elif type == "Variable Type": + CV = CVVariableType + else: + return None + return self._session.query(CV).all() - def getCVActionTypes(self): - """ - Select all on CVActionType - """ - return self._session.query(CVActionType).all() - - def getCVMethodTypes(self): - """ - Select all on CVMethodType - """ - return self._session.query(CVMethodType).all() - - def getCVMediumTypes(self): - """ - Select all on CVMediumType - """ - return self._session.query(CVMediumType).all() - - def getCVAggregationStatistics(self): - """ - Select all on CVAggregationStatistic - """ - return self._session.query(CVAggregationStatistic).all() - - def getCVStatus(self): - """ - Select all on CVStatus - """ - return self._session.query(CVStatus).all() + # ################################################################################ + # Core + # ################################################################################ -# ################################################################################ -# Core -# ################################################################################ - def getDetailedAffiliationInfo(self): - q = self._session.query(Affiliations, People, Organizations)\ - .filter(Affiliations.PersonID==People.PersonID)\ - .filter(Affiliations.OrganizationID==Organizations.OrganizationID) + q = self._session.query(Affiliations, People, Organizations) \ + .filter(Affiliations.PersonID == People.PersonID) \ + .filter(Affiliations.OrganizationID == Organizations.OrganizationID) affiliationList = [] - for a,p,o in q.all(): - detailedAffiliation = DetailedAffiliation(a,p,o) + for a, p, o in q.all(): + detailedAffiliation = DetailedAffiliation(a, p, o) affiliationList.append(detailedAffiliation) return affiliationList def getDetailedResultInfo(self, resultTypeCV, resultID=None): q = self._session.query(Results, SamplingFeatures, Methods, Variables, - ProcessingLevels, Units).filter(Results.VariableID==Variables.VariableID)\ - .filter(Results.UnitsID==Units.UnitsID)\ - .filter(Results.FeatureActionID==FeatureActions.FeatureActionID)\ - .filter(FeatureActions.SamplingFeatureID==SamplingFeatures.SamplingFeatureID)\ - .filter(FeatureActions.ActionID==Actions.ActionID)\ - .filter(Actions.MethodID==Methods.MethodID)\ - .filter(Results.ProcessingLevelID==ProcessingLevels.ProcessingLevelID)\ - .filter(Results.ResultTypeCV==resultTypeCV) + ProcessingLevels, Units).filter(Results.VariableID == Variables.VariableID) \ + .filter(Results.UnitsID == Units.UnitsID) \ + .filter(Results.FeatureActionID == FeatureActions.FeatureActionID) \ + .filter(FeatureActions.SamplingFeatureID == SamplingFeatures.SamplingFeatureID) \ + .filter(FeatureActions.ActionID == Actions.ActionID) \ + .filter(Actions.MethodID == Methods.MethodID) \ + .filter(Results.ProcessingLevelID == ProcessingLevels.ProcessingLevelID) \ + .filter(Results.ResultTypeCV == resultTypeCV) resultList = [] if resultID: - for r,s,m,v,p,u in q.filter_by(ResultID=resultID).all(): - detailedResult = DetailedResult(\ - r,s,m,v,p,u) + for r, s, m, v, p, u in q.filter_by(ResultID=resultID).all(): + detailedResult = DetailedResult( \ + r, s, m, v, p, u) resultList.append(detailedResult) else: - for r,s,m,v,p,u in q.all(): - detailedResult = DetailedResult(\ - r,s,m,v,p,u) + for r, s, m, v, p, u in q.all(): + detailedResult = DetailedResult( \ + r, s, m, v, p, u) resultList.append(detailedResult) return resultList @@ -204,133 +196,66 @@ def getDetailedResultInfo(self, resultTypeCV, resultID=None): def getTaxonomicClassifiers(self): return self._session.query(TaxonomicClassifiers).all() - """ Variable """ - def getVariables(self): - """Select all on Variables - - :return Variable Objects: - :type list: + def getVariables(self, ids=None, codes=None): """ - return self._session.query(Variables).all() - - def getVariableById(self, variableId): - """Select by variableId - - :param variableId: - :type Integer: - :return Return matching Variable object filtered by variableId: - :type Variable: + getVariables() + * Pass nothing - returns full list of variable objects + * Pass a list of VariableID - returns a single variable object + * Pass a list of VariableCode - returns a single variable object """ - try: - return self._session.query(Variables).filter_by(VariableID=variableId).first() - except: - return None - - def getVariableByCode(self, variableCode): - """Select by variableCode - :param variableCode: - :type String: - :return Return matching Variable Object filtered by variableCode: - :type Variable: - """ + query = self._session.query(Variables) + if ids: query = query.filter(Variables.VariableID.in_(ids)) + if codes: query = query.filter(Variables.VariableCode.in_(codes)) try: - return self._session.query(Variables).filter_by(VariableCode=variableCode).first() + return query.all() except: return None - def getResultById(self, resultId): - """Select by variableId - - :param variableId: - :type Integer: - :return Return matching Variable object filtered by variableId: - :type Variable: - """ - try: - return self._session.query(Results).filter_by(ResultID=resultId).first() - except: - return None """ Method """ - def getMethods(self): - """Select all on Methods + def getMethods(self, ids=None, codes=None, type=None): - :return Method Objects: - :type list: """ - return self._session.query(Methods).all() - - def getMethodById(self, methodId): - """Select by methodId - - :param methodId: - :type Integer - :return Return matching Method Object filtered by methodId: - :type Method: + getMethods() + * Pass nothing - returns full list of method objects + * Pass a list of MethodID - returns a single method object + * Pass a list of MethodCode - returns a single method object + * Pass a MethodType - returns a list of method objects """ - try: - return self._session.query(Methods).filter_by(MethodID=methodId).first() - except: - return None + q = self._session.query(Methods) + if ids: q = q.filter(Methods.MethodID.in_(ids)) + if codes: q = q.filter(Methods.MethodCode.in_(codes)) + if type: q = q.filter_by(MethodTypeCV=type) - def getMethodByCode(self, methodCode): - """Select by methodCode - - :param methodCode: - :type String: - :return Return matching Method Object filtered by method Code: - :type Method: - """ try: - return self._session.query(Methods).filter_by(MethodCode=methodCode).first() + q.all() except: return None - - def getMethodsByType(self, methodTypeCV): - return self._session.query(Methods).filter_by(MethodTypeCV=methodTypeCV).all() """ ProcessingLevel """ - def getProcessingLevels(self): - """Select all on Processing Level - - :return ProcessingLevel Objects: - :type list: + def getProcessingLevels(self, ids=None, codes=None): """ - return self._session.query(ProcessingLevels).all() - - def getProcessingLevelById(self, processingId): - """Select by processingId - - :param processingId: - :type Integer: - :return Return matching ProcessingLevel Object filtered by processingId: - :type Processinglevel: + getProcessingLevels() + * Pass nothing - returns full list of ProcessingLevel objects + * Pass a list of ProcessingLevelID - returns a single processingLevel object + * Pass a list of ProcessingLevelCode - returns a single processingLevel object """ - try: - return self._session.query(ProcessingLevels).filter_by(ProcessingLevelID=processingId).first() - except: - return None + q = self._session.query(ProcessingLevels) + if ids: q = q.filter(ProcessingLevels.ProcessingLevels.in_(ids)) + if codes: q = q.filter(ProcessingLevels.ProcessingLevelCode.in_(codes)) - def getProcessingLevelByCode(self, processingCode): - """Select by processingCode - - :param processingCode: - :type String(50): - :return Return matching Processinglevel Object filtered by processingCode: - :type Processinglevel: - """ try: - return self._session.query(ProcessingLevels).filter_by(ProcessingLevelCode=str(processingCode)).first() + return q.all() except Exception as e: print(e) return None @@ -339,249 +264,160 @@ def getProcessingLevelByCode(self, processingCode): Sampling Feature """ - def getSamplingFeatures(self): - """Select all on SamplingFeatures - - :return SamplingFeature Objects: - :type list: + def getSamplingFeatures(self, ids=None, codes=None, uuids=None, type=None, wkt=None): """ - - return self._session.query(SamplingFeatures).all() - - def getSamplingFeatureById(self, samplingId): - """Select by samplingId - - :param samplingId: - :type Integer: - :return Return matching SamplingFeature Object filtered by samplingId: - :type SamplingFeature: + getSamplingFeatures + * Pass nothing - returns a list of all sampling feature objects with each object of type specific to that sampling feature + * Pass a list of SamplingFeatureID - returns a single sampling feature object + * Pass a list of SamplingFeatureCode - returns a single sampling feature object + * Pass a SamplingFeatureType - returns a list of sampling feature objects of the type passed in + * Pass a SamplingFeatureGeometry(TYPE????) - return a list of sampling feature objects """ - try: - return self._session.query(SamplingFeatures).filter_by(SamplingFeatureID=samplingId).first() - except: - return None - def getSamplingFeatureByCode(self, samplingFeatureCode): - """Select by samplingFeatureCode - - :param samplingFeatureCode: - :type String: - :return Return matching SamplingFeature Object filtered by samplingId - :type list: - """ + q = self._session.query(SamplingFeatures) + if type: q = q.filter_by(SamplingFeatureTypeCV=type) + if ids: q = q.filter(SamplingFeatures.SamplingFeatureID.in_(ids)) + if codes: q = q.filter(SamplingFeatures.SamplingFeatureCode.in_(codes)) + if uuids: q = q.filter(SamplingFeatures.SamplingFeatureUUID.in_(uuids)) + if wkt: q = q.filter_by(FeatureGeometryWKT=wkt) try: - return self._session.query(SamplingFeatures).filter_by(SamplingFeatureCode=samplingFeatureCode).first() - except Exception as e: - return None - - def getSamplingFeaturesByType(self, samplingFeatureTypeCV): - """Select by samplingFeatureTypeCV - - :param samplingFeatureTypeCV: - :type String: - :return Return matching SamplingFeature Objects filtered by samplingFeatureTypeCV: - :type list: - """ - - try: - return self._session.query(SamplingFeatures).filter_by(SamplingFeatureTypeCV=samplingFeatureTypeCV).all() + return q.all() except Exception as e: print(e) return None - def getSamplingFeatureByGeometry(self, wkt_geometry): - - try: - # ST_Equals(geometry, geometry) - return self._session.query(SamplingFeatures).filter( - func.ST_AsText(SamplingFeatures.FeatureGeometry) == func.ST_AsText(wkt_geometry)).first() - except Exception as e: - print(e) - return None + def getRelatedSamplingFeatures(self, id): + """ - def getGeometryTest(self, TestGeom): - Geom = self._session.query(SamplingFeatures).first() - print("Queried Geometry: ", self._session.query(Geom.FeatureGeometry.ST_AsText()).first()) - GeomText = self._session.query( - func.ST_Union(Geom.FeatureGeometry, func.ST_GeomFromText(TestGeom)).ST_AsText()).first() + getRelatedSamplingFeatures() + * Pass a SamplingFeatureID - get a list of sampling feature objects related to the input sampling feature along with the relationship type + """ - print(GeomText) + sf = self._session.query(SamplingFeatures).select_from(RelatedFeatures).join(RelatedFeatures.RelatedFeatureObj) + if id: sf = sf.filter(RelatedFeatures.RelatedFeatureID == id) + return sf.all() """ Action """ - def getActions(self): - """ - Select all on Action - """ - return self._session.query(Actions).all() + def getActions(self, ids=None, type=None, sfid=None): - def getActionById(self, actionId): """ - Select by actionId + getSamplingFeatures + * Pass nothing - returns a list of all Actions + * Pass a SamplingFeatureID - returns a single Action object + * Pass a list of ActionIDs - returns a single Action object + * Pass a ActionType - returns a list of Action objects of the type passed in """ + a = Actions + if type == "equipment": + a = EquipmentActions + elif type == "calibration": + a = CalibrationActions + elif type == "maintenance": + a = MaintenanceActions + + q = self._session.query(a) + if ids: q = q.filter(a.ActionID.in_(ids)) + if sfid: + q = q.join(FeatureActions).filter(FeatureActions.SamplingFeatureID == sfid) + try: - return self._session.query(Actions).filter_by(ActionID=actionId).first() + return q.all() except: return None - - - """ - Unit - """ - def getUnits(self): - """Select all on Unit + def getRelatedActions(self, actionid=None): - :return Unit Objects: - :type list: """ - return self._session.query(Units).all() - - def getUnitById(self, unitId): - """Select by samplingId + getRelatedActions() + * Pass an ActionID - get a list of Action objects related to the input action along with the relatinship type - :param unitId: - :type Integer: - :return Return matching Unit Object filtered by UnitId: - :type Unit: """ - try: - return self._session.query(Units).filter_by(UnitsID=unitId).first() - except: - return None - - def getUnitByName(self, unitName): - + q = self._session.query(Actions).select_from(RelatedActions).join(RelatedActions.RelatedActionObj) + if actionid: q = q.filter(RelatedActions.ActionID == actionid) - try: - return self._session.query(Units).filter(Units.UnitsName.ilike(unitName)).first() - except: - return None - - def getUnitsByTypeCV(self, unitsTypeCV): - try: - return self._session.query(Units).filter(Units.UnitsTypeCV.ilike(unitsTypeCV)).all() - except: - return None + return q.all() """ - Organization + Unit """ - def getOrganizations(self): - """Select all on Organization - - :return Organization Objects: - :type list: + def getUnits(self, ids=None, name=None, type=None): """ - return self._session.query(Organizations).all() - - def getOrganizationById(self, orgId): - """Select by orgId - - :param orgId: - :type Integer: - :return Return matching Unit Object filtered by orgId: - :type Organization: + getUnits() + * Pass nothing - returns a list of all units objects + * Pass a list of UnitsID - returns a single units object + * Pass UnitsName - returns a single units object """ - try: - return self._session.query(Organizations).filter_by(OrganizationID=orgId).first() - except: - return None - - def getOrganizationByCode(self, orgCode): - """Select by orgCode - :param orgCode: - :type String: - :return Return matching Organization Object filtered by orgCode - :type Organization: - """ + q = self._session.query(Units) + if ids: q = q.filter(Units.UnitsID.in_(ids)) + if name: q = q.filter(Units.UnitsName.ilike(name)) + if type: q = q.filter(Units.UnitsTypeCV.ilike(type)) try: - return self._session.query(Organizations).filter_by(OrganizationCode=orgCode).first() - + return q.all() except: return None """ - Person + Organization """ - def getPeople(self): - """Select all on Person - - :return Person Objects: - :type list: + def getOrganizations(self, ids=None, codes=None): """ - return self._session.query(People).all() - - def getPersonById(self, personId): - """Select by personId - - :param personId: - :type Integer: - :return Return matching Person Object filtered by personId: - :type Person: + getOrganizations() + * Pass nothing - returns a list of all organization objects + * Pass a list of OrganizationID - returns a single organization object + * Pass a list of OrganizationCode - returns a single organization object """ + q = self._session.query(Organizations) + if ids: q = q.filter(Organizations.OrganizationID.in_(ids)) + if codes: q = q.filter(Organizations.OrganizationCode.in_(codes)) try: - return self._session.query(People).filter_by(PersonID=personId).first() - + return q.all() except: return None - def getPersonByName(self, personfirst, personlast): - """Select by person name, last name combination - - :param personfirst: first name of person - :param personlast: last name of person - :return Return matching Person Object: - :type Person: - """ - try: - return self._session.query(People).filter(People.PersonFirstName.ilike(personfirst)). \ - filter(People.PersonLastName.ilike(personlast)).first() - except: - return None - - def getAllAffiliations(self): - try: - return self._session.query(Affiliations).all() - except: - return None + """ + Person + """ - def getAffiliationByPersonAndOrg(self, personfirst, personlast, orgcode): + def getPeople(self, ids=None, firstname=None, lastname=None): """ - Select all affiliation of person - :param personfirst: first name of person - :param personlast: last name of person - :param orgcode: organization code (e.g. uwrl) - :return: ODM2.Affiliation + getPeople() + * Pass nothing - returns a list of all People objects + * Pass a list of PeopleID - returns a single People object + * Pass a First Name - returns a single People object + * Pass a Last Name - returns a single People object """ - + q = self._session.query(People) + if ids: q = q.filter(People.PersonID.in_(ids)) + if firstname: q = q.filter(People.PersonFirstName.ilike(firstname)) + if lastname: q = q.filter(People.PersonLastName.ilike(lastname)) try: - return self._session.query(Affiliations).filter(Organizations.OrganizationCode.ilike(orgcode)) \ - .filter(People.PersonFirstName.ilike(personfirst)) \ - .filter(People.PersonLastName.ilike(personlast)).first() + return q.all() except: return None - - def getAffiliations(self): - return self._session.query(Affiliations).all() - def getAffiliationsByPerson(self, personfirst, personlast): + def getAffiliations(self, ids=None, personfirst=None, personlast=None, orgcode=None): """ - Select all affiliation of person - :param personfirst: first name of person - :param personlast: last name of person - :return: [ODM2.Affiliation] + getAffiliations() + * Pass nothing - returns a list of all Affiliation objects + * Pass a list of AffiliationID - returns a single Affiliation object + * Pass a First Name - returns a single Affiliation object + * Pass a Last Name - returns a single Affiliation object + * Pass an OrganizationCode - returns a Affiliation object """ - + q = self._session.query(Affiliations) + if ids: q = q.filter(Affiliations.AffiliationID.in_(ids)) + if orgcode: q = q.filter(Organizations.OrganizationCode.ilike(orgcode)) + if personfirst: q = q.filter(People.PersonFirstName.ilike(personfirst)) + if personlast: q = q.filter(People.PersonLastName.ilike(personlast)).first() try: - return self._session.query(Affiliations).filter(People.PersonFirstName.ilike(personfirst)) \ - .filter(People.PersonLastName.ilike(personlast)).all() + return q.all() except: return None @@ -589,75 +425,95 @@ def getAffiliationsByPerson(self, personfirst, personlast): Results """ - def getResults(self): - - try: - return self._session.query(Results).all() - except: - return None - - def getResultByActionID(self, actionID): - - try: - return self._session.query(Results).join(FeatureActions).join(Actions).filter_by(ActionID=actionID).all() - except: - return None - - def getResultByID(self, resultID): - try: - return self._session.query(Results).filter_by(ResultID=resultID).one() - except: - return None - - def getResultAndGeomByID(self, resultID): - try: - return self._session.query(Results, SamplingFeatures.FeatureGeometry.ST_AsText()). \ - join(FeatureActions). \ - join(SamplingFeatures). \ - join(Results). \ - filter_by(ResultID=resultID).one() - except: - return None - - def getResultAndGeomByActionID(self, actionID): - - try: - return self._session.query(Results, SamplingFeatures.FeatureGeometry.ST_AsText()). \ - join(FeatureActions). \ - join(SamplingFeatures). \ - join(Actions). \ - filter_by(ActionID=actionID).all() - except: - return None - - def getResultValidDateTime(self, resultId): - q = self._session.query(Results.ValidDateTime).filter(Results.ResultID==int(resultId)) - return q.first() + def getResults(self, ids=None, uuids= None, actionid=None, simulationid = None): + + # TODO what if user sends in both type and actionid vs just actionid + """ + getResults() + * Pass nothing - returns a list of all Results objects + * Pass a list of ResultID - returns a single Results object + * Pass an ActionID - returns a single Results object + """ + + query = self._session.query(Results) + + if actionid: query = query.join(FeatureActions).filter_by(ActionID=actionid) + if simulationid: query = query.join(FeatureActions)\ + .join(Actions)\ + .join(Simulations)\ + .filter_by(SimulationID = simulationid) + if ids: query = query.filter(Results.ResultID.in_(ids)) + if uuids: query =query.filter(Results.ResultUUID.in_(uuids)) + + try: + return query.all() + except: + return None + + # + # def getResultsBySimulationID(self, simulationid): + # try: + # return self._session.query(Results) \ + # .join(FeatureActions) \ + # .join(Actions) \ + # .join(Simulations) \ + # .filter(Simulations.SimulationID == simulationid).all() + # except Exception as e: + # print (e) + # return None + # + # + # def getResultValidDateTime(self, resultId): + # q = self._session.query(Results.ValidDateTime).filter(Results.ResultID == int(resultId)) + # return q.first() + # + # def getResultAndGeomByID(self, resultID): + # try: + # return self._session.query(Results, SamplingFeatures.FeatureGeometry.ST_AsText()). \ + # join(FeatureActions). \ + # join(SamplingFeatures). \ + # join(Results). \ + # filter_by(ResultID=resultID).one() + # except: + # return None + # + # def getResultAndGeomByActionID(self, actionID): + # + # try: + # return self._session.query(Results, SamplingFeatures.FeatureGeometry.ST_AsText()). \ + # join(FeatureActions). \ + # join(SamplingFeatures). \ + # join(Actions). \ + # filter_by(ActionID=actionID).all() + # except: + # return None """ Datasets """ - def getDataSets(self): - try: - return self._session.query(DataSets).all() - except: - return None - - def getDatasetByCode(self, dscode): + def getDataSets(self, codes=None, uuids=None): + """ + getDataSets() + * Pass nothing - returns a list of all DataSet objects + * Pass a list of DataSetCode - returns a single DataSet object for each code + """ + q = self._session.query(DataSets) + if codes: + q = q.filter(DataSets.DataSetCode.in_(codes)) + if uuids: + q.q.filter(DataSets.DataSetUUID.in_(uuids)) try: - return self._session.query(DataSets).filer(DataSets.DataSetCode.ilike(dscode)).first() + return q.all() except: return None + # ################################################################################ + # Data Quality + # ################################################################################ -# ################################################################################ -# Data Quality -# ################################################################################ - - - def getAllDataQuality(self): + def getDataQuality(self): """Select all on Data Quality :return Dataquality Objects: @@ -665,318 +521,292 @@ def getAllDataQuality(self): """ return self._session.query(DataQuality).all() + # TODO DataQuality Schema Queries + def getReferenceMaterials(self): + return self._session.query(ReferenceMaterials).all() + + def getReferenceMaterialValues(self): + return self._session.query(ReferenceMaterialValues).all() + + def getResultNormalizationValues(self): + return self._session.query(ResultNormalizationValues).all() + + def getResultsDataQuality(self): + return self._session.query(ResultsDataQuality).all() + + # ################################################################################ + # Equipment + # ################################################################################ + + # TODO Equipment Schema Queries + def getEquipment(self, codes=None, type=None, sfid=None, actionid=None): + """ + getEquipment() + * Pass nothing - returns a list of all Equipment objects + * Pass a EquipmentType - returns a single Equipment object + * Pass a SamplingFeatureID - returns a single Equipment object + * Pass an ActionID - returns a single Equipment object + """ + e = self._session.query(Equipment) + if sfid: e = e.join(EquipmentUsed) \ + .join(Actions) \ + .join(FeatureActions) \ + .filter(FeatureActions.SamplingFeatureID == sfid) + if codes: e = e.filter(Equipment.EquipmentCode.in_(codes)) + if actionid: e = e.join(EquipmentUsed).join(Actions) \ + .filter(Actions.ActionID == actionid) + return e.all() + + def CalibrationReferenceEquipment(self): + return self._session.query(CalibrationReferenceEquipment).all() + + def CalibrationStandards(self): + return self._session.query(CalibrationStandards).all() + + def DataloggerFileColumns(self): + return self._session.query(DataLoggerFileColumns).all() + + def DataLoggerFiles(self): + return self._session.query(DataLoggerFiles).all() + + def DataloggerProgramFiles(self): + return self._session.query(DataLoggerProgramFiles).all() + + def EquipmentModels(self): + return self._session.query(EquipmentModels).all() + + def EquipmentUsed(self): + return self._session.query(EquipmentUsed).all() + + def InstrumentOutputVariables(self, modelid=None, variableid=None): + i = self._session.query(InstrumentOutputVariables) + if modelid: i = i.filter_by(ModelID=modelid) + if variableid: i = i.filter_by(VariableID=variableid) + return i.all() + + def RelatedEquipment(self, code=None): + r = self._session.query(RelatedEquipment) + if code: r = r.filter_by(EquipmentCode=code) + return r.all() + + # ################################################################################ + # Extension Properties + # ################################################################################ + + def getExtensionProperties(self, type=None): + # Todo what values to use for extensionproperties type + e = ExtensionProperties + if type == "action": + e = ActionExtensionPropertyValues + elif type == "citation": + e = CitationExtensionPropertyValues + elif type == "method": + e = MethodExtensionPropertyValues + elif type == "result": + e = ResultExtensionPropertyValues + elif type == "samplingfeature": + e = SamplingFeatureExtensionPropertyValues + elif type == "variable": + e = VariableExtensionPropertyValues + try: + return self._session.query(e).all() + except: + return None + + # ################################################################################ + # External Identifiers + # ################################################################################ + def getExternalIdentifiers(self, type=None): + e = ExternalIdentifierSystems + if type.lowercase == "citation": + e = CitationExternalIdentifiers + elif type == "method": + e = MethodExternalIdentifiers + elif type == "person": + e = PersonExternalIdentifiers + elif type == "referencematerial": + e = ReferenceMaterialExternalIdentifiers + elif type == "samplingfeature": + e = SamplingFeatureExternalIdentifiers + elif type == "spatialreference": + e = SpatialReferenceExternalIdentifiers + elif type == "taxonomicclassifier": + e = TaxonomicClassifierExternalIdentifiers + elif type == "variable": + e = VariableExternalIdentifiers + try: + return self._session.query(e).all() + except: + return None + + # ################################################################################ + # Lab Analyses + # ################################################################################ + # TODO functions for Lab Analyses + def getDirectives(self): + return self._session.query(Directives).all() + + def getActionDirectives(self): + return self._session.query(ActionDirectives).all() + + def getSpecimenBatchPositions(self): + return self._session.query(SpecimenBatchPositions).all() + + # ################################################################################ + # Provenance + # ################################################################################ -# ################################################################################ -# Equipment -# ################################################################################ - - - def getAllEquipment(self): - return self._session.query(Equipment).all() - - -# ################################################################################ -# Extension Properties -# ################################################################################ + # TODO functions for Provenance + def getAuthorLists(self): + self._session.query(AuthorLists).all() + def getDatasetCitations(self): + self._session.query(DataSetCitations).all() - -# ################################################################################ -# External Identifiers -# ################################################################################ - - - - -# ################################################################################ -# Lab Analyses -# ################################################################################ - - - - -# ################################################################################ -# Provenance -# ################################################################################ - + def getDerivationEquations(self): + self._session.query(DerivationEquations).all() + + def getMethodCitations(self): + self._session.query(MethodCitations).all() + + def getRelatedAnnotations(self): + # q= read._session.query(Actions).select_from(RelatedActions).join(RelatedActions.RelatedActionObj) + self._session.query(RelatedAnnotations).all() + + def getRelatedCitations(self): + self._session.query(RelatedCitations).all() + + def getRelatedDatasets(self): + self._session.query(RelatedDataSets).all() + + def getRelatedResults(self): + self._session.query(RelatedResults).all() + + def getResultDerivationEquations(self): + self._session.query(ResultDerivationEquations).all() + + # ################################################################################ + # Results + # ################################################################################ """ - Citation + ResultValues """ - def getCitations(self): - self._session.query(Citations).all() + def getResultValues(self, resultid, starttime=None, endtime=None): - - - - -# ################################################################################ -# Results -# ################################################################################ - - - """ - TimeSeriesResults - """ - - def getTimeSeriesResults(self): """Select all on TimeSeriesResults - - :return TimeSeriesResults Objects: - :type list: - """ - return self._session.query(TimeSeriesResults).all() - - def getTimeSeriesResultByResultId(self, resultId): - """Select by resultID on ResultID - - :param resultId: - :type Integer: - :return return matching Timeseriesresult Object filtered by resultId - """ - - try: - return self._session.query(TimeSeriesResults).filter_by(ResultID=resultId).one() - except: - return None - - def getTimeSeriesResultbyCode(self, timeSeriesCode): - """Select by time - """ - pass - - """ - TimeSeriesResultValues - """ - - def getTimeSeriesResultValues(self): - """Select all on TimeSeriesResults - - :return TimeSeriesResultsValue Objects: - :type list: - """ - - q = self._session.query(TimeSeriesResults).all() - df = pd.DataFrame([dv.list_repr() for dv in q]) - df.columns = q[0].get_columns() - return df - # return self._session.query(Timeseriesresultvalue).all() - - def getTimeSeriesResultValuesByResultId(self, resultId): - """Select by resultId - - :param timeSeriesId: - :type Integer: - :return return matching Timeseriesresultvalue Object filtered by resultId: - :type Timeseriesresultvalue: - """ - try: - q = self._session.query(TimeSeriesResultValues).filter_by(ResultID=resultId).all() - print(type(q[0]), q[0]) - df = pd.DataFrame([dv.list_repr() for dv in q]) - df.columns = q[0].get_columns() + getResultValues() + * Pass a ResultID - Returns a result values object of type that is specific to the result type + * Pass a ResultID and a date range - returns a result values object of type that is specific to the result type with values between the input date range + """ + type= self._session.query(Results).filter_by(ResultID=resultid).first().ResultTypeCV + Result = TimeSeriesResults + if "categorical" in type.lower():Result = CategoricalResultValues + elif "measurement" in type.lower():Result = MeasurementResultValues + elif "point" in type.lower():Result = PointCoverageResultValues + elif "profile" in type.lower():Result = ProfileResultValues + elif "section" in type.lower():Result = SectionResults + elif "spectra" in type.lower():Result = SpectraResultValues + elif "time" in type.lower():Result = TimeSeriesResultValues + elif "trajectory" in type.lower():Result = TrajectoryResultValues + elif "transect" in type.lower():Result = TransectResultValues + + q = self._session.query(Result).filter_by(ResultID=resultid) + if starttime: q = q.filter(Result.ValueDateTime >= starttime) + if endtime: q = q.filter(Result.ValueDateTime <= endtime) + try: + vals = q.order_by(Result.ValueDateTime) + df = pd.DataFrame([dv.list_repr() for dv in vals.all()]) + df.columns = vals[0].get_columns() return df - # return self._session.query(Timeseriesresultvalue).filter_by(ResultID=resultId).all() - except Exception as e: - print(e) - return None - - def getTimeSeriesResultValuesByCode(self, timeSeriesCode): - """ - - :param timeSeriesCode: - :return: - """ - pass - - def getTimeSeriesResultValuesByTime(self, resultid, starttime, endtime=None): - - # set end = start if it is None - endtime = starttime if not endtime else endtime - - try: - return self._session.query(TimeSeriesResultValues).filter_by(ResultID=resultid) \ - .filter(TimeSeriesResultValues.ValueDateTime >= starttime) \ - .filter(TimeSeriesResultValues.ValueDateTime <= endtime) \ - .order_by(TimeSeriesResultValues.ValueDateTime).all() except: return None - -# ################################################################################ -# Annotations -# ################################################################################ - + # ################################################################################ + # SamplingFeatures + # ################################################################################ """ Site """ - def getAllSites(self): - """Select all on Sites - - :return Site Objects: - :type list: + def getSpatialReference(self, srsCodes=None): """ - return self._session.query(Sites).all() - - def getSiteBySFId(self, siteId): - """Select by siteId - - :param siteId: - :type Integer: - :return Return matching Site Object filtered by siteId: - :type Site: + getSpatialReference() + * Pass a ResultID - Returns a result values object of type that is specific to the result type + * Pass a ResultID and a date range - returns a result values object of type that is specific to the result type with values between the input date range """ + q = self._session.query(SpatialReferences) + if srsCodes: q.filter(SpatialReferences.SRSCode.in_(srsCodes)) try: - return self._session.query(Sites).filter_by(SamplingFeatureID=siteId).one() + return q.first() except: return None - def getSiteBySFCode(self, siteCode): - """Select by siteCode + # ################################################################################ + # Simulation + # ################################################################################ - :param siteCode: - :type String: - :return Return matching Samplingfeature Object filtered by siteCode: - :type Samplingfeature: + def getSimulations(self, name=None, actionid=None): """ + getSimulations() + * Pass nothing - get a list of all model simuation objects + * Pass a SimulationName - get a single simulation object + * Pass an ActionID - get a single simulation object - sf = self._session.query(SamplingFeatures).filter_by(SamplingFeatureCode=siteCode).one() - return self._session.query(Sites).filter_by(SamplingFeatureID=sf.SamplingFeatureID).one() - - def getSpatialReferenceByCode(self, srsCode): - - - try: - return self._session.query(SpatialReferences).filter(SpatialReferences.SRSCode.ilike(srsCode)).first() - except: - return None - - -# ################################################################################ -# Sensors -# ################################################################################ - - - - - def getAllDeploymentAction(self): - """Select all on DeploymentAction - - :return DeploymentAction Objects: - :type list: - """ - return self._session.query(DeploymentAction).all() - - # return self._session.query) - - def getDeploymentActionById(self, deploymentId): - """Select by deploymentId - - :param deploymentId: - :type Integer: - :return Return Matching DeploymentAction Object filtered by deploymentId: - :type DeploymentAction: - """ - try: - return self._session.query(DeploymentAction).filter_by(DeploymentActionID=deploymentId).one() - except: - return None - - def getDeploymentActionByCode(self, deploymentCode): - """Select by deploymentCode - - :param deploymentCode: - :type String: - :return Return matching DeploymentAction Object filtered by deploymentCode: - :type DeploymentAction: """ + s = self._session.query(Simulations) + if name: s = s.filter(Simulations.SimulationName.ilike(name)) + if actionid: s = s.filter_by(ActionID=actionid) try: - return self._session.query(Deploymentaction).filter_by(DeploymentActionCode=deploymentCode).one() + return s.all() except: return None -# ################################################################################ -# Simulation -# ################################################################################ - - - def getAllModels(self): + def getModels(self, codes=None): + m = self._session.query(Models) + if codes: m = m.filter(Models.ModelCode.in_(codes)) try: - return self._session.query(Models).all() + return m.all() except: return None - def getModelByCode(self, modelcode): - try: - return self._session.query(Models).filter(Models.ModelCode.ilike(modelcode)).first() - except: - return None - - def getAllSimulations(self): - - try: - return self._session.query(Simulations).all() - except: - return None + def getRelatedModels(self, id=None, code=None): + """ + getRelatedModels() + * Pass a ModelID - get a list of model objects related to the model having ModelID + * Pass a ModelCode - get a list of model objects related to the model having ModeCode + :param id: + :type id: + :param code: + :type code: + :return: + :rtype: + """ +# cdoe from master +#+ # note this was RelatedModels.RelatedModelID == Models.ModelID which would return all Parent models of RelatedModelID +# + self._session.query(RelatedModels).filter_by(ModelID=modelid).all() +# + self._session.query(RelatedModels).join(Models, RelatedModels.ModelID == Models.ModelID).filter(Models.ModelCode == modelcode).all() - def getSimulationByName(self, simulationName): - try: - return self._session.query(Simulations).filter(Simulations.SimulationName.ilike(simulationName)).first() - except: - return None + m = self._session.query(Models).select_from(RelatedModels).join(RelatedModels.ModelObj) + if id: m = m.filter(RelatedModels.ModelID == id) + if code: m = m.filter(Models.ModelCode == code) - def getSimulationByActionID(self, actionID): - try: - return self._session.query(Simulations).filter_by(ActionID=actionID).first() - except: - return None +#previous version of code + # m = self._session.query(Models).select_from(RelatedModels).join(RelatedModels.RelatedModelObj) + # if id: m = m.filter(RelatedModels.ModelID == id) + # if code: m = m.filter(RelatedModels.ModelCode == code) - def getRelatedModelsByID(self, modelid): - """ - queries the ODM2 for any models that have a relationship with the provided model id - :param modelid: id of the model to search - :return: all models related to the specified id - """ - try: - return self._session.query(RelatedModels).filter_by(RelatedModelID=modelid).all() - except Exception as e: - print(e) - return None - def getRelatedModelsByCode(self, modelcode): - """ - queries the ODM2 for any models that have a relationship with the provided model id - :param modelcode: the code of the model to search - :return: all models related to the provided model code - """ - try: - return self._session.query(RelatedModels).join(Models, RelatedModels.RelatedModelID == Models.ModelID) \ - .filter(Models.ModelCode == modelcode).all() - except Exception as e: - print(e) - return None - def getResultsBySimulationID(self, simulationID): try: - return self._session.query(Results) \ - .join(FeatureActions) \ - .join(Actions) \ - .join(Simulations) \ - .filter(Simulations.SimulationID == simulationID).all() + return m.all() except Exception as e: print(e) - return None + return None -# ################################################################################ -# ODM2 -# ################################################################################ -class readODM2(object): - def test(self): - return None diff --git a/odm2api/ODM2/services/readService.py.orig b/odm2api/ODM2/services/readService.py.orig new file mode 100644 index 0000000..38044e8 --- /dev/null +++ b/odm2api/ODM2/services/readService.py.orig @@ -0,0 +1,956 @@ +__author__ = 'jmeline' + +from sqlalchemy import func +import pandas as pd + +from odm2api.ODM2 import serviceBase +from odm2api.ODM2.models import * + + +class DetailedResult: + def __init__(self, result, + samplingFeature, + method, variable, + processingLevel, + unit): + # result.result_id etc. + self.resultID = result.ResultID + self.samplingFeatureCode = samplingFeature.SamplingFeatureCode + self.methodCode = method.MethodCode + self.variableCode = variable.VariableCode + self.processingLevelCode = processingLevel.ProcessingLevelCode + self.unitsName = unit.UnitsName + + self.samplingFeatureName = samplingFeature.SamplingFeatureName + self.methodName = method.MethodName + self.variableNameCV = variable.VariableNameCV + self.processingLevelDef = processingLevel.Definition + + +class DetailedAffiliation: + def __init__(self, affiliation, person, org): + self.affiliationID = affiliation.AffiliationID + self.name = person.PersonFirstName + \ + " " + \ + person.PersonLastName + self.organization = "(" + org.OrganizationCode + ") " + \ + org.OrganizationName + + # def __repr__(self): + # return str(self.name) + " " + str(self.organization) + + +class ReadODM2(serviceBase): + ''' + def __init__(self, session): + self._session = session + ''' + + # ################################################################################ + # Annotations + # ################################################################################ + + def getAnnotations(self, type=None): + + # TODO What keywords do I use for type + a = Annotations + if type == "action": + a = ActionAnnotations + elif type == "categoricalresultvalue": + a = CategoricalResultValueAnnotations + elif type == "equipmentannotation": + a = EquipmentAnnotations + elif type == "measurementresultvalue": + a = MeasurementResultValueAnnotations + elif type == "method": + a = MethodAnnotations + elif type == "pointcoverageresultvalue": + a = PointCoverageResultValueAnnotations + elif type == "profileresultvalue": + a = ProfileResultValueAnnotations + elif type == "result": + a = ResultAnnotations + elif type == "samplingfeature": + a = SamplingFeatureAnnotations + elif type == "sectionresultvalue": + a = SectionResultValueAnnotations + elif type == "spectraresultvalue": + a = SpectraResultValueAnnotations + elif type == "timeSeriesresultvalue": + a = TimeSeriesResultValueAnnotations + elif type == "trajectoryresultvalue": + a = TrajectoryResultValueAnnotations + elif type == "transectresultvalue": + a = TransectResultValueAnnotations + try: + return self._session.query(a).all() + except: + return None + + # ################################################################################ + # CV + # ############################################################################## + + def getCVs(self, type): + + CV = CVActionType + if type == "actiontype": + CV = CVActionType + elif type == "aggregationstatistic": + CV = CVAggregationStatistic + elif type == "annotationtype": + CV = CVAnnotationType + elif type == "censorcode": + CV = CVCensorCode + elif type == "dataqualitytype": + CV = CVDataQualityType + elif type == "dataset type": + CV = CVDataSetType + elif type == "Directive Type": + CV = CVDirectiveType + elif type == "Elevation Datum": + CV = CVElevationDatum + elif type == "Equipment Type": + CV = CVEquipmentType + elif type == "Medium": + CV = CVMediumType + elif type == "Method Type": + CV = CVMethodType + elif type == "Organization Type": + CV = CVOrganizationType + elif type == "Property Data Type": + CV = CVPropertyDataType + elif type == "Quality Code": + CV = CVQualityCode + elif type == "Relationship Type": + CV = CVRelationshipType + elif type == "Result Type": + CV = CVResultType + elif type == "Sampling Feature Geo-type": + CV = CVSamplingFeatureGeoType + elif type == "Sampling Feature Type": + CV = CVSamplingFeatureType + elif type == "Site Type": + CV = CVSiteType + elif type == "Spatial Offset Type": + CV = CVSpatialOffsetType + elif type == "Speciation": + CV = CVSpeciation + elif type == "Specimen Type": + CV = CVSpecimenType + elif type == "Status": + CV = CVStatus + elif type == "Taxonomic Classifier Type": + CV = CVTaxonomicClassifierType + elif type == "Units Type": + CV = CVUnitsType + elif type == "Variable Name": + CV = CVVariableName + elif type == "Variable Type": + CV = CVVariableType + else: + return None + return self._session.query(CV).all() + + # ################################################################################ + # Core + # ################################################################################ + + def getDetailedAffiliationInfo(self): + q = self._session.query(Affiliations, People, Organizations) \ + .filter(Affiliations.PersonID == People.PersonID) \ + .filter(Affiliations.OrganizationID == Organizations.OrganizationID) + affiliationList = [] + for a, p, o in q.all(): + detailedAffiliation = DetailedAffiliation(a, p, o) + affiliationList.append(detailedAffiliation) + return affiliationList + + def getDetailedResultInfo(self, resultTypeCV, resultID=None): + q = self._session.query(Results, SamplingFeatures, Methods, Variables, + ProcessingLevels, Units).filter(Results.VariableID == Variables.VariableID) \ + .filter(Results.UnitsID == Units.UnitsID) \ + .filter(Results.FeatureActionID == FeatureActions.FeatureActionID) \ + .filter(FeatureActions.SamplingFeatureID == SamplingFeatures.SamplingFeatureID) \ + .filter(FeatureActions.ActionID == Actions.ActionID) \ + .filter(Actions.MethodID == Methods.MethodID) \ + .filter(Results.ProcessingLevelID == ProcessingLevels.ProcessingLevelID) \ + .filter(Results.ResultTypeCV == resultTypeCV) + resultList = [] + if resultID: + for r, s, m, v, p, u in q.filter_by(ResultID=resultID).all(): + detailedResult = DetailedResult( \ + r, s, m, v, p, u) + resultList.append(detailedResult) + else: + for r, s, m, v, p, u in q.all(): + detailedResult = DetailedResult( \ + r, s, m, v, p, u) + resultList.append(detailedResult) + return resultList + + """ + Taxonomic Classifiers + """ + + def getTaxonomicClassifiers(self): + return self._session.query(TaxonomicClassifiers).all() + + """ + Variable + """ + + def getVariables(self, ids=None, codes=None): + """ + getVariables() + * Pass nothing - returns full list of variable objects + * Pass a list of VariableID - returns a single variable object + * Pass a list of VariableCode - returns a single variable object + """ + + query = self._session.query(Variables) + if ids: query = query.filter(Variables.VariableID.in_(ids)) + if codes: query = query.filter(Variables.VariableCode.in_(codes)) + try: + return query.all() + except: + return None + + """ + Method + """ + + def getMethods(self, ids=None, codes=None, type=None): + + """ + getMethods() + * Pass nothing - returns full list of method objects + * Pass a list of MethodID - returns a single method object + * Pass a list of MethodCode - returns a single method object + * Pass a MethodType - returns a list of method objects + """ + q = self._session.query(Methods) + if ids: q = q.filter(Methods.MethodID.in_(ids)) + if codes: q = q.filter(Methods.MethodCode.in_(codes)) + if type: q = q.filter_by(MethodTypeCV=type) + + try: + q.all() + except: + return None + + """ + ProcessingLevel + """ + + def getProcessingLevels(self, ids=None, codes=None): + """ + getProcessingLevels() + * Pass nothing - returns full list of ProcessingLevel objects + * Pass a list of ProcessingLevelID - returns a single processingLevel object + * Pass a list of ProcessingLevelCode - returns a single processingLevel object + """ + q = self._session.query(ProcessingLevels) + if ids: q = q.filter(ProcessingLevels.ProcessingLevels.in_(ids)) + if codes: q = q.filter(ProcessingLevels.ProcessingLevelCode.in_(codes)) + + try: +<<<<<<< HEAD + return q.all() + except: +======= + return self._session.query(ProcessingLevels).filter_by(ProcessingLevelCode=str(processingCode)).first() + except Exception as e: + print(e) +>>>>>>> origin/master + return None + + """ + Sampling Feature + """ + + def getSamplingFeatures(self, ids=None, codes=None, uuids=None, type=None, wkt=None): + """ + getSamplingFeatures + * Pass nothing - returns a list of all sampling feature objects with each object of type specific to that sampling feature + * Pass a list of SamplingFeatureID - returns a single sampling feature object + * Pass a list of SamplingFeatureCode - returns a single sampling feature object + * Pass a SamplingFeatureType - returns a list of sampling feature objects of the type passed in + * Pass a SamplingFeatureGeometry(TYPE????) - return a list of sampling feature objects + """ + + q = self._session.query(SamplingFeatures) + + if type: q = q.filter_by(SamplingFeatureTypeCV=type) + if ids: q = q.filter(SamplingFeatures.SamplingFeatureID.in_(ids)) + if codes: q = q.filter(SamplingFeatures.SamplingFeatureCode.in_(codes)) + if uuids: q = q.filter(SamplingFeatures.SamplingFeatureUUID.in_(uuids)) + if wkt: q = q.filter_by(FeatureGeometryWKT=wkt) + try: + return q.all() + except Exception as e: + print(e) + return None + +<<<<<<< HEAD + def getRelatedSamplingFeatures(self, id): + """ + + getRelatedSamplingFeatures() + * Pass a SamplingFeatureID - get a list of sampling feature objects related to the input sampling feature along with the relationship type + """ + + sf = self._session.query(SamplingFeatures).select_from(RelatedFeatures).join(RelatedFeatures.RelatedFeatureObj) + if id: sf = sf.filter(RelatedFeatures.RelatedFeatureID == id) + return sf.all() +======= + def getSamplingFeatureByGeometry(self, wkt_geometry): + + try: + # ST_Equals(geometry, geometry) + return self._session.query(SamplingFeatures).filter( + func.ST_AsText(SamplingFeatures.FeatureGeometry) == func.ST_AsText(wkt_geometry)).first() + except Exception as e: + print(e) + return None + + def getGeometryTest(self, TestGeom): + Geom = self._session.query(SamplingFeatures).first() + print("Queried Geometry: ", self._session.query(Geom.FeatureGeometry.ST_AsText()).first()) + GeomText = self._session.query( + func.ST_Union(Geom.FeatureGeometry, func.ST_GeomFromText(TestGeom)).ST_AsText()).first() + + print(GeomText) +>>>>>>> origin/master + + """ + Action + """ + + def getActions(self, ids=None, type=None, sfid=None): + + """ + getSamplingFeatures + * Pass nothing - returns a list of all Actions + * Pass a SamplingFeatureID - returns a single Action object + * Pass a list of ActionIDs - returns a single Action object + * Pass a ActionType - returns a list of Action objects of the type passed in + """ + a = Actions + if type == "equipment": + a = EquipmentActions + elif type == "calibration": + a = CalibrationActions + elif type == "maintenance": + a = MaintenanceActions + + q = self._session.query(a) + if ids: q = q.filter(a.ActionID.in_(ids)) + if sfid: + q = q.join(FeatureActions).filter(FeatureActions.SamplingFeatureID == sfid) + + try: + return q.all() + except: + return None + + def getRelatedActions(self, actionid=None): + + """ + getRelatedActions() + * Pass an ActionID - get a list of Action objects related to the input action along with the relatinship type + + """ + q = self._session.query(Actions).select_from(RelatedActions).join(RelatedActions.RelatedActionObj) + if actionid: q = q.filter(RelatedActions.ActionID == actionid) + + return q.all() + + """ + Unit + """ + + def getUnits(self, ids=None, name=None, type=None): + """ + getUnits() + * Pass nothing - returns a list of all units objects + * Pass a list of UnitsID - returns a single units object + * Pass UnitsName - returns a single units object + """ + + q = self._session.query(Units) + if ids: q = q.filter(Units.UnitsID.in_(ids)) + if name: q = q.filter(Units.UnitsName.ilike(name)) + if type: q = q.filter(Units.UnitsTypeCV.ilike(type)) + try: + return q.all() + except: + return None + + """ + Organization + """ + + def getOrganizations(self, ids=None, codes=None): + """ + getOrganizations() + * Pass nothing - returns a list of all organization objects + * Pass a list of OrganizationID - returns a single organization object + * Pass a list of OrganizationCode - returns a single organization object + """ + q = self._session.query(Organizations) + if ids: q = q.filter(Organizations.OrganizationID.in_(ids)) + if codes: q = q.filter(Organizations.OrganizationCode.in_(codes)) + try: + return q.all() + except: + return None + + """ + Person + """ + + def getPeople(self, ids=None, firstname=None, lastname=None): + """ + getPeople() + * Pass nothing - returns a list of all People objects + * Pass a list of PeopleID - returns a single People object + * Pass a First Name - returns a single People object + * Pass a Last Name - returns a single People object + """ + q = self._session.query(People) + if ids: q = q.filter(People.PersonID.in_(ids)) + if firstname: q = q.filter(People.PersonFirstName.ilike(firstname)) + if lastname: q = q.filter(People.PersonLastName.ilike(lastname)) + try: + return q.all() + except: + return None + + def getAffiliations(self, ids=None, personfirst=None, personlast=None, orgcode=None): + """ + getAffiliations() + * Pass nothing - returns a list of all Affiliation objects + * Pass a list of AffiliationID - returns a single Affiliation object + * Pass a First Name - returns a single Affiliation object + * Pass a Last Name - returns a single Affiliation object + * Pass an OrganizationCode - returns a Affiliation object + """ + q = self._session.query(Affiliations) + if ids: q = q.filter(Affiliations.AffiliationID.in_(ids)) + if orgcode: q = q.filter(Organizations.OrganizationCode.ilike(orgcode)) + if personfirst: q = q.filter(People.PersonFirstName.ilike(personfirst)) + if personlast: q = q.filter(People.PersonLastName.ilike(personlast)).first() + try: + return q.all() + except: + return None + + """ + Results + """ + + def getResults(self, ids=None, uuids= None, actionid=None, simulationid = None): + + # TODO what if user sends in both type and actionid vs just actionid + """ + getResults() + * Pass nothing - returns a list of all Results objects + * Pass a list of ResultID - returns a single Results object + * Pass an ActionID - returns a single Results object + """ + + query = self._session.query(Results) + + if actionid: query = query.join(FeatureActions).filter_by(ActionID=actionid) + if simulationid: query = query.join(FeatureActions)\ + .join(Actions)\ + .join(Simulations)\ + .filter_by(SimulationID = simulationid) + if ids: query = query.filter(Results.ResultID.in_(ids)) + if uuids: query =query.filter(Results.ResultUUID.in_(uuids)) + + try: + return query.all() + except: + return None + + # + # def getResultsBySimulationID(self, simulationid): + # try: + # return self._session.query(Results) \ + # .join(FeatureActions) \ + # .join(Actions) \ + # .join(Simulations) \ + # .filter(Simulations.SimulationID == simulationid).all() + # except Exception, e: + # print e + # return None + # + # + # def getResultValidDateTime(self, resultId): + # q = self._session.query(Results.ValidDateTime).filter(Results.ResultID == int(resultId)) + # return q.first() + # + # def getResultAndGeomByID(self, resultID): + # try: + # return self._session.query(Results, SamplingFeatures.FeatureGeometry.ST_AsText()). \ + # join(FeatureActions). \ + # join(SamplingFeatures). \ + # join(Results). \ + # filter_by(ResultID=resultID).one() + # except: + # return None + # + # def getResultAndGeomByActionID(self, actionID): + # + # try: + # return self._session.query(Results, SamplingFeatures.FeatureGeometry.ST_AsText()). \ + # join(FeatureActions). \ + # join(SamplingFeatures). \ + # join(Actions). \ + # filter_by(ActionID=actionID).all() + # except: + # return None + + """ + Datasets + """ + + def getDataSets(self, codes=None, uuids=None): + """ + getDataSets() + * Pass nothing - returns a list of all DataSet objects + * Pass a list of DataSetCode - returns a single DataSet object for each code + + """ + q = self._session.query(DataSets) + if codes: + q = q.filter(DataSets.DataSetCode.in_(codes)) + if uuids: + q.q.filter(DataSets.DataSetUUID.in_(uuids)) + try: + return q.all() + except: + return None + + # ################################################################################ + # Data Quality + # ################################################################################ + + def getDataQuality(self): + """Select all on Data Quality + + :return Dataquality Objects: + :type list: + """ + return self._session.query(DataQuality).all() + + # TODO DataQuality Schema Queries + def getReferenceMaterials(self): + return self._session.query(ReferenceMaterials).all() + + def getReferenceMaterialValues(self): + return self._session.query(ReferenceMaterialValues).all() + + def getResultNormalizationValues(self): + return self._session.query(ResultNormalizationValues).all() + + def getResultsDataQuality(self): + return self._session.query(ResultsDataQuality).all() + + # ################################################################################ + # Equipment + # ################################################################################ + + # TODO Equipment Schema Queries + def getEquipment(self, codes=None, type=None, sfid=None, actionid=None): + """ + getEquipment() + * Pass nothing - returns a list of all Equipment objects + * Pass a EquipmentType - returns a single Equipment object + * Pass a SamplingFeatureID - returns a single Equipment object + * Pass an ActionID - returns a single Equipment object + """ + e = self._session.query(Equipment) + if sfid: e = e.join(EquipmentUsed) \ + .join(Actions) \ + .join(FeatureActions) \ + .filter(FeatureActions.SamplingFeatureID == sfid) + if codes: e = e.filter(Equipment.EquipmentCode.in_(codes)) + if actionid: e = e.join(EquipmentUsed).join(Actions) \ + .filter(Actions.ActionID == actionid) + return e.all() + + def CalibrationReferenceEquipment(self): + return self._session.query(CalibrationReferenceEquipment).all() + + def CalibrationStandards(self): + return self._session.query(CalibrationStandards).all() + + def DataloggerFileColumns(self): + return self._session.query(DataLoggerFileColumns).all() + + def DataLoggerFiles(self): + return self._session.query(DataLoggerFiles).all() + + def DataloggerProgramFiles(self): + return self._session.query(DataLoggerProgramFiles).all() + + def EquipmentModels(self): + return self._session.query(EquipmentModels).all() + + def EquipmentUsed(self): + return self._session.query(EquipmentUsed).all() + + def InstrumentOutputVariables(self, modelid=None, variableid=None): + i = self._session.query(InstrumentOutputVariables) + if modelid: i = i.filter_by(ModelID=modelid) + if variableid: i = i.filter_by(VariableID=variableid) + return i.all() + + def RelatedEquipment(self, code=None): + r = self._session.query(RelatedEquipment) + if code: r = r.filter_by(EquipmentCode=code) + return r.all() + + # ################################################################################ + # Extension Properties + # ################################################################################ + + def getExtensionProperties(self, type=None): + # Todo what values to use for extensionproperties type + e = ExtensionProperties + if type == "action": + e = ActionExtensionPropertyValues + elif type == "citation": + e = CitationExtensionPropertyValues + elif type == "method": + e = MethodExtensionPropertyValues + elif type == "result": + e = ResultExtensionPropertyValues + elif type == "samplingfeature": + e = SamplingFeatureExtensionPropertyValues + elif type == "variable": + e = VariableExtensionPropertyValues + try: + return self._session.query(e).all() + except: + return None + + # ################################################################################ + # External Identifiers + # ################################################################################ + def getExternalIdentifiers(self, type=None): + e = ExternalIdentifierSystems + if type.lowercase == "citation": + e = CitationExternalIdentifiers + elif type == "method": + e = MethodExternalIdentifiers + elif type == "person": + e = PersonExternalIdentifiers + elif type == "referencematerial": + e = ReferenceMaterialExternalIdentifiers + elif type == "samplingfeature": + e = SamplingFeatureExternalIdentifiers + elif type == "spatialreference": + e = SpatialReferenceExternalIdentifiers + elif type == "taxonomicclassifier": + e = TaxonomicClassifierExternalIdentifiers + elif type == "variable": + e = VariableExternalIdentifiers + try: + return self._session.query(e).all() + except: + return None + + # ################################################################################ + # Lab Analyses + # ################################################################################ + # TODO functions for Lab Analyses + def getDirectives(self): + return self._session.query(Directives).all() + + def getActionDirectives(self): + return self._session.query(ActionDirectives).all() + + def getSpecimenBatchPositions(self): + return self._session.query(SpecimenBatchPositions).all() + + # ################################################################################ + # Provenance + # ################################################################################ + + # TODO functions for Provenance + def getAuthorLists(self): + self._session.query(AuthorLists).all() + + def getDatasetCitations(self): + self._session.query(DataSetCitations).all() + + def getDerivationEquations(self): + self._session.query(DerivationEquations).all() + + def getMethodCitations(self): + self._session.query(MethodCitations).all() + + def getRelatedAnnotations(self): + # q= read._session.query(Actions).select_from(RelatedActions).join(RelatedActions.RelatedActionObj) + self._session.query(RelatedAnnotations).all() + + def getRelatedCitations(self): + self._session.query(RelatedCitations).all() + + def getRelatedDatasets(self): + self._session.query(RelatedDataSets).all() + + def getRelatedResults(self): + self._session.query(RelatedResults).all() + + def getResultDerivationEquations(self): + self._session.query(ResultDerivationEquations).all() + + # ################################################################################ + # Results + # ################################################################################ + + """ + ResultValues + """ + + def getResultValues(self, resultid, starttime=None, endtime=None): + + """Select all on TimeSeriesResults +<<<<<<< HEAD + getResultValues() + * Pass a ResultID - Returns a result values object of type that is specific to the result type + * Pass a ResultID and a date range - returns a result values object of type that is specific to the result type with values between the input date range + """ + type= self._session.query(Results).filter_by(ResultID=resultid).first().ResultTypeCV + Result = TimeSeriesResults + if "categorical" in type.lower():Result = CategoricalResultValues + elif "measurement" in type.lower():Result = MeasurementResultValues + elif "point" in type.lower():Result = PointCoverageResultValues + elif "profile" in type.lower():Result = ProfileResultValues + elif "section" in type.lower():Result = SectionResults + elif "spectra" in type.lower():Result = SpectraResultValues + elif "time" in type.lower():Result = TimeSeriesResultValues + elif "trajectory" in type.lower():Result = TrajectoryResultValues + elif "transect" in type.lower():Result = TransectResultValues + + q = self._session.query(Result).filter_by(ResultID=resultid) + if starttime: q = q.filter(Result.ValueDateTime >= starttime) + if endtime: q = q.filter(Result.ValueDateTime <= endtime) + try: + vals = q.order_by(Result.ValueDateTime) + df = pd.DataFrame([dv.list_repr() for dv in vals.all()]) + df.columns = vals[0].get_columns() + return df +======= + + :return TimeSeriesResults Objects: + :type list: + """ + return self._session.query(TimeSeriesResults).all() + + def getTimeSeriesResultByResultId(self, resultId): + """Select by resultID on ResultID + + :param resultId: + :type Integer: + :return return matching Timeseriesresult Object filtered by resultId + """ + + try: + return self._session.query(TimeSeriesResults).filter_by(ResultID=resultId).one() + except: + return None + + def getTimeSeriesResultbyCode(self, timeSeriesCode): + """Select by time + """ + pass + + """ + TimeSeriesResultValues + """ + + def getTimeSeriesResultValues(self): + """Select all on TimeSeriesResults + + :return TimeSeriesResultsValue Objects: + :type list: + """ + + q = self._session.query(TimeSeriesResults).all() + df = pd.DataFrame([dv.list_repr() for dv in q]) + df.columns = q[0].get_columns() + return df + # return self._session.query(Timeseriesresultvalue).all() + + def getTimeSeriesResultValuesByResultId(self, resultId): + """Select by resultId + + :param timeSeriesId: + :type Integer: + :return return matching Timeseriesresultvalue Object filtered by resultId: + :type Timeseriesresultvalue: + """ + try: + q = self._session.query(TimeSeriesResultValues).filter_by(ResultID=resultId).all() + print(type(q[0]), q[0]) + df = pd.DataFrame([dv.list_repr() for dv in q]) + df.columns = q[0].get_columns() + return df + # return self._session.query(Timeseriesresultvalue).filter_by(ResultID=resultId).all() + except Exception as e: + print(e) + return None + + def getTimeSeriesResultValuesByCode(self, timeSeriesCode): + """ + + :param timeSeriesCode: + :return: + """ + pass + + def getTimeSeriesResultValuesByTime(self, resultid, starttime, endtime=None): + + # set end = start if it is None + endtime = starttime if not endtime else endtime + + try: + return self._session.query(TimeSeriesResultValues).filter_by(ResultID=resultid) \ + .filter(TimeSeriesResultValues.ValueDateTime >= starttime) \ + .filter(TimeSeriesResultValues.ValueDateTime <= endtime) \ + .order_by(TimeSeriesResultValues.ValueDateTime).all() +>>>>>>> origin/master + except: + return None + + # ################################################################################ + # SamplingFeatures + # ################################################################################ + + """ + Site + """ + + def getSpatialReference(self, srsCodes=None): + """ + getSpatialReference() + * Pass a ResultID - Returns a result values object of type that is specific to the result type + * Pass a ResultID and a date range - returns a result values object of type that is specific to the result type with values between the input date range + """ + q = self._session.query(SpatialReferences) + if srsCodes: q.filter(SpatialReferences.SRSCode.in_(srsCodes)) + try: + return q.first() + except: + return None + + + # ################################################################################ + # Simulation + # ################################################################################ + + def getSimulations(self, name=None, actionid=None): + """ + getSimulations() + * Pass nothing - get a list of all model simuation objects + * Pass a SimulationName - get a single simulation object + * Pass an ActionID - get a single simulation object + + """ + s = self._session.query(Simulations) + if name: s = s.filter(Simulations.SimulationName.ilike(name)) + if actionid: s = s.filter_by(ActionID=actionid) + try: + return s.all() + except: + return None + + + + def getModels(self, codes=None): + m = self._session.query(Models) + if codes: m = m.filter(Models.ModelCode.in_(codes)) + try: + return m.all() + except: + return None + + def getRelatedModels(self, id=None, code=None): + """ + getRelatedModels() + * Pass a ModelID - get a list of model objects related to the model having ModelID + * Pass a ModelCode - get a list of model objects related to the model having ModeCode + :param id: + :type id: + :param code: + :type code: + :return: + :rtype: + """ +# cdoe from master +#+ # note this was RelatedModels.RelatedModelID == Models.ModelID which would return all Parent models of RelatedModelID +# + self._session.query(RelatedModels).filter_by(ModelID=modelid).all() +# + self._session.query(RelatedModels).join(Models, RelatedModels.ModelID == Models.ModelID).filter(Models.ModelCode == modelcode).all() + + m = self._session.query(Models).select_from(RelatedModels).join(RelatedModels.ModelObj) + if id: m = m.filter(RelatedModels.ModelID == id) + if code: m = m.filter(Models.ModelCode == code) + +#previous version of code + # m = self._session.query(Models).select_from(RelatedModels).join(RelatedModels.RelatedModelObj) + # if id: m = m.filter(RelatedModels.ModelID == id) + # if code: m = m.filter(RelatedModels.ModelCode == code) + +<<<<<<< HEAD + +======= + def getRelatedModelsByID(self, modelid): + """ + queries the ODM2 for any models that have a relationship with the provided model id + :param modelid: id of the model to search + :return: all models related to the specified id + """ + try: + return self._session.query(RelatedModels).filter_by(RelatedModelID=modelid).all() + except Exception as e: + print(e) + return None + + def getRelatedModelsByCode(self, modelcode): + """ + queries the ODM2 for any models that have a relationship with the provided model id + :param modelcode: the code of the model to search + :return: all models related to the provided model code + """ + try: + return self._session.query(RelatedModels).join(Models, RelatedModels.RelatedModelID == Models.ModelID) \ + .filter(Models.ModelCode == modelcode).all() + except Exception as e: + print(e) + return None +>>>>>>> origin/master + + try: +<<<<<<< HEAD + return m.all() + except Exception, e: + print e + return None +======= + return self._session.query(Results) \ + .join(FeatureActions) \ + .join(Actions) \ + .join(Simulations) \ + .filter(Simulations.SimulationID == simulationID).all() + except Exception as e: + print(e) + return None +>>>>>>> origin/master + + diff --git a/odm2api/ODMconnection.py b/odm2api/ODMconnection.py index 410f97b..ed57a9a 100644 --- a/odm2api/ODMconnection.py +++ b/odm2api/ODMconnection.py @@ -16,34 +16,7 @@ class SessionFactory(): def __init__(self, connection_string, echo=True, version = 1.1): if 'sqlite' in connection_string: - # from sqlite3 import dbapi2 as sqlite - # put the spatialite dll on the path. If one had pyspatialite installed thn - # this would not be required... but trying to get that on a windows machine - # was way too hard to bother - # dirDLLspatialite = 'C:/bin' - # os.environ['PATH'] = dirDLLspatialite + ';' + os.environ['PATH'] - - # #engine = create_engine('sqlite:///D:\\temp\\test_1.db', module=sqlite, echo=False) - # engine = create_engine(connection_string, module=sqlite, echo=False) - - # this enables the extension on each connection - # @event.listens_for(engine, "connect") - # def connect(dbapi_connection, connection_rec): - # dbapi_connection.enable_load_extension(True) - # dbapi_connection.execute("SELECT load_extension('libspatialite-4.dll')") - - #from pysqlite2 import dbapi2 as sqlite - #import pyspatialite.dpabi as sqlite - # self.engine = create_engine(connection_string, model = sqlite ,encoding='utf-8', echo=echo) - - # @event.listens_for(self.engine, "connect") - # def connect(dbapi_connection, connection_rec): - # dbapi_connection.enable_load_extension(True) - # dbapi_connection.execute("SELECT load_extension('{0}');".format("mod_spatialite")) - - # self.engine.execute("SELECT InitSpatialMetaData();")# - # self.engine.connect().connection.enable_load_extension(True) - # self.engine.execute("SELECT load_extension('mod_spatialite');")# + self.engine = create_engine(connection_string, encoding='utf-8', echo=echo) self.test_engine = self.engine @@ -169,37 +142,21 @@ def deleteConnection(self, conn_dict): # private variables ## ################### - # def __buildConnectionString(self, conn_dict): - # driver = "" - # if conn_dict['engine'] == 'mssql': - # driver = "pyodbc" - # elif conn_dict['engine'] == 'mysql': - # driver = "pymysql" - # elif conn_dict['engine'] == 'postgresql': - # driver = "psycopg2" - # else: - # driver = "None" - # - # conn_string = self._connection_format % ( - # conn_dict['engine'], driver, conn_dict['user'], conn_dict['password'], conn_dict['address'], - # conn_dict['db']) - # # print conn_string - # return conn_string def __buildConnectionString(self, conn_dict): # driver = "" # print "****", conn_dict if conn_dict['engine'] == 'mssql' and sys.platform != 'win32': driver = "pyodbc" - #'DRIVER={FreeTDS};DSN=%s;UID=%s;PWD=%s;' % (conn_dict['address'], conn_dict['user'], conn_dict['password']) - # quoted = urllib.quote_plus('DRIVER={FreeTDS};DSN=%s;UID=%s;PWD=%s;' % (conn_dict['address'], conn_dict['user'], conn_dict['password'])) - quoted = urllib.quote_plus('DRIVER={FreeTDS};DSN=%s;UID=%s;PWD=%s;DATABASE=%s' % - (conn_dict['address'], conn_dict['user'], conn_dict['password'],conn_dict['db'],)) + quoted = urllib.quote_plus('DRIVER={FreeTDS};DSN=%s;UID=%s;PWD=%s;' % (conn_dict['address'], conn_dict['user'], + conn_dict['password'])) + # quoted = urllib.quote_plus('DRIVER={FreeTDS};DSN=%s;UID=%s;PWD=%s;DATABASE=%s' % + # (conn_dict['address'], conn_dict['user'], conn_dict['password'],conn_dict['db'], + # )) conn_string = 'mssql+pyodbc:///?odbc_connect={}'.format(quoted) else: if conn_dict['engine'] == 'mssql': driver = "pyodbc" - #self._connection_format = "%s+%s://%s:%s@%s/%s?driver=SQL+Server+Native+Client+10.0" conn = "%s+%s://%s:%s@%s/%s?driver=SQL+Server" if "sqlncli11.dll" in os.listdir("C:\\Windows\\System32"): conn = "%s+%s://%s:%s@%s/%s?driver=SQL+Server+Native+Client+11.0" diff --git a/odm2api/base.py b/odm2api/base.py index d650720..f76ce2f 100644 --- a/odm2api/base.py +++ b/odm2api/base.py @@ -2,32 +2,6 @@ -from sqlalchemy.ext.declarative import declarative_base -# #from sqlalchemy import MetaData -# from .ODMconnection import SessionFactory - -#only one copy of class at a time -class Singleton(type): - _instances = {} - - def __call__(cls, *args, **kwargs): - if cls not in cls._instances: - cls._instances[cls] = super(Singleton, cls).__call__(*args, **kwargs) - #print "Singleton", cls._instances[cls] - return cls._instances[cls] - -#only one copy of class with a particular connection -class SingletonByConn(type): - _instances= {} - - def __call__(cls, *args, **kwargs): - conn= args[0].engine - if (cls, conn) not in cls._instances: - - cls._instances[(cls, conn)] = super(SingletonByConn, cls).__call__(*args, **kwargs) - #print "Singleton", cls._instances[cls] - return cls._instances[(cls, conn)] - class serviceBase(object): #__metaclass__ = SingletonByConn @@ -57,17 +31,31 @@ def getSession(self): return self._session + + + +from sqlalchemy.ext.declarative import declared_attr +class Base(object): + @declared_attr + def __tablename__(cls): + return cls.__name__.lower() + + __table_args__ = {u'schema': 'odm2'} + + def __init__(self, *args, **kwargs): + for name, value in kwargs.items(): setattr(self, name, value) + +from sqlalchemy.ext.declarative import declarative_base + + + class modelBase(): - Base = declarative_base() + Base = declarative_base(cls=Base) metadata = Base.metadata - ''' - metadata =MetaData(schema='odm2') - print "Schema:", metadata.schema - def __init__(self, schema): - self.metadata =MetaData(schema='odm2') - ''' + + diff --git a/tests/test_odm2/data/empty.sql b/tests/test_odm2/data/empty.sql index 88f0131..9a5dd1a 100644 --- a/tests/test_odm2/data/empty.sql +++ b/tests/test_odm2/data/empty.sql @@ -278,6 +278,7 @@ BEGIN TRANSACTION;CREATE TABLE ActionAnnotations ( SamplingFeatureDescription VARCHAR (500) NULL, SamplingFeatureGeotypeCV VARCHAR (255) NULL, FeatureGeometry geometry NULL, + FeatureGeometryWKT VARCHAR (50) NULL, Elevation_m FLOAT NULL, ElevationDatumCV VARCHAR (255) NULL, FOREIGN KEY (ElevationDatumCV) REFERENCES CV_ElevationDatum (Name) diff --git a/tests/test_odm2/data/populated.sql b/tests/test_odm2/data/populated.sql index 7377897..07a5ed3 100644 --- a/tests/test_odm2/data/populated.sql +++ b/tests/test_odm2/data/populated.sql @@ -330,6 +330,7 @@ CREATE TABLE SamplingFeatures ( SamplingFeatureDescription VARCHAR (500) NULL, SamplingFeatureGeotypeCV VARCHAR (255) NULL, FeatureGeometry geometry NULL, + FeatureGeometryWKT VARCHAR(50) NULL, Elevation_m FLOAT NULL, ElevationDatumCV VARCHAR (255) NULL, FOREIGN KEY (ElevationDatumCV) REFERENCES CV_ElevationDatum (Name) @@ -339,8 +340,8 @@ CREATE TABLE SamplingFeatures ( FOREIGN KEY (SamplingFeatureTypeCV) REFERENCES CV_SamplingFeatureType (Name) ON UPDATE NO ACTION ON DELETE NO ACTION ); -INSERT INTO "SamplingFeatures" VALUES(1,'1fe94bae-4524-11e5-b966-7831c1d1cf54','Site','LR_WaterLab_AA','Logan River at the Utah Water Research Laboratory west bridge',NULL,'Point','POINT (41.739034 -111.795742)',1414.0,'EGM96'); -INSERT INTO "SamplingFeatures" VALUES(2,'19b067c7-6a74-475d-8b7f-826b133cd91e','outlet','logan_river_outlet','logan watershed outlet','the outlet of the logan river watershed','point1d',X'0001000000006BD3D85E0BF25B40CF84268925DF44406BD3D85E0BF25B40CF84268925DF44407C010000006BD3D85E0BF25B40CF84268925DF4440FE',4680.0,'epsg:5702'); +INSERT INTO "SamplingFeatures" VALUES(1,'1fe94bae-4524-11e5-b966-7831c1d1cf54','Site','LR_WaterLab_AA','Logan River at the Utah Water Research Laboratory west bridge',NULL,'Point','POINT (41.739034 -111.795742)',NULL, 1414.0,'EGM96'); +INSERT INTO "SamplingFeatures" VALUES(2,'19b067c7-6a74-475d-8b7f-826b133cd91e','outlet','logan_river_outlet','logan watershed outlet','the outlet of the logan river watershed','point1d',X'0001000000006BD3D85E0BF25B40CF84268925DF44406BD3D85E0BF25B40CF84268925DF44407C010000006BD3D85E0BF25B40CF84268925DF4440FE',NULL, 4680.0,'epsg:5702'); CREATE TABLE TaxonomicClassifiers ( TaxonomicClassifierID INTEGER NOT NULL PRIMARY KEY, TaxonomicClassifierTypeCV VARCHAR (255) NOT NULL, diff --git a/tests/test_odm2/test_createservice.py b/tests/test_odm2/test_createservice.py index 6790d29..ba4f856 100644 --- a/tests/test_odm2/test_createservice.py +++ b/tests/test_odm2/test_createservice.py @@ -4,6 +4,7 @@ from odm2api.ODM2 import models from odm2api.ODMconnection import dbconnection from odm2api.ODM2.services.createService import CreateODM2 +import uuid # run this test from the root directory using: # python -m pytest tests/test_odm2/test_createservice.py @@ -63,8 +64,10 @@ def test_createVariable(self): nodv = -9999 speciation="mg/L as PO4" definition="This is a test variable" - self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=None,definition=None) - + v = models.Variables(VariableCode = code, VariableNameCV=name, VariableTypeCV=vType, NoDataValue= nodv, SpeciationCV = None, + VariableDefinition=None) + # self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=None,definition=None) + self.writer.createVariable(v) # assert that this dataset has been successfully inserted res = self.engine.execute('SELECT * from Variables WHERE VariableCode = "MyVar" ORDER BY VariableID DESC').first() assert(res is not None) @@ -75,7 +78,10 @@ def test_createVariable(self): assert(res[5] == None) # speciation assert(res[6] == nodv ) # nodata - self.writer.createVariable(code = code, name = name, vType = vType, nodv =nodv, speciation=speciation,definition=None) + v = models.Variables(VariableCode = code, VariableNameCV=name, VariableTypeCV=vType, NoDataValue= nodv, SpeciationCV = speciation, + VariableDefinition=None) + # self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=speciation,definition=None) + self.writer.createVariable(v) # assert that this dataset has been successfully inserted res = self.engine.execute('SELECT * from Variables WHERE VariableCode = "MyVar" ORDER BY VariableID DESC').first() @@ -87,8 +93,11 @@ def test_createVariable(self): assert(res[5] == speciation) # speciation assert(res[6] == nodv ) # nodata + v = models.Variables(VariableCode = code, VariableNameCV=name, VariableTypeCV=vType, NoDataValue= nodv, SpeciationCV = None, + VariableDefinition=definition) + # self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=None,definition=definition) + self.writer.createVariable(v) - self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=None,definition=definition) # assert that this dataset has been successfully inserted res = self.engine.execute('SELECT * from Variables WHERE VariableCode = "MyVar" ORDER BY VariableID DESC').first() @@ -101,7 +110,11 @@ def test_createVariable(self): assert(res[6] == nodv ) # nodata - self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=speciation,definition=definition) + v = models.Variables(VariableCode = code, VariableNameCV=name, VariableTypeCV=vType, NoDataValue= nodv, SpeciationCV = speciation, + VariableDefinition=definition) + # self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=speciation,definition=definition) + self.writer.createVariable(v) + # assert that this dataset has been successfully inserted res = self.engine.execute('SELECT * from Variables WHERE VariableCode = "MyVar" ORDER BY VariableID DESC').first() @@ -147,10 +160,14 @@ def test_createDataset(self): assert(len(res.fetchall()) == 0) # create a new dataset - dataset = self.writer.createDataset(dstype=type, - dscode=code, - dstitle=title, - dsabstract=desc) + # dataset = self.writer.createDataset(dstype=type, + # dscode=code, + # dstitle=title, + # dsabstract=desc) + + d = models.DataSets(DataSetTypeCV = type, DataSetCode =code, DataSetTitle=title, DataSetAbstract = desc, DataSetUUID = uuid.uuid4().hex) + dataset = self.writer.createDataset(d) + # assert that this dataset has been successfully inserted res = self.engine.execute('SELECT * from DataSets') @@ -169,27 +186,45 @@ def test_createActionBy(self): def test_createFeatureAction(self): pass - def test_createResult(self): - - # assert that there are no results - res = self.engine.execute('SELECT * FROM Results') - assert(len(res.fetchall()) == 0) - - # create a result record - self.writer.createResult(featureactionid = 1, - variableid = 1, - unitid = 1, - processinglevelid = 1, - valuecount = 0, - sampledmedium = 'unknown', - resulttypecv = 'time series', - taxonomicclass=None, resultdatetime=None, resultdatetimeutcoffset=None, - validdatetime=None, validdatetimeutcoffset=None, statuscv=None) - - - # assert that there are results - res = self.engine.execute('SELECT * FROM Results') - assert(len(res.fetchall()) == 1) + # def test_createResult(self): + # + # # assert that there are no results + # res = self.engine.execute('SELECT * FROM Results') + # assert(len(res.fetchall()) == 0) + # + # # create a result record + # # self.writer.createResult(featureactionid = 1, + # # variableid = 1, + # # unitid = 1, + # # processinglevelid = 1, + # # valuecount = 0, + # # sampledmedium = 'unknown', + # # resulttypecv = 'time series', + # # taxonomicclass=None, resultdatetime=None, resultdatetimeutcoffset=None, + # # validdatetime=None, validdatetimeutcoffset=None, statuscv=None) + # + # r = models.Results(FeatureActionID = 1, + # VariableID=1, + # UnitsID =1, + # ProcessingLevelID = 1, + # ValueCount = 0, + # SampledMediumCV = 'unknown', + # ResultTypeCV = 'time series', + # TaxonomicClassifierID = None, + # ResultDateTime = None, + # ResultDateTimeUTCOffset = None, + # ValidDateTime=None, + # ValidDateTimeUTCOffset = None, + # StatusCV = None, + # ResultUUID = uuid.uuid4().hex + # + # ) + # self.writer.createResult(r) + # + # + # # assert that there are results + # res = self.engine.execute('SELECT * FROM Results') + # assert(len(res.fetchall()) == 1) def test_createTimeSeriesResult(self): @@ -197,20 +232,27 @@ def test_createTimeSeriesResult(self): res = self.engine.execute('SELECT * FROM TimeSeriesResults').first() assert(res is None) - # create a result record if it doesnt exist (required to test foriegn key relationship) - result = self.engine.execute('SELECT * FROM Results').first() - if result is None: - # create a basic result record - self.writer.createResult(featureactionid = 1,variableid = 1,unitid = 1,processinglevelid = 1, - valuecount = 0,sampledmedium = 'unknown',resulttypecv = 'time series') - result = self.engine.execute('SELECT * FROM Results').first() - assert(result is not None) - # create most basic time series result record possible - tsr = self.writer.createTimeSeriesResult(result=result, aggregationstatistic='unknown') + r = models.TimeSeriesResults(FeatureActionID = 1, + VariableID=1, + UnitsID =1, + ProcessingLevelID = 1, + ValueCount = 0, + SampledMediumCV = 'unknown', + ResultTypeCV = 'time series', + ResultUUID = uuid.uuid4().hex, + AggregationStatisticCV = 'unknown' + + + + ) + self.writer.createResult(r) + result = self.engine.execute('SELECT * FROM Results').first() + assert(result is not None) + - # assert that this basic tsr exists in the datbase + # assert that this basic tsr exists in the database res = self.engine.execute('SELECT * FROM TimeSeriesResults').first() assert(res is not None) @@ -250,17 +292,30 @@ def test_createSimulation(self): # create a new simulation st = datetime.datetime(2016,1,1) et = datetime.datetime(2016,1,25) - dataset = self.writer.createSimulation( actionid = 1, - modelID=1, - simulationName= 'MySimulation', - simulationDescription = 'My simulation description', - simulationStartDateTime = st, - simulationStartOffset = 6, - simulationEndDateTime = et, - simulationEndOffset = 6, - timeStepValue = 1, - timeStepUnitID = 1, - inputDatasetID=None) + # sim = self.writer.createSimulation( actionid = 1, + # modelID=1, + # simulationName= 'MySimulation', + # simulationDescription = 'My simulation description', + # simulationStartDateTime = st, + # simulationStartOffset = 6, + # simulationEndDateTime = et, + # simulationEndOffset = 6, + # timeStepValue = 1, + # timeStepUnitID = 1, + # inputDatasetID=None) + s = models.Simulations(ActionID = 1, + SimulationName ="MySimulation", + SimulationDescription = "My simulation description", + SimulationStartDateTime = st, + SimulationStartDateTimeUTCOffset=6, + SimulationEndDateTime=et, + SimulationEndDateTimeUTCOffset=6, + TimeStepValue=1, + TimeStepUnitsID=1, + InputDataSetID=None, + ModelID = 1 + ) + sim = self.writer.createSimulation(s) # assert that this record has been successfully inserted res = self.engine.execute('SELECT * from Simulations') diff --git a/tests/test_odm2/test_readservice.py b/tests/test_odm2/test_readservice.py index da0216f..3c3d393 100644 --- a/tests/test_odm2/test_readservice.py +++ b/tests/test_odm2/test_readservice.py @@ -76,7 +76,30 @@ def setup(self): self.db = globals['db'] +# ################################################################################ +# Sampling Features +# ################################################################################ + + def test_getAllSamplingFeatures(self): + + # get all models from the database + res = self.engine.execute('SELECT * FROM SamplingFeatures').fetchall() + + # get all simulations using the api + resapi = self.reader.getSamplingFeatures() + + assert len(res) == len(resapi) + def test_getSamplingFeatureByID(self): + + # get all models from the database + res = self.engine.execute('SELECT * FROM SamplingFeatures').fetchone() + sfid=res[0] + + # get all simulations using the api + resapi = self.reader.getSamplingFeatures(ids = [sfid]) + + assert resapi is not None # ################################################################################ # Models @@ -98,7 +121,7 @@ def test_getAllModels(self): res = self.engine.execute('SELECT * FROM Models').fetchall() # get all simulations using the api - resapi = self.reader.getAllModels() + resapi = self.reader.getModels() assert len(res) == len(resapi) @@ -110,7 +133,7 @@ def test_getModelByCode(self): # get the model using the api - resapi = self.reader.getModelByCode(modelcode=modelCode) + resapi = self.reader.getModels(codes=[modelCode]) assert resapi is not None @@ -134,30 +157,78 @@ def test_getModelByCode(self): def test_getRelatedModelsByID(self): # get related models by id using the api - resapi = self.reader.getRelatedModelsByID(2) + # resapi = self.reader.getRelatedModelsByID(2) + resapi = self.reader.getRelatedModels(id = 2) assert resapi is not None - assert resapi[0].ModelObj.ModelCode == 'swat' + assert resapi[0].ModelCode == 'swat' def test_getRelatedModelsByCode(self): # get related models by id using the api - resapi = self.reader.getRelatedModelsByCode('swmm') + #resapi = self.reader.getRelatedModelsByCode('swmm') + resapi = self.reader.getRelatedModels(code = 'swmm') assert resapi is not None assert len(resapi) > 0 - assert resapi[0].ModelObj.ModelCode == 'swat' + assert resapi[0].ModelCode == 'swat' # test model code that doesn't exist - resapi = self.reader.getRelatedModelsByCode('None') + # resapi = self.reader.getRelatedModelsByCode('None') + resapi= self.reader.getRelatedModels(code = 'None') + assert resapi is not None assert len(resapi) == 0 # test invalid argument - resapi = self.reader.getRelatedModelsByCode(models.ActionBy) + # resapi = self.reader.getRelatedModelsByCode(models.ActionBy) + resapi = self.reader.getRelatedModels(code = models.ActionBy) assert resapi is None +# ################################################################################ +# Results +# ################################################################################ + """ + TABLE Results ( + ResultID INTEGER NOT NULL PRIMARY KEY, + ResultUUID VARCHAR(36) NOT NULL, + FeatureActionID INTEGER NOT NULL, + ResultTypeCV VARCHAR (255) NOT NULL, + VariableID INTEGER NOT NULL, + UnitsID INTEGER NOT NULL, + TaxonomicClassifierID INTEGER NULL, + ProcessingLevelID INTEGER NOT NULL, + ResultDateTime DATETIME NULL, + ResultDateTimeUTCOffset INTEGER NULL, + ValidDateTime DATETIME NULL, + ValidDateTimeUTCOffset INTEGER NULL, + StatusCV VARCHAR (255) NULL, + SampledMediumCV VARCHAR (255) NOT NULL, + ValueCount INTEGER NOT NULL + """ + def test_getAllResults(self): + + # get all results from the database + res = self.engine.execute('SELECT * FROM Results').fetchall() + print res + # get all results using the api + resapi = self.reader.getResults() + + assert len(res) == len(resapi) + + def test_getResultsByID(self): + + # get a result from the database + res = self.engine.execute('SELECT * FROM Results').fetchone() + resultid = res[1] + + + # get the result using the api + resapi = self.reader.getResults(ids=[resultid]) + + assert resapi is not None + # ################################################################################ # Simulations # ################################################################################ @@ -184,8 +255,8 @@ def test_getAllSimulations(self): res = self.engine.execute('SELECT * FROM Simulations').fetchall() # get all simulations using the api - resapi = self.reader.getAllSimulations() - + # resapi = self.reader.getAllSimulations() + resapi = self.reader.getSimulations() assert len(res) == len(resapi) def test_getSimulationByName(self): @@ -195,7 +266,8 @@ def test_getSimulationByName(self): simName = res[2] # get simulation by name using the api - resapi = self.reader.getSimulationByName(simulationName=simName) + # resapi = self.reader.getSimulationByName(simulationName=simName) + resapi = self.reader.getSimulations(name = simName) assert resapi is not None def test_getSimulationByActionID(self): @@ -205,7 +277,8 @@ def test_getSimulationByActionID(self): actionID = res[1] # get simulation by actionid using the api - resapi = self.reader.getSimulationByActionID(actionID=actionID) + # resapi = self.reader.getSimulationByActionID(actionID=actionID) + resapi = self.reader.getSimulations(actionid=actionID) assert resapi is not None def test_getResultsBySimulationID(self): @@ -225,7 +298,9 @@ def test_getResultsBySimulationID(self): print res # get simulation by id using the api - resapi = self.reader.getResultsBySimulationID(simulation.SimulationID) + # resapi = self.reader.getResultsBySimulationID(simulation.SimulationID) + resapi = self.reader.getResults(simulationid = simulation.SimulationID) + assert resapi is not None assert len(resapi) > 0 assert res.ResultID == resapi[0].ResultID diff --git a/tests/usecasesql/littlebearriver/sampledatabases/odm2_ms_sql_server/LBR_ODM2_MSSQLDump.sql b/tests/usecasesql/littlebearriver/sampledatabases/odm2_ms_sql_server/LBR_ODM2_MSSQLDump.sql index 90bbc55..e07fba6 100644 Binary files a/tests/usecasesql/littlebearriver/sampledatabases/odm2_ms_sql_server/LBR_ODM2_MSSQLDump.sql and b/tests/usecasesql/littlebearriver/sampledatabases/odm2_ms_sql_server/LBR_ODM2_MSSQLDump.sql differ diff --git a/tests/usecasesql/littlebearriver/sampledatabases/odm2_mysql/LBR_MySQL_SmallExample.sql b/tests/usecasesql/littlebearriver/sampledatabases/odm2_mysql/LBR_MySQL_SmallExample.sql index 73dfc59..dbb5b8c 100644 --- a/tests/usecasesql/littlebearriver/sampledatabases/odm2_mysql/LBR_MySQL_SmallExample.sql +++ b/tests/usecasesql/littlebearriver/sampledatabases/odm2_mysql/LBR_MySQL_SmallExample.sql @@ -2916,6 +2916,7 @@ CREATE TABLE `SamplingFeatures` ( `SamplingFeatureDescription` varchar(500) DEFAULT NULL, `SamplingFeatureGeotypeCV` varchar(255) DEFAULT NULL, `FeatureGeometry` geometry DEFAULT NULL, + `FeatureGeometryWKT` varchar(50) DEFAULT NULL, `Elevation_m` double DEFAULT NULL, `ElevationDatumCV` varchar(255) DEFAULT NULL, PRIMARY KEY (`SamplingFeatureID`), @@ -2934,7 +2935,7 @@ CREATE TABLE `SamplingFeatures` ( -- /*!40000 ALTER TABLE `SamplingFeatures` DISABLE KEYS */; -INSERT INTO `SamplingFeatures` VALUES (1,'68D74A4B-FD6E-E511-9449-6C4008BF018F','Site','USU-LBR-Mendon','Little Bear River at Mendon Road near Mendon, Utah','Located below county road bridge at Mendon Road crossing','Point','\0\0\0\0\0\0\0ž·±Ù‘ü[ÀŽ[ìöÛD@',1345,'NGVD29'),(14,'69D74A4B-FD6E-E511-9449-6C4008BF018F','Site','USU-LBR-SFWeather','Little Bear River South Fork Weather Station near Avon, Utah','This is a continuous weather station.','Point','\0\0\0\0\0\0\08gDioô[À+ö—Ý“¿D@',1601,'NGVD29'),(15,'C7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/13 TDP E',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(16,'C8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/13 TP E',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(17,'C9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/21 TDP G',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(18,'CAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/21 TP G',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(19,'CBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8355',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(20,'CCD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8469',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(21,'CDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8594',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(22,'CED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8719',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(23,'CFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9113',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(24,'D0D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9184',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(25,'D1D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9393',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(26,'D2D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9506',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(27,'D3D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-0:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(28,'D4D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(29,'D5D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-13:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(30,'D6D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-19:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(31,'D7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-21:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(32,'D8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-3:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(33,'D9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-3:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(34,'DAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-5:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(35,'DBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-6:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(36,'DCD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020907-PAR-14:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(37,'DDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020907-PAR-6:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(38,'DED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020907-PAR-9:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(39,'DFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-0:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(40,'E0D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-11:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(41,'E1D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-12:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(42,'E2D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-13:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(43,'E3D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-16:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(44,'E4D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(45,'E5D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-18:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(46,'E6D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-2:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(47,'E7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-20:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(48,'E8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-22:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(49,'E9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-6:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(50,'EAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-9:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(51,'EBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030106-PAR-20:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(52,'ECD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030106-PAR-21:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(53,'EDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030206-PAR-12:16-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(54,'EED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030206-PAR-21:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(55,'EFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030306-PAR-11:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(56,'F0D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030306-PAR-22:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(57,'F1D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030406-PAR-13:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(58,'F2D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030406-PAR-13:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(59,'F3D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030506-PAR-12:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(60,'F4D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030506-PAR-18:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(61,'F5D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(62,'F6D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-10:55-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(63,'F7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(64,'F8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-20:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(65,'F9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-12:16-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(66,'FAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-14:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(67,'FBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-15:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(68,'FCD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-17:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(69,'FDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(70,'FED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-20:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(71,'FFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-21:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(72,'00D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-21:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(73,'01D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-4:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(74,'02D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-9:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(75,'03D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-0:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(76,'04D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(77,'05D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-15:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(78,'06D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(79,'07D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-3:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(80,'08D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-5:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(81,'09D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-6:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(82,'0AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-6:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(83,'0BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-7:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(84,'0CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031007-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(85,'0DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031007-PAR-14:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(86,'0ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031007-PAR-9:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(87,'0FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-12:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(88,'10D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-15:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(89,'11D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(90,'12D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(91,'13D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-22:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(92,'14D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-7:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(93,'15D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031706-PAR-11:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(94,'16D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031806-PAR-12:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(95,'17D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031806-PAR-13:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(96,'18D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031906-PAR-10:55-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(97,'19D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(98,'1AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(99,'1BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-13:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(100,'1CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(101,'1DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-19:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(102,'1ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-19:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(103,'1FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-2:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(104,'20D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-21:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(105,'21D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-6:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(106,'22D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-12:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(107,'23D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-13:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(108,'24D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-14:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(109,'25D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-14:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(110,'26D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(111,'27D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-21:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(112,'28D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-14:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(113,'29D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-15:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(114,'2AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-16:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(115,'2BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-16:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(116,'2CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-17:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(117,'2DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-17:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(118,'2ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-18:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(119,'2FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-18:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(120,'30D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-19:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(121,'31D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-2:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(122,'32D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-21:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(123,'33D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-4:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(124,'34D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-4:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(125,'35D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-8:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(126,'36D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-9:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(127,'37D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-0:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(128,'38D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-0:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(129,'39D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(130,'3AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(131,'3BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-16:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(132,'3CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(133,'3DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-23:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(134,'3ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-7:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(135,'3FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-9:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(136,'40D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-10:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(137,'41D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-12:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(138,'42D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-13:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(139,'43D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-2:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(140,'44D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-20:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(141,'45D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-21:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(142,'46D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-22:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(143,'47D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-23:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(144,'48D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-5:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(145,'49D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-5:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(146,'4AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-7:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(147,'4BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-9:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(148,'4CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032807-PAR-12:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(149,'4DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032807-PAR-18:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(150,'4ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032807-PAR-5:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(151,'4FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-0:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(152,'50D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(153,'51D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(154,'52D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-11:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(155,'53D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-14:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(156,'54D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-14:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(157,'55D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-15:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(158,'56D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-16:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(159,'57D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(160,'58D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(161,'59D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(162,'5AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(163,'5BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-2:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(164,'5CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-20:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(165,'5DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-20:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(166,'5ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-21:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(167,'5FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-21:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(168,'60D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-21:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(169,'61D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-4:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(170,'62D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-4:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(171,'63D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-5:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(172,'64D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-0:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(173,'65D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-10:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(174,'66D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-11:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(175,'67D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-12:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(176,'68D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-14:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(177,'69D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-14:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(178,'6AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-16:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(179,'6BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-18:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(180,'6CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-20:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(181,'6DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-21:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(182,'6ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-3:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(183,'6FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-6:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(184,'70D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-7:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(185,'71D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-8:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(186,'72D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-9:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(187,'73D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-11:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(188,'74D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-13:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(189,'75D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(190,'76D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-2:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(191,'77D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-21:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(192,'78D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-4:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(193,'79D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-0:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(194,'7AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-0:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(195,'7BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-0:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(196,'7CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(197,'7DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-10:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(198,'7ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-10:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(199,'7FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-11:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(200,'80D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-11:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(201,'81D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-12:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(202,'82D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-13:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(203,'83D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-14:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(204,'84D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-15:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(205,'85D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(206,'86D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-18:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(207,'87D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-19:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(208,'88D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-20:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(209,'89D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-21:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(210,'8AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-21:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(211,'8BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-21:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(212,'8CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-22:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(213,'8DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-3:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(214,'8ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-3:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(215,'8FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-4:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(216,'90D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-4:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(217,'91D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-5:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(218,'92D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-6:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(219,'93D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-6:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(220,'94D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-7:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(221,'95D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-8:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(222,'96D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-9:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(223,'97D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-0:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(224,'98D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-0:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(225,'99D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(226,'9AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-19:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(227,'9BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-20:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(228,'9CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-22:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(229,'9DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-3:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(230,'9ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-3:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(231,'9FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-6:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(232,'A0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041406-PAR-3:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(233,'A1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041406-PAR-6:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(234,'A2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041406-PAR-9:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(235,'A3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-10:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(236,'A4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-11:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(237,'A5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-11:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(238,'A6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-12:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(239,'A7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-12:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(240,'A8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-13:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(241,'A9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-13:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(242,'AAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-21:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(243,'ABD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-3:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(244,'ACD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-6:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(245,'ADD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-7:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(246,'AED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-8:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(247,'AFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP051905-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(248,'B0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-19:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(249,'B1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(250,'B2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-21:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(251,'B3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-7:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(252,'B4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-9:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(253,'B5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-0:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(254,'B6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-13:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(255,'B7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-14:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(256,'B8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-15:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(257,'B9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-15:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(258,'BAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(259,'BBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-19:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(260,'BCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-20:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(261,'BDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-4:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(262,'BED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-6:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(263,'BFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-8:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(264,'C0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-9:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(265,'C1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-10:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(266,'C2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-12:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(267,'C3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-14:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(268,'C4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-15:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(269,'C5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-16:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(270,'C6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(271,'C7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-18:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(272,'C8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-19:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(273,'C9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-22:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(274,'CAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-22:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(275,'CBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-3:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(276,'CCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-5:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(277,'CDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-6:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(278,'CED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-6:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(279,'CFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-6:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(280,'D0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-0:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(281,'D1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(282,'D2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-12:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(283,'D3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-18:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(284,'D4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-2:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(285,'D5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-21:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(286,'D6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-21:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(287,'D7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-6:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(288,'D8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-7:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(289,'D9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081605-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(290,'DAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(291,'DBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(292,'DCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-23:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(293,'DDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-5:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(294,'DED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-0:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(295,'DFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-0:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(296,'E0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-0:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(297,'E1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-14:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(298,'E2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-15:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(299,'E3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-16:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(300,'E4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-18:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(301,'E5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-19:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(302,'E6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-2:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(303,'E7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(304,'E8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-20:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(305,'E9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-22:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(306,'EAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-4:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(307,'EBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-4:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(308,'ECD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-6:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(309,'EDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-8:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(310,'EED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-9:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(311,'EFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-9:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(312,'F0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-0:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(313,'F1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(314,'F2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-16:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(315,'F3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-18:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(316,'F4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-3:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(317,'F5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-6:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(318,'F6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-6:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(319,'F7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-7:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(320,'F8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-9:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(321,'F9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-11:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(322,'FAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-12:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(323,'FBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-12:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(324,'FCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-12:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(325,'FDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-13:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(326,'FED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(327,'FFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-15:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(328,'00D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(329,'01D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-18:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(330,'02D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-15:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(331,'03D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-18:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(332,'04D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-19:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(333,'05D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-9:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(334,'06D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(335,'07D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(336,'08D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(337,'09D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(338,'0AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-1:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(339,'0BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-1:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(340,'0CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-10:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(341,'0DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-11:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(342,'0ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-11:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(343,'0FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-11:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(344,'10D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-12:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(345,'11D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-13:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(346,'12D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-14:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(347,'13D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-14:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(348,'14D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-15:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(349,'15D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-15:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(350,'16D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-15:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(351,'17D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-18:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(352,'18D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-19:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(353,'19D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-2:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(354,'1AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-2:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(355,'1BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-2:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(356,'1CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-20:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(357,'1DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-20:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(358,'1ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-21:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(359,'1FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-21:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(360,'20D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-21:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(361,'21D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(362,'22D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(363,'23D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(364,'24D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(365,'25D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(366,'26D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(367,'27D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(368,'28D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(369,'29D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-3:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(370,'2AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-3:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(371,'2BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(372,'2CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(373,'2DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(374,'2ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(375,'2FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-5:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(376,'30D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-5:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(377,'31D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-5:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(378,'32D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-6:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(379,'33D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-6:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(380,'34D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-7:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(381,'35D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-7:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(382,'36D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-7:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(383,'37D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-8:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(384,'38D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-8:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(385,'39D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-9:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(386,'3AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-9:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(387,'3BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-0:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(388,'3CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-1:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(389,'3DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-10:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(390,'3ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-10:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(391,'3FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-11:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(392,'40D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-11:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(393,'41D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-11:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(394,'42D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-12:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(395,'43D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-12:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(396,'44D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-13:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(397,'45D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-13:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(398,'46D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-14:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(399,'47D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-14:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(400,'48D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-15:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(401,'49D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-15:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(402,'4AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-16:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(403,'4BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-16:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(404,'4CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-17:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(405,'4DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-17:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(406,'4ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-17:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(407,'4FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-18:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(408,'50D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-18:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(409,'51D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-18:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(410,'52D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-19:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(411,'53D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-2:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(412,'54D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-20:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(413,'55D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-3:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(414,'56D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-4:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(415,'57D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-5:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(416,'58D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-6:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(417,'59D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-7:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(418,'5AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-7:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(419,'5BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-8:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(420,'5CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-8:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(421,'5DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-9:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(422,'5ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-9:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(423,'5FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-11:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(424,'60D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-12:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(425,'61D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-13:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(426,'62D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-14:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(427,'63D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-19:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(428,'64D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-19:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(429,'65D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-20:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(430,'66D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-20:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(431,'67D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-21:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(432,'68D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(433,'69D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-11:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(434,'6AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-12:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(435,'6BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-12:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(436,'6CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-13:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(437,'6DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-13:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(438,'6ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-14:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(439,'6FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(440,'70D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-15:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(441,'71D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-15:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(442,'72D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-16:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(443,'73D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-16:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(444,'74D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-17:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(445,'75D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-17:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(446,'76D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(447,'77D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(448,'78D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(449,'79D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(450,'7AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-19:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(451,'7BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-19:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(452,'7CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(453,'7DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-20:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(454,'7ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-20:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(455,'7FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-22:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(456,'80D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G01008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(457,'81D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(458,'82D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(459,'83D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(460,'84D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010609-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(461,'85D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010609-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(462,'86D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010609-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(463,'87D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(464,'88D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(465,'89D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(466,'8AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(467,'8BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G012209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(468,'8CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G012209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(469,'8DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G012209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(470,'8ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(471,'8FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(472,'90D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(473,'91D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(474,'92D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(475,'93D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(476,'94D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(477,'95D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(478,'96D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(479,'97D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(480,'98D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(481,'99D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(482,'9AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(483,'9BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(484,'9CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(485,'9DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(486,'9ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(487,'9FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G022808-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(488,'A0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G022808-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(489,'A1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G022808-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(490,'A2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(491,'A3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(492,'A4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(493,'A5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(494,'A6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(495,'A7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(496,'A8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(497,'A9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(498,'AAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(499,'ABD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(500,'ACD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(501,'ADD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(502,'AED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(503,'AFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(504,'B0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-F-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(505,'B1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(506,'B2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(507,'B3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(508,'B4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(509,'B5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(510,'B6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032709-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(511,'B7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032709-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(512,'B8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032709-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(513,'B9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(514,'BAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(515,'BBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(516,'BCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(517,'BDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(518,'BED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(519,'BFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(520,'C0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040809-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(521,'C1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040809-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(522,'C2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040809-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(523,'C3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(524,'C4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(525,'C5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041008-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(526,'C6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(527,'C7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(528,'C8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(529,'C9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041609-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(530,'CAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041609-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(531,'CBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041609-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(532,'CCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(533,'CDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(534,'CED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(535,'CFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(536,'D0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(537,'D1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(538,'D2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(539,'D3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(540,'D4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(541,'D5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(542,'D6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(543,'D7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(544,'D8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050108-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(545,'D9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050108-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(546,'DAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050108-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(547,'DBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(548,'DCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(549,'DDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(550,'DED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(551,'DFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(552,'E0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(553,'E1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(554,'E2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(555,'E3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(556,'E4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051508-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(557,'E5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051508-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(558,'E6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051508-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(559,'E7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(560,'E8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(561,'E9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(562,'EAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(563,'EBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(564,'ECD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(565,'EDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(566,'EED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(567,'EFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052809-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(568,'F0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052809-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(569,'F1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052809-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(570,'F2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(571,'F3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(572,'F4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(573,'F5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(574,'F6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060409-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(575,'F7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060409-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(576,'F8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060409-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(577,'F9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(578,'FAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(579,'FBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(580,'FCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(581,'FDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(582,'FED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(583,'FFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(584,'00DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(585,'01DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(586,'02DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(587,'03DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(588,'04DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(589,'05DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(590,'06DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(591,'07DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(592,'08DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(593,'09DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(594,'0ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(595,'0BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(596,'0CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(597,'0DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(598,'0EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(599,'0FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(600,'10DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(601,'11DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(602,'12DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(603,'13DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(604,'14DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(605,'15DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(606,'16DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(607,'17DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(608,'18DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(609,'19DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(610,'1ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072309-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(611,'1BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072309-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(612,'1CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072309-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(613,'1DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072508-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(614,'1EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072508-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(615,'1FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072508-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(616,'20DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(617,'21DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(618,'22DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(619,'23DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(620,'24DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(621,'25DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(622,'26DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082009-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(623,'27DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082009-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(624,'28DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082009-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(625,'29DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(626,'2ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-F-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(627,'2BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(628,'2CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(629,'2DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(630,'2EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(631,'2FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(632,'30DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(633,'31DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(634,'32DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(635,'33DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(636,'34DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(637,'35DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(638,'36DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(639,'37DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(640,'38DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(641,'39DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(642,'3ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(643,'3BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(644,'3CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(645,'3DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(646,'3EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(647,'3FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G100109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(648,'40DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G100109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(649,'41DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G100109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(650,'42DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(651,'43DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(652,'44DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(653,'45DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(654,'46DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(655,'47DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(656,'48DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(657,'49DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(658,'4ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(659,'4BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(660,'4CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(661,'4DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(662,'4EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(663,'4FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(664,'50DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(665,'51DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(666,'52DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(667,'53DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(668,'54DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(669,'55DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(670,'56DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(671,'57DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(672,'58DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(673,'59DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(674,'5ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(675,'5BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(676,'5CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(677,'5DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G112409-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(678,'5EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G112409-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(679,'5FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G112409-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(680,'60DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(681,'61DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(682,'62DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(683,'63DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120507-MEN-TDP',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(684,'64DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120507-MEN-TP',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(685,'65DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120507-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(686,'66DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121009-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(687,'67DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121009-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(688,'68DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121009-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(689,'69DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121808-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(690,'6ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121808-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(691,'6BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121808-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(692,'6CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G122007-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(693,'6DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G122007-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(694,'6EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G122007-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(695,'6FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4509 #5 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(696,'70DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4509 #6 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(697,'71DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4579 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(698,'72DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4579 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(699,'73DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4655 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(700,'74DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4655 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(701,'75DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4736 Mendon Filtered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(702,'76DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4736 Mendon Unfiltered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(703,'77DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4855 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(704,'78DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4855 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(705,'79DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4924 J Filtered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(706,'7ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4924 J Unfiltered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(707,'7BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon B Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(708,'7CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon B Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(709,'7DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon C Filtered -D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(710,'7EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon C Unfiltered -D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(711,'7FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-5112 P Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL),(712,'80DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-5112 P Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL); +INSERT INTO `SamplingFeatures` VALUES (1,'68D74A4B-FD6E-E511-9449-6C4008BF018F','Site','USU-LBR-Mendon','Little Bear River at Mendon Road near Mendon, Utah','Located below county road bridge at Mendon Road crossing','Point','\0\0\0\0\0\0\0ž·±Ù‘ü[ÀŽ[ìöÛD@',NULL, 1345,'NGVD29'),(14,'69D74A4B-FD6E-E511-9449-6C4008BF018F','Site','USU-LBR-SFWeather','Little Bear River South Fork Weather Station near Avon, Utah','This is a continuous weather station.','Point','\0\0\0\0\0\0\08gDioô[À+ö—Ý“¿D@',NULL, 1601,'NGVD29'),(15,'C7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/13 TDP E',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(16,'C8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/13 TP E',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(17,'C9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/21 TDP G',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(18,'CAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','11/21 TP G',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(19,'CBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8355',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(20,'CCD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8469',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(21,'CDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8594',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(22,'CED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','8719',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(23,'CFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9113',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(24,'D0D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9184',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(25,'D1D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9393',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(26,'D2D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','9506',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(27,'D3D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-0:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(28,'D4D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(29,'D5D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-13:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(30,'D6D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-19:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(31,'D7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-21:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(32,'D8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-3:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(33,'D9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-3:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(34,'DAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-5:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(35,'DBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020807-PAR-6:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(36,'DCD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020907-PAR-14:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(37,'DDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020907-PAR-6:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(38,'DED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP020907-PAR-9:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(39,'DFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-0:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(40,'E0D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-11:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(41,'E1D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-12:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(42,'E2D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-13:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(43,'E3D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-16:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(44,'E4D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(45,'E5D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-18:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(46,'E6D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-2:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(47,'E7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-20:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(48,'E8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-22:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(49,'E9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-6:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(50,'EAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP021607-PAR-9:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(51,'EBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030106-PAR-20:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(52,'ECD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030106-PAR-21:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(53,'EDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030206-PAR-12:16-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(54,'EED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030206-PAR-21:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(55,'EFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030306-PAR-11:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(56,'F0D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030306-PAR-22:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(57,'F1D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030406-PAR-13:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(58,'F2D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030406-PAR-13:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(59,'F3D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030506-PAR-12:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(60,'F4D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030506-PAR-18:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(61,'F5D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(62,'F6D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-10:55-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(63,'F7D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(64,'F8D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030606-PAR-20:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(65,'F9D74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-12:16-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(66,'FAD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-14:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(67,'FBD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-15:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(68,'FCD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-17:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(69,'FDD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(70,'FED74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-20:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(71,'FFD74A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-21:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(72,'00D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-21:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(73,'01D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-4:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(74,'02D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030706-PAR-9:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(75,'03D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-0:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(76,'04D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(77,'05D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-15:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(78,'06D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(79,'07D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-3:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(80,'08D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-5:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(81,'09D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-6:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(82,'0AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-6:43-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(83,'0BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP030907-PAR-7:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(84,'0CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031007-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(85,'0DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031007-PAR-14:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(86,'0ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031007-PAR-9:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(87,'0FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-12:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(88,'10D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-15:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(89,'11D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(90,'12D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(91,'13D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-22:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(92,'14D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031307-PAR-7:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(93,'15D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031706-PAR-11:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(94,'16D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031806-PAR-12:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(95,'17D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031806-PAR-13:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(96,'18D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP031906-PAR-10:55-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(97,'19D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(98,'1AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(99,'1BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-13:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(100,'1CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(101,'1DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-19:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(102,'1ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-19:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(103,'1FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-2:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(104,'20D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-21:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(105,'21D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032007-PAR-6:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(106,'22D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-12:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(107,'23D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-13:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(108,'24D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-14:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(109,'25D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-14:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(110,'26D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(111,'27D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032506-PAR-21:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(112,'28D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-14:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(113,'29D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-15:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(114,'2AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-16:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(115,'2BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-16:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(116,'2CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-17:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(117,'2DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-17:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(118,'2ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-18:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(119,'2FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-18:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(120,'30D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-19:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(121,'31D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-2:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(122,'32D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-21:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(123,'33D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-4:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(124,'34D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-4:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(125,'35D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-8:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(126,'36D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032606-PAR-9:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(127,'37D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-0:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(128,'38D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-0:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(129,'39D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(130,'3AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(131,'3BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-16:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(132,'3CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(133,'3DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-23:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(134,'3ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-7:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(135,'3FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032707-PAR-9:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(136,'40D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-10:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(137,'41D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-12:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(138,'42D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-13:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(139,'43D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-2:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(140,'44D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-20:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(141,'45D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-21:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(142,'46D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-22:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(143,'47D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-23:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(144,'48D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-5:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(145,'49D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-5:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(146,'4AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-7:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(147,'4BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032806-PAR-9:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(148,'4CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032807-PAR-12:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(149,'4DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032807-PAR-18:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(150,'4ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032807-PAR-5:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(151,'4FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-0:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(152,'50D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(153,'51D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(154,'52D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-11:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(155,'53D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-14:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(156,'54D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-14:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(157,'55D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-15:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(158,'56D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-16:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(159,'57D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(160,'58D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(161,'59D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(162,'5AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-18:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(163,'5BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-2:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(164,'5CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-20:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(165,'5DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-20:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(166,'5ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-21:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(167,'5FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-21:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(168,'60D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-21:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(169,'61D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-4:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(170,'62D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-4:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(171,'63D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP032906-PAR-5:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(172,'64D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-0:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(173,'65D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-10:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(174,'66D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-11:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(175,'67D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-12:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(176,'68D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-14:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(177,'69D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-14:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(178,'6AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-16:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(179,'6BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-18:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(180,'6CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-20:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(181,'6DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-21:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(182,'6ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-3:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(183,'6FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-6:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(184,'70D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-7:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(185,'71D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-8:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(186,'72D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP033006-PAR-9:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(187,'73D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-11:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(188,'74D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-13:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(189,'75D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-18:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(190,'76D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-2:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(191,'77D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-21:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(192,'78D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040406-PAR-4:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(193,'79D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-0:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(194,'7AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-0:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(195,'7BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-0:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(196,'7CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-10:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(197,'7DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-10:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(198,'7ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-10:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(199,'7FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-11:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(200,'80D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-11:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(201,'81D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-12:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(202,'82D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-13:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(203,'83D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-14:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(204,'84D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-15:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(205,'85D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(206,'86D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-18:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(207,'87D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-19:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(208,'88D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-20:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(209,'89D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-21:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(210,'8AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-21:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(211,'8BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-21:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(212,'8CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-22:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(213,'8DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-3:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(214,'8ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-3:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(215,'8FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-4:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(216,'90D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-4:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(217,'91D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-5:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(218,'92D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-6:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(219,'93D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-6:45-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(220,'94D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-7:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(221,'95D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-8:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(222,'96D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040506-PAR-9:50-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(223,'97D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-0:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(224,'98D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-0:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(225,'99D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-10:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(226,'9AD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-19:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(227,'9BD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-20:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(228,'9CD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-22:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(229,'9DD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-3:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(230,'9ED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-3:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(231,'9FD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP040606-PAR-6:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(232,'A0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041406-PAR-3:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(233,'A1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041406-PAR-6:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(234,'A2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041406-PAR-9:15-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(235,'A3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-10:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(236,'A4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-11:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(237,'A5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-11:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(238,'A6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-12:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(239,'A7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-12:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(240,'A8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-13:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(241,'A9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-13:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(242,'AAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-21:45-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(243,'ABD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-3:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(244,'ACD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-6:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(245,'ADD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-7:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(246,'AED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP041506-PAR-8:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(247,'AFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP051905-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(248,'B0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-19:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(249,'B1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-19:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(250,'B2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-21:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(251,'B3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-7:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(252,'B4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP052005-PAR-9:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(253,'B5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-0:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(254,'B6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-13:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(255,'B7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-14:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(256,'B8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-15:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(257,'B9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-15:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(258,'BAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-18:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(259,'BBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-19:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(260,'BCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-20:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(261,'BDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-4:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(262,'BED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-6:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(263,'BFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-8:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(264,'C0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP060707-PAR-9:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(265,'C1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-10:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(266,'C2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-12:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(267,'C3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-14:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(268,'C4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-15:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(269,'C5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-16:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(270,'C6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(271,'C7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-18:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(272,'C8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-19:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(273,'C9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-22:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(274,'CAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-22:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(275,'CBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-3:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(276,'CCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-5:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(277,'CDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-6:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(278,'CED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-6:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(279,'CFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072506-PAR-6:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(280,'D0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-0:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(281,'D1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(282,'D2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-12:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(283,'D3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-18:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(284,'D4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-2:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(285,'D5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-21:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(286,'D6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-21:45-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(287,'D7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-6:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(288,'D8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP072606-PAR-7:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(289,'D9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081605-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(290,'DAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(291,'DBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(292,'DCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-23:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(293,'DDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP081705-PAR-5:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(294,'DED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-0:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(295,'DFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-0:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(296,'E0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-0:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(297,'E1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-14:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(298,'E2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-15:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(299,'E3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-16:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(300,'E4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-18:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(301,'E5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-19:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(302,'E6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-2:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(303,'E7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(304,'E8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-20:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(305,'E9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-22:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(306,'EAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-4:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(307,'EBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-4:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(308,'ECD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-6:43-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(309,'EDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-8:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(310,'EED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-9:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(311,'EFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP100405-PAR-9:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(312,'F0D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-0:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(313,'F1D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(314,'F2D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-16:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(315,'F3D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-18:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(316,'F4D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-3:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(317,'F5D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-6:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(318,'F6D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-6:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(319,'F7D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-7:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(320,'F8D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP101906-PAR-9:15-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(321,'F9D84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-11:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(322,'FAD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-12:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(323,'FBD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-12:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(324,'FCD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-12:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(325,'FDD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-13:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(326,'FED84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(327,'FFD84A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-15:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(328,'00D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(329,'01D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102006-PAR-18:15-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(330,'02D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-15:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(331,'03D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-18:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(332,'04D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-19:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(333,'05D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102705-PAR-9:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(334,'06D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(335,'07D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(336,'08D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(337,'09D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-0:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(338,'0AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-1:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(339,'0BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-1:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(340,'0CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-10:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(341,'0DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-11:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(342,'0ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-11:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(343,'0FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-11:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(344,'10D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-12:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(345,'11D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-13:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(346,'12D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-14:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(347,'13D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-14:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(348,'14D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-15:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(349,'15D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-15:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(350,'16D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-15:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(351,'17D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-18:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(352,'18D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-19:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(353,'19D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-2:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(354,'1AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-2:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(355,'1BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-2:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(356,'1CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-20:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(357,'1DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-20:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(358,'1ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-21:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(359,'1FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-21:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(360,'20D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-21:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(361,'21D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(362,'22D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(363,'23D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(364,'24D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-22:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(365,'25D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(366,'26D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(367,'27D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(368,'28D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-23:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(369,'29D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-3:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(370,'2AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-3:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(371,'2BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:00-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(372,'2CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(373,'2DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(374,'2ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-4:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(375,'2FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-5:00-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(376,'30D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-5:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(377,'31D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-5:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(378,'32D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-6:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(379,'33D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-6:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(380,'34D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-7:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(381,'35D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-7:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(382,'36D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-7:50-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(383,'37D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-8:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(384,'38D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-8:30-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(385,'39D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-9:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(386,'3AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102805-PAR-9:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(387,'3BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-0:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(388,'3CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-1:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(389,'3DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-10:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(390,'3ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-10:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(391,'3FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-11:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(392,'40D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-11:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(393,'41D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-11:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(394,'42D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-12:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(395,'43D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-12:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(396,'44D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-13:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(397,'45D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-13:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(398,'46D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-14:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(399,'47D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-14:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(400,'48D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-15:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(401,'49D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-15:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(402,'4AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-16:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(403,'4BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-16:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(404,'4CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-17:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(405,'4DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-17:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(406,'4ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-17:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(407,'4FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-18:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(408,'50D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-18:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(409,'51D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-18:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(410,'52D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-19:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(411,'53D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-2:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(412,'54D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-20:40-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(413,'55D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-3:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(414,'56D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-4:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(415,'57D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-5:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(416,'58D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-6:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(417,'59D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-7:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(418,'5AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-7:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(419,'5BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-8:30-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(420,'5CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-8:30-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(421,'5DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-9:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(422,'5ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP102905-PAR-9:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(423,'5FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-11:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(424,'60D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-12:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(425,'61D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-13:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(426,'62D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-14:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(427,'63D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-19:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(428,'64D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-19:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(429,'65D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-20:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(430,'66D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-20:40-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(431,'67D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111305-PAR-21:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(432,'68D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-10:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(433,'69D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-11:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(434,'6AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-12:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(435,'6BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-12:20-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(436,'6CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-13:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(437,'6DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-13:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(438,'6ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-14:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(439,'6FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-15:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(440,'70D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-15:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(441,'71D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-15:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(442,'72D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-16:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(443,'73D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-16:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(444,'74D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-17:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(445,'75D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-17:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(446,'76D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(447,'77D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(448,'78D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(449,'79D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-18:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(450,'7AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-19:20-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(451,'7BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-19:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(452,'7CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-20:00-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(453,'7DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-20:40-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(454,'7ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-20:50-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(455,'7FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','CEAP111405-PAR-22:20-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(456,'80D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G01008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(457,'81D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(458,'82D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(459,'83D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(460,'84D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010609-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(461,'85D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010609-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(462,'86D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G010609-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(463,'87D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(464,'88D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(465,'89D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(466,'8AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G011708-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(467,'8BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G012209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(468,'8CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G012209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(469,'8DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G012209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(470,'8ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(471,'8FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(472,'90D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(473,'91D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(474,'92D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G013108-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(475,'93D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(476,'94D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(477,'95D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(478,'96D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G020509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(479,'97D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(480,'98D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(481,'99D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(482,'9AD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021208-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(483,'9BD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(484,'9CD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(485,'9DD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(486,'9ED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G021909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(487,'9FD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G022808-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(488,'A0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G022808-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(489,'A1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G022808-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(490,'A2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(491,'A3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(492,'A4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(493,'A5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030509-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(494,'A6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(495,'A7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(496,'A8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G030608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(497,'A9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(498,'AAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(499,'ABD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(500,'ACD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(501,'ADD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(502,'AED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G031909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(503,'AFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(504,'B0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-F-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(505,'B1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(506,'B2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(507,'B3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(508,'B4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(509,'B5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(510,'B6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032709-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(511,'B7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032709-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(512,'B8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G032709-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(513,'B9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(514,'BAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(515,'BBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(516,'BCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(517,'BDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(518,'BED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(519,'BFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(520,'C0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040809-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(521,'C1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040809-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(522,'C2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G040809-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(523,'C3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(524,'C4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(525,'C5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041008-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(526,'C6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(527,'C7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(528,'C8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(529,'C9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041609-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(530,'CAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041609-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(531,'CBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G041609-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(532,'CCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(533,'CDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(534,'CED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(535,'CFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042309-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(536,'D0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(537,'D1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(538,'D2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G042408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(539,'D3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(540,'D4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(541,'D5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(542,'D6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(543,'D7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G043009-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(544,'D8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050108-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(545,'D9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050108-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(546,'DAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050108-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(547,'DBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(548,'DCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(549,'DDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(550,'DED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(551,'DFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(552,'E0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G050708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(553,'E1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(554,'E2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(555,'E3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(556,'E4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051508-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(557,'E5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051508-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(558,'E6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G051508-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(559,'E7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(560,'E8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(561,'E9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(562,'EAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(563,'EBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(564,'ECD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(565,'EDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(566,'EED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052308-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(567,'EFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052809-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(568,'F0D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052809-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(569,'F1D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052809-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(570,'F2D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(571,'F3D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(572,'F4D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(573,'F5D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G052908-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(574,'F6D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060409-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(575,'F7D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060409-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(576,'F8D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060409-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(577,'F9D94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(578,'FAD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(579,'FBD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G060608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(580,'FCD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(581,'FDD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(582,'FED94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(583,'FFD94A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(584,'00DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(585,'01DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(586,'02DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(587,'03DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(588,'04DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(589,'05DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061709-MEN-U-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(590,'06DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(591,'07DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(592,'08DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(593,'09DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G061908-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(594,'0ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(595,'0BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(596,'0CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(597,'0DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(598,'0EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(599,'0FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G062608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(600,'10DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070308-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(601,'11DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070308-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(602,'12DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070308-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(603,'13DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(604,'14DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(605,'15DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G070909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(606,'16DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(607,'17DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(608,'18DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(609,'19DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G071008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(610,'1ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072309-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(611,'1BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072309-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(612,'1CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072309-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(613,'1DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072508-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(614,'1EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072508-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(615,'1FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G072508-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(616,'20DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(617,'21DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(618,'22DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(619,'23DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(620,'24DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(621,'25DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G080509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(622,'26DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082009-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(623,'27DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082009-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(624,'28DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082009-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(625,'29DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(626,'2ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-F-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(627,'2BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(628,'2CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(629,'2DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G082108-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(630,'2EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(631,'2FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(632,'30DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(633,'31DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G090209-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(634,'32DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(635,'33DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(636,'34DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(637,'35DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091208-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(638,'36DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(639,'37DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(640,'38DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(641,'39DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(642,'3ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G091709-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(643,'3BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(644,'3CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(645,'3DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(646,'3EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G092608-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(647,'3FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G100109-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(648,'40DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G100109-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(649,'41DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G100109-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(650,'42DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(651,'43DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(652,'44DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(653,'45DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101008-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(654,'46DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(655,'47DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(656,'48DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(657,'49DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G101509-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(658,'4ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(659,'4BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(660,'4CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(661,'4DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102909-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(662,'4EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102909-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(663,'4FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G102909-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(664,'50DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(665,'51DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(666,'52DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(667,'53DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(668,'54DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G110708-MEN-U-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(669,'55DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111209-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(670,'56DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111209-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(671,'57DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111209-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(672,'58DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(673,'59DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-F-D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(674,'5ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(675,'5BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-TSS-R',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(676,'5CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G111708-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(677,'5DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G112409-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(678,'5EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G112409-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(679,'5FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G112409-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(680,'60DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120408-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(681,'61DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120408-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(682,'62DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120408-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(683,'63DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120507-MEN-TDP',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(684,'64DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120507-MEN-TP',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(685,'65DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G120507-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(686,'66DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121009-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(687,'67DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121009-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(688,'68DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121009-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(689,'69DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121808-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(690,'6ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121808-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(691,'6BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G121808-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(692,'6CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G122007-MEN-F',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(693,'6DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G122007-MEN-TSS',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(694,'6EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','G122007-MEN-U',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(695,'6FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4509 #5 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(696,'70DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4509 #6 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(697,'71DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4579 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(698,'72DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4579 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(699,'73DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4655 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(700,'74DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4655 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(701,'75DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4736 Mendon Filtered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(702,'76DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4736 Mendon Unfiltered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(703,'77DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4855 Mendon Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(704,'78DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4855 Mendon Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(705,'79DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4924 J Filtered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(706,'7ADA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4924 J Unfiltered ',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(707,'7BDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon B Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(708,'7CDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon B Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(709,'7DDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon C Filtered -D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(710,'7EDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-4988 Mendon C Unfiltered -D',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(711,'7FDA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-5112 P Filtered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL),(712,'80DA4A4B-FD6E-E511-9449-6C4008BF018F','Specimen','L07-5112 P Unfiltered',NULL,'Specimen loaded from an ODM 1.1.1 database.','Not applicable',NULL,NULL,NULL,NULL); /*!40000 ALTER TABLE `SamplingFeatures` ENABLE KEYS */; -- diff --git a/tests/usecasesql/marchantariats/marchantariats.sql b/tests/usecasesql/marchantariats/marchantariats.sql index ae77737..2795a3b 100644 --- a/tests/usecasesql/marchantariats/marchantariats.sql +++ b/tests/usecasesql/marchantariats/marchantariats.sql @@ -1709,6 +1709,7 @@ CREATE TABLE samplingfeatures ( samplingfeaturedescription character varying(500), samplingfeaturegeotypecv character varying(255), featuregeometry public.geometry, + featuregeometrywkt character varying(50), elevation_m double precision, elevationdatumcv character varying(255), CONSTRAINT enforce_dims_featuregeometry CHECK ((public.st_ndims(featuregeometry) = 2)) @@ -1828,7 +1829,7 @@ CREATE VIEW mappings_results_fine_particulates AS -- -- TOC entry 386 (class 1259 OID 70923) --- Name: measurementresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: measurementresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE measurementresults ( @@ -1850,7 +1851,7 @@ CREATE TABLE measurementresults ( -- -- TOC entry 219 (class 1259 OID 70024) --- Name: measurementresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: measurementresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE measurementresultvalueannotations ( @@ -1884,7 +1885,7 @@ ALTER SEQUENCE measurementresultvalueannotations_bridgeid_seq OWNED BY measureme -- -- TOC entry 388 (class 1259 OID 70933) --- Name: measurementresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: measurementresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE measurementresultvalues ( @@ -1920,7 +1921,7 @@ ALTER SEQUENCE measurementresultvalues_valueid_seq OWNED BY measurementresultval -- -- TOC entry 221 (class 1259 OID 70032) --- Name: methodannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: methodannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE methodannotations ( @@ -1954,7 +1955,7 @@ ALTER SEQUENCE methodannotations_bridgeid_seq OWNED BY methodannotations.bridgei -- -- TOC entry 373 (class 1259 OID 70867) --- Name: methodcitations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: methodcitations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE methodcitations ( @@ -1989,7 +1990,7 @@ ALTER SEQUENCE methodcitations_bridgeid_seq OWNED BY methodcitations.bridgeid; -- -- TOC entry 335 (class 1259 OID 70680) --- Name: methodextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: methodextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE methodextensionpropertyvalues ( @@ -2024,7 +2025,7 @@ ALTER SEQUENCE methodextensionpropertyvalues_bridgeid_seq OWNED BY methodextensi -- -- TOC entry 346 (class 1259 OID 70731) --- Name: methodexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: methodexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE methodexternalidentifiers ( @@ -2060,7 +2061,7 @@ ALTER SEQUENCE methodexternalidentifiers_bridgeid_seq OWNED BY methodexternalide -- -- TOC entry 253 (class 1259 OID 70172) --- Name: methods; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: methods; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE methods ( @@ -2098,7 +2099,7 @@ ALTER SEQUENCE methods_methodid_seq OWNED BY methods.methodid; -- -- TOC entry 420 (class 1259 OID 71098) --- Name: modelaffiliations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: modelaffiliations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE modelaffiliations ( @@ -2134,7 +2135,7 @@ ALTER SEQUENCE modelaffiliations_bridgeid_seq OWNED BY modelaffiliations.bridgei -- -- TOC entry 422 (class 1259 OID 71109) --- Name: models; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: models; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE models ( @@ -2171,7 +2172,7 @@ ALTER SEQUENCE models_modelid_seq OWNED BY models.modelid; -- -- TOC entry 255 (class 1259 OID 70183) --- Name: organizations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: organizations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE organizations ( @@ -2209,7 +2210,7 @@ ALTER SEQUENCE organizations_organizationid_seq OWNED BY organizations.organizat -- -- TOC entry 257 (class 1259 OID 70194) --- Name: people; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: people; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE people ( @@ -2244,7 +2245,7 @@ ALTER SEQUENCE people_personid_seq OWNED BY people.personid; -- -- TOC entry 348 (class 1259 OID 70742) --- Name: personexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: personexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE personexternalidentifiers ( @@ -2280,7 +2281,7 @@ ALTER SEQUENCE personexternalidentifiers_bridgeid_seq OWNED BY personexternalide -- -- TOC entry 389 (class 1259 OID 70939) --- Name: pointcoverageresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: pointcoverageresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE pointcoverageresults ( @@ -2300,7 +2301,7 @@ CREATE TABLE pointcoverageresults ( -- -- TOC entry 223 (class 1259 OID 70040) --- Name: pointcoverageresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: pointcoverageresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE pointcoverageresultvalueannotations ( @@ -2334,7 +2335,7 @@ ALTER SEQUENCE pointcoverageresultvalueannotations_bridgeid_seq OWNED BY pointco -- -- TOC entry 391 (class 1259 OID 70946) --- Name: pointcoverageresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: pointcoverageresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE pointcoverageresultvalues ( @@ -2376,7 +2377,7 @@ ALTER SEQUENCE pointcoverageresultvalues_valueid_seq OWNED BY pointcoverageresul -- -- TOC entry 259 (class 1259 OID 70205) --- Name: processinglevels; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: processinglevels; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE processinglevels ( @@ -2411,7 +2412,7 @@ ALTER SEQUENCE processinglevels_processinglevelid_seq OWNED BY processinglevels. -- -- TOC entry 392 (class 1259 OID 70955) --- Name: profileresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: profileresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE profileresults ( @@ -2431,7 +2432,7 @@ CREATE TABLE profileresults ( -- -- TOC entry 225 (class 1259 OID 70048) --- Name: profileresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: profileresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE profileresultvalueannotations ( @@ -2465,7 +2466,7 @@ ALTER SEQUENCE profileresultvalueannotations_bridgeid_seq OWNED BY profileresult -- -- TOC entry 394 (class 1259 OID 70962) --- Name: profileresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: profileresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE profileresultvalues ( @@ -2508,7 +2509,7 @@ ALTER SEQUENCE profileresultvalues_valueid_seq OWNED BY profileresultvalues.valu -- -- TOC entry 350 (class 1259 OID 70753) --- Name: referencematerialexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: referencematerialexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE referencematerialexternalidentifiers ( @@ -2544,7 +2545,7 @@ ALTER SEQUENCE referencematerialexternalidentifiers_bridgeid_seq OWNED BY refere -- -- TOC entry 301 (class 1259 OID 70514) --- Name: referencematerials; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: referencematerials; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE referencematerials ( @@ -2562,7 +2563,7 @@ CREATE TABLE referencematerials ( -- -- TOC entry 302 (class 1259 OID 70522) --- Name: referencematerialvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: referencematerialvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE referencematerialvalues ( @@ -2578,7 +2579,7 @@ CREATE TABLE referencematerialvalues ( -- -- TOC entry 261 (class 1259 OID 70216) --- Name: relatedactions; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedactions; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relatedactions ( @@ -2613,7 +2614,7 @@ ALTER SEQUENCE relatedactions_relationid_seq OWNED BY relatedactions.relationid; -- -- TOC entry 375 (class 1259 OID 70875) --- Name: relatedannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relatedannotations ( @@ -2648,7 +2649,7 @@ ALTER SEQUENCE relatedannotations_relationid_seq OWNED BY relatedannotations.rel -- -- TOC entry 377 (class 1259 OID 70883) --- Name: relatedcitations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedcitations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relatedcitations ( @@ -2683,7 +2684,7 @@ ALTER SEQUENCE relatedcitations_relationid_seq OWNED BY relatedcitations.relatio -- -- TOC entry 379 (class 1259 OID 70891) --- Name: relateddatasets; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relateddatasets; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relateddatasets ( @@ -2719,7 +2720,7 @@ ALTER SEQUENCE relateddatasets_relationid_seq OWNED BY relateddatasets.relationi -- -- TOC entry 327 (class 1259 OID 70645) --- Name: relatedequipment; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedequipment; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relatedequipment ( @@ -2758,7 +2759,7 @@ ALTER SEQUENCE relatedequipment_relationid_seq OWNED BY relatedequipment.relatio -- -- TOC entry 411 (class 1259 OID 71053) --- Name: relatedfeatures; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedfeatures; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relatedfeatures ( @@ -2794,7 +2795,7 @@ ALTER SEQUENCE relatedfeatures_relationid_seq OWNED BY relatedfeatures.relationi -- -- TOC entry 424 (class 1259 OID 71120) --- Name: relatedmodels; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedmodels; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relatedmodels ( @@ -2829,7 +2830,7 @@ ALTER SEQUENCE relatedmodels_relatedid_seq OWNED BY relatedmodels.relatedid; -- -- TOC entry 381 (class 1259 OID 70899) --- Name: relatedresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE relatedresults ( @@ -2866,7 +2867,7 @@ ALTER SEQUENCE relatedresults_relationid_seq OWNED BY relatedresults.relationid; -- -- TOC entry 227 (class 1259 OID 70056) --- Name: resultannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: resultannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE resultannotations ( @@ -2902,7 +2903,7 @@ ALTER SEQUENCE resultannotations_bridgeid_seq OWNED BY resultannotations.bridgei -- -- TOC entry 382 (class 1259 OID 70905) --- Name: resultderivationequations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: resultderivationequations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE resultderivationequations ( @@ -2913,7 +2914,7 @@ CREATE TABLE resultderivationequations ( -- -- TOC entry 337 (class 1259 OID 70688) --- Name: resultextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: resultextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE resultextensionpropertyvalues ( @@ -2948,7 +2949,7 @@ ALTER SEQUENCE resultextensionpropertyvalues_bridgeid_seq OWNED BY resultextensi -- -- TOC entry 303 (class 1259 OID 70527) --- Name: resultnormalizationvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: resultnormalizationvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE resultnormalizationvalues ( @@ -2959,7 +2960,7 @@ CREATE TABLE resultnormalizationvalues ( -- -- TOC entry 263 (class 1259 OID 70224) --- Name: results; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: results; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE results ( @@ -3005,7 +3006,7 @@ ALTER SEQUENCE results_resultid_seq OWNED BY results.resultid; -- -- TOC entry 305 (class 1259 OID 70534) --- Name: resultsdataquality; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: resultsdataquality; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE resultsdataquality ( @@ -3039,7 +3040,7 @@ ALTER SEQUENCE resultsdataquality_bridgeid_seq OWNED BY resultsdataquality.bridg -- -- TOC entry 229 (class 1259 OID 70064) --- Name: samplingfeatureannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: samplingfeatureannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE samplingfeatureannotations ( @@ -3073,7 +3074,7 @@ ALTER SEQUENCE samplingfeatureannotations_bridgeid_seq OWNED BY samplingfeaturea -- -- TOC entry 339 (class 1259 OID 70696) --- Name: samplingfeatureextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: samplingfeatureextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE samplingfeatureextensionpropertyvalues ( @@ -3108,7 +3109,7 @@ ALTER SEQUENCE samplingfeatureextensionpropertyvalues_bridgeid_seq OWNED BY samp -- -- TOC entry 352 (class 1259 OID 70764) --- Name: samplingfeatureexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: samplingfeatureexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE samplingfeatureexternalidentifiers ( @@ -3166,7 +3167,7 @@ ALTER SEQUENCE samplingfeatures_samplingfeatureid_seq OWNED BY samplingfeatures. -- -- TOC entry 395 (class 1259 OID 70971) --- Name: sectionresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: sectionresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE sectionresults ( @@ -3186,7 +3187,7 @@ CREATE TABLE sectionresults ( -- -- TOC entry 231 (class 1259 OID 70072) --- Name: sectionresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: sectionresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE sectionresultvalueannotations ( @@ -3220,7 +3221,7 @@ ALTER SEQUENCE sectionresultvalueannotations_bridgeid_seq OWNED BY sectionresult -- -- TOC entry 397 (class 1259 OID 70978) --- Name: sectionresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: sectionresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE sectionresultvalues ( @@ -3267,7 +3268,7 @@ ALTER SEQUENCE sectionresultvalues_valueid_seq OWNED BY sectionresultvalues.valu -- -- TOC entry 426 (class 1259 OID 71128) --- Name: simulations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: simulations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE simulations ( @@ -3310,7 +3311,7 @@ ALTER SEQUENCE simulations_simulationid_seq OWNED BY simulations.simulationid; -- -- TOC entry 412 (class 1259 OID 71059) --- Name: sites; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: sites; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE sites ( @@ -3324,7 +3325,7 @@ CREATE TABLE sites ( -- -- TOC entry 413 (class 1259 OID 71064) --- Name: spatialoffsets; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: spatialoffsets; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE spatialoffsets ( @@ -3341,7 +3342,7 @@ CREATE TABLE spatialoffsets ( -- -- TOC entry 354 (class 1259 OID 70775) --- Name: spatialreferenceexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: spatialreferenceexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE spatialreferenceexternalidentifiers ( @@ -3377,7 +3378,7 @@ ALTER SEQUENCE spatialreferenceexternalidentifiers_bridgeid_seq OWNED BY spatial -- -- TOC entry 415 (class 1259 OID 71071) --- Name: spatialreferences; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: spatialreferences; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE spatialreferences ( @@ -3439,7 +3440,7 @@ CREATE VIEW specimen_site_sf AS -- -- TOC entry 363 (class 1259 OID 70825) --- Name: specimenbatchpostions; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: specimenbatchpostions; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE specimenbatchpostions ( @@ -3451,7 +3452,7 @@ CREATE TABLE specimenbatchpostions ( -- -- TOC entry 416 (class 1259 OID 71080) --- Name: specimens; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: specimens; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE specimens ( @@ -3464,7 +3465,7 @@ CREATE TABLE specimens ( -- -- TOC entry 418 (class 1259 OID 71090) --- Name: specimentaxonomicclassifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: specimentaxonomicclassifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE specimentaxonomicclassifiers ( @@ -3499,7 +3500,7 @@ ALTER SEQUENCE specimentaxonomicclassifiers_bridgeid_seq OWNED BY specimentaxono -- -- TOC entry 398 (class 1259 OID 70987) --- Name: spectraresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: spectraresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE spectraresults ( @@ -3519,7 +3520,7 @@ CREATE TABLE spectraresults ( -- -- TOC entry 233 (class 1259 OID 70080) --- Name: spectraresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: spectraresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE spectraresultvalueannotations ( @@ -3553,7 +3554,7 @@ ALTER SEQUENCE spectraresultvalueannotations_bridgeid_seq OWNED BY spectraresult -- -- TOC entry 400 (class 1259 OID 70994) --- Name: spectraresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: spectraresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE spectraresultvalues ( @@ -3596,7 +3597,7 @@ ALTER SEQUENCE spectraresultvalues_valueid_seq OWNED BY spectraresultvalues.valu -- -- TOC entry 356 (class 1259 OID 70786) --- Name: taxonomicclassifierexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: taxonomicclassifierexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE taxonomicclassifierexternalidentifiers ( @@ -3632,7 +3633,7 @@ ALTER SEQUENCE taxonomicclassifierexternalidentifiers_bridgeid_seq OWNED BY taxo -- -- TOC entry 266 (class 1259 OID 70244) --- Name: taxonomicclassifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: taxonomicclassifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE taxonomicclassifiers ( @@ -3647,7 +3648,7 @@ CREATE TABLE taxonomicclassifiers ( -- -- TOC entry 401 (class 1259 OID 71003) --- Name: timeseriesresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: timeseriesresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE timeseriesresults ( @@ -3667,7 +3668,7 @@ CREATE TABLE timeseriesresults ( -- -- TOC entry 235 (class 1259 OID 70088) --- Name: timeseriesresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: timeseriesresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE timeseriesresultvalueannotations ( @@ -3701,7 +3702,7 @@ ALTER SEQUENCE timeseriesresultvalueannotations_bridgeid_seq OWNED BY timeseries -- -- TOC entry 403 (class 1259 OID 71010) --- Name: timeseriesresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: timeseriesresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE timeseriesresultvalues ( @@ -3741,7 +3742,7 @@ ALTER SEQUENCE timeseriesresultvalues_valueid_seq OWNED BY timeseriesresultvalue -- -- TOC entry 404 (class 1259 OID 71019) --- Name: trajectoryresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: trajectoryresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE trajectoryresults ( @@ -3757,7 +3758,7 @@ CREATE TABLE trajectoryresults ( -- -- TOC entry 237 (class 1259 OID 70096) --- Name: trajectoryresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: trajectoryresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE trajectoryresultvalueannotations ( @@ -3791,7 +3792,7 @@ ALTER SEQUENCE trajectoryresultvalueannotations_bridgeid_seq OWNED BY trajectory -- -- TOC entry 406 (class 1259 OID 71026) --- Name: trajectoryresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: trajectoryresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE trajectoryresultvalues ( @@ -3840,7 +3841,7 @@ ALTER SEQUENCE trajectoryresultvalues_valueid_seq OWNED BY trajectoryresultvalue -- -- TOC entry 407 (class 1259 OID 71035) --- Name: transectresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: transectresults; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE transectresults ( @@ -3858,7 +3859,7 @@ CREATE TABLE transectresults ( -- -- TOC entry 239 (class 1259 OID 70104) --- Name: transectresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: transectresultvalueannotations; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE transectresultvalueannotations ( @@ -3892,7 +3893,7 @@ ALTER SEQUENCE transectresultvalueannotations_bridgeid_seq OWNED BY transectresu -- -- TOC entry 409 (class 1259 OID 71042) --- Name: transectresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: transectresultvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE transectresultvalues ( @@ -3940,7 +3941,7 @@ ALTER SEQUENCE transectresultvalues_valueid_seq OWNED BY transectresultvalues.va -- -- TOC entry 268 (class 1259 OID 70254) --- Name: units; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: units; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE units ( @@ -3976,7 +3977,7 @@ ALTER SEQUENCE units_unitsid_seq OWNED BY units.unitsid; -- -- TOC entry 341 (class 1259 OID 70704) --- Name: variableextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: variableextensionpropertyvalues; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE variableextensionpropertyvalues ( @@ -4011,7 +4012,7 @@ ALTER SEQUENCE variableextensionpropertyvalues_bridgeid_seq OWNED BY variableext -- -- TOC entry 358 (class 1259 OID 70797) --- Name: variableexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: variableexternalidentifiers; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE variableexternalidentifiers ( @@ -4047,7 +4048,7 @@ ALTER SEQUENCE variableexternalidentifiers_bridgeid_seq OWNED BY variableexterna -- -- TOC entry 270 (class 1259 OID 70265) --- Name: variables; Type: TABLE; Schema: odm2; Owner: -; Tablespace: +-- Name: variables; Type: TABLE; Schema: odm2; Owner: -; Tablespace: -- CREATE TABLE variables ( @@ -20697,7 +20698,7 @@ SET search_path = odm2, pg_catalog; -- -- TOC entry 4069 (class 2606 OID 69994) --- Name: actionannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: actionannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY actionannotations @@ -20706,7 +20707,7 @@ ALTER TABLE ONLY actionannotations -- -- TOC entry 4099 (class 2606 OID 70120) --- Name: actionby_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: actionby_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY actionby @@ -20715,7 +20716,7 @@ ALTER TABLE ONLY actionby -- -- TOC entry 4256 (class 2606 OID 70813) --- Name: actiondirectives_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: actiondirectives_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY actiondirectives @@ -20724,7 +20725,7 @@ ALTER TABLE ONLY actiondirectives -- -- TOC entry 4224 (class 2606 OID 70658) --- Name: actionextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: actionextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY actionextensionpropertyvalues @@ -20733,7 +20734,7 @@ ALTER TABLE ONLY actionextensionpropertyvalues -- -- TOC entry 4101 (class 2606 OID 70131) --- Name: actions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: actions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY actions @@ -20742,7 +20743,7 @@ ALTER TABLE ONLY actions -- -- TOC entry 4103 (class 2606 OID 70142) --- Name: affiliations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: affiliations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY affiliations @@ -20751,7 +20752,7 @@ ALTER TABLE ONLY affiliations -- -- TOC entry 4071 (class 2606 OID 70005) --- Name: annotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: annotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY annotations @@ -20760,7 +20761,7 @@ ALTER TABLE ONLY annotations -- -- TOC entry 4262 (class 2606 OID 70837) --- Name: authorlists_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: authorlists_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY authorlists @@ -20769,7 +20770,7 @@ ALTER TABLE ONLY authorlists -- -- TOC entry 4200 (class 2606 OID 70544) --- Name: calibrationactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: calibrationactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY calibrationactions @@ -20778,7 +20779,7 @@ ALTER TABLE ONLY calibrationactions -- -- TOC entry 4202 (class 2606 OID 70552) --- Name: calibrationreferenceequipment_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: calibrationreferenceequipment_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY calibrationreferenceequipment @@ -20787,7 +20788,7 @@ ALTER TABLE ONLY calibrationreferenceequipment -- -- TOC entry 4204 (class 2606 OID 70560) --- Name: calibrationstandards_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: calibrationstandards_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY calibrationstandards @@ -20796,7 +20797,7 @@ ALTER TABLE ONLY calibrationstandards -- -- TOC entry 4282 (class 2606 OID 70914) --- Name: categoricalresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: categoricalresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY categoricalresults @@ -20805,7 +20806,7 @@ ALTER TABLE ONLY categoricalresults -- -- TOC entry 4073 (class 2606 OID 70013) --- Name: categoricalresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: categoricalresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY categoricalresultvalueannotations @@ -20814,7 +20815,7 @@ ALTER TABLE ONLY categoricalresultvalueannotations -- -- TOC entry 4284 (class 2606 OID 70922) --- Name: categoricalresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: categoricalresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY categoricalresultvalues @@ -20823,7 +20824,7 @@ ALTER TABLE ONLY categoricalresultvalues -- -- TOC entry 4226 (class 2606 OID 70666) --- Name: citationextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: citationextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY citationextensionpropertyvalues @@ -20832,7 +20833,7 @@ ALTER TABLE ONLY citationextensionpropertyvalues -- -- TOC entry 4238 (class 2606 OID 70720) --- Name: citationexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: citationexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY citationexternalidentifiers @@ -20841,7 +20842,7 @@ ALTER TABLE ONLY citationexternalidentifiers -- -- TOC entry 4264 (class 2606 OID 70848) --- Name: citations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: citations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY citations @@ -20850,7 +20851,7 @@ ALTER TABLE ONLY citations -- -- TOC entry 4132 (class 2606 OID 70281) --- Name: cv_actiontype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_actiontype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_actiontype @@ -20859,7 +20860,7 @@ ALTER TABLE ONLY cv_actiontype -- -- TOC entry 4134 (class 2606 OID 70289) --- Name: cv_aggregationstatistic_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_aggregationstatistic_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_aggregationstatistic @@ -20868,7 +20869,7 @@ ALTER TABLE ONLY cv_aggregationstatistic -- -- TOC entry 4136 (class 2606 OID 70297) --- Name: cv_annotationtype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_annotationtype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_annotationtype @@ -20877,7 +20878,7 @@ ALTER TABLE ONLY cv_annotationtype -- -- TOC entry 4138 (class 2606 OID 70305) --- Name: cv_censorcode_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_censorcode_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_censorcode @@ -20886,7 +20887,7 @@ ALTER TABLE ONLY cv_censorcode -- -- TOC entry 4140 (class 2606 OID 70313) --- Name: cv_dataqualitytype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_dataqualitytype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_dataqualitytype @@ -20895,7 +20896,7 @@ ALTER TABLE ONLY cv_dataqualitytype -- -- TOC entry 4142 (class 2606 OID 70321) --- Name: cv_datasettypecv_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_datasettypecv_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_datasettypecv @@ -20904,7 +20905,7 @@ ALTER TABLE ONLY cv_datasettypecv -- -- TOC entry 4144 (class 2606 OID 70329) --- Name: cv_directivetype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_directivetype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_directivetype @@ -20913,7 +20914,7 @@ ALTER TABLE ONLY cv_directivetype -- -- TOC entry 4146 (class 2606 OID 70337) --- Name: cv_elevationdatum_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_elevationdatum_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_elevationdatum @@ -20922,7 +20923,7 @@ ALTER TABLE ONLY cv_elevationdatum -- -- TOC entry 4148 (class 2606 OID 70345) --- Name: cv_equipmenttype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_equipmenttype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_equipmenttype @@ -20931,7 +20932,7 @@ ALTER TABLE ONLY cv_equipmenttype -- -- TOC entry 4150 (class 2606 OID 70353) --- Name: cv_methodtype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_methodtype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_methodtype @@ -20940,7 +20941,7 @@ ALTER TABLE ONLY cv_methodtype -- -- TOC entry 4152 (class 2606 OID 70361) --- Name: cv_organizationtype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_organizationtype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_organizationtype @@ -20949,7 +20950,7 @@ ALTER TABLE ONLY cv_organizationtype -- -- TOC entry 4154 (class 2606 OID 70369) --- Name: cv_propertydatatype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_propertydatatype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_propertydatatype @@ -20958,7 +20959,7 @@ ALTER TABLE ONLY cv_propertydatatype -- -- TOC entry 4156 (class 2606 OID 70377) --- Name: cv_qualitycode_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_qualitycode_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_qualitycode @@ -20967,7 +20968,7 @@ ALTER TABLE ONLY cv_qualitycode -- -- TOC entry 4158 (class 2606 OID 70385) --- Name: cv_referencematerialmedium_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_referencematerialmedium_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_referencematerialmedium @@ -20976,7 +20977,7 @@ ALTER TABLE ONLY cv_referencematerialmedium -- -- TOC entry 4160 (class 2606 OID 70393) --- Name: cv_relationshiptype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_relationshiptype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_relationshiptype @@ -20985,7 +20986,7 @@ ALTER TABLE ONLY cv_relationshiptype -- -- TOC entry 4162 (class 2606 OID 70401) --- Name: cv_resulttype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_resulttype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_resulttype @@ -20994,7 +20995,7 @@ ALTER TABLE ONLY cv_resulttype -- -- TOC entry 4164 (class 2606 OID 70409) --- Name: cv_sampledmedium_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_sampledmedium_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_sampledmedium @@ -21003,7 +21004,7 @@ ALTER TABLE ONLY cv_sampledmedium -- -- TOC entry 4166 (class 2606 OID 70417) --- Name: cv_samplingfeaturegeotype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_samplingfeaturegeotype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_samplingfeaturegeotype @@ -21012,7 +21013,7 @@ ALTER TABLE ONLY cv_samplingfeaturegeotype -- -- TOC entry 4168 (class 2606 OID 70425) --- Name: cv_samplingfeaturetype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_samplingfeaturetype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_samplingfeaturetype @@ -21021,7 +21022,7 @@ ALTER TABLE ONLY cv_samplingfeaturetype -- -- TOC entry 4170 (class 2606 OID 70433) --- Name: cv_sitetype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_sitetype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_sitetype @@ -21030,7 +21031,7 @@ ALTER TABLE ONLY cv_sitetype -- -- TOC entry 4172 (class 2606 OID 70441) --- Name: cv_spatialoffsettype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_spatialoffsettype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_spatialoffsettype @@ -21039,7 +21040,7 @@ ALTER TABLE ONLY cv_spatialoffsettype -- -- TOC entry 4174 (class 2606 OID 70449) --- Name: cv_speciation_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_speciation_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_speciation @@ -21048,7 +21049,7 @@ ALTER TABLE ONLY cv_speciation -- -- TOC entry 4176 (class 2606 OID 70457) --- Name: cv_specimenmedium_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_specimenmedium_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_specimenmedium @@ -21057,7 +21058,7 @@ ALTER TABLE ONLY cv_specimenmedium -- -- TOC entry 4178 (class 2606 OID 70465) --- Name: cv_specimentype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_specimentype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_specimentype @@ -21066,7 +21067,7 @@ ALTER TABLE ONLY cv_specimentype -- -- TOC entry 4180 (class 2606 OID 70473) --- Name: cv_status_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_status_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_status @@ -21075,7 +21076,7 @@ ALTER TABLE ONLY cv_status -- -- TOC entry 4182 (class 2606 OID 70481) --- Name: cv_taxonomicclassifiertype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_taxonomicclassifiertype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_taxonomicclassifiertype @@ -21084,7 +21085,7 @@ ALTER TABLE ONLY cv_taxonomicclassifiertype -- -- TOC entry 4184 (class 2606 OID 70489) --- Name: cv_unitstype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_unitstype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_unitstype @@ -21093,7 +21094,7 @@ ALTER TABLE ONLY cv_unitstype -- -- TOC entry 4186 (class 2606 OID 70497) --- Name: cv_variablename_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_variablename_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_variablename @@ -21102,7 +21103,7 @@ ALTER TABLE ONLY cv_variablename -- -- TOC entry 4188 (class 2606 OID 70505) --- Name: cv_variabletype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: cv_variabletype_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY cv_variabletype @@ -21111,7 +21112,7 @@ ALTER TABLE ONLY cv_variabletype -- -- TOC entry 4206 (class 2606 OID 70571) --- Name: dataloggerfilecolumns_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: dataloggerfilecolumns_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY dataloggerfilecolumns @@ -21120,7 +21121,7 @@ ALTER TABLE ONLY dataloggerfilecolumns -- -- TOC entry 4208 (class 2606 OID 70582) --- Name: dataloggerfiles_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: dataloggerfiles_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY dataloggerfiles @@ -21129,7 +21130,7 @@ ALTER TABLE ONLY dataloggerfiles -- -- TOC entry 4210 (class 2606 OID 70593) --- Name: dataloggerprogramfiles_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: dataloggerprogramfiles_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY dataloggerprogramfiles @@ -21138,7 +21139,7 @@ ALTER TABLE ONLY dataloggerprogramfiles -- -- TOC entry 4190 (class 2606 OID 70513) --- Name: dataquality_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: dataquality_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY dataquality @@ -21147,7 +21148,7 @@ ALTER TABLE ONLY dataquality -- -- TOC entry 4266 (class 2606 OID 70856) --- Name: datasetcitations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: datasetcitations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY datasetcitations @@ -21156,7 +21157,7 @@ ALTER TABLE ONLY datasetcitations -- -- TOC entry 4105 (class 2606 OID 70153) --- Name: datasets_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: datasets_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY datasets @@ -21165,7 +21166,7 @@ ALTER TABLE ONLY datasets -- -- TOC entry 4107 (class 2606 OID 70161) --- Name: datasetsresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: datasetsresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY datasetsresults @@ -21174,7 +21175,7 @@ ALTER TABLE ONLY datasetsresults -- -- TOC entry 4268 (class 2606 OID 70864) --- Name: derivationequations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: derivationequations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY derivationequations @@ -21183,7 +21184,7 @@ ALTER TABLE ONLY derivationequations -- -- TOC entry 4258 (class 2606 OID 70824) --- Name: directives_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: directives_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY directives @@ -21192,7 +21193,7 @@ ALTER TABLE ONLY directives -- -- TOC entry 4212 (class 2606 OID 70604) --- Name: equipment_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: equipment_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY equipment @@ -21201,7 +21202,7 @@ ALTER TABLE ONLY equipment -- -- TOC entry 4075 (class 2606 OID 70021) --- Name: equipmentannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: equipmentannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY equipmentannotations @@ -21210,7 +21211,7 @@ ALTER TABLE ONLY equipmentannotations -- -- TOC entry 4214 (class 2606 OID 70615) --- Name: equipmentmodels_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: equipmentmodels_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY equipmentmodels @@ -21219,7 +21220,7 @@ ALTER TABLE ONLY equipmentmodels -- -- TOC entry 4216 (class 2606 OID 70623) --- Name: equipmentused_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: equipmentused_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY equipmentused @@ -21228,7 +21229,7 @@ ALTER TABLE ONLY equipmentused -- -- TOC entry 4228 (class 2606 OID 70677) --- Name: extensionproperties_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: extensionproperties_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY extensionproperties @@ -21237,7 +21238,7 @@ ALTER TABLE ONLY extensionproperties -- -- TOC entry 4240 (class 2606 OID 70728) --- Name: externalidentifiersystems_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: externalidentifiersystems_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY externalidentifiersystems @@ -21246,7 +21247,7 @@ ALTER TABLE ONLY externalidentifiersystems -- -- TOC entry 4109 (class 2606 OID 70169) --- Name: featureactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: featureactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY featureactions @@ -21255,7 +21256,7 @@ ALTER TABLE ONLY featureactions -- -- TOC entry 4218 (class 2606 OID 70634) --- Name: instrumentoutputvariables_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: instrumentoutputvariables_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY instrumentoutputvariables @@ -21264,7 +21265,7 @@ ALTER TABLE ONLY instrumentoutputvariables -- -- TOC entry 4220 (class 2606 OID 70642) --- Name: maintenanceactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: maintenanceactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY maintenanceactions @@ -21273,7 +21274,7 @@ ALTER TABLE ONLY maintenanceactions -- -- TOC entry 4286 (class 2606 OID 70930) --- Name: measurementresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: measurementresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY measurementresults @@ -21282,7 +21283,7 @@ ALTER TABLE ONLY measurementresults -- -- TOC entry 4077 (class 2606 OID 70029) --- Name: measurementresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: measurementresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY measurementresultvalueannotations @@ -21291,7 +21292,7 @@ ALTER TABLE ONLY measurementresultvalueannotations -- -- TOC entry 4288 (class 2606 OID 70938) --- Name: measurementresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: measurementresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY measurementresultvalues @@ -21300,7 +21301,7 @@ ALTER TABLE ONLY measurementresultvalues -- -- TOC entry 4079 (class 2606 OID 70037) --- Name: methodannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: methodannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY methodannotations @@ -21309,7 +21310,7 @@ ALTER TABLE ONLY methodannotations -- -- TOC entry 4270 (class 2606 OID 70872) --- Name: methodcitations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: methodcitations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY methodcitations @@ -21318,7 +21319,7 @@ ALTER TABLE ONLY methodcitations -- -- TOC entry 4230 (class 2606 OID 70685) --- Name: methodextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: methodextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY methodextensionpropertyvalues @@ -21327,7 +21328,7 @@ ALTER TABLE ONLY methodextensionpropertyvalues -- -- TOC entry 4242 (class 2606 OID 70739) --- Name: methodexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: methodexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY methodexternalidentifiers @@ -21336,7 +21337,7 @@ ALTER TABLE ONLY methodexternalidentifiers -- -- TOC entry 4111 (class 2606 OID 70180) --- Name: methods_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: methods_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY methods @@ -21345,7 +21346,7 @@ ALTER TABLE ONLY methods -- -- TOC entry 4330 (class 2606 OID 71106) --- Name: modelaffiliations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: modelaffiliations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY modelaffiliations @@ -21354,7 +21355,7 @@ ALTER TABLE ONLY modelaffiliations -- -- TOC entry 4332 (class 2606 OID 71117) --- Name: models_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: models_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY models @@ -21363,7 +21364,7 @@ ALTER TABLE ONLY models -- -- TOC entry 4113 (class 2606 OID 70191) --- Name: organizations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: organizations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY organizations @@ -21372,7 +21373,7 @@ ALTER TABLE ONLY organizations -- -- TOC entry 4115 (class 2606 OID 70202) --- Name: people_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: people_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY people @@ -21381,7 +21382,7 @@ ALTER TABLE ONLY people -- -- TOC entry 4244 (class 2606 OID 70750) --- Name: personexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: personexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY personexternalidentifiers @@ -21390,7 +21391,7 @@ ALTER TABLE ONLY personexternalidentifiers -- -- TOC entry 4290 (class 2606 OID 70943) --- Name: pointcoverageresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: pointcoverageresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY pointcoverageresults @@ -21399,7 +21400,7 @@ ALTER TABLE ONLY pointcoverageresults -- -- TOC entry 4081 (class 2606 OID 70045) --- Name: pointcoverageresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: pointcoverageresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY pointcoverageresultvalueannotations @@ -21408,7 +21409,7 @@ ALTER TABLE ONLY pointcoverageresultvalueannotations -- -- TOC entry 4292 (class 2606 OID 70954) --- Name: pointcoverageresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: pointcoverageresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY pointcoverageresultvalues @@ -21417,7 +21418,7 @@ ALTER TABLE ONLY pointcoverageresultvalues -- -- TOC entry 4117 (class 2606 OID 70213) --- Name: processinglevels_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: processinglevels_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY processinglevels @@ -21426,7 +21427,7 @@ ALTER TABLE ONLY processinglevels -- -- TOC entry 4294 (class 2606 OID 70959) --- Name: profileresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: profileresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY profileresults @@ -21435,7 +21436,7 @@ ALTER TABLE ONLY profileresults -- -- TOC entry 4083 (class 2606 OID 70053) --- Name: profileresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: profileresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY profileresultvalueannotations @@ -21444,7 +21445,7 @@ ALTER TABLE ONLY profileresultvalueannotations -- -- TOC entry 4296 (class 2606 OID 70970) --- Name: profileresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: profileresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY profileresultvalues @@ -21453,7 +21454,7 @@ ALTER TABLE ONLY profileresultvalues -- -- TOC entry 4246 (class 2606 OID 70761) --- Name: referencematerialexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: referencematerialexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY referencematerialexternalidentifiers @@ -21462,7 +21463,7 @@ ALTER TABLE ONLY referencematerialexternalidentifiers -- -- TOC entry 4192 (class 2606 OID 70521) --- Name: referencematerials_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: referencematerials_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY referencematerials @@ -21471,7 +21472,7 @@ ALTER TABLE ONLY referencematerials -- -- TOC entry 4194 (class 2606 OID 70526) --- Name: referencematerialvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: referencematerialvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY referencematerialvalues @@ -21480,7 +21481,7 @@ ALTER TABLE ONLY referencematerialvalues -- -- TOC entry 4119 (class 2606 OID 70221) --- Name: relatedactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedactions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relatedactions @@ -21489,7 +21490,7 @@ ALTER TABLE ONLY relatedactions -- -- TOC entry 4272 (class 2606 OID 70880) --- Name: relatedannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relatedannotations @@ -21498,7 +21499,7 @@ ALTER TABLE ONLY relatedannotations -- -- TOC entry 4274 (class 2606 OID 70888) --- Name: relatedcitations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedcitations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relatedcitations @@ -21507,7 +21508,7 @@ ALTER TABLE ONLY relatedcitations -- -- TOC entry 4276 (class 2606 OID 70896) --- Name: relateddatasets_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relateddatasets_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relateddatasets @@ -21516,7 +21517,7 @@ ALTER TABLE ONLY relateddatasets -- -- TOC entry 4222 (class 2606 OID 70650) --- Name: relatedequipment_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedequipment_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relatedequipment @@ -21525,7 +21526,7 @@ ALTER TABLE ONLY relatedequipment -- -- TOC entry 4318 (class 2606 OID 71058) --- Name: relatedfeatures_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedfeatures_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relatedfeatures @@ -21534,7 +21535,7 @@ ALTER TABLE ONLY relatedfeatures -- -- TOC entry 4334 (class 2606 OID 71125) --- Name: relatedmodels_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedmodels_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relatedmodels @@ -21543,7 +21544,7 @@ ALTER TABLE ONLY relatedmodels -- -- TOC entry 4278 (class 2606 OID 70904) --- Name: relatedresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: relatedresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY relatedresults @@ -21552,7 +21553,7 @@ ALTER TABLE ONLY relatedresults -- -- TOC entry 4085 (class 2606 OID 70061) --- Name: resultannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: resultannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY resultannotations @@ -21561,7 +21562,7 @@ ALTER TABLE ONLY resultannotations -- -- TOC entry 4280 (class 2606 OID 70909) --- Name: resultderivationequations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: resultderivationequations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY resultderivationequations @@ -21570,7 +21571,7 @@ ALTER TABLE ONLY resultderivationequations -- -- TOC entry 4232 (class 2606 OID 70693) --- Name: resultextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: resultextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY resultextensionpropertyvalues @@ -21579,7 +21580,7 @@ ALTER TABLE ONLY resultextensionpropertyvalues -- -- TOC entry 4196 (class 2606 OID 70531) --- Name: resultnormalizationvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: resultnormalizationvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY resultnormalizationvalues @@ -21588,7 +21589,7 @@ ALTER TABLE ONLY resultnormalizationvalues -- -- TOC entry 4121 (class 2606 OID 70232) --- Name: results_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: results_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY results @@ -21597,7 +21598,7 @@ ALTER TABLE ONLY results -- -- TOC entry 4198 (class 2606 OID 70539) --- Name: resultsdataquality_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: resultsdataquality_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY resultsdataquality @@ -21606,7 +21607,7 @@ ALTER TABLE ONLY resultsdataquality -- -- TOC entry 4087 (class 2606 OID 70069) --- Name: samplingfeatureannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: samplingfeatureannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY samplingfeatureannotations @@ -21615,7 +21616,7 @@ ALTER TABLE ONLY samplingfeatureannotations -- -- TOC entry 4234 (class 2606 OID 70701) --- Name: samplingfeatureextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: samplingfeatureextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY samplingfeatureextensionpropertyvalues @@ -21624,7 +21625,7 @@ ALTER TABLE ONLY samplingfeatureextensionpropertyvalues -- -- TOC entry 4248 (class 2606 OID 70772) --- Name: samplingfeatureexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: samplingfeatureexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY samplingfeatureexternalidentifiers @@ -21633,7 +21634,7 @@ ALTER TABLE ONLY samplingfeatureexternalidentifiers -- -- TOC entry 4124 (class 2606 OID 70243) --- Name: samplingfeatures_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: samplingfeatures_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY samplingfeatures @@ -21642,7 +21643,7 @@ ALTER TABLE ONLY samplingfeatures -- -- TOC entry 4298 (class 2606 OID 70975) --- Name: sectionresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: sectionresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY sectionresults @@ -21651,7 +21652,7 @@ ALTER TABLE ONLY sectionresults -- -- TOC entry 4089 (class 2606 OID 70077) --- Name: sectionresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: sectionresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY sectionresultvalueannotations @@ -21660,7 +21661,7 @@ ALTER TABLE ONLY sectionresultvalueannotations -- -- TOC entry 4300 (class 2606 OID 70986) --- Name: sectionresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: sectionresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY sectionresultvalues @@ -21669,7 +21670,7 @@ ALTER TABLE ONLY sectionresultvalues -- -- TOC entry 4336 (class 2606 OID 71136) --- Name: simulations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: simulations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY simulations @@ -21678,7 +21679,7 @@ ALTER TABLE ONLY simulations -- -- TOC entry 4320 (class 2606 OID 71063) --- Name: sites_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: sites_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY sites @@ -21687,7 +21688,7 @@ ALTER TABLE ONLY sites -- -- TOC entry 4322 (class 2606 OID 71068) --- Name: spatialoffsets_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: spatialoffsets_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY spatialoffsets @@ -21696,7 +21697,7 @@ ALTER TABLE ONLY spatialoffsets -- -- TOC entry 4250 (class 2606 OID 70783) --- Name: spatialreferenceexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: spatialreferenceexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY spatialreferenceexternalidentifiers @@ -21705,7 +21706,7 @@ ALTER TABLE ONLY spatialreferenceexternalidentifiers -- -- TOC entry 4324 (class 2606 OID 71079) --- Name: spatialreferences_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: spatialreferences_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY spatialreferences @@ -21714,7 +21715,7 @@ ALTER TABLE ONLY spatialreferences -- -- TOC entry 4260 (class 2606 OID 70829) --- Name: specimenbatchpostions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: specimenbatchpostions_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY specimenbatchpostions @@ -21723,7 +21724,7 @@ ALTER TABLE ONLY specimenbatchpostions -- -- TOC entry 4326 (class 2606 OID 71087) --- Name: specimens_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: specimens_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY specimens @@ -21732,7 +21733,7 @@ ALTER TABLE ONLY specimens -- -- TOC entry 4328 (class 2606 OID 71095) --- Name: specimentaxonomicclassifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: specimentaxonomicclassifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY specimentaxonomicclassifiers @@ -21741,7 +21742,7 @@ ALTER TABLE ONLY specimentaxonomicclassifiers -- -- TOC entry 4302 (class 2606 OID 70991) --- Name: spectraresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: spectraresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY spectraresults @@ -21750,7 +21751,7 @@ ALTER TABLE ONLY spectraresults -- -- TOC entry 4091 (class 2606 OID 70085) --- Name: spectraresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: spectraresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY spectraresultvalueannotations @@ -21759,7 +21760,7 @@ ALTER TABLE ONLY spectraresultvalueannotations -- -- TOC entry 4304 (class 2606 OID 71002) --- Name: spectraresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: spectraresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY spectraresultvalues @@ -21768,7 +21769,7 @@ ALTER TABLE ONLY spectraresultvalues -- -- TOC entry 4252 (class 2606 OID 70794) --- Name: taxonomicclassifierexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: taxonomicclassifierexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY taxonomicclassifierexternalidentifiers @@ -21777,7 +21778,7 @@ ALTER TABLE ONLY taxonomicclassifierexternalidentifiers -- -- TOC entry 4126 (class 2606 OID 70251) --- Name: taxonomicclassifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: taxonomicclassifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY taxonomicclassifiers @@ -21786,7 +21787,7 @@ ALTER TABLE ONLY taxonomicclassifiers -- -- TOC entry 4306 (class 2606 OID 71007) --- Name: timeseriesresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: timeseriesresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY timeseriesresults @@ -21795,7 +21796,7 @@ ALTER TABLE ONLY timeseriesresults -- -- TOC entry 4093 (class 2606 OID 70093) --- Name: timeseriesresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: timeseriesresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY timeseriesresultvalueannotations @@ -21804,7 +21805,7 @@ ALTER TABLE ONLY timeseriesresultvalueannotations -- -- TOC entry 4308 (class 2606 OID 71018) --- Name: timeseriesresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: timeseriesresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY timeseriesresultvalues @@ -21813,7 +21814,7 @@ ALTER TABLE ONLY timeseriesresultvalues -- -- TOC entry 4310 (class 2606 OID 71023) --- Name: trajectoryresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: trajectoryresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY trajectoryresults @@ -21822,7 +21823,7 @@ ALTER TABLE ONLY trajectoryresults -- -- TOC entry 4095 (class 2606 OID 70101) --- Name: trajectoryresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: trajectoryresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY trajectoryresultvalueannotations @@ -21831,7 +21832,7 @@ ALTER TABLE ONLY trajectoryresultvalueannotations -- -- TOC entry 4312 (class 2606 OID 71034) --- Name: trajectoryresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: trajectoryresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY trajectoryresultvalues @@ -21840,7 +21841,7 @@ ALTER TABLE ONLY trajectoryresultvalues -- -- TOC entry 4314 (class 2606 OID 71039) --- Name: transectresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: transectresults_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY transectresults @@ -21849,7 +21850,7 @@ ALTER TABLE ONLY transectresults -- -- TOC entry 4097 (class 2606 OID 70109) --- Name: transectresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: transectresultvalueannotations_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY transectresultvalueannotations @@ -21858,7 +21859,7 @@ ALTER TABLE ONLY transectresultvalueannotations -- -- TOC entry 4316 (class 2606 OID 71050) --- Name: transectresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: transectresultvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY transectresultvalues @@ -21867,7 +21868,7 @@ ALTER TABLE ONLY transectresultvalues -- -- TOC entry 4128 (class 2606 OID 70262) --- Name: units_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: units_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY units @@ -21876,7 +21877,7 @@ ALTER TABLE ONLY units -- -- TOC entry 4236 (class 2606 OID 70709) --- Name: variableextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: variableextensionpropertyvalues_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY variableextensionpropertyvalues @@ -21885,7 +21886,7 @@ ALTER TABLE ONLY variableextensionpropertyvalues -- -- TOC entry 4254 (class 2606 OID 70805) --- Name: variableexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: variableexternalidentifiers_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY variableexternalidentifiers @@ -21894,7 +21895,7 @@ ALTER TABLE ONLY variableexternalidentifiers -- -- TOC entry 4130 (class 2606 OID 70273) --- Name: variables_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: +-- Name: variables_pkey; Type: CONSTRAINT; Schema: odm2; Owner: -; Tablespace: -- ALTER TABLE ONLY variables @@ -21903,7 +21904,7 @@ ALTER TABLE ONLY variables -- -- TOC entry 4122 (class 1259 OID 72583) --- Name: idx_samplingfeature_featuregeom; Type: INDEX; Schema: odm2; Owner: -; Tablespace: +-- Name: idx_samplingfeature_featuregeom; Type: INDEX; Schema: odm2; Owner: -; Tablespace: -- CREATE INDEX idx_samplingfeature_featuregeom ON samplingfeatures USING gist (featuregeometry);