Update of Accession Aliases
The current code in AccessionUploader
doesn't handle some cases very well.
There must be only one entry of type DONORNUMB
with donorNumb
and donorCode
sourced from the incoming accession JSON. The code should simply update the existing AccessionAlias
of type DONORNUMB
with the provided values (usedBy = donorCode
, name = donorNumb
).
There can be multiple entries of type BREDNUMB
, ACCENAME
and others.