HealthVault Data Types ForumThe HealthVault data type forum is for discussions about HealthVault data types. You may ask questions about how data types are expected to be used, bring up ideas for new data types, or comment on the data type designs that are proposed by the HealthVault Team.© 2009 Microsoft Corporation. All rights reserved.Sat, 28 Nov 2009 06:10:26 Z184cc092-e51d-4d3b-89ef-19aa85846b47http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/c60a8f8b-b364-41d2-a7cb-940b72b90ccfhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/c60a8f8b-b364-41d2-a7cb-940b72b90ccfMatt7121http://social.msdn.microsoft.com/Profile/en-US/?user=Matt7121LabTestResults Data Type, LabTestResultGroup.Status not showing up in HealthVault ExplorerWhen I use HealthVault Explorer to create a new lab test result, I can set the Status to Pending or Complete and have that status show up in the table of test results. However, if I create a LabTestResults object in code and then send it to HealthVault through my web application, the status doesn't show up in the table (though it does show up in the Details panel if I click on the row). If I edit the lab that I sent through my web application in HealthVault explorer, the correct status is already selected in the &quot;Overall Status&quot; drop down box. Why is the status not showing up in the table of test results? Below is the code I am using:<br/><br/> <pre lang=x-vbnet>Dim theGroup As LabTestResultGroup theGroup = New LabTestResultGroup(New CodableValue(Me.Name)) groups.Add(theGroup) Dim cv As CodableValue cv = New CodableValue(&quot;Complete&quot;, New CodedValue(&quot;C&quot;, &quot;lab-status&quot;, &quot;wc&quot;, &quot;1&quot;)) theGroup.Status = cv</pre>Sat, 28 Nov 2009 06:10:25 Z2009-11-28T06:10:26Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/3f6ae5fd-354b-4121-a5a0-a4dcf5ba4038http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/3f6ae5fd-354b-4121-a5a0-a4dcf5ba4038Matt7121http://social.msdn.microsoft.com/Profile/en-US/?user=Matt7121Formatting Medical Annotation Content<p>I am using the Medical Annotation thing type to store transcribed notes from a physician. In our application, these notes usually have multiple lines and are displayed using the pre HTML tag. Below is an example. However, when I set the Annotation.Content string to these notes, the notes appear all run together in the HealthVault explorer (i.e., the newlines don't appear to be honored). Is there any way to have the HealthVault explorer honor the newlines in the content string? Should I be using a different thing type?</p> <p>Example notes:</p> <pre> TEST HEALTH CENTER | NAME: TESTLNAME,TESTFNAME 123 Elm Street | Somewhere, PA 12345 | UNIT: M000000123 | | DATE: 11/08/09 | OPERATIVE REPORT | ROOM: 301 LOCATION: ABC | | DOCTOR: DOE,JOHN | | ACCT: V00000001 |________________________________________________ DATE OF PROCEDURE: Today PREOPERATIVE DIAGNOSIS: Need for vascular access. POSTOPERATIVE DIAGNOSIS: Need for vascular access. PROCEDURE PERFORMED: 1. Ultrasound guidance for needle placement into the left basilic vein. 2. Placement of a 5-French, dual-lumen Power PICC SOLO (peripherally inserted central catheter) via the left basilic vein. PROCEDURALIST: Jane Doe, RN CCRN PICC Certified ANESTHESIA: Local with 1% Lidocaine. INDICATIONS: TESTFNAME,TESTLNAME is a 43-year-old female. As the patient will require vascular access, request came for PICC placement. The patient presents now for PICC insertion. DESCRIPTION OF OPERATION: Informed consent was obtained. Prior to consent, discussion included risks such as infection, catheter malposition, bleeding, or thrombus. Benefits were also discussed and included extended use for a long period of time, access for blood draws, and IV medications. Patient/family understand both the risks and benefits and are in agreement to proceed as planned. Ultrasound imaging confirmed the left basilic vein. A site on the arm was marked for needle placement. A hard copy of the venous access site was made. The patient was placed in a position of comfort with the elbow support, arm extended and the palm up. Measurements for the PICC length was performed and measured at 43 cm. The patient was prepped and draped in the usual sterile manner. Maximum barrier precautions were maintained. The PICC was trimmed to a length of 43 cm. Local anesthetic was achieved at the insertion site using 1% Lidocaine. The vein was then entered using a 21-gauge micropuncture needle under direct ultrasound guidance. The needle was observed being placed into the vein by ultrasound. After blood return was obtained, a 0.018 wire was advanced without TESTFNAME,TESTLNAME M000000123 difficulty. The needle was exchanged for a 5-French dilator and peel-away sheath over the wire. The dilator and the wire were removed and the pre-cut PICC was inserted into the peel-away sheath. The peel-away sheath was removed and the catheter was advanced 43 cm. The port(s) was/ were flushed with normal saline as per protocol. The PICC was secured using a StatLock device and a dry transparent dressing was applied. A chest x-ray was obtained to verify tip placement. The patient tolerated the procedure well. __________________________________ DOE,JOHN MAZAN IA D: 11/08/09 1620 T: 11/08/09 1620 RPT#: 1109-0003 </pre>Sun, 15 Nov 2009 04:36:36 Z2009-11-28T05:58:19Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/e6407969-f2ed-44c7-8933-a90b3915d2cahttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/e6407969-f2ed-44c7-8933-a90b3915d2caHCManihttp://social.msdn.microsoft.com/Profile/en-US/?user=HCManiHow to authorize multiple user’s records<p>Hi,<br/><br/>I'm building an ASP.NET application which need a HealthVault account holder to authorise &quot;List of Persons&quot; (Dad, Mom, Son) at a time.E.g If a Dad has created PHR's for his family members as well. However Select a Person page allows only single user (Radio  button) to authorize at a time. but <a href="http://blogs.msdn.com/healthvault/">http://blogs.msdn.com/healthvault/</a> speaks about authorization of multiple user's (Check box) in the new version release.<br/><br/>Could you please brief me whether I need to do any configuration change to get multiple user's authorization?<br/><br/>Thanks,</p>Wed, 28 Oct 2009 11:06:14 Z2009-10-29T04:58:07Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/021f4a3b-c024-4445-ae47-611993d3911dhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/021f4a3b-c024-4445-ae47-611993d3911dHCManihttp://social.msdn.microsoft.com/Profile/en-US/?user=HCManiHow to update Notes of HealthRecordItemHi,<br/><br/>I'm able to retrieve &amp; update all my personal health records from my web application using <span style="font-size:x-small;color:#008080">OfflineWebApplicationConnection.<br/><br/>However Note property is embedded with <span style="font-size:x-small;color:#008080">CommonItemData which has only Set while the other properties have Get/Set property.<br/><br/>Could you please suggest the way to update my exisiting &quot;Note&quot; string of any selected item e.g. Allergy?<br/><br/>Thanks &amp; Regards,<br/>Mani </span></span>Fri, 23 Oct 2009 13:18:42 Z2009-10-28T06:57:58Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/fde4d995-4520-4500-98b1-c3f0d7a1018bhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/fde4d995-4520-4500-98b1-c3f0d7a1018bDevesh Koiralahttp://social.msdn.microsoft.com/Profile/en-US/?user=Devesh%20KoiralaCan I add Medication Dose by value and Units from application ?I was wondering if I can add the Medication dose by value and units in Healthvault with the use of new Medication data type ? I see the dose to be of GeneralMeasurement type in which only "display" properties is available for read/write. With the display properties, it would be set as a free text but I wanted to set by value and units. Any suggestions ?<br /><br />Thanks<br />-DeveshTue, 13 Oct 2009 20:58:47 Z2009-10-16T16:39:20Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/c337e0ca-ed6d-486b-8f0c-3b00e2055441http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/c337e0ca-ed6d-486b-8f0c-3b00e2055441Devesh Koiralahttp://social.msdn.microsoft.com/Profile/en-US/?user=Devesh%20KoiralaHow to to request new Medication/Immunization data typesHello,<br/> <br/> I recently upgraded Healthvault SDK to version 1.0.  I had the allergies, conditions, immunization and medications synced with Healthvault with older SDK. Now after the SDK upgrade, I am using query with filters to request new data types related records. I am getting the allergies and conditions records properly but the query returns NULL for medications and immuniztions. Here are few code fragments that I am using.<br/> <span style="font-size:x-small"><span style="font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span> </span> <span style="font-size:x-small"> ((</span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">this</span> </span> <span style="font-size:x-small">.allergies = GetValues&lt;</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Allergy</span> </span> <span style="font-size:x-small">&gt;(</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Allergy</span> </span> <span style="font-size:x-small">.TypeId)) == </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span> </span> <span style="font-size:x-small">) <p>{</p> <span style="font-size:x-small"> <p>msgList.Add(</p> </span> </span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;WARNING: ALLERGY record not found.&quot;</span> </span> <span style="font-size:x-small">); <p>}</p> </span></p> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff"> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span> </span> <span style="font-size:x-small"> ((</span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">this</span> </span> <span style="font-size:x-small">.conditions = GetValues&lt;</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Condition</span> </span> <span style="font-size:x-small">&gt;(</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Condition</span> </span> <span style="font-size:x-small">.TypeId)) == </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span> </span> <span style="font-size:x-small">) <p>{</p> <span style="font-size:x-small"> <p>msgList.Add(</p> </span> </span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;WARNING: CONDITION record not found.&quot;</span> </span> <span style="font-size:x-small">);<span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"><span style="font-size:x-small"> <p>}</p> </span> <br/> if</span> </span> </span></p> <span style="color:#0000ff;font-size:x-small"><span style="color:#0000ff;font-size:x-small"> <p><br/> if</p> </span> </span> </span> <span style="color:#0000ff;font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small"> ((</span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">this</span> </span> <span style="font-size:x-small">.immunizations = GetValues&lt;</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Immunization</span> </span> <span style="font-size:x-small">&gt;(</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Immunization</span> </span> <span style="font-size:x-small">.TypeId)) == </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span> </span> <span style="font-size:x-small">) <p>{</p> <span style="font-size:x-small"> <p>msgList.Add(</p> </span> </span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;WARNING: IMMUNIZATION record not found.&quot;</span> </span> <span style="font-size:x-small">); <p>}</p> </span></p> <span style="font-size:x-small"><span style="font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span> </span> <span style="font-size:x-small"> ((</span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">this</span> </span> <span style="font-size:x-small">.medications = GetValues&lt;</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Medication</span> </span> <span style="font-size:x-small">&gt;(</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Medication</span> </span> <span style="font-size:x-small">.TypeId)) == </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span> </span> <span style="font-size:x-small">) <p>{</p> <span style="font-size:x-small"> <p>msgList.Add(</p> </span> </span></p> <p><span style="font-size:x-small;color:#a31515"><span style="font-size:x-small;color:#a31515">&quot;WARNING: MEDICATION record not found.&quot;</span> </span> <span style="font-size:x-small">); <p>}</p> <p> </p> </span></p> <span style="font-size:x-small"><span style="font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small"><br/> Where allergies, conditions, immunizations and medications are the list of corresponding types. And here is the GetValues function that I am calling<br/> <br/> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af"><span style="color:#2b91af;font-size:x-small"><span style="color:#2b91af;font-size:x-small"> <p>List</p> </span> </span> </span> <span style="color:#2b91af;font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small">&lt;T&gt; GetValues&lt;T&gt;(</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Guid</span> </span> <span style="font-size:x-small"> typeID) </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">where</span> </span> <span style="font-size:x-small"> T : </span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">HealthRecordItem</span> </span></p> <span style="font-size:x-small"> <p>{</p> <span style="font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">HealthRecordSearcher</span> </span> <span style="font-size:x-small"> searcher = </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">this</span> </span> <span style="font-size:x-small">.personInfo.SelectedRecord.CreateSearcher();<span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">HealthRecordFilter</span> </span> <span style="font-size:x-small"> filter = </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span> </span> <span style="font-size:x-small"> </span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">HealthRecordFilter</span> </span> <span style="font-size:x-small">(typeID); <p>searcher.Filters.Add(filter);</p> <span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">HealthRecordItemCollection</span> </span> <span style="font-size:x-small"> items = searcher.GetMatchingItems()[0];<span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span> </span> <span style="font-size:x-small"> (items != </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span> </span> <span style="font-size:x-small"> &amp;&amp; items.Count &gt; 0) <p>{</p> <span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">List</span> </span> <span style="font-size:x-small">&lt;T&gt; typedList = </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span> </span> <span style="font-size:x-small"> </span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">List</span> </span> <span style="font-size:x-small">&lt;T&gt;();<span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">foreach</span> </span> <span style="font-size:x-small"> (</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">HealthRecordItem</span> </span> <span style="font-size:x-small"> item </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">in</span> </span> <span style="font-size:x-small"> items) <p>{</p> <span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">try</span> </span></p> <span style="font-size:x-small"> <p>{</p> <p>typedList.Add((T)item);</p> <p>}</p> <span style="font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">catch</span> </span> <span style="font-size:x-small"> (</span> <span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Exception</span> </span> <span style="font-size:x-small">)<span style="font-size:x-small"> <p>{</p> </span> </span></p> <p><span style="font-size:x-small"><br/> } <p> </p> <p>}</p> <span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">return</span> </span> <span style="font-size:x-small"> typedList; <p>}</p> <span style="font-size:x-small"> <p> </p> </span> </span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">else</span> </span></p> <span style="font-size:x-small"> <p>{</p> <span style="font-size:x-small"> <p> </p> </span> </span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">return</span> </span> <span style="font-size:x-small"> </span> <span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">null</span> </span> <span style="font-size:x-small">; <p>}</p> <p>}<br/> <br/> Any suggestions on this is highly appreciated.<br/> <br/> Thanks<br/> -Devesh</p> </span></p> </span></p>Tue, 15 Sep 2009 23:18:21 Z2009-09-25T23:00:22Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/199cf254-d307-42af-ac7d-f3c955325701http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/199cf254-d307-42af-ac7d-f3c955325701hibalinahttp://social.msdn.microsoft.com/Profile/en-US/?user=hibalinaCustom data Typehey <br/> i created a custom type and register it in healthvault, i followed the code in msdn of CustomHealthTypeWrapper. adding a new item to HV is working, but when i get that item from HV this error appeared:<br/> <br/> Unable to cast object of type 'Microsoft.Health.ItemTypes.ApplicationSpecific' to type 'CustomHealthTypeWrapper'.<br/> <br/> Here is the code i used to get an item:<br/> <br/> Dim TYPE As Guid = New Guid(CustomHealthTypeWrapper.ApplicationCustomTypeID)<br/>         Dim searcher As HealthRecordSearcher = Me.PersonInfo.SelectedRecord.CreateSearcher()<br/>         Dim filter As HealthRecordFilter = New HealthRecordFilter()<br/>         filter.TypeIds.Add(TYPE)<br/>         filter.XPath = Incident.XPathFilterForQuery<br/>         searcher.Filters.Add(filter)<br/>         Dim objincident As New Incident<br/> <br/>         Dim items As HealthRecordItemCollection = searcher.GetMatchingItems(0)<br/>         For Each item As HealthRecordItem In items<br/>             Dim obj As New CustomHealthTypeWrapper<br/>             obj = DirectCast(item, CustomHealthTypeWrapper)<br/>         Next<br/> <br/> the error appeared when trying to cast from item to CustomHealthTypeWrapper<br/> <br/> thanks<br/>Thu, 24 Sep 2009 10:38:29 Z2009-09-25T16:14:33Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/68f9ea83-8f77-43be-a01d-a3795c2c0aa2http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/68f9ea83-8f77-43be-a01d-a3795c2c0aa2Lalit Bhesdadiyahttp://social.msdn.microsoft.com/Profile/en-US/?user=Lalit%20BhesdadiyaAddress Data Type - Mandatory fields<p>I am using Person Data type to hold the contacts/providers of the user. As we had city, country &amp; Zip as mandatory fields, I was giving &quot; &quot; (string with one empty space) in it and it was working fine in the previous version of HV SDK. Now from new SDK in June 09, it is not allowing to add &quot; &quot; (string with space character) to the fields of address data type. Previously, it was allowing that. So now my below code fails. Any workaround for this? Also, from <a href="https://account.healthvault-ppe.com">https://account.healthvault-ppe.com</a> web portal, I am not able to view the previously added Contacts, which as &quot; &quot; character in thier streer, city and country.<br/><span style="font-size:x-small"><font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#008000"><span style="font-size:x-small;color:#008000">// Address of Contact</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Address</span></span><span style="font-size:x-small"> cAddress = </span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">new</span></span><span style="font-size:x-small"> </span><span style="font-size:x-small;color:#2b91af"><span style="font-size:x-small;color:#2b91af">Address</span></span><span style="font-size:x-small">(); <p>cAddress.Description = addressTypeContact;</p> <font size=2> <p>cAddress.IsPrimary =</p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">true</span></span><span style="font-size:x-small">; <p>cAddress.Street.Add(contact.Address);</p> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#008000"><span style="font-size:x-small;color:#008000">// City. </span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span></span><span style="font-size:x-small"> (!</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small">.IsNullOrEmpty(contact.City)) <p>{ cAddress.City = contact.City; }</p> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">else</span></span><span style="font-size:x-small"> { cAddress.City = stringWithSpace; }<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#008000"><span style="font-size:x-small;color:#008000">// Country/</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span></span><span style="font-size:x-small"> (!</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small">.IsNullOrEmpty(contact.Country)) <p>{ cAddress.Country = contact.Country; }</p> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">else</span></span><span style="font-size:x-small"> { cAddress.Country = stringWithSpace; }<font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#008000"><span style="font-size:x-small;color:#008000">// State</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span></span><span style="font-size:x-small"> (!</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small">.IsNullOrEmpty(contact.State)) <p>{ cAddress.State = contact.State; }</p> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">else</span></span><span style="font-size:x-small"> { cAddress.State = stringWithSpace; }</span><span style="font-size:x-small;color:#008000"></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#008000"><span style="font-size:x-small;color:#008000">// Postal code</span></span></p> <span style="font-size:x-small"><font size=2> <p> </p> </font></span> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">if</span></span><span style="font-size:x-small"> (!</span><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">string</span></span><span style="font-size:x-small">.IsNullOrEmpty(contact.Zipcode)) <p>{ cAddress.PostalCode = contact.Zipcode; }</p> <font size=2> <p> </p> </font></span></p> <p><span style="font-size:x-small;color:#0000ff"><span style="font-size:x-small;color:#0000ff">else</span></span><span style="font-size:x-small"> { cAddress.PostalCode = stringWithSpace; }<br/><br/><br/></span></p>Fri, 31 Jul 2009 11:30:03 Z2009-08-24T18:46:39Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f85f792a-2e54-4942-b096-6efe20ee3789http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f85f792a-2e54-4942-b096-6efe20ee3789hkarmihttp://social.msdn.microsoft.com/Profile/en-US/?user=hkarmiCustom HealthVault datatypeshey ,<br/> i need some help , i don't know how to use the custom type , i create class that just like the custom datatype in the msdn .... bas i don't know how to use it ..<br/> this class contains the properties , parseXML , writeXML ... <br/> also when i regiter the type id i have an error <br/> ItemTypeManager.RegisterTypeHandler(new Guid(&quot;a5033c9d-08cf-4204-9bd3-cb412ce39fc0&quot;), typeof( CustomType), true) <br/> error in Typeof(customtype)  &quot;custom type is type that can't be used as exception &quot;<br/> <br/> i don't know where to use the custom time and where to regiter it in the same class or in the page that use ...<br/> <br/> thanx for help <br/> <br/> best regards <br/>    Fri, 21 Aug 2009 14:52:02 Z2009-08-24T18:11:53Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/324b1f46-2cd3-4c27-bfba-fe1b109f273fhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/324b1f46-2cd3-4c27-bfba-fe1b109f273fhkarmihttp://social.msdn.microsoft.com/Profile/en-US/?user=hkarmihealthVault custom datatypeshey ,<br/> <br/> i have a problem , i defined custom data type , but when i used it i did the followings :<br/> <br/> dim custom as new customType <br/> custom.reason=&quot;  whatever&quot;<br/> custom.date=some value<br/> <br/>  PersonInfo.SelectedRecord.NewItem(custom)<br/> <br/> when i checked my record i found it but empty , do i miss writing anything , and how can WriteXML and ParseXML can be used here <br/> <br/> best regards <br/> HkarmiMon, 24 Aug 2009 11:10:28 Z2009-08-24T14:12:39Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f56edfc7-f797-4797-aa9a-ef508083fd8fhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f56edfc7-f797-4797-aa9a-ef508083fd8fS.K.Murthyhttp://social.msdn.microsoft.com/Profile/en-US/?user=S.K.MurthyWriting Script in MirthHi, <div><br/> <div>I want to sent CCD to HL7 using Mirth.</div> <div>I am able to Map the Inbound and OutBound Field.</div> <div><strong>I donot How write Script in Mirth.</strong></div> <div><strong>Please any one can tell How to Write Script, What are the function?</strong></div> <div><strong><br/></strong></div> <div><strong>Please it is urgent for me.</strong></div> <div><strong>Thanks in Advance.</strong></div> <div><strong>By</strong></div> <div><strong>S.K.Murthy</strong></div> <div><strong><br/></strong></div> </div>Wed, 29 Jul 2009 06:13:50 Z2009-08-17T16:28:15Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/a8375893-af72-438f-bd9e-ff217f9c1f34http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/a8375893-af72-438f-bd9e-ff217f9c1f34remkoatchipsofthttp://social.msdn.microsoft.com/Profile/en-US/?user=remkoatchipsoftHealthVault CCD support<p>Does HealthVault support CCD level 2 documents (containing only narrative/textual blocks) or is a fully structured (level 3) document required?<br/>If both CCD 'levels' are supported, how are they treated by the HealthVault platform, eg what are the differences in presentation from a consumer perspective?<br/><br/>The reason for this question is that, due to lack of support for coding systems like LOINC or SNOMED-CT in the netherlands, it is rather difficult to upload level 3 CCD documents to HealthVault from a dutch emr system, without extensive mapping from regional coding systems to a terminology like SNOMED-CT</p>Thu, 23 Jul 2009 21:32:36 Z2009-07-27T17:08:29Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/a9fbc311-b006-499e-8fd8-059b417750abhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/a9fbc311-b006-499e-8fd8-059b417750abalimnemonichttp://social.msdn.microsoft.com/Profile/en-US/?user=alimnemonicData reconciliation between ccd and Healthvault typesHi to all,<br/><br/>I am able to import CCD objects in Healthvault. Some of the data types were automatically flagged and was &quot;transfered&quot; to the correct HV data types. For instance, problems, medications and procedures were correctly mapped. But some other wasn't, like family history (which, oddly enough, is a list of problems...)<br/><br/>Is it because of semantic incompabilities or only that some types are supported and some aren't.<br/><br/>Is there some documentation regarding this topic.<br/><br/>Thank you.Mon, 20 Jul 2009 18:02:36 Z2009-07-22T18:54:58Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/c24a6b2d-8a4d-44ce-8771-6559c910a8f3http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/c24a6b2d-8a4d-44ce-8771-6559c910a8f3celalit1http://social.msdn.microsoft.com/Profile/en-US/?user=celalit1Not able to cast old Immunization datatype to new Immunization datatypeAs new datatype is introduced for Immunization, I am not able to convert/cast the old Immuniations to new datatype or viceversa. Below code stopped working for me: <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            // create and add the filter</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            HealthRecordFilter filter = new HealthRecordFilter();</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            filter.TypeIds.Add(new Guid(ImmunizationGUID));</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            filter.TypeIds.Add(Microsoft.Health.ItemTypes.Immunization.TypeId);</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            filter.View.Sections = HealthRecordItemSections.All;</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            searcher.Filters.Add(filter);</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            HealthRecordItemCollection hvItems = searcher.GetMatchingItems()[0];</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            foreach (HealthRecordItem item in hvItems)</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            {</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">                Microsoft.Health.ItemTypes.Immunization hvImm = item as Microsoft.Health.ItemTypes.Immunization;</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">            }</div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial"><br/></div> <div style="font-weight:inherit;font-style:inherit;font-family:inherit;padding:0px;margin:0px;border:0px initial initial">Here, for the new Immunization datatypes, it is working fine, but it turns out to be NULL for the old ones. Any way to covert it?</div> <div><br/></div> </div>Wed, 22 Jul 2009 11:39:30 Z2009-07-22T16:32:12Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/96e64eb9-b46c-4179-b3fa-5aebf333a50chttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/96e64eb9-b46c-4179-b3fa-5aebf333a50cchuckwellerhttp://social.msdn.microsoft.com/Profile/en-US/?user=chuckwellerHealthVault -- uploading images<p>When can we upload pdfs to HV?  <br>Other images?<br><br>Thanks!<br><br>Chuck Weller<br><a href="mailto:weller@nxgh.net">weller@nxgh.net</a></p>Sun, 08 Mar 2009 16:48:20 Z2009-07-13T23:55:09Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/9174ffb8-025b-43c7-b3bf-e3fc72167ac3http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/9174ffb8-025b-43c7-b3bf-e3fc72167ac3Forhad Hossainhttp://social.msdn.microsoft.com/Profile/en-US/?user=Forhad%20HossainProblem Updating Immunization RecordI am facing a problem during updating the Immunization Record.<br/> <br/> First I tried to get the immunization collection, than tried to update each record. Code block is as follows:<br/> <br/> <div style="color:Black;background-color:White"> <pre>List&lt;HealthRecordItem&gt; immunizationList = GetValues&lt;HealthRecordItem&gt;(<span style="color:Blue">new</span> Guid(<span style="color:#a31515">&quot;cd3587b5-b6e1-4565-ab3b-1c3ad45eb04f&quot;</span> )); <span style="color:Green">// Immunization.TypeId </span> <br/> <span style="color:Blue">if</span> (immunizationList != <span style="color:Blue">null</span> &amp;&amp; immunizationList.Count &gt; 0)<br/> {<br/>  <span style="color:Blue">foreach</span> (HealthRecordItem hrItem <span style="color:Blue">in</span> immunizationList)<br/>  {<br/>  <span style="color:Blue"> try</span> { PersonInfo.SelectedRecord.UpdateItem(hrItem); } <span style="color:Blue">catch</span> (Exception ex)<br/>   { System.Diagnostics.Trace.Write( ex.Message ); } } } </pre> </div> I tried to get collection by the Immunization.TypeID (&quot;<a href="http://developer.healthvault.com/types/type.aspx?id=3d817dbe-af42-4a9d-a553-d1298b4d08fc">3d817dbe-af42-4a9d-a553-d1298b4d08fc</a> &quot;) and &quot;<a href="http://developer.healthvault.com/types/type.aspx?id=cd3587b5-b6e1-4565-ab3b-1c3ad45eb04f">cd3587b5-b6e1-4565-ab3b-1c3ad45eb04f</a> &quot;<br/> <br/> But for updating I am getting the same error as follows:<br/> <br/> <strong>&quot;The thing type specified in the update, '3d817dbe-af42-4a9d-a553-d1298b4d08fc', is an older version than the type of the existing instance&quot;</strong> <br/> <br/> Please give a solution to recover from this error... :( :(Sun, 21 Jun 2009 06:55:17 Z2009-06-26T17:05:06Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f2fe0a54-54ca-4fc6-9157-8319b743ba9ehttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f2fe0a54-54ca-4fc6-9157-8319b743ba9eScott on Vashonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Scott%20on%20VashonCCD: Populating Summary column in HealthVault Shell using API<p class=MsoPlainText style="margin:0in 0in 0pt"><span style="font-size:small;font-family:Consolas">If I upload a ccd through the shell manually, I have the option to put in a description which shows up in the &quot;Summary&quot; column of the CCD grid view.<span style="">  </span>If I'm uploading a CCD via the API using code like this:</span></p> <p class=MsoPlainText style="margin:0in 0in 0pt"><span style="font-size:small;font-family:Consolas"> </span></p> <p class=MsoPlainText style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Consolas"><span style="">        </span>XmlDocument ccdDocument = new XmlDocument();</span></span></p> <p class=MsoPlainText style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Consolas"><span style="">        </span>ccdDocument.LoadXml(txtMyCCDBlob);<span style="">   </span></span></span></p> <p class=MsoPlainText style="margin:0in 0in 0pt"><span style="font-size:small"><span style="font-family:Consolas"><span style="">        </span>HealthRecordItem ccd = new HealthRecordItem(CCD_THING_GUID, ccdDocument);</span></span></p> <p class=MsoPlainText style="margin:0in 0in 0pt"><span style="font-size:small;font-family:Consolas"> </span></p> <p class=MsoPlainText style="margin:0in 0in 0pt"><span style="font-size:small;font-family:Consolas">How can I populate the property that surfaces in the &quot;Summary&quot; column of the CCD grid view of the Shell?<span style="">  </span>By default, it populates that property with &quot;Continuity of Care Document (CCD)&quot;.<br/><span style=""><br/>FYI: I'm displaying this information in a web site (MiCare).<br/><br/>My Intention for asking this question is two-fold:<br/>1.  I'd like to have some descriptive summary information that tells the user which note is most relevant to look at.  <br/>2.  I'd like to pre-load this summary information in an expandable view where the user doesn't retrieve the full content of the CCD until they click on the summary information they're interested in.<br/><br/>  </span></span></p>Fri, 19 Jun 2009 14:36:00 Z2009-06-19T21:19:09Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/eceb646a-3f2f-4a30-a5b0-7d28b2a52155http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/eceb646a-3f2f-4a30-a5b0-7d28b2a52155Forhadhttp://social.msdn.microsoft.com/Profile/en-US/?user=ForhadHow can i get the status of CCD Object?Hi,<br/> <br/> I need the uploaded ccd object's status like reconciled or not. How can i Get that information?Tue, 09 Jun 2009 06:01:50 Z2009-06-18T22:40:44Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/5f76073f-56f8-4842-9f6f-f55708800e93http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/5f76073f-56f8-4842-9f6f-f55708800e93Forhadhttp://social.msdn.microsoft.com/Profile/en-US/?user=ForhadCCD Object NameHi,<br/> <br/> I add a CCD in HealthVault. I want to download the CCD from my application. I need to show the CCD Name and other information in the UI. <br/> <br/> I need the CCD object Name like Allergy or Medication.<br/> <br/> with regards<br/> <br/> <br/> Forhad.Tue, 09 Jun 2009 05:54:35 Z2009-06-18T22:40:23Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/de02f182-8d9e-46c4-bd29-7dba54bab029http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/de02f182-8d9e-46c4-bd29-7dba54bab029Kintehttp://social.msdn.microsoft.com/Profile/en-US/?user=KinteAbility to Import DataIs it possible to import data directly into HealthVault from other systems (e.g., EHR, Labs). If yes, what is the preferred format and how will this data be displayed for the user?Wed, 27 May 2009 14:44:26 Z2009-06-08T17:39:46Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/190f134b-2f4d-4aad-8316-9ad8cc85a728http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/190f134b-2f4d-4aad-8316-9ad8cc85a728Monkstownmanhttp://social.msdn.microsoft.com/Profile/en-US/?user=MonkstownmanNew Sleep Record Data TypeThe company I work for makes a device that measures sleep from respiration data. <div>I would like to write a driver using the DDK for this data, to upload this data to the HealthVault and then write the application using the SDK to analyse it?</div> <div>What is the quickest way to prototype this?</div> <div>Do I have to get a new data type accepted first?</div> <div>The link in the documentation for submitting data types is broken: <span style="font-family:Calibri;font-size:13px;line-height:14px">use http://connect.microsofthealthbeta.com/requesttype.aspx <span style=""> </span></span></div> <div><span style="font-family:Calibri;font-size:13px;line-height:14px">Any leads on this would be most welcome.</span></div>Fri, 17 Apr 2009 12:05:44 Z2009-05-25T09:08:25Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/1348c530-36fb-4932-8672-2f423ef0e53ahttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/1348c530-36fb-4932-8672-2f423ef0e53aGeorg - Portability Live Updatehttp://social.msdn.microsoft.com/Profile/en-US/?user=Georg%20-%20Portability%20Live%20UpdateCommonly Used Fields<span style="font-size:10pt;background:yellow;color:blue;font-family:'Arial','sans-serif'">In regard to the Strength and Dosage fields in the HV application, which one is more commonly used by applications in HV?  Are they used interchangeably?</span><span style="font-size:10pt;color:blue;font-family:'Arial','sans-serif'"> </span>Tue, 12 May 2009 14:59:20 Z2009-05-18T16:51:30Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f87db0ad-ddb5-43d3-af84-22553bbe71e3http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/f87db0ad-ddb5-43d3-af84-22553bbe71e3Arun Mohanhttp://social.msdn.microsoft.com/Profile/en-US/?user=Arun%20MohanHelp in identifying the right version of datatype on the HealthVault config site Recently,  I had a problem in identifyting the right version of the datatype on the HealthVault config site. I had to use Medication and Procedure datatypes and i was using the latest version of sdk. <br><br>On the config site, there are 2 medications and 2 procedures (multiple for some other datatypes as well). I figured out that the Medication coming second in order was the latest version of Medication and the Procedure which comes first in order was the latest version of procedure. <br><br>Can we get come sort of help (some change in the way it is displayed on the config site now.  For e.g. Procedure (V1) Procedure (Old version) etc. ), so that we know we are selecting the right version of the datatype for our applications.<br><br>Thanks,<br><br>Arun<hr class="sig">Arun, Get Real Consulting. HealthVault Developer Tool : http://xray.getrealconsulting.comThu, 26 Feb 2009 07:53:44 Z2009-02-27T02:42:36Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/755fe44d-b02f-44d3-a045-29e55f62183bhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/755fe44d-b02f-44d3-a045-29e55f62183bncherryushttp://social.msdn.microsoft.com/Profile/en-US/?user=ncherryusa request to add ICD 9 Diagnosis vocabularyThis is a request to add ICD 9 Diagnosis vocabulary to our vocabularies on the  diabetes conditions and types below:<br>NEED TO ADD:<br>TYPE 1 DIABETES, AUTOIMMUNE<br>TYPE 1 DIABETES, IDIOPATHIC<br>TYPE 1 DIABETES, AUTOIMMUNE, CONTROLLED<br>TYPE 1 DIABETES, IDIOPATHIC, UNCONTROLLED<br>TYPE 2 DIABETES, CONTROLLED<br>TYPE 2 DIABETES, UNCONTROLLED<br>MODY TYPE DIABETES<br>CYSTIC FIBROSIS RELATED DIABETES<br><br><br> Mon, 15 Dec 2008 20:07:47 Z2009-01-12T18:21:40Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/a62fbebf-0faa-4fd3-9ee9-1bc101c21442http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/a62fbebf-0faa-4fd3-9ee9-1bc101c21442Rajesh CKRhttp://social.msdn.microsoft.com/Profile/en-US/?user=Rajesh%20CKRQuestionnaire data typeI assume this is a datatype question than a generic forum question - hence posting it here...<br> <br>HealthVault currently has a Question datatype which can store single question and an answer.<br><br>In some (most?) cases, questions are grouped together.    <br><br>I wonder if it is meaningful to define a new datatype semantically equivalient to  &quot;Questionaire&quot; which can contain multiple questions and answers.<br><br>I understand that I can relate multiple instances of &quot;Question&quot; instances and acheive somewhat the results I am looking at. But I think that method is kludgy - If I do that, a question will not be meaningful unless it is read with related questions.  For ex,  consider the following Questionnaire<br><br>a.   Do you get frequent Headaches?<br>        yes/no<br><br>b.   If yes, How often?<br>        [integer] times a day<br><br>If I use relationships to solve the problem, there will be a question datatype instance in HealthVault which reads<br><br><em>&quot;If yes, How often&quot;</em> -&gt; something by itself does not convey anything unless read along with the first question.<br><br>Would really appreciate any feedback on this.  <hr class="sig">RajTue, 18 Nov 2008 06:29:10 Z2008-12-04T17:28:51Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/efcb0ecb-9371-407b-bac2-4c280d301c44http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/efcb0ecb-9371-407b-bac2-4c280d301c44SunilForEverhttp://social.msdn.microsoft.com/Profile/en-US/?user=SunilForEverHow can is store Adress,Gender,Email details to Personal Data TypeHi,<br>I am working on a portal, which has the option to save the User's Personal Data to HealthVault. After matching all the properties i decided to use the &quot;Personal&quot; Data Type of HealthVault.<br><br>But Personal Data Type don't have Address,Gender,EMail properties to store users Address,Gender and Email details.<br><br>How can i save these details in Person Data Type in HealthVault<br><br>- SunilForEver<br> Wed, 19 Nov 2008 10:33:47 Z2008-12-04T17:29:12Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/0f7b117b-2a1b-4c34-b250-78ec9c7b0539http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/0f7b117b-2a1b-4c34-b250-78ec9c7b0539Jeff Pettirosshttp://social.msdn.microsoft.com/Profile/en-US/?user=Jeff%20PettirossPregnancy data typeHey Tim... <br><br>The <a href="http://blogs.msdn.com/healthvaultdatatypes/archive/2008/09/17/for-review-pregnancy.aspx">taxonomy</a> you posted for comment follows a fairly limited view of pregnancy as a medical condition to be managed, rather than a normal condition. <br><br>I would like to see &quot;anesthesia&quot; changed to &quot;pain management&quot; and expanded to include non-chemical means like acupuncture, massage, and relaxation techniques. While non-pharma, they are also valid, prescribed means of pain management.<br><br>You have the baby's gender listed, so what about other conditions of the baby? APGAR scores, birth weight, weight, length, date and time of birth, etc. I'm not sure if these are charted with mom or not. <br><br>It also seems like this is pretty targeted at the birth event, rather than the pregancy. You might want to consider changing the name, or expanding to cover more about what happens during the pregnancy. Consider adding things like:<br>- number of pre-natal visits or other qualitative or quantitative descriptions of pre-natal care<br>- have a birth plan?<br>- complications: smoking, drugs, drinking, gestational diabetes, other health conditions<br><br>Cheers,<br>jeff<br><br>Wed, 22 Oct 2008 03:49:04 Z2008-10-22T03:49:04Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/ef42560d-2a25-4de8-b3eb-7512df89173fhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/ef42560d-2a25-4de8-b3eb-7512df89173fTim Theinhttp://social.msdn.microsoft.com/Profile/en-US/?user=Tim%20Theinmedication-prescribed vs. prescription-type (vocabularies)In the Microsoft Health SDK documentation, it states that the preferred vocabulary for the Prescribed property of Medication type is &quot;medication-prescribed&quot;.  However, I see that &quot;prescription-type&quot; is used in the HealthVault shell.<div><br></div><div>This seems to be a mistake.  Will this be corrected?  Which vocabulary should I use?</div>Wed, 24 Sep 2008 23:32:25 Z2008-09-30T00:15:18Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/31fefc41-d8d7-436f-8e99-9bcce4eef32dhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/31fefc41-d8d7-436f-8e99-9bcce4eef32dElainhttp://social.msdn.microsoft.com/Profile/en-US/?user=ElainNew Medication type problemHi, I have posted this in the main forum last week and hasn't received responses yet. I figure this might be right place to post this:<br><br>There are two Medication types with typeId = '5c5f1223-f63c-4464-870c-3e36ba471def' and typeId = '30cafccc-047d-4288-94ef-643571f7919d'.<br>The new one supports form transformation while the old one doesn't.<br> <p>I have 2 questions for this:<br><br>1) Will the old Medication object type support form transformation in the future?<br><br>2) How the new Medication object type will get merged into the old one? Currently they have different type ids.<br><br>3) In order to test the new Medication object type, I was trying to enter some data by the following two ways:<br><br>a) in the Microsoft Health Explorer, <br>Here is the url for Microsoft Health Explorer:<br><a href="https://account.healthvault-ppe.com/viewitems.aspx?typeid=30cafccc-047d-4288-94ef-643571f7919d&amp;action=add">https://account.healthvault-ppe.com/viewitems.aspx?typeid=30cafccc-047d-4288-94ef-643571f7919d&amp;action=add</a><br>I can post Medication object in the above link, but we will not be able to get back those data using getThings either by the old Medication typeId or the new Medication typeId.<br><br>b)in the type browser:<br>I was trying to use the type browser link to enter some data for the new Medication object, and I saw the error page. The error is even before I can see the page and Add Thing. for the new Medication object with type id = '30cafccc-047d-4288-94ef-643571f7919d'</p> <p>steps:</p> <p>1) go to this link: <a href="http://developer.healthvault.com/types/types.aspx">http://developer.healthvault.com/types/types.aspx</a></p> <p> <br>2) Look for the Medication with typeId = '30cafccc-047d-4288-94ef-643571f7919d', click the View Things link, then we will see the error. We are supposed to be able to view a list of existing things for that type and also be able to add Medication object in valid xml.</p> <p>(<a href="http://developer.healthvault.com/view/tgrid.aspx?types=30cafccc-047d-4288-94ef-643571f7919d">http://developer.healthvault.com/view/tgrid.aspx?types=30cafccc-047d-4288-94ef-643571f7919d</a>)</p> <p>and here is the error:</p> <p>Server Error in '/' Application.</p> <p>Runtime Error <br>Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error </p> <p>from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. </p> <p>Thanks<br><br>Elaine</p>Tue, 09 Sep 2008 15:21:05 Z2008-09-29T17:29:09Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/fdd90bc2-d6aa-47a5-836c-323c9b868959http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/fdd90bc2-d6aa-47a5-836c-323c9b868959Apastambhahttp://social.msdn.microsoft.com/Profile/en-US/?user=ApastambhaHealthvault integration to Portal Is there a webpart for MOSS 2007? what is needed to integrate with HL7 accelerator in Biztalk?<br>Thanks,<br>SP<hr size="1" align="left" width="25%">SPFri, 12 Sep 2008 13:35:58 Z2008-09-29T17:29:26Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/88dcf3f8-b070-4680-8d9c-731c0e16c6cfhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/88dcf3f8-b070-4680-8d9c-731c0e16c6cfGekophetwebhttp://social.msdn.microsoft.com/Profile/en-US/?user=GekophetwebGetting an alert/warning on a specific time for an appoitment<p>I am creating an application and I'd like the application to alert or warn the person if it has an appointment on a date, the alert/warning should appear at a specific time and date. I think i should use the Alert type to do this but i don't really know how to link it to an appointment. <br>Can aanyone help me with this problem?</p>Fri, 29 Aug 2008 07:13:53 Z2008-09-29T17:28:32Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/976a02a8-e6a7-46df-bdf3-420f06355ccehttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/976a02a8-e6a7-46df-bdf3-420f06355cceEric Gunnersonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Eric%20GunnersonFor Review: Genetic SNP ResultPlease put any comments on the:<br><br><a href="http://blogs.msdn.com/healthvaultdatatypes/archive/2008/08/28/for-review-genetic-snp-result.aspx">For Review: Genetic SNP Result</a><br><br>post in this thread. Thu, 28 Aug 2008 17:30:39 Z2008-08-28T17:30:39Zhttp://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/0472734a-0685-4419-8c41-719684dd6bf3http://social.msdn.microsoft.com/Forums/en-US/HealthVaultDataTypes/thread/0472734a-0685-4419-8c41-719684dd6bf3Eric Gunnersonhttp://social.msdn.microsoft.com/Profile/en-US/?user=Eric%20GunnersonHealthVault Data Types forum and blogThe HealthVault team maintains a data type forum and a <a href="http://blogs.msdn.com/healthvaultdatatypes/">data type blog</a>.<br><br>The <a href="http://blogs.msdn.com/healthvaultdatatypes/">blog </a>is where we show our proposed new data types and modifications to existing data types. To facilitate better conversations around data types, instead of asking for comments on the blog, we will be creating cross-linked forum posts to contain comments and responses.<br><br>This forum is also fine for other questions around data types - what data types we have, how to use specific data types, etc. <br><br>More general questions about HealthVault belong in the <a href="http://forums.microsoft.com/msdn/ShowForum.aspx?ForumID=1869&amp;SiteID=1">HealthVault forum </a>(currently on the old forums platform, but scheduled to be migrated here soon). <br>Wed, 27 Aug 2008 22:08:42 Z2009-04-21T03:39:53Z