<icd_text> is a valid XML Element name, without attributes. The other two are not valid XML; and if this indeed is the format of your source text, InDesign's XML parser will reject them.
Well-formed XML (the politically correct term for "correct XML") can be imported as-is into InDesign, but you can only apply paragraph or character styles to elements, not attributes. However: you can apply an XSLT style sheet while importing the XML, which transforms a combination of element + some attribute (with or without a specific value) into a new (unique) element, and then you can have ID apply the correct style automatically.