permission=1 parameter set.
The process of extracting data from the profile requires two steps, sending a query and iterating through the resulting feed.
getHealthProfileFeed() method:
setDigest("true") returns all of user's CCR data in a single Atom <entry>.setCategory() helper can be passed an additional parameter to return more specific CCR
information. For example, to return just the medication Lipitor, use setCategory("medication", "Lipitor"). The same
methodology can be applied to other categories such as conditions, allergies, lab results, etc.digest=true query parameter will
consolidate all of the CCR elements (that match your query) into a single Atom <entry>.
getCcr() method.
That returns a " . $xmlStr . ""; } } ]]>
getCcr() method is used in conjunction with a magic helper to drill down and extract just the
medication data from the entry's CCR. The formentioned magic helper takes the form getCATEGORYNAME(), where
CATEGORYNAME is a supported Google Health category. See the
" . $xmlStr . ""; } ]]>
<content> and the profile name in the
<title> element.
getHealthProfileListFeed() method:
Profile name: ' . $entry->getProfileName() . '
';
echo 'profile ID: ' . $entry->getProfileID() . '
setProfileID() with the profileID as an argument.
This will restrict subsequent API requests to be against that particular profile:
Queried profileID: ' . $profileID . '
'; ]]>sendHealthNotice() method for the Health service:
410.10
ICD9
2004