Dear Fellow gHealth Users, I have a google health account, where there are 7 medication records. I am pulling this data and outputting it (this functionality works just fine, fetching all medication records from google health).
Here's an interesting bit: I am developing a Java solution (Web), using Google Health (& NOT H9), to edit a record (one of the medications, out of 7 pulled from google health) and then send that record back to google health. First of all: Is this even possible? If so: What exactly is the URL that I should be using? I have tried the following URLs, using clientLogin: https://www.google.com/health/feeds/register/ui/MY_PROFILE_ID https://www.google.com/health/feeds/register/ui/MY_PROFILE_ID / ENTRY_ID >From all the documentations I have read, I did not see a single "description" or "example" of what exactly is Entry ID AND where exactly should I be extracting this from. Also: The protocol documentation mentions using the full header, i.e., ================================================================= PUT /health/feeds/register/ui/profileID/entryID HTTP/1.1 Content-Type: application/atom+xml Authorization: GoogleLogin auth=yourAuthToken <?xml version='1.0' encoding='utf-8'?> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:ccr='urn:astm-org:CCR' xmlns:batch='http://schemas.google.com/gdata/batch' xmlns:h9m='http://schemas.google.com/health/metadata'> <id>https://www.google.com/health/feeds/register/ui/profileID/ entryID</id> <published>2008-08-06T00:37:25.319Z</published> <updated>2008-08-06T00:37:38.748Z</updated> <category scheme='http://schemas.google.com/g/2005#kind'term='http:// schemas.google.com/health/kinds#register' /> <title type='text'>Testing</title> <content type='html'>Test data</content> <link rel='http://schemas.google.com/health/ data#complete'type='application/atom+xml' href='https://www.google.com/health/feeds/register/ui/profileID/ entryID/-/%7Bhttp%3A%2F%2Fschemas.google.com%2Fg%2F2005%23kind%7Dhttp %3A%2F%2Fschemas.google.com%2Fhealth%2Fkinds%23register' /> <link rel='alternate' type='text/xml;charset=UTF-8' href='https://www.google.com/health/feeds/register/ui/profileID/ entryID?alt=ccr' /> <link rel='self' type='application/atom+xml' href='https://www.google.com/health/feeds/register/ui/profileID/ entryID' /> <link rel='edit' type='application/atom+xml' href='https://www.google.com/health/feeds/register/ui/profileID/ entryID' /> <author> <name>example.com</name> <uri>example.com</uri> </author> <ContinuityOfCareRecord xmlns='urn:astm-org:CCR'> ================================================================= however, I tried to send the header above, followed by my ccr, followed by "</ContinuityOfCareRecord>", but to no avail. So, do I need to include that header? or merely make sure that the format is like so: "<ContinuityOfCareRecord xmlns='urn:astm-org:CCR'> ccr </ContinuityOfCareRecord>" Please help shed some light on this. Thank you. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
