ICD 10 codes on Xform

I am using xform for my data entry but i also wanna get the ICD-10 codes on the form which i get when i search codes it give me disease name but i want to get the disease as well as code and save in the encounter. any one can help.

I do not seem to understand this. How does your paper form look like?