Hi .
We want to integrate our web application with google health.
i just started with h9.
Cant we do everything we do from google health UI using google health
apis??.
I see lot of personal data in UI. like pregnant, breastfeeding etc.
i do not see related ccr elements in ccr reference???.
when i submit some profile information with notice. like
height ,gender etc
i see that the notice is sent . i find it in notices list when i log
in to my profile on google h9.
but i do not find those height and gender fields populated to the
values i sent in notice.
it worked good for me for medications . but not with demographics ...
its said these will be reconciled only if the corresponding fields are
empty.
i m sure i did not enter these gender and height from the UI.
why is this?
i see the feeds are in xml.
how are these feeds generated??
are there any methods like these feeds can be reed from a xml file.??
For now i m doing like this
String ccr="<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>";
if (ccr != null)
{
XmlBlob ccrElement = new XmlBlob();
ccrElement.setBlob(ccr);
newNotice.setXmlBlob(ccrElement);
}
try {
Entry createdNotice = service.insert(new URL("https://www.google.com/
h9/feeds/register/ui/2Rc9PK1fuTk"), newNotice);
}
catch(Exception e)
{ e.printStackTrace();}
constructing a long xml in string does not seem good...
is there any possibility that it gets feed from a formatted ,readable
xml file???
thanks
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
-~----------~----~----~----~------~----~------~--~---