@ramonski forced me to start a topic about the need of secondary sample functionality, that has (temporarily?) disappeared in the current development after the great concept change from ARs to samples as the main entity.
At the moment secondary samples are created only after invalidation with a new sample id ruled by the id-server. Additionally you can copy an existing sample into a new one.
I still see several use-cases, where those ways are not sufficient, e.g. because invalidation isn’t wanted or copying sample will not keep the original sample id or received date.
- client requests supplementary analyses after publication
- wrong analysis profile
- client requests a full retest for whatever reason
- report should contain primary and secondary AS of a sample bound together
- simply change sample metadata after publication (client feedback)
- client or other client (edge case) requests independent additional analyses
- no one wants to change/add labels and stickers of samples and partitions out of the storage
Surely some of you will see more…
In senaite up to 1.2 I liked the possibility in AR registration to choose an existing sample to create a secondary request on that.
This might be a useful way for this task.
Creating new sample ids can be OK, if senaite links primary and secondary samples similar to invalidations.
At least the old concept of analysis requests using a suffix to the sample id was a smart idea for this case.
Maybe the partition functionality can be adapted for this purpose?
What are you thinking?