Hi,

Comments are inline.

On Feb 17, 4:51 am, pradeep <[email protected]> wrote:
> Dear All,
>
> I am planning to develop a web based application which will helps to
> store
> patients records for later referance.I went throgh the google Health
> API and
> documents.so i have some quires about Google Health API
>
> 1) If i make a web application using Google Health API,
> whats the main advantage compare to keep the patients records locally?

The advantage is the user's most up-to-date health record
is available in the cloud, and in turn, to your app.  A local
copy may become stale.

>
> 2)should i add this web application as linked application for
> accessing the production data(patient records)?

If you're interested in being listed in the services directory,
see http://code.google.com/apis/health/third_party_overview.html

That page has the necessary forms.

>
> 3)Currently i am able to connect to sandbox and read the CCR as XML
> format.Is there any inbuilt function in google Heath API to convert
> XML to Normal Text?
>
> getXmlBlob().getFullText()
>
> always Null.

The CCR is returned as an XML blog, which is basically
a string of XML.

try:
if (entry.getXmlBlob().getBlob().length() > 0) {
  System.out.println(entry.getXmlBlob().getBlob());
}

>
> 4)could you please give me some sample code for create/update/delete
> CCR(Conditions,Medications,Allergies,Procedures,Test results etc)

AuthSub only allows POSTing new notices and reading
a user's profile (GET).  The permitted operations
are listed here:
http://code.google.com/apis/health/docs/2.0/reference.html#Authentication

Sending a notice to the user's profile only requires
creating new CCR XML.

ClientLogin can be used for full CRUD operations
but is not permitted for web applications.

>
> i downloaded the source code available along with the developers
> tutorial.But i couldn't found these sample code.
>
> 5) is it possible to create google health profile using API?

No.

However, if a user has never used Google Health before,
a profile/account is automagically created for them the first
time they go through the AuthSub/OAuth approval flow
(http://code.google.com/apis/health/images/3pdoc-authsub.jpg)

>
> Please advice and help  me to resolve this problems.
--~--~---------~--~----~------------~-------~--~----~
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