I have a large ICD-10 data and I would like to create subgroups and get a sum out of it.
For example, I have 'JAL01, JAL20 and JAL21' and I would need a sum of all the codes starting with 'JAL'. How do I do that?
I have a large ICD-10 data and I would like to create subgroups and get a sum out of it.
For example, I have 'JAL01, JAL20 and JAL21' and I would need a sum of all the codes starting with 'JAL'. How do I do that?
Substring first 3 letters, then group by and sum: