Hi Paul,
Thanks for reply, I tried add result with "Blood pressure" and "120/80" and
it seems work. Only one problem is that I want this result is shown on graph
representation, but it is not. Blood pressure result has two area one is
systolic and other is diastolic. When two of them are exist, the result is
shown on graph. But when I added result with 120/80, it is written at
systolic area and diastolic area stays empty, that causes result is not
shown on graph. Are there any way to fill both two areas and show added
result on graph?
For update, I used the ccr data that I used at insert and works, and below
code. I get profileEntry correctly using ProfileFeed.
profileEntry.getContinuityOfCareRecord().getXmlBlob().setBlob(ccr);
ProfileEntry newEntry = h9Service.update(new
URL(profileEntry.getEditLink().getHref()), profileEntry);
I checked ccr data before and after the update method, when update is
executed <body> part of ccr is missing.
ccr of profileEntry 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><Actor><ActorID>[email protected]</ActorID><ActorRole><Text>Patient</Text></ActorRole></Actor></Source></Actor></Actors>
You said update can be done by accessing profile feed directly, but when I
tried update manually the inserted result "120/80" on Google Health, it says
I must fill the empty diastolic area. How can I 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.