Project

General

Profile

« Previous | Next » 

Revision 3914

mappings/DwC2-VegBIEN.specimens.csv: Moved sex user-defined mapping to plantobservation because it's a property of the plant rather than the specimen, and so that it can also apply to plots data

View differences:

import.specimens.xml.ref
149 149
            <taxonoccurrence>
150 150
                <aggregateoccurrence>
151 151
                    <plantobservation>
152
                        <definedvalue fkey="tablerecord_id">
153
                            <userdefined_id>
154
                                <userdefined>
155
                                    <tablename>plantobservation</tablename>
156
                                    <userdefinedname>sex</userdefinedname>
157
                                </userdefined>
158
                            </userdefined_id>
159
                            <definedvalue>$sex</definedvalue>
160
                        </definedvalue>
152 161
                        <specimenreplicate>
153 162
                            <catalognumber_dwc>$catalogNumber</catalognumber_dwc>
154 163
                            <collectioncode_dwc>$collectionCode</collectioncode_dwc>
155 164
                            <collectionnumber><_alt><2>$collectionID</2></_alt></collectionnumber>
156
                            <definedvalue fkey="tablerecord_id">
157
                                <userdefined_id>
158
                                    <userdefined>
159
                                        <tablename>specimenreplicate</tablename>
160
                                        <userdefinedname>sex</userdefinedname>
161
                                    </userdefined>
162
                                </userdefined_id>
163
                                <definedvalue>$sex</definedvalue>
164
                            </definedvalue>
165 165
                            <institution_id><party><organizationname>$institutionCode</organizationname></party></institution_id>
166 166
                            <sourceaccessioncode>$id</sourceaccessioncode>
167 167
                            <verbatimcollectorname>$recordedBy</verbatimcollectorname>

Also available in: Unified diff