Hi
I am trying to send patients demographics information to h9 profile
as notice.
It does not give me any error but i dont see the values updated when i
open the profile.
As the documentation says the fields have to be originally empty i m
sure they are empty .
but still they do not get updated.
i m using client authentication and a simple java class which sends
the notice.
this is how i am using.
public void postNewNoticeForId(String profileId)
throws IOException, ServiceException {
Entry newNotice = new Entry();
XmlBlob ccrElement = new XmlBlob();
ccrElement.setBlob(getXml());
newNotice.setXmlBlob(ccrElement);
try {
Entry createdNotice = service.insert(new URL("https://www.google.com/
h9/feeds/register/ui/"+profileId), newNotice);
}
catch(Exception e)
{ e.printStackTrace();}.
i get the xml from a xml file..
the xml is.
<ContinuityOfCareRecord xmlns='urn:astm-org:CCR'>
....
<Body>
<VitalSigns>
<Result>
<Test>
<Description>
<Text>Height</Text>
<Code>
<Value>50373000</Value>
<CodingSystem>SNOMED</CodingSystem>
</Code>
</Description>
<TestResult>
<Value>72</Value>
<Units><Unit>in</Unit></Units>
</TestResult>
</Test>
</Result>
<Result>
<Test>
<Description>
<Text>Weight</Text>
<Code>
<Value>363808001</Value>
<CodingSystem>SNOMED</CodingSystem>
</Code>
</Description>
<TestResult>
<Value>150</Value>
<Units><Unit>lbs</Unit></Units>
</TestResult>
</Test>
</Result>
</VitalSigns>
</Body>
....
</ContinuityOfCareRecord>
its passed as
<ContinuityOfCareRecord xmlns='urn:astm-
org:CCR'>....<Body><VitalSigns><Result><
Test><Description><Text>Height</Text><Code><Value>50373000</
Value><CodingSystem>
SNOMED</CodingSystem></Code></Description><TestResult><Value>72</
Value><Units><U
nit>in</Unit></Units></TestResult></Test></
Result><Result><Test><Description><Te
xt>Weight</Text><Code><Value>363808001</Value><CodingSystem>SNOMED</
CodingSystem
></Code></Description><TestResult><Value>150</Value><Units><Unit>lbs</Unit></Uni
ts></TestResult></Test></Result></VitalSigns></Body>....</
ContinuityOfCareRecord
>
I see that the notice is indeed posted . i can see it in notices list.
I have this problem for all the demographics information like sex and
dateof birth. others like medications,alergies are fine....
When i see the profile.it shows the demographics information in
profile.
but i dont see it in UI.
this is the profile with height and weight part..
<Body><VitalSigns><Result><CCRDataObjectID>1sORplSuM
1Hn42ovLL05Gw/DEMOGRAPHICS/1</
CCRDataObjectID><Source><Actor><ActorID>laxmikanth
[email protected]</ActorID><ActorRole><Text>Patient</Text></ActorRole></
Actor><Actor><
ActorID>[email protected]</ActorID><ActorRole><Text>Patient</
Text></ActorRol
e></Actor></Source><Test><CCRDataObjectID>hqCxYnE1sFg-0</
CCRDataObjectID><Descri
ption><Text>Weight</Text><Code><Value>363808001</
Value><CodingSystem>SNOMED</Cod
ingSystem></Code></
Description><Source><Actor><ActorID>[email protected]</Ac
torID><ActorRole><Text>Patient</Text></ActorRole></Actor></
Source><TestResult><V
alue>150</Value><Units><Unit>lbs</Unit></Units></TestResult></Test></
Result></Vi
talSigns></Body><Actors><Actor><ActorObjectID>Google Health Profile</
ActorObject
ID><Source><Actor><ActorID>[email protected]</ActorID>
I am trying on this from few days..
does anyone have idea where it could go wrong??
Thank you
Roopa
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---