Monday, November 19, 2012 1:13 AM
I upload dietary intake to healthvault and a snapshot XML looks like this
<kg>0.0022</kg><display units="mg" units-code="mg">22</display></cholesterol><calcium>
It displays okay in HealthVault (in this example) 22 mg. However if i edit the Dietary intake the edit box shows 2200 mg. Is there something i can do to get the conversion right or is this an error in HealthVault on how to display the XML correctly when you edit the entry?
Monday, November 19, 2012 7:18 PM
22 mg is 0.000022 kg. The XML should be:
<kg>0.000022</kg><display units="mg" units-code="mg">22</display>
- Marked As Answer by Ali EmamiMicrosoft Employee, Owner Tuesday, November 20, 2012 7:46 AM
Tuesday, November 20, 2012 2:57 AM
Oops you are so correct! Fixed it in my code. Too many conversions from kg to mg to mcg etc etc.