I had this problem initially... You need to set your category to
"Demographics, then loop through your results.

                                        $profile_demo_qry = new 
Zend_Gdata_Health_Query();
                                        $profile_demo_qry->setdigest("true");
                                        
$profile_demo_qry->setcategory("Demographics");
                                        
$profile_demo_qry->setMaxResultsInGroup(1);
                                        $profileDemoFeed = 
$healthService->getHealthProfileFeed
($profile_demo_qry);
                                        $demoEntries = 
$profileDemoFeed->getEntries();

                                        foreach ($demoEntries as $demoEntry) {
                                                $demoProfiles = 
$demoEntry->getCcr()->getActors();
                                                foreach ($demoProfiles as 
$actor) {
                                                        $xpath = new 
DOMXpath($actor->ownerDocument);
                                                        $xmlStr = 
$actor->ownerDocument->saveXML();
                                                        $elements = 
$xpath->query("//ccr:ContinuityOfCareRecord/
ccr:Actors");
                                                        foreach ($elements as 
$element) {
                                                          $xmlProfiles .= 
$element->ownerDocument->saveXML($element);
                                                        }
                                                }
                                        }

On Sep 3, 9:17 am, BrentLemons <[email protected]> wrote:
> Howdy,
>
> WE have a product that has gone to production on Google Health.  We
> are beginning to see a situation we did not encounter while on H9 and
> are wondering if anyone has any insight.  There are times when, even
> though the user has a DOB and Gender in Google Health, it does not
> come across in the CCR.  Any idea what causes this?  I can't find a
> pattern on the type of user this might be happening with, but I can
> clearly see that it is not in the CCR.
>
> Thanks,
> Brent

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