Project

General

Profile

« Previous | Next » 

Revision 4045

mappings/VegCSV-VegBIEN.specimens.csv: catalogNumber: Moved direct/indirect voucher _ifs inwards to wrap just the value of catalognumber_dwc, not the catalognumber_dwc field node, so that a future SQL function implementation of _if only needs to concern itself with returning one value or another, not with handling XML subtrees. The previous moving of the _ifs in r3942 was intended to effect this, but the _ifs weren't moved in far enough to wrap just the value.

View differences:

inputs/SALVIAS-CSV/test/import.organisms.xml.ref
22 22
                        <authorplantcode>$individual_code</authorplantcode>
23 23
                        <sourceaccessioncode>$OBSERVATION_ID</sourceaccessioncode>
24 24
                        <specimenreplicate>
25
                            <_if name="if indirect voucher">
26
                                <cond>
27
                                    <_eq>
28
                                        <right>indirect</right>
29
                                        <left>$det_type</left>
30
                                    </_eq>
31
                                </cond>
32
                                <else>
33
                                    <catalognumber_dwc>
25
                            <catalognumber_dwc>
26
                                <_if name="if indirect voucher">
27
                                    <cond>
28
                                        <_eq>
29
                                            <right>indirect</right>
30
                                            <left>$det_type</left>
31
                                        </_eq>
32
                                    </cond>
33
                                    <else>
34 34
                                        <_alt>
35 35
                                            <1>$coll_number</1>
36 36
                                            <2>$voucher_string</2>
37 37
                                        </_alt>
38
                                    </catalognumber_dwc>
39
                                </else>
40
                            </_if>
38
                                    </else>
39
                                </_if>
40
                            </catalognumber_dwc>
41 41
                        </specimenreplicate>
42 42
                        <stemobservation>
43 43
                            <basaldiameter>$basal_diam</basaldiameter>
......
255 255
                <voucher>
256 256
                    <specimenreplicate_id>
257 257
                        <specimenreplicate>
258
                            <_if name="if indirect voucher">
259
                                <cond>
260
                                    <_eq>
261
                                        <right>indirect</right>
262
                                        <left>$det_type</left>
263
                                    </_eq>
264
                                </cond>
265
                                <then>
266
                                    <catalognumber_dwc>
258
                            <catalognumber_dwc>
259
                                <_if name="if indirect voucher">
260
                                    <cond>
261
                                        <_eq>
262
                                            <right>indirect</right>
263
                                            <left>$det_type</left>
264
                                        </_eq>
265
                                    </cond>
266
                                    <then>
267 267
                                        <_alt>
268 268
                                            <1>$coll_number</1>
269 269
                                            <2>$voucher_string</2>
270 270
                                        </_alt>
271
                                    </catalognumber_dwc>
272
                                </then>
273
                            </_if>
271
                                    </then>
272
                                </_if>
273
                            </catalognumber_dwc>
274 274
                        </specimenreplicate>
275 275
                    </specimenreplicate_id>
276 276
                </voucher>
inputs/SALVIAS-CSV/maps/VegBIEN.organisms.csv
14 14
intercept_cm,/location/locationevent/taxonoccurrence/aggregateoccurrence/linecover,"Brad: Incorrect for VegBank This is an aggregate observation. Used in line-intercept methodology only, describes the point along centerline at which an individual intercepts the center line of the plot. Used to determin relative abundance."
15 15
individual_code,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
16 16
OBSERVATION_ID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
17
det_type,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
18
coll_number,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc/_alt/1",Brad: Incorrect. Map instead as for voucher_string
19
voucher_string,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
17
det_type,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
18
coll_number,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Incorrect. Map instead as for voucher_string
19
voucher_string,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
20 20
basal_diam,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/basaldiameter,
21 21
stem_canopy_form,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. 
22 22
stem_canopy_position,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyPosition]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. 
......
48 48
cf_aff,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/taxonfit,"Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
49 49
coll_firstname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,Brad: See comment above
50 50
coll_lastname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
51
det_type,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
52
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/1",Brad: Incorrect. Map instead as for voucher_string
53
voucher_string,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
51
det_type,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
52
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Incorrect. Map instead as for voucher_string
53
voucher_string,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
54 54
plot_code,/location/parent_id/location/authorlocationcode,"Brad: Same as plotCode, above"
55 55
PLOT_ID,/location/parent_id/location/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
56 56
collector_code,,Brad: OMIT
inputs/SALVIAS/test/import.organisms.xml.ref
24 24
                        <authorplantcode>$Ind</authorplantcode>
25 25
                        <sourceaccessioncode>$PlotObsID</sourceaccessioncode>
26 26
                        <specimenreplicate>
27
                            <_if name="if indirect voucher">
28
                                <cond>
29
                                    <_eq>
30
                                        <right>indirect</right>
31
                                        <left>$DetType</left>
32
                                    </_eq>
33
                                </cond>
34
                                <else>
35
                                    <catalognumber_dwc>
27
                            <catalognumber_dwc>
28
                                <_if name="if indirect voucher">
29
                                    <cond>
30
                                        <_eq>
31
                                            <right>indirect</right>
32
                                            <left>$DetType</left>
33
                                        </_eq>
34
                                    </cond>
35
                                    <else>
36 36
                                        <_alt>
37 37
                                            <1>$coll_number</1>
38 38
                                            <2>$SourceVoucher</2>
39 39
                                        </_alt>
40
                                    </catalognumber_dwc>
41
                                </else>
42
                            </_if>
40
                                    </else>
41
                                </_if>
42
                            </catalognumber_dwc>
43 43
                        </specimenreplicate>
44 44
                        <stemobservation>
45 45
                            <definedvalue fkey="tablerecord_id">
......
237 237
                <voucher>
238 238
                    <specimenreplicate_id>
239 239
                        <specimenreplicate>
240
                            <_if name="if indirect voucher">
241
                                <cond>
242
                                    <_eq>
243
                                        <right>indirect</right>
244
                                        <left>$DetType</left>
245
                                    </_eq>
246
                                </cond>
247
                                <then>
248
                                    <catalognumber_dwc>
240
                            <catalognumber_dwc>
241
                                <_if name="if indirect voucher">
242
                                    <cond>
243
                                        <_eq>
244
                                            <right>indirect</right>
245
                                            <left>$DetType</left>
246
                                        </_eq>
247
                                    </cond>
248
                                    <then>
249 249
                                        <_alt>
250 250
                                            <1>$coll_number</1>
251 251
                                            <2>$SourceVoucher</2>
252 252
                                        </_alt>
253
                                    </catalognumber_dwc>
254
                                </then>
255
                            </_if>
253
                                    </then>
254
                                </_if>
255
                            </catalognumber_dwc>
256 256
                        </specimenreplicate>
257 257
                    </specimenreplicate_id>
258 258
                </voucher>
inputs/SALVIAS/maps/VegBIEN.organisms.csv
23 23
Notes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
24 24
Ind,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,"Brad: Code, if any, used by the data provider to indicate an individual tree. Scope is unknown, although typically this value is unique only within plot, or sometimes only within subplot."
25 25
PlotObsID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,"Brad: Neither is correct; this is just an internal ID for table plotObservations. However, it has the important property of uniquely identifying an ""observation"", which is an individual tree, in the case of an individual observation, or a records of a species with an associated count of individuals or measurement of percent cover, in the case of aggregate observations. Not sure where to store this. Main point is that it is not part of the original data, but an auto_increment added later."
26
DetType,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
27
coll_number,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc/_alt/1",Brad: Incorrect. Map instead as for voucher_string
28
SourceVoucher,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
26
DetType,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
27
coll_number,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else/_alt/1",Brad: Incorrect. Map instead as for voucher_string
28
SourceVoucher,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
29 29
canopy_form,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. 
30 30
canopy_position,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyPosition]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. 
31 31
liana_infestation,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=lianaInfestation]]:[@fkey=tablerecord_id]/definedvalue",Brad: Should also be userDefined for VegBank. 
......
53 53
cfaff,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/taxonfit,"Brad: Not sure where this goes. Indicator of identification uncertainty. 'cf.'=similar to the species listed, 'aff.'=related to the species list, but not the same. You'll need to check with Bob and with Nick where these go in VegX and VegBank."
54 54
coll_firstname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,Brad: See comment above
55 55
coll_lastname,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last,"Brad: Correct for VegBank. This is the collector of a separate specimen which vouchers this tree or species. I worry that vouchers are not properly accommodated in VegX. Again, we need to check with Nick."
56
DetType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
57
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/1",Brad: Incorrect. Map instead as for voucher_string
58
SourceVoucher,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
56
DetType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left","Brad: A SALVIAS value referring to the relationship between the voucher specimen and the observation. Affect how the identification of the specimen(latin name) is transferred to the observation. 'direct'=voucher specimen was collected from this same tree; they are one and the same individual. 'indirect'=voucher specimen was collected for a different individual, but the original data provider confirmed that this is the same species. 'default'=basically same as 'indirect'. 'uncollected'=no voucher specimen, data provider  asserted that this was the name but was unable to collect. The main different is that with 'direct', 'indirect', and 'default', the scientific name can be updated automatically based on the name attached to the specimen voucher (assuming you have a link to that data, presumably from a herbarium database. Whereas, if det_type='uncollected', the name can never change because there is no specimen."
57
coll_number,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/1",Brad: Incorrect. Map instead as for voucher_string
58
SourceVoucher,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then/_alt/2","Brad: OMIT. This is the verbatim text, which includes both collectors name and collection number. I would use coll_number, below."
59 59
PlotCode,/location/parent_id/location/authorlocationcode,"Brad: Same as plotCode, above"
60 60
PlotID,/location/parent_id/location/sourceaccessioncode,"Brad: Not sure why this is repeated? This field and plotCode, as the same as above."
61 61
GenAuth,,** No input mapping for GenAuth ** 
mappings/VegCSV-VegBIEN.specimens.csv
52 52
fieldNotes,/location/locationevent/taxonoccurrence/aggregateoccurrence/notes,
53 53
recordNumber,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/authorplantcode,
54 54
occurrenceID,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/sourceaccessioncode,
55
voucherType,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
56
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc",
55
voucherType,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
56
catalogNumber,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
57 57
stemCount,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemcount,
58 58
basalDiameter,/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/basaldiameter,
59 59
canopyForm,"/location/locationevent/taxonoccurrence/aggregateoccurrence/plantobservation/stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]:[@fkey=tablerecord_id]/definedvalue",
......
91 91
identificationQualifier,/location/locationevent/taxonoccurrence/taxondetermination[role=identifier]:[isoriginal=true]/taxonfit,
92 92
recordedBy.givenName,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/first,
93 93
recordedBy.surName,/location/locationevent/taxonoccurrence/verbatimcollectorname/_name/last,
94
voucherType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
95
catalogNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc",
94
voucherType,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond/_eq:[right=indirect]/left",
95
catalogNumber,"/location/locationevent/taxonoccurrence/voucher/*_id/specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
96 96
temperature,/location/locationevent/temperature,
97 97
maximumDepthInMeters,"/location/locationevent/waterdepth/_avg/max/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
98 98
minimumDepthInMeters,"/location/locationevent/waterdepth/_avg/min/_units:[default=m,to=m,to=]/value/_replace:[""\bca\.?""=]/value",
mappings/for_review/VegCSV-VegBIEN.specimens.csv
52 52
fieldNotes,//aggregateoccurrence/notes,
53 53
recordNumber,//plantobservation/authorplantcode,
54 54
occurrenceID,//plantobservation/sourceaccessioncode,
55
voucherType,"//plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/cond",
56
catalogNumber,"//plantobservation/specimenreplicate/_if[@name=""if indirect voucher""]/else/catalognumber_dwc",
55
voucherType,"//specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond",
56
catalogNumber,"//specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/else",
57 57
stemCount,//plantobservation/stemcount,
58 58
basalDiameter,//stemobservation/basaldiameter,
59 59
canopyForm,"//stemobservation/definedvalue[*_id/userdefined[tablename=stemobservation,userdefinedname=canopyForm]]/definedvalue",
......
91 91
identificationQualifier,//taxonoccurrence/taxondetermination[role=identifier]/taxonfit,
92 92
recordedBy.givenName,//taxonoccurrence/verbatimcollectorname,
93 93
recordedBy.surName,//taxonoccurrence/verbatimcollectorname,
94
voucherType,"//*_id/specimenreplicate/_if[@name=""if indirect voucher""]/cond",
95
catalogNumber,"//*_id/specimenreplicate/_if[@name=""if indirect voucher""]/then/catalognumber_dwc",
94
voucherType,"//specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/cond",
95
catalogNumber,"//specimenreplicate/catalognumber_dwc/_if[@name=""if indirect voucher""]/then",
96 96
temperature,//locationevent/temperature,
97 97
maximumDepthInMeters,//locationevent/waterdepth,
98 98
minimumDepthInMeters,//locationevent/waterdepth,

Also available in: Unified diff