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"/> 124. <category scheme="http://schemas.google.com/health/item" term="Ibuprofen"/> 125. <title type="text"/> 126. <content type="html"/> 127. <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 %7DIbuprofen"/> 128. <link rel="self" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/RfrVLIQKXmQ"/> 129. <link rel="edit" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/RfrVLIQKXmQ"/> 130. <author> 131. <name>Patrick Mebine</name> 132. <email>[EMAIL PROTECTED]</email> 133. </author> 134. <ContinuityOfCareRecord xmlns="urn:astm-org:CCR"> 135. <CCRDocumentObjectID>QNl_vJZ3FBkK51KY74UwRA</ CCRDocumentObjectID> 136. <Language/> 137. <DateTime> 138. <Type/> 139. </DateTime> 140. <Body> 141. <Medications> 142. <Medication> 143. <DateTime> 144. <Type> 145. <Text>Start date</Text> 146. </Type> 147. <ExactDateTime>2007-01-02</ ExactDateTime> 148. </DateTime> 149. <DateTime> 150. <Type> 151. <Text>Stop date</Text> 152. </Type> 153. <ExactDateTime>2008-09-02</ ExactDateTime> 154. </DateTime> 155. <Type/> 156. <Description/> 157. <Status> 158. <Text>RESOLVED</Text> 159. </Status> 160. <Source> 161. <Actor> 162. <ActorID>[EMAIL PROTECTED]</ ActorID> 163. <ActorRole> 164. <Text>Patient</Text> 165. </ActorRole> 166. </Actor> 167. </Source> 168. <Product> 169. <ProductName> 170. <Text>Ibuprofen</Text> 171. </ProductName> 172. <Strength> 173. <Value>200</Value> 174. <Units> 175. <Unit>mg</Unit> 176. </Units> 177. <StrengthSequencePosition>0</ StrengthSequencePosition> 178. <VariableStrengthModifier/> 179. </Strength> 180. <Form> 181. <Text>Capsule</Text> 182. <FormSequencePosition>0</ FormSequencePosition> 183. <MultipleFormModifier/> 184. </Form> 185. </Product> 186. <Directions> 187. <Direction> 188. <Description/> 189. <DeliveryMethod/> 190. <Dose> 191. <Value>1</Value> 192. <Units/> 193. <DoseSequencePosition>0</ DoseSequencePosition> 194. <VariableDoseModifier/> 195. </Dose> 196. <Route> 197. <Text>By mouth</Text> 198. <Code> 199. <Value>C38288</Value> 200. <CodingSystem>FDA</ CodingSystem> 201. </Code> 202. <RouteSequencePosition>0</ RouteSequencePosition> 203. <MultipleRouteModifier/> 204. </Route> 205. <Frequency> 206. <Description/> 207. <FrequencySequencePosition>0</ FrequencySequencePosition> 208. <VariableFrequencyModifier/> 209. <Value>as needed</Value> 210. <Units/> 211. </Frequency> 212. </Direction> 213. </Directions> 214. <Refills/> 215. </Medication> 216. </Medications> 217. </Body> 218. </ContinuityOfCareRecord> 219. </entry> 220. <entry> 221. <id>https://www.google.com/h9/feeds/profile/default/ bRt0B.ZDGOg</id> 222. <published>2008-10-02T23:26:55.940Z</published> 223. <updated>2008-10-02T23:34:39.843Z</updated> 224. <category scheme="http://schemas.google.com/health/item" term="mobic"/> 225. <category term="MEDICATION"/> 226. <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/health/kinds#profile"/> 227. <title type="text"/> 228. <content type="html"/> 229. <link rel="http://schemas.google.com/health/data#complete" type="application/atom+xml" href="https://www.google.com/h9/feeds/ profile/default/-/%7Bhttp%3A%2F%2Fschemas.google.com%2Fhealth%2Fitem %7Dmobic/MEDICATION/%7Bhttp%3A%2F%2Fschemas.google.com%2Fg %2F2005%23kind%7Dhttp%3A%2F%2Fschemas.google.com%2Fhealth%2Fkinds %23profile"/> 230. <link rel="self" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/bRt0B.ZDGOg"/> 231. <link rel="edit" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/bRt0B.ZDGOg"/> 232. <author> 233. <name>Patrick Mebine</name> 234. <email>[EMAIL PROTECTED]</email> 235. </author> 236. <ContinuityOfCareRecord xmlns="urn:astm-org:CCR"> 237. <CCRDocumentObjectID>IUWMfXhOImNre6FZAbwGPg</ CCRDocumentObjectID> 238. <Language/> 239. <DateTime> 240. <Type/> 241. </DateTime> 242. <Body> 243. <Medications> 244. <Medication> 245. <DateTime> 246. <Type> 247. <Text>Start date</Text> 248. </Type> 249. <ExactDateTime>2008-03-04</ ExactDateTime> 250. </DateTime> 251. <Type/> 252. <Description/> 253. <Status> 254. <Text>ACTIVE</Text> 255. </Status> 256. <Source> 257. <Actor> 258. <ActorID>[EMAIL PROTECTED]</ ActorID> 259. <ActorRole> 260. <Text>Patient</Text> 261. </ActorRole> 262. </Actor> 263. </Source> 264. <Product> 265. <ProductName> 266. <Text>mobic</Text> 267. </ProductName> 268. <Strength> 269. <Value>7.5</Value> 270. <Units> 271. <Unit>mg</Unit> 272. </Units> 273. <StrengthSequencePosition>0</ StrengthSequencePosition> 274. <VariableStrengthModifier/> 275. </Strength> 276. <Form> 277. <Text>Tablet</Text> 278. <FormSequencePosition>0</ FormSequencePosition> 279. <MultipleFormModifier/> 280. </Form> 281. </Product> 282. <Directions> 283. <Direction> 284. <Description/> 285. <DeliveryMethod/> 286. <Dose> 287. <Value>1</Value> 288. <Units/> 289. <DoseSequencePosition>0</ DoseSequencePosition> 290. <VariableDoseModifier/> 291. </Dose> 292. <Route> 293. <Text>By mouth</Text> 294. <Code> 295. <Value>C38288</Value> 296. <CodingSystem>FDA</ CodingSystem> 297. </Code> 298. <RouteSequencePosition>0</ RouteSequencePosition> 299. <MultipleRouteModifier/> 300. </Route> 301. <Frequency> 302. <Description/> 303. <FrequencySequencePosition>0</ FrequencySequencePosition> 304. <VariableFrequencyModifier/> 305. <Value>1 time per day</Value> 306. <Units/> 307. </Frequency> 308. </Direction> 309. </Directions> 310. <Refills/> 311. </Medication> 312. </Medications> 313. </Body> 314. </ContinuityOfCareRecord> 315. </entry> 316. <entry> 317. <id>https://www.google.com/h9/feeds/profile/default/ zpQfbk3V6lg</id> 318. <published>2008-10-02T23:27:04.924Z</published> 319. <updated>2008-10-02T23:36:21.241Z</updated> 320. <category term="MEDICATION"/> 321. <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/health/kinds#profile"/> 322. <category scheme="http://schemas.google.com/health/item" term="Warfarin"/> 323. <title type="text"/> 324. <content type="html"/> 325. <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 %7DWarfarin"/> 326. <link rel="self" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/zpQfbk3V6lg"/> 327. <link rel="edit" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/zpQfbk3V6lg"/> 328. <author> 329. <name>Patrick Mebine</name> 330. <email>[EMAIL PROTECTED]</email> 331. </author> 332. <ContinuityOfCareRecord xmlns="urn:astm-org:CCR"> 333. <CCRDocumentObjectID>iHjrTGFxqIXCRsZoGIOM2A</ CCRDocumentObjectID> 334. <Language/> 335. <DateTime> 336. <Type/> 337. </DateTime> 338. <Body> 339. <Medications> 340. <Medication> 341. <DateTime> 342. <Type> 343. <Text>Start date</Text> 344. </Type> 345. <ExactDateTime>2008-03-12</ ExactDateTime> 346. </DateTime> 347. <Type/> 348. <Description/> 349. <Status> 350. <Text>ACTIVE</Text> 351. </Status> 352. <Source> 353. <Actor> 354. <ActorID>[EMAIL PROTECTED]</ ActorID> 355. <ActorRole> 356. <Text>Patient</Text> 357. </ActorRole> 358. </Actor> 359. </Source> 360. <Product> 361. <ProductName> 362. <Text>Warfarin</Text> 363. </ProductName> 364. <Strength> 365. <Value>5</Value> 366. <Units> 367. <Unit>mg</Unit> 368. </Units> 369. <StrengthSequencePosition>0</ StrengthSequencePosition> 370. <VariableStrengthModifier/> 371. </Strength> 372. <Form> 373. <Text>Tablet</Text> 374. <FormSequencePosition>0</ FormSequencePosition> 375. <MultipleFormModifier/> 376. </Form> 377. </Product> 378. <Directions> 379. <Direction> 380. <Description/> 381. <DeliveryMethod/> 382. <Dose> 383. <Value>1</Value> 384. <Units/> 385. <DoseSequencePosition>0</ DoseSequencePosition> 386. <VariableDoseModifier/> 387. </Dose> 388. <Route> 389. <Text>By mouth</Text> 390. <Code> 391. <Value>C38288</Value> 392. <CodingSystem>FDA</ CodingSystem> 393. </Code> 394. <RouteSequencePosition>0</ RouteSequencePosition> 395. <MultipleRouteModifier/> 396. </Route> 397. <Frequency> 398. <Description/> 399. <FrequencySequencePosition>0</ FrequencySequencePosition> 400. <VariableFrequencyModifier/> 401. <Value>1 time per day in the evening</Value> 402. <Units/> 403. </Frequency> 404. </Direction> 405. </Directions> 406. <Refills/> 407. </Medication> 408. </Medications> 409. </Body> 410. </ContinuityOfCareRecord> 411. </entry> 412. <entry> 413. <id>https://www.google.com/h9/feeds/profile/default/ QWcDltos5UM</id> 414. <published>2008-10-02T23:35:54.172Z</published> 415. <updated>2008-10-02T23:35:54.173Z</updated> 416. <category term="MEDICATION"/> 417. <category scheme="http://schemas.google.com/g/2005#kind" term="http://schemas.google.com/health/kinds#profile"/> 418. <category scheme="http://schemas.google.com/health/item" term="Warfarin"/> 419. <title type="text"/> 420. <content type="html"/> 421. <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 %7DWarfarin"/> 422. <link rel="self" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/QWcDltos5UM"/> 423. <link rel="edit" type="application/atom+xml" href="https:// www.google.com/h9/feeds/profile/default/QWcDltos5UM"/> 424. <author> 425. <name>Patrick Mebine</name> 426. <email>[EMAIL PROTECTED]</email> 427. </author> 428. <ContinuityOfCareRecord xmlns="urn:astm-org:CCR"> 429. <CCRDocumentObjectID>09deLxCgiXmZ6XMLaVKtJA</ CCRDocumentObjectID> 430. <Language/> 431. <DateTime> 432. <Type/> 433. </DateTime> 434. <Patient/> 435. <Body> 436. <Medications> 437. <Medication> 438. <DateTime> 439. <Type> 440. <Text>Start date</Text> 441. </Type> 442. <ExactDateTime>2008-02-13</ ExactDateTime> 443. </DateTime> 444. <Type/> 445. <Description/> 446. <Status> 447. <Text>ACTIVE</Text> 448. </Status> 449. <Source> 450. <Actor> 451. <ActorID>[EMAIL PROTECTED]</ ActorID> 452. <ActorRole> 453. <Text>Patient</Text> 454. </ActorRole> 455. </Actor> 456. </Source> 457. <Product> 458. <ProductName> 459. <Text>Warfarin</Text> 460. </ProductName> 461. <Strength> 462. <Value>5</Value> 463. <Units> 464. <Unit>mg</Unit> 465. </Units> 466. <StrengthSequencePosition>0</ StrengthSequencePosition> 467. <VariableStrengthModifier/> 468. </Strength> 469. <Form> 470. <Text>Tablet</Text> 471. <FormSequencePosition>0</ FormSequencePosition> 472. <MultipleFormModifier/> 473. </Form> 474. </Product> 475. <Directions> 476. <Direction> 477. <Description/> 478. <DeliveryMethod/> 479. <Dose> 480. <Value>1</Value> 481. <Units/> 482. <DoseSequencePosition>0</ DoseSequencePosition> 483. <VariableDoseModifier/> 484. </Dose> 485. <Route> 486. <Text>By mouth</Text> 487. <Code> 488. <Value>C38288</Value> 489. <CodingSystem>FDA</ CodingSystem> 490. </Code> 491. <RouteSequencePosition>0</ RouteSequencePosition> 492. <MultipleRouteModifier/> 493. </Route> 494. <Frequency> 495. <Description/> 496. <FrequencySequencePosition>0</ FrequencySequencePosition> 497. <VariableFrequencyModifier/> 498. <Value>1 time per day in the evening</Value> 499. <Units/> 500. </Frequency> 501. </Direction> 502. </Directions> 503. <Refills/> 504. </Medication> 505. </Medications> 506. </Body> 507. </ContinuityOfCareRecord> 508. </entry> 509. </feed> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
