tomay / rebioma

Automatically exported from code.google.com/p/rebioma
0 stars 0 forks source link

BasisOfRecord lookup #333

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The code for validating BasisOfRecord was abandoned when so few records 
passed validation. The root cause for this is chaos in the understanding 
that the BasisOfRecord is meant to have a finite controlled vocabulary 
consisting of the values published at http://rs.tdwg.org/dwc/terms/type-
vocabulary/index.htm#theterms, namely:

StillImage 
MovingImage 
Sound 
PhysicalObject
PreservedSpecimen 
FossilSpecimen 
LivingSpecimen 
HumanObservation 
MachineObservation 
Location 
Taxonomy 
NomenclaturalChecklist

The range of values that exist includes:
S = PreservedSpecimen
specimen = PreservedSpecimen
voucher = PreservedSpecimen
v = PreservedSpecimen
o = HumanObservation
obs = HumanObservation
observation = HumanObservation
SoundRecording = Sound
Audio recording = Sound

On validation, the value of the BasisOfRecord in the occurrence needs to be 
looked up from properties and set to the correct value. Then the validation 
test needs to be reinstated.

Original issue reported on code.google.com by gtuco.bt...@gmail.com on 30 Mar 2009 at 10:44

GoogleCodeExporter commented 9 years ago

Original comment by gtuco.bt...@gmail.com on 1 Apr 2009 at 6:24