I used another ccr data and 2. and 3. lines of above code.

I checked ccr data before and after the update method, when update is 
executed <body> part of ccr is missing.

ccr of entry before update:
<ContinuityOfCareRecord xmlns='urn:astm-org:CCR'><
Body><Results><Result><Test><DateTime><Type><Text>Collection start 
date</Text></Type><ExactDateTime>2011-01-28T08:12:31.917Z</ExactDateTime></DateTime><Description><Text>Blood
 
pressure</Text></Description><TestResult><Value>120/80</Value><Units><Unit>mmHg</Unit></Units></TestResult></Test></Result></Results></Body></ContinuityOfCareRecord>

ccr of newEntry after update:
<CCRDocumentObjectID>SoWG8oVmI7A</CCRDocumentObjectID><Language><Text>English</Text><Code><Value>en</Value><CodingSystem>ISO-639-1</CodingSystem></Code></Language><Version>V1.0</Version><DateTime><ExactDateTime>2011-01-28T07:46:14.930Z</ExactDateTime></DateTime><Patient><ActorID>Google
 
Health Profile</ActorID></Patient><From><ActorLink><ActorID>Google 
Health</ActorID><ActorRole><Text>PHR</Text></ActorRole></ActorLink></From>*
<Body/>*<Actors><Actor><ActorObjectID>Google Health 
Profile</ActorObjectID><Source>[email protected]
</ActorID><ActorRole><Text>Patient</Text></ActorRole></Actor></Source></Actor></Actors>

Is there any way to update result using Java?

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