locked
Health Vault. ....Urgent RRS feed

  • Question

  • Using Microsoft Health Vault SDK. We Can pass the data from Asp.net application to Health Vault site.

    By default the microsoft health vault contains lot of Item. They are Allergy, Medication, BloodGlucoseMeasurement, LabTestResult, Immunization, etc...
    These records is availiable in Microsoft.Health.ItemTypes


    But I like to Customize My Own Item. 
    How Can we do that?



    Thanks in Advance
    kalai
    Monday, July 27, 2009 11:45 AM

Answers


  • There is an application-private data type, and you can store whatever you want in it, in XML format.

    However, the whole point of creating HealthVault applications is to support interchange of data with other applications, so we encourage our partners to store the data in data types that others can read if at all possible. If there aren't existing data types that work for your application, we can likely work with you to create one that does work.

    There's some sample code here, and you can also use the ApplicationSpecific wrapper class and the TypeSpecificXml property to store your data.

    Note that you can also extend existing data types with additional data. See:

    http://blogs.msdn.com/ericgu/archive/2007/11/08/extending-healthvault-data-types-using-healthrecorditemextension.aspx
    http://blogs.msdn.com/ericgu/archive/2007/11/08/extending-healthvault-data-types-using-a-custom-extension.aspx

    Hope this helps you.

    Mahesh
    Monday, July 27, 2009 12:10 PM
  • As Mahesh said-- you can create custom extensions to existing data types, and you can also create custom data types.  However, custom extensions and data types cannot be easily reused within HealthVault, and we strongly recommend using existing types wherever possible.  Only if there is no available type that works should you leverage custom extensions or data types.

    Mahesh and our team can help provide recommendations on which data types to use if you can describe what type of data you are trying to store and what your scenario is.
    Tuesday, July 28, 2009 6:17 AM

All replies

  • Hi Kalai,

    Can you provide more data like what are you trying to customize. Please provide more information.


    Mahesh
    Monday, July 27, 2009 11:57 AM
  • Hi Mahesh,

    Using Microsoft Health Vault SDK. We Can pass the data from Asp.net application to Health Vault site.

    By default the microsoft health vault contains lot of Item. They are Allergy, Medication, BloodGlucoseMeasurement, LabTestResult, Immunization, etc...
    These records is availiable in Microsoft.Health.ItemTypes


    But I like to Customize My Own Item. 
    How Can we do that?



    Thanks in Advance
    kalai
    Monday, July 27, 2009 12:01 PM

  • There is an application-private data type, and you can store whatever you want in it, in XML format.

    However, the whole point of creating HealthVault applications is to support interchange of data with other applications, so we encourage our partners to store the data in data types that others can read if at all possible. If there aren't existing data types that work for your application, we can likely work with you to create one that does work.

    There's some sample code here, and you can also use the ApplicationSpecific wrapper class and the TypeSpecificXml property to store your data.

    Note that you can also extend existing data types with additional data. See:

    http://blogs.msdn.com/ericgu/archive/2007/11/08/extending-healthvault-data-types-using-healthrecorditemextension.aspx
    http://blogs.msdn.com/ericgu/archive/2007/11/08/extending-healthvault-data-types-using-a-custom-extension.aspx

    Hope this helps you.

    Mahesh
    Monday, July 27, 2009 12:10 PM
  • As Mahesh said-- you can create custom extensions to existing data types, and you can also create custom data types.  However, custom extensions and data types cannot be easily reused within HealthVault, and we strongly recommend using existing types wherever possible.  Only if there is no available type that works should you leverage custom extensions or data types.

    Mahesh and our team can help provide recommendations on which data types to use if you can describe what type of data you are trying to store and what your scenario is.
    Tuesday, July 28, 2009 6:17 AM