umcu/dutch-medical-concepts

Improve type_ids field

Closed this issue · 0 comments

Currently, if a concept has multiple types, multiple rows are saved. For example:

cui,name,name_status,ontologies,type_ids
C0000665,oxychinoline,PN,SNOMEDCT-NL,T130
C0000665,oxychinoline,PN,SNOMEDCT-NL,T109

an improvement would be to merge these into a single row. For example:

cui,name,name_status,ontologies,type_ids
C0000665,oxychinoline,PN,SNOMEDCT-NL,T130|T109

MedCAT is compatible with this format.