Hi Ford, Wellness data and test results are represented in the CCR that Health accepts and emits as Results. Health recognizes certain results as being wellness oriented (e.g. distance/time ran, steps taken, etc.) based on their name, and promotes them to the "Wellness" section in the UI.
Paul (Google) On Sun, Oct 3, 2010 at 11:33 AM, Ford <[email protected]> wrote: > Hi Paul, > > What's the difference between a "Wellness" entry and a "Test results" > entry? > > They both seem to be represented as a <Result /> > > Thanks, > Ford > > On Sep 19, 1:43 am, "Paul (Google)" <[email protected]> wrote: > > Below are a few examples of CCR documents that can be used to add > > measurements to the Wellness section of the new Health user > > interface. For other measurements, try using the measurement names > > and units displayed in the UI with one of the CCR documents below, or > > enter wellness measurements in the UI, and retrieve the corresponding > > CCR using the GData profile feed. > > > > Cheers! > > Paul (Google) > > > > Blood pressure, as two tests in a single CCR Result. > > <ContinuityOfCareRecord xmlns='urn:astm-org:CCR'> > > <Body> > > <Results> > > <Result> > > <DateTime> > > <Type> > > <Text>Collection start date</Text> > > </Type> > > <ExactDateTime>2010-01-31</ExactDateTime> > > </DateTime> > > <Test> > > <Description> > > <Text>Systolic Blood Pressure</Text> > > </Description> > > <TestResult> > > <Value>120</Value> > > <Units> > > <Unit>mmHg</Unit> > > </Units> > > </TestResult> > > </Test> > > <Test> > > <Description> > > <Text>Diastolic Blood Pressure</Text> > > </Description> > > <TestResult> > > <Value>80</Value> > > <Units> > > <Unit>mmHg</Unit> > > </Units> > > </TestResult> > > </Test> > > </Result> > > </Results> > > </Body> > > </ContinuityOfCareRecord> > > > > Calories burned and calories consumed, which are two separate wellness > > measurements and therefore should be entered as two separate CCR > > Results. > > <ContinuityOfCareRecord xmlns='urn:astm-org:CCR'> > > <Body> > > <Results> > > <Result> > > <Test> > > <DateTime> > > <Type> > > <Text>Collection start date</Text> > > </Type> > > <ExactDateTime>2010-01-31</ExactDateTime> > > </DateTime> > > <Description> > > <Text>Calories burned</Text> > > </Description> > > <TestResult> > > <Value>200</Value> > > <Units> > > <Unit>calories</Unit> > > </Units> > > </TestResult> > > </Test> > > </Result> > > <Result> > > <Test> > > <DateTime> > > <Type> > > <Text>Collection start date</Text> > > </Type> > > <ExactDateTime>2010-01-31</ExactDateTime> > > </DateTime> > > <Description> > > <Text>Calories consumed</Text> > > </Description> > > <TestResult> > > <Value>200</Value> > > <Units> > > <Unit>calories</Unit> > > </Units> > > </TestResult> > > </Test> > > </Result> > > </Results> > > </Body> > > </ContinuityOfCareRecord> > > > > Height and weight in a single CCR Result, which will ensure that they > > have the same date. They can be entered as separate Results with > > independent dates; however, BMI will not be automatically calculated > > unless height and weigh measurements exist on the same date. > > <ContinuityOfCareRecord xmlns='urn:astm-org:CCR'> > > <Body> > > <Results> > > <Result> > > <DateTime> > > <Type> > > <Text>Collection start date</Text> > > </Type> > > <ExactDateTime>2010-01-31</ExactDateTime> > > </DateTime> > > <Test> > > <Description> > > <Text>Height</Text> > > </Description> > > <TestResult> > > <Value>70</Value> > > <Units> > > <Unit>inches</Unit> > > </Units> > > </TestResult> > > </Test> > > <Test> > > <Description> > > <Text>Weight</Text> > > </Description> > > <TestResult> > > <Value>150</Value> > > <Units> > > <Unit>lb</Unit> > > </Units> > > </TestResult> > > </Test> > > </Result> > > </Results> > > </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]<googlehealthdevelopers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/googlehealthdevelopers?hl=en. > > -- 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.
