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
237 237
                    <count>$IndividualCount</count>
238 238
                    <notes>$convertednotes</notes>
239 239
                    <plantobservation>
240
                        <authorplantcode>$CollectorNumber</authorplantcode>
240
                        <collectionnumber>$CollectorNumber</collectionnumber>
241 241
                        <specimenreplicate>
242 242
                            <catalognumber_dwc><_if name="if indirect voucher"><else>$CatalogNumber</else></_if></catalognumber_dwc>
243 243
                            <collectioncode_dwc>$CollectionCode</collectioncode_dwc>
244
                            <collectionnumber>$CollectorNumber</collectionnumber>
245 244
                            <institution_id><party><organizationname>$InstitutionCode</organizationname></party></institution_id>
246 245
                        </specimenreplicate>
247 246
                    </plantobservation>

Also available in: Unified diff