On this topic, had a couple of issues that I was wondering if anyone
else has experienced. The short of it is this: does the Google Health
web UI keep a separate record of things that have notes that is not in
the feed, and if so how do we get to it?

The longer story is this: my application posts to test results to the
profile feed. I added a note using the browser UI and then pulled the
feed for a user. I get this XML for the entry.

<entry>
  <id>https://www.google.com/health/feeds/profile/ui/I_qBxPSTnq0/
pJuly2M.uzw</id>
  <published>2011-02-17T01:58:25.115Z</published>
  <updated>2011-02-17T15:02:49.695Z</updated>
  <category scheme="http://schemas.google.com/g/2005#kind";
term="http://schemas.google.com/health/kinds#profile"; />
  <category scheme="http://schemas.google.com/health/item"; term="Blood
Oxygen" />
  <category term="LABTEST" />
  <title type="text">Blood Oxygen</title>
  <content type="html">Testing</content>
  <link rel="http://schemas.google.com/health/data#complete";
type="application/atom+xml" href="https://www.google.com/health/feeds/
profile/ui/I_qBxPSTnq0/-/%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%7DBlood
+Oxygen/LABTEST" />
  <link rel="self" type="application/atom+xml" href="https://
www.google.com/health/feeds/profile/ui/I_qBxPSTnq0/pJuly2M.uzw" />
  <link rel="edit" type="application/atom+xml" href="https://
www.google.com/health/feeds/profile/ui/I_qBxPSTnq0/pJuly2M.uzw" />
- <author>
  <name>Test Info</name>
  <email>[EMAIL]</email>
  </author>
- <contributor>
  <name>Test Info</name>
  <email>[EMAIL]</email>
  </contributor>
- <ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
  <CCRDocumentObjectID>a86514e7-f506-491d-99fe-148a153639ab</
CCRDocumentObjectID>
- <Language>
  <Text>English</Text>
- <Code>
  <Value>en</Value>
  <CodingSystem>ISO-639-1</CodingSystem>
  </Code>
  </Language>
  <Version>V1.0</Version>
- <DateTime>
  <ExactDateTime>2011-02-17T01:54:29.000</ExactDateTime>
  </DateTime>
- <Patient>
  <ActorID>Google Health Profile</ActorID>
  </Patient>
- <From>
- <ActorLink>
  <ActorID>Google Health</ActorID>
- <ActorRole>
  <Text>PHR</Text>
  </ActorRole>
  </ActorLink>
  </From>
- <Body>
- <Results>
- <Result>
  <CCRDataObjectID>pJuly2M.uzw-1</CCRDataObjectID>
- <Source>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
  </Source>
- <Test>
  <CCRDataObjectID>pJuly2M.uzw-0</CCRDataObjectID>
- <DateTime>
- <Type>
  <Text>Collection start date</Text>
  </Type>
  <ExactDateTime>2011-02-17T01:54:29.000</ExactDateTime>
  </DateTime>
- <Description>
  <Text>Blood Oxygen</Text>
  </Description>
- <Source>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
  </Source>
- <TestResult>
  <Value>98.0</Value>
- <Units>
  <Unit>SpO2</Unit>
  </Units>
  </TestResult>
  </Test>
  </Result>
  </Results>
  </Body>
- <Actors>
- <Actor>
  <ActorObjectID>Google Health Profile</ActorObjectID>
- <Source>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
  </Source>
  </Actor>
  </Actors>
  </ContinuityOfCareRecord>
  <ProfileMetaData xmlns="http://schemas.google.com/health/metadata"; /
>
  </entry>

(Excuse the dashes: IE adds them in). This is all well and dandy: the
note appears as a <content> element which is a direct descendant of
the <entry> element, and shows up in the UI. However, when I recreated
this same <content> element on another post that I submitted to the
profile feed programmatically:

<entry>
  <id>https://www.google.com/health/feeds/profile/ui/
I_qBxPSTnq0/4dFNSbKJbLU</id>
  <published>2011-02-17T01:58:25.755Z</published>
  <updated>2011-02-17T15:02:50.750Z</updated>
  <category scheme="http://schemas.google.com/g/2005#kind";
term="http://schemas.google.com/health/kinds#profile"; />
  <category scheme="http://schemas.google.com/health/item";
term="Pulse" />
  <category term="LABTEST" />
  <title type="text">Heart rate</title>
  <content type="html">Testing</content>
  <link rel="http://schemas.google.com/health/data#complete";
type="application/atom+xml" href="https://www.google.com/health/feeds/
profile/ui/I_qBxPSTnq0/-/%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%7DPulse/
LABTEST" />
  <link rel="self" type="application/atom+xml" href="https://
www.google.com/health/feeds/profile/ui/I_qBxPSTnq0/4dFNSbKJbLU" />
  <link rel="edit" type="application/atom+xml" href="https://
www.google.com/health/feeds/profile/ui/I_qBxPSTnq0/4dFNSbKJbLU" />
- <author>
  <name>Test Info</name>
  <email>[EMAIL]</email>
  </author>
- <contributor>
  <name>Test Info</name>
  <email>[EMAIL]</email>
  </contributor>
- <ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
  <CCRDocumentObjectID>11e96468-8206-40b0-9aea-70f1363db948</
CCRDocumentObjectID>
- <Language>
  <Text>English</Text>
- <Code>
  <Value>en</Value>
  <CodingSystem>ISO-639-1</CodingSystem>
  </Code>
  </Language>
  <Version>V1.0</Version>
- <DateTime>
  <ExactDateTime>2011-02-17T01:54:29.000</ExactDateTime>
  </DateTime>
- <Patient>
  <ActorID>Google Health Profile</ActorID>
  </Patient>
- <From>
- <ActorLink>
  <ActorID>Google Health</ActorID>
- <ActorRole>
  <Text>PHR</Text>
  </ActorRole>
  </ActorLink>
  </From>
- <Body>
- <Results>
- <Result>
  <CCRDataObjectID>4dFNSbKJbLU-1</CCRDataObjectID>
- <Source>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
  </Source>
- <Test>
  <CCRDataObjectID>4dFNSbKJbLU-0</CCRDataObjectID>
- <DateTime>
- <Type>
  <Text>Collection start date</Text>
  </Type>
  <ExactDateTime>2011-02-17T01:54:29.000</ExactDateTime>
  </DateTime>
- <Description>
  <Text>Heart rate</Text>
  </Description>
- <Source>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
  </Source>
- <TestResult>
  <Value>77.0</Value>
- <Units>
  <Unit>bpm</Unit>
  </Units>
  </TestResult>
  </Test>
  </Result>
  </Results>
  </Body>
- <Actors>
- <Actor>
  <ActorObjectID>Google Health Profile</ActorObjectID>
- <Source>
- <Actor>
  <ActorID>[EMAIL]</ActorID>
- <ActorRole>
  <Text>Patient</Text>
  </ActorRole>
  </Actor>
  </Source>
  </Actor>
  </Actors>
  </ContinuityOfCareRecord>
  <ProfileMetaData xmlns="http://schemas.google.com/health/metadata"; /
>
  </entry>

It looks exactly the same (to my eyes at least: please correct me if
I've overlooked something obvious), but the Google Health browser UI
does not appear to notice it at all. How do I get the Google Health
browser UI to notice it? Is there a magic setting somewhere to do
this? Is there a secondary data source we need to somehow tickle to
make it do what we want?

On Feb 16, 8:14 pm, Ford <[email protected]> wrote:
> Hi Peter,
>
> The Google Health API used to support notes, but dropped them when Wellness
> was added (late last year).
>
> Please vote for this feature by clicking the "star"
> here:http://code.google.com/p/gdata-issues/issues/detail?id=2430
>
> As I recall, notes weren't in the ContinuityOfCareRecord itself.  Rather,
> they were included in the ProfileMetaData section of each entry node...not
> that that helps you now, of course...
>
> Best,
> Ford

-- 
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.

Reply via email to