Changes between Initial Version and Version 1 of DespoinaLog/2010/12/09


Ignore:
Timestamp:
2010-12-09T10:54:20+01:00 (14 years ago)
Author:
antonak
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DespoinaLog/2010/12/09

    v1 v1  
     1== Inconsistency with biobank table (pheno & gcc project) ==
     2== problem:  ==
     3The bbmri.xml describes the table as follows :[[BR]]<entity name="Biobank" extends="Panel">[[BR]]                       <description>Describes one biobank cohort</description>[[BR]]                       <field name="Acronym" nillable="true" description="Acronym for this[[BR]]biobank" />[[BR]]                       <field name="Institutes" nillable="true" type="mref"[[BR]]xref_entity="Institute" mref_name="!BiobankInstitute"[[BR]]description="Institute that are custodian of this biobank" />[[BR]]                       <field name="Publications" type="mref" xref_entity="Publication"[[BR]]description="Publications for this biobank" />[[BR]]                       <field name="Category" type="xref" xref_entity="!OntologyTerm" />[[BR]]                       <field name="Type" type="enum" enum_options="[core,support,other]" />[[BR]]                       <field name="Contacts" type="mref" xref_entity="Contact"[[BR]]                               mref_name="!BiobankContact" description="Contact for this biobank" />[[BR]]                       <field name="Topics" type="mref" xref_entity="!OntologyTerm" />[[BR]]                       <field name="Materials" type="mref" xref_entity="!OntologyTerm" />[[BR]]                       <field name="Size" nillable="true" />[[BR]]                       <field name="!LastUpdate" type="date" auto="true" />[[BR]]                       <field name="Description" type="text" nillable="true" />[[BR]]               </entity>[[BR]][[BR]]Similarly the BBMRIupdateDatabase tries to create these fields. But[[BR]]the created table in DB is missing the fields:[[BR]][[BR]]Institutes  (mref), Publications(mref), Contacts (mref), Topics[[BR]](mref), Materials (mref).[[BR]][[BR]]Is this how was supposed to work? Because it causes a problem in mysql[[BR]]input from the previous scheme (in pheno).
     4
     5== Solution ==
     6create new table biobank from pheno project as follows: