Dietary Intake Edit strange values


  • I upload dietary intake to healthvault and a snapshot XML looks like this


    <display units="mg" units-code="mg">22</display>

    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?

    Thanks Peter

    Monday, November 19, 2012 1:13 AM


All replies

  • Hi Peter,

    22 mg is 0.000022 kg. The XML should be:

    <display units="mg" units-code="mg">22</display>

    Monday, November 19, 2012 7:18 PM
  • Oops you are so correct! Fixed it in my code. Too many conversions from kg to mg to mcg etc etc.

    Thanks Peter

    Tuesday, November 20, 2012 2:57 AM