Hi Eric, Thanks for the fix.
After removing the existing medications from my profile and re-entering them in the UI I tested accessing the https://www.google.com/h9/feeds/profile/default feed in the Oauth Playground. I now get the <Code> element with NDC and RxNorm coding system values for the medications where I specified dosage information. I have a follow-up question regarding your notes. The Google Health Data API CCR Reference indicates that the FDB_routed coding system is supported. For instances where a drug is entered through the UI without dosage information, since the drug and route are indicated, is it possible to include the FDB_routed coding system value in the medications data feed? Regards, Patrick -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Eric (Google) Sent: Thursday, October 30, 2008 9:39 AM To: Google Health Developers Subject: [Google-Health-API] Re: Test of Profile Feed Missing: <Code> under <Medication> Hi Patrick/All, There should be a fix pushed to /h9 (not /health). A couple of notes: - Drugs entered through the UI with dosage info, a "dispensable med", will have an NDC code where available. - Drugs without dosage and/or route info will not generally have NDC codes -- NDC only indicate dispensable med. Eric On Oct 8, 12:57 pm, "Patrick Mebine" <[EMAIL PROTECTED]> wrote: > Hi Eric, > > Thank you for the response. I'll open a public issue shortly. > > Regards, > > Patrick > > -----Original Message----- > From: [email protected] > > [mailto:[EMAIL PROTECTED] On Behalf Of Eric > (Google) > Sent: Wednesday, October 08, 2008 12:40 PM > To: Google Health Developers > Subject: [Google-Health-API] Re: Test of Profile Feed Missing: <Code> > under <Medication> > > Hi Patrick, > > This is an issue on our end that we're hoping to get fixed ASAP. > > I'll post here when I have updates. Until then, feel free to open a > public issue:http://code.google.com/p/gdata-issues/issues/list > > Eric > > On Oct 6, 12:12 pm, Patrick Mebine <[EMAIL PROTECTED]> wrote: > > In testing the Profile Data Feed in the OAuth Playground, the <Code> > > element under <Medication> is not present. In my account created > > several medication entries using the Google Health interface. In > > the response body I only get data such as > > "<ProductName><Text>Ambien</ > > Text></ProductName>", without the <Code> element. > > > Our application integration is dependent on knowing having the > > <Code> element under <Medication>. Is there a reason no <Code> > > element is present in my test? > > > Also, is it possible to indicate a preferred <CodingSystem> for > > Medication category queries? Our integration's preferred > > CodingSystem is NDC or FDB_routed. > > > The full response body is below: > > > 1. HTTP/1.1 200 OK > > 2. Content-Type: application/atom+xml; charset=UTF-8 > > 3. Cache-Control: max-age=0, must-revalidate, private > > 4. GData-Version: 1.0 > > 5. Last-Modified: Thu, 02 Oct 2008 23:52:35 GMT > > 6. Transfer-Encoding: chunked > > 7. Date: Mon, 06 Oct 2008 18:18:57 GMT > > 8. Set-Cookie: S=weaver=WkWkLTWYsus; Domain=.google.com; Path=/ > > 9. Server: GFE/1.3 > > 10. > > 11. <?xml version="1.0" encoding="UTF-8"?> > > 12. <feed xmlns="http://www.w3.org/2005/Atom" > > xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" > > xmlns:ccr="urn:astm-org:CCR" xmlns:batch="http://schemas.google.com/ > > gdata/batch" xmlns:h9m="http://schemas.google.com/health/metadata"> > > 13. <id>https://www.google.com/h9/feeds/profile/default</id> > > 14. <updated>2008-10-02T23:52:35.482Z</updated> > > 15. <category scheme="http://schemas.google.com/g/2005#kind" > > term="http://schemas.google.com/health/kinds#profile"/> > > 16. <title type="text">Profile Feed</title> > > 17. <link rel="http://schemas.google.com/g/2005#feed" > > type="application/atom+xml" href="https://www.google.com/h9/feeds/ > > profile/default"/> > > 18. <link rel="http://schemas.google.com/g/2005#post" > > type="application/atom+xml" href="https://www.google.com/h9/feeds/ > > profile/default"/> > > 19. <link rel="http://schemas.google.com/g/2005#batch" > > type="application/atom+xml" href="https://www.google.com/h9/feeds/ > > profile/default/batch"/> > > 20. <link rel="self" type="application/atom+xml" > > href="https://www.google.com/h9/feeds/profile/default"/> > > 21. <openSearch:startIndex>1</openSearch:startIndex> > > 22. <entry> > > 23. <id>https://www.google.com/h9/feeds/profile/default/ > > UXSN2QFcaUs</id> > > 24. <published>2008-10-02T23:24:42.774Z</published> > > 25. <updated>2008-10-02T23:35:25.380Z</updated> > > 26. <category term="MEDICATION"/> > > 27. <category scheme="http://schemas.google.com/g/2005#kind" > > term="http://schemas.google.com/health/kinds#profile"/> > > 28. <category scheme="http://schemas.google.com/health/item" > > term="Ambien"/> > > 29. <title type="text"/> > > 30. <content type="html"/> > > 31. <link rel="http://schemas.google.com/health/data#complete" > > type="application/atom+xml" href="https://www.google.com/h9/feeds/ > > profile/default/-/MEDICATION/%7Bhttp%3A%2F%2Fschemas.google.com%2Fg > > %2F2005%23kind%7Dhttp%3A%2F%2Fschemas.google.com%2Fhealth%2Fkinds > > %23profile/%7Bhttp%3A%2F%2Fschemas.google.com%2Fhealth%2Fitem > > %7DAmbien"/> > > 32. <link rel="self" type="application/atom+xml" > > href="https://www.google.com/h9/feeds/profile/default/UXSN2QFcaUs"/> > > 33. <link rel="edit" type="application/atom+xml" > > href="https://www.google.com/h9/feeds/profile/default/UXSN2QFcaUs"/> > > 34. <author> > > 35. <name>Patrick Mebine</name> > > 36. <email>[EMAIL PROTECTED]</email> > > 37. </author> > > 38. <ContinuityOfCareRecord xmlns="urn:astm-org:CCR"> > > 39. <CCRDocumentObjectID>QGmlzcya8QgKV4jptWjVVQ</ > > CCRDocumentObjectID> > > 40. <Language/> > > 41. <DateTime> > > 42. <Type/> > > 43. </DateTime> > > 44. <Body> > > 45. <Medications> > > 46. <Medication> > > 47. <DateTime> > > 48. <Type> > > 49. <Text>Start date</Text> > > 50. </Type> > > 51. <ExactDateTime>2007-10-02</ > > ExactDateTime> > > 52. </DateTime> > > 53. <Type/> > > 54. <Description/> > > 55. <Status> > > 56. <Text>ACTIVE</Text> > > 57. </Status> > > 58. <Source> > > 59. <Actor> > > 60. <ActorID>[EMAIL PROTECTED]</ > > ActorID> > > 61. <ActorRole> > > 62. <Text>Patient</Text> > > 63. </ActorRole> > > 64. </Actor> > > 65. </Source> > > 66. <Product> > > 67. <ProductName> > > 68. <Text>Ambien</Text> > > 69. </ProductName> > > 70. <Strength> > > 71. <Value>5</Value> > > 72. <Units> > > 73. <Unit>mg</Unit> > > 74. </Units> > > 75. <StrengthSequencePosition>0</ > > StrengthSequencePosition> > > 76. <VariableStrengthModifier/> > > 77. </Strength> > > 78. <Form> > > 79. <Text>Tablet</Text> > > 80. <FormSequencePosition>0</ > > FormSequencePosition> > > 81. <MultipleFormModifier/> > > 82. </Form> > > 83. </Product> > > 84. <Directions> > > 85. <Direction> > > 86. <Description/> > > 87. <DeliveryMethod/> > > 88. <Dose> > > 89. <Value>1</Value> > > 90. <Units/> > > 91. <DoseSequencePosition>0</ > > DoseSequencePosition> > > 92. <VariableDoseModifier/> > > 93. </Dose> > > 94. <Route> > > 95. <Text>By mouth</Text> > > 96. <Code> > > 97. <Value>C38288</Value> > > 98. <CodingSystem>FDA</ > > CodingSystem> > > 99. </Code> > > 100. <RouteSequencePosition>0</ > > RouteSequencePosition> > > 101. <MultipleRouteModifier/> > > 102. </Route> > > 103. <Frequency> > > 104. <Description/> > > 105. <FrequencySequencePosition>0</ > > FrequencySequencePosition> > > 106. <VariableFrequencyModifier/> > > 107. <Value>as needed</Value> > > 108. <Units/> > > 109. </Frequency> > > 110. </Direction> > > 111. </Directions> > > 112. <Refills/> > > 113. </Medication> > > 114. </Medications> > > 115. </Body> > > 116. </ContinuityOfCareRecord> > > 117. </entry> > > 118. <entry> > > 119. <id>https://www.google.com/h9/feeds/profile/default/ > > RfrVLIQKXmQ</id> > > 120. <published>2008-10-02T23:51:08.693Z</published> > > 121. <updated>2008-10-02T23:52:35.482Z</updated> > > 122. <category term="MEDICATION"/> > > 123. <category scheme="http://schemas.google.com/g/2005#kind" > > term="http://schemas.google.com/health/kinds#profile"/> > > ... > > read more » --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en -~----------~----~----~----~------~----~------~--~---
