1.) I am wondering which one is the proper CCR structure. If I enter some demographics information from the google side and print the user's profile, it is being dispalyed in the format shown below:
<VitalSigns> <Result> <Test> .....</Test> </Result> <Result> <Test> ..... </Test> </Result> </VitalSigns> However, for inserting the demographics information from API, its been asked to follow the format shown below in the documentation example at http://code.google.com/apis/health/ccrg_reference.html#vitalsigns <VitalSigns> <Result> <Test> ....</Test> <Test> .....</Test> </Result> </VitalSigns> 2.) Also, I tried both of these formats but was not able to send all demographics information. I got no problem for gender and dob. Perhaps because of they being separate from VitalSigns and in within Person. For the demographics within VitalSigns (i.e. Height, Weight and Blood Type), I could send only one. And I noticed that, it takes the demographics that is defined first within the VitalSigns. Can anyone help me with this please ? Below is the code fragment that I am using. With this code only the height is being sent. <VitalSigns> <Result> <Description>Height Weight and Blood Type</ Description> <Test> <Description> <Text>Height</Text> <Code> <Value>50373000</Value> <CodingSystem>SNOMED</ CodingSystem> </Code> </Description> <TestResult> <Value>" + intHeight.ToString() + @"</ Value> <Units> <Unit>inches</Unit> </Units> </TestResult> </Test> <Test> <Description> <Text>Weight</Text> <Code> <Value>363808001</Value> <CodingSystem>SNOMED</CodingSystem> </Code> </Description> <TestResult> <Value>" + intWeight.ToString() + @"</ Value> <Units> <Unit>ounces</Unit> </Units> </TestResult> </Test> <Test> <Description> <Text>Blood Type</Text> <Code> <Value>278150003</Value> <CodingSystem>SNOMED</CodingSystem> </Code> </Description> <TestResult> <Value>" + BloodType + @"</Value> </TestResult> </Test> </Result> </VitalSigns> Thanks.... Koirala On Feb 15, 9:35 am, "Eric (Google)" <[email protected]> wrote: > Correct. For the most part the API only > allows POST operations using > AuthSub:http://code.google.com/apis/health/docs/2.0/reference.html#Authentica... > > ClientLogin offers full access to the profile, > but web apps that use it won't be published > in the services directory. It should be reserved > for desktop apps. > > Eric > > On Feb 15, 10:49 am, Ford <[email protected]> wrote: > > > So, just to confirm, it's not possible to Update demographics (height, > > weight, gender, dob, etc...) via the API -- only Insert? > > > Thanks, > > Ford > > > On Feb 12, 1:44 am, "Eric (Google)" <[email protected]> wrote: > > > > Hi Daniel, > > > > VitalSign data will only be reconciled if it's currently > > > empty in the user's > > > profile:http://code.google.com/apis/health/ccrg_reference.html#DemographicsMa... > > > > There's not a great place to point wellness data at the moment. > > > The most appropriate place may be /Body/Results/Result. > > > > Eric > > > > On Feb 11, 4:24 pm, daniel <[email protected]> wrote: > > > > > Hey, I'm trying to submit this CCR to update the height and weight of > > > > a patient. Please advise on how to proceed, if the VitalSigns tag is > > > > not useable, is there some other place I can store height and weight > > > > data? > > > > > <ContinuityOfCareRecord xmlns="urn:astm-org:CCR"> > > > > <Language /> > > > > <DateTime> > > > > <Type /> > > > > </DateTime> > > > > <Body> > > > > <VitalSigns> > > > > <Result> > > > > <Description><Text>Height & > > > > Weight</Text></Description> > > > > <Test> > > > > <Description> > > > > <Text>Height</Text> > > > > <Code> > > > > > > > > <Value>50373000</Value> > > > > > > > > <CodingSystem>SNOMED</CodingSystem> > > > > </Code> > > > > </Description> > > > > <TestResult> > > > > > > > > <Value>'.$_REQUEST['height'].'</Value> > > > > > > > > <Units><Unit>in</Unit></Units> > > > > </TestResult> > > > > </Test> > > > > <Test> > > > > > > > > <Type><Text>Observation</Text></Type> > > > > <Description> > > > > <Text>Weight</Text> > > > > <Code> > > > > > > > > <Value>363808001</Value> > > > > > > > > <CodingSystem>SNOMED</CodingSystem> > > > > </Code> > > > > </Description> > > > > <TestResult> > > > > > > > > <Value>'.$_REQUEST['weight'].'</Value> > > > > > > > > <Units><Unit>lbs</Unit></Units> > > > > </TestResult> > > > > </Test> > > > > </Result> > > > > </VitalSigns> > > > > </Body> > > > > </ContinuityOfCareRecord> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
