Project

General

Profile

« Previous | Next » 

Revision 4076

schemas/vegbien.sql: Moved collectionnumber from specimenreplicate to plantobservation to replace authorplantcode, since these terms are used analogously in plots and specimens data. This code is really the DwC recordNumber (VegBIEN collectionnumber), which "serves as a link between field notes and an Occurrence record, such as a specimen [or plots data] collector's number" (http://rs.tdwg.org/dwc/terms/#recordNumber). Also, this prevents a specimenreplicate from incorrectly being created when plots data provides an authorplantcode.

View differences:

import.specimens.xml.ref
239 239
                    <count>$IndividualCount</count>
240 240
                    <notes>$Notes</notes>
241 241
                    <plantobservation>
242
                        <authorplantcode>$CollectorNumber</authorplantcode>
242
                        <collectionnumber>$CollectorNumber</collectionnumber>
243 243
                        <definedvalue fkey="tablerecord_id">
244 244
                            <userdefined_id>
245 245
                                <userdefined>
......
252 252
                        <specimenreplicate>
253 253
                            <catalognumber_dwc><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></catalognumber_dwc>
254 254
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
255
                            <collectionnumber>$CollectorNumber</collectionnumber>
256 255
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
257 256
                        </specimenreplicate>
258 257
                    </plantobservation>

Also available in: Unified diff