If nothing is returned by the server, there are no results that match your query.
What happens if you use the timestamp of the entry's <updated> node? Also, do you see results if don't use digest=true? 1. add a a new medication 2. query medications: /h9/feeds/profile/ui/IPLC_h9WgBE/-/medication 3. find the entry of the med you just entered 4. use that timestamp to rerun the query with published-min. Eric On Feb 5, 3:03 am, Stefano <[email protected]> wrote: > Hi Eric, > > well today the XML snippet does not appear... and I've got no problem > with the parsing. > > I've tried the "published-min" parameter, with a timestamp value as > "2009-02-05T11:45:12" > For my application, I need to retrieve the medication added to the > profile by the last access of the user. I put in a text file the > timestamp of the last access, I add a medication to the profile to > test the program and then I run it with the published-min parameter > that has the value of the last access, hoping that it will retrieve > only the medication just added... but it can't find anything! Why? > Thank you. > > On 4 Feb, 19:32, "Eric (Google)" <[email protected]> wrote: > > > Stefano, > > > Have you tried published-min/published-max? I'm not sure > > that update-* will work using the digest param. > > > Regarding the parsing... > > That is a well formed XML snippet. If you're having problems > > with it, stop parsing after the ending </ContinuityOfCareRecord> node. > > > Eric > > > On Feb 4, 6:18 am, Stefano <[email protected]> wrote: > > > > An other question: I've tried to download a CCR document containing > > > all of my medications with this URL parameter for the query: > > > >https://www.google.com/h9/feeds/profile/ui/IPLC_h9WgBE/-/medication?d... > > > > It works, but the CCR document, after the </ContinuityOfCareRecord> > > > tag, it contains these tags: > > > > <ProfileMetaData xmlns='http://schemas.google.com/health/metadata'> > > > <UserComment src='IRI' type='text'/> > > > <FrequencyValue value='2.000000'/> > > > <FrequencyType value='1'/> > > > </ProfileMetaData> > > > > Because of these tags, the parser can't parse the document and I get > > > an Exception with this message: > > > > org.xml.sax.SAXParseException: The markup in the document following > > > the root element must be well-formed. > > > > I need help! > > > > Stefano > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
