mskcc / smile-server

2 stars 4 forks source link

[metadb server] Demo clinical integration (import clin sample w/patient imported from igo request) #571

Closed ao508 closed 2 years ago

ao508 commented 2 years ago

Prev title: Wrap up data clinical integration message handler for incoming clinical samples

See this card for more information.

Dev branch PR: https://github.com/mskcc/cmo-metadb/pull/553/

Dev branch needed to be rebased to the latest master after the changes for handling the CMO patient ID correction went in.

Tests/checks:

image.png

resolved (was a typo in mocked patient id i was using)

other thing i ran into:

Screen Shot 2022-01-26 at 12.27.09 PM.png

Patient is now a single node but the DMP alias isn't showing as attached to canonical MetadbPatient node

After updating the patient uuid for the dmp clinical sample being persisted, the DMP alias is linked to the metadb patient but there's an additional cmo alias as well in addition to the original cmo alias that was already attached

image.png

Fix:

Had to update the existing patient with any new patient aliases introduced by the clinical sample metadata.

example: existing patient had cmo alias. incoming clinical sample had patient with dmp alias, which now needs to be added to the existing patient node.

image.png

divyamadala30 commented 2 years ago

Cases tested:

Changes made to messageHandlingServiceImpl:

Screen Shot 2022-01-26 at 11.41.14 AM.png

ao508 commented 2 years ago

Please add your planning poker estimate with ZenHub @divyamadala30