While I trying update a profile entry, the same is occured.
I get an entry from profile feed and used its own ccr as new ccr. Update is
successful but data of entry is lost. Updated profile entry is not appeared
at Google Health and when I get entry, it looks empty.
Here is the code I used to update: (entry is a ProfileEntry and is get
truly)
String s = "<ContinuityOfCareRecord
xmlns='urn:astm-org:CCR'>"+entry.getContinuityOfCareRecord().getXmlBlob()
.getBlob()+"</ContinuityOfCareRecord>";
entry.getContinuityOfCareRecord().getXmlBlob()
.setBlob(s);
ProfileEntry newEntry = h9Service.update(new URL(entry
.getEditLink().getHref()), entry);
What is the wrong? How the profile entry is updated?
--
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.