a2cps / vbr-app

Virtual Biospecimen Repository Web Service API
Other
0 stars 0 forks source link

Track original collection site for all biospecimens #34

Open mwvaughn opened 2 years ago

mwvaughn commented 2 years ago

The collection site for each biospecimen must be tracked and propagated through to the API as a location. This is distinct from the actual location for the biospecimen, which is inherited from its container. To do this, the biosample table in VBR must be updated, Python APIs for biosample creation must be updated to accept a VBR location, ETL for biosample creation must capture and store this data, and the API must be updated to expose this information to end users.

mwvaughn commented 2 years ago

Updated VBR schema and code at https://github.com/a2cps/python-vbr/commit/85324fc3735a3f397a7fc1f83f66b1f5dc5b07c3 and https://github.com/a2cps/python-vbr/commit/85324fc3735a3f397a7fc1f83f66b1f5dc5b07c3

mwvaughn commented 2 years ago

Updated ETL code at https://github.com/a2cps/blood-draw-handler/commit/5a79191868f001aeaa27f3ad08de7827b66578b0