You can only pull results in JSON.
XML needs to be sent to the server.

Having said that, you're more than welcome to make your own
JSON -> Atom XML converter :)

Eric

On Apr 1, 4:33 am, "[email protected]" <[email protected]>
wrote:
> Hi,
>
> How can i create a request for adding a IMMUNIZATION to google health
> in JSON instead of XML.
>
> "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"
>         "<entry xmlns=\"http://www.w3.org/2005/Atom\";>"
>         "<title type=\"text\">THE NOTICE'S TITLE</title>"
>         "<content type=\"text\">THE NOTICES SUBJECT LINE</content>"
>
>         "<ContinuityOfCareRecord xmlns='urn:astm-org:CCR'>"
>     "<CCRDocumentObjectID>Doc</CCRDocumentObjectID>"
>     "<Language><Text>English</Text></Language>"
>     "<Version>V1.0</Version>"
>     "<DateTime><ExactDateTime>2008</ExactDateTime></DateTime>"
>     "<Patient><ActorID>Patient</ActorID></Patient>"
>     "<Body>"
> "<Immunizations>"
>         "<Immunization>"
>         "<CCRDataObjectID>BB0022</CCRDataObjectID>"
>         "<DateTime>"
>         "<Type>"
>         "<Text>Start date</Text>"
>         "</Type>"
>         "<ExactDateTime>1998-06-13T05:00:00Z</ExactDateTime>"
>         "</DateTime>"
>         "<Source>"
>         "<Actor>"
>         "<ActorID>Jane Smith</ActorID>"
>         "<ActorRole>"
>         "<Text>Ordering clinician</Text>"
>         "</ActorRole>"
>         "</Actor>"
>         "</Source>"
>         "<Product>"
>         "<ProductName>"
>         "<Code>"
>         "<Value>90296</Value>"
>         "<CodingSystem>CPT</CodingSystem>"
>         "</Code>"
>         "</ProductName>"
>         "</Product>"
>         "</Immunization>"
>         "</Immunizations>"
>     "</Body>"
>         "</ContinuityOfCareRecord></entry>";
>
> This is my XML i want to make request in JSON the how it is possible?
>
> Thanks,
> Dipen
--~--~---------~--~----~------------~-------~--~----~
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