TotalSegmentator icon indicating copy to clipboard operation
TotalSegmentator copied to clipboard

Update SNOMED-CT mapping

Open fedorov opened this issue 1 year ago • 8 comments

The updated mapping should now include all of the structures listed in totalsegmentator/map_to_binary.py.

To create this map, the content of the original SNOMED mapping CSV was merged with the exhaustive list of the labels from map_to_binary.py, and the mapping for the missing structures was populated.

Here's a google sheet in case anyone wants to review and comment in an easier manner than PR comments: https://docs.google.com/spreadsheets/d/1oEzXCmraoLgbbb5lNxWiHuYDza86aXxKqSUmUetwI7M/edit?usp=sharing.

Script I used to merge various things together, for the sake of historical perspective: https://colab.research.google.com/drive/16sKS1W6Z9LbwHhZMM_I0xwkv0ZBCj8Lg?usp=sharing

cc: @lassoan

fedorov avatar Jun 27 '24 19:06 fedorov

@lassoan I think it is ready for you.

fedorov avatar Jun 27 '24 21:06 fedorov

@fedorov the column names are still the long ones (it should be Category.CodingSchemeDesignator instead of SegmentedPropertyCategoryCodeSequence.CodingSchemeDesignator etc.) and I don't see the color columns.

lassoan avatar Jun 28 '24 14:06 lassoan

I am sorry, I lost track of the many files and sheets ... let me fix it.

fedorov avatar Jun 28 '24 14:06 fedorov

@lassoan it should be ready now.

fedorov avatar Jun 28 '24 19:06 fedorov

@lassoan this one is still waiting for you!

fedorov avatar Jul 24 '24 15:07 fedorov

Thank you for the reminder! I'll finalize this.

I don't remember if we added the total_mr segments as well?

lassoan avatar Jul 24 '24 15:07 lassoan

Yes! You can confirm this from the notebook I used for processing: https://colab.research.google.com/drive/16sKS1W6Z9LbwHhZMM_I0xwkv0ZBCj8Lg?usp=sharing

fedorov avatar Jul 24 '24 15:07 fedorov

Let me resolve the conflicts...

Done

fedorov avatar Jul 24 '24 15:07 fedorov