Hi Paul, thanks for replying.

Yeah - I supposed it was supported but trying the XML fragment you
supplied (which looks rather like what I was doing!) with HealthTool
is still showing me the same problem.

If I do this with the file I'm using, having copied in your XML...

HealthTool.exe -user:[email protected] -pwd:xxxxxx -pname:cclvena -
insert < ccr.xml

Then I get this:

Setting user credentials for: [email protected]
Resolved targetUri to: http://www.google.com/health/feeds/profile/ui/BDcFRvQvi8M
<?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/
2005/Atom"><title type="text">test upload</title><content type
="text">test results</content>
<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
  <Body>
    <Results>
      <Result>
        <Test>
          <Description>
            <Text>Blood Pressure, Diastolic (Lower Number)</Text>
            <Code>
              <Value>18.4248</Value>
              <CodingSystem>Google</CodingSystem>
            </Code>
          </Description>
          <TestResult>
            <Value>80</Value>
            <Units>
              <Unit>mmHg</Unit>
            </Units>
          </TestResult>
          <DateTime>
            <Type>
              <Text>Collection start date</Text>
            </Type>
            <ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime>
          </DateTime>
        </Test>
      </Result>
      <Result>
        <Test>
          <Description>
            <Text>Blood Pressure, Systolic (Upper Number)</Text>
            <Code>
              <Value>18.13801</Value>
              <CodingSystem>Google</CodingSystem>
            </Code>
          </Description>
          <TestResult>
            <Value>120</Value>
            <Units>
              <Unit>mmHg</Unit>
            </Units>
          </TestResult>
          <DateTime>
            <Type>
              <Text>Collection start date</Text>
            </Type>
            <ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime>
          </DateTime>
        </Test>
      </Result>
    </Results>
  </Body>
</ContinuityOfCareRecord>
</entry>Error executing request for Verb, Errorcode:
InternalServerError
Internal Server Error
Internal Error


But if I delete the second <Result> tag I get this:

HealthTool.exe -user:[email protected] -pwd:xxxxxx -pname:cclvena -
insert < ccr.xml

Setting user credentials for: [email protected]
Resolved targetUri to: http://www.google.com/health/feeds/profile/ui/BDcFRvQvi8M
<?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/
2005/Atom"><title type="text">test upload</title><content type
="text">test results</content>
<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
  <Body>
    <Results>
      <Result>
        <Test>
          <Description>
            <Text>Blood Pressure, Diastolic (Lower Number)</Text>
            <Code>
              <Value>18.4248</Value>
              <CodingSystem>Google</CodingSystem>
            </Code>
          </Description>
          <TestResult>
            <Value>80</Value>
            <Units>
              <Unit>mmHg</Unit>
            </Units>
          </TestResult>
          <DateTime>
            <Type>
              <Text>Collection start date</Text>
            </Type>
            <ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime>
          </DateTime>
        </Test>
      </Result>
    </Results>
  </Body>
</ContinuityOfCareRecord>
</entry><?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://
www.w3.org/2005/Atom' xmlns:ccr='urn:astm-org:CCR' xmlns:batch='h
ttp://schemas.google.com/gdata/batch' xmlns:h9m='http://
schemas.google.com/health/metadata'><id>https://www.google.com/health/
feeds/
profile/ui/BDcFRvQvi8M/mw10SYoqXU0</
id><published>2010-05-25T20:47:55.011Z</
published><updated>2010-05-25T20:47:55.012Z</updated><ca
tegory scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/health/kinds#profile'/><category scheme='http:
//schemas.google.com/health/item' term='Blood Pressure, Diastolic
(Lower Number)'/><category term='LABTEST'/><title type='text'>test
 upload</title><content type='html'>test results</content><link
rel='http://schemas.google.com/health/data#complete' type='applicati
on/atom+xml' href='https://www.google.com/health/feeds/profile/ui/
BDcFRvQvi8M/-/%7Bhttp%3A%2F%2Fschemas.google.com%2Fg%2F2005%23kind
%7Dhttp%3A%2F%2Fschemas.google.com%2Fhealth%2Fkinds%23profile/%7Bhttp
%3A%2F%2Fschemas.google.com%2Fhealth%2Fitem%7DBlood+Pressure%2C
+Diastolic+%28Lower+Number%29/LABTEST'/><link rel='self'
type='application/atom+xml' href='https://www.google.com/health/feeds/
profi
le/ui/BDcFRvQvi8M/mw10SYoqXU0'/><link rel='edit' type='application/atom
+xml' href='https://www.google.com/health/feeds/profile/ui/BD
cFRvQvi8M/mw10SYoqXU0'/><author><name>cambridge consultants</
name><email>[email protected]</email></
author><contributor><name>cambri
dge consultants</name><email>[email protected]</email></
contributor><ContinuityOfCareRecord xmlns='urn:astm-
org:CCR'><CCRDocumentObj
ectID>mw10SYoqXU0</CCRDocumentObjectID><Language><Text>English</
Text><Code><Value>en</Value><CodingSystem>ISO-639-1</CodingSystem></
Code></Language><Version>V1.0</
Version><DateTime><ExactDateTime>2010-05-25T20:47:55.011Z</
ExactDateTime></DateTime><Patient><ActorID
>Google Health Profile</ActorID></Patient><From><ActorLink><ActorID>Google 
>Health</ActorID><ActorRole><Text>PHR</Text></ActorRole></
ActorLink></
From><Body><Results><Result><CCRDataObjectID>mw10SYoqXU0-1</
CCRDataObjectID><Source><Actor><ActorID>[email protected]</A
ctorID><ActorRole><Text>Patient</Text></ActorRole></
Actor><Actor><ActorID>[email protected]</
ActorID><ActorRole><Text>Patient</Text>
</ActorRole></Actor></Source><Test><CCRDataObjectID>mw10SYoqXU0-0</
CCRDataObjectID><DateTime><Type><Text>Collection start date</Text
></Type><ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime></DateTime><Description><Text>Blood
> Pressure, Diastolic (Lower Number)</T
ext><Code><Value>18.4248</Value><CodingSystem>Google</CodingSystem></
Code></Description><Source><Actor><ActorID>[email protected]</A
ctorID><ActorRole><Text>Patient</Text></ActorRole></Actor></
Source><TestResult><Value>80</Value><Units><Unit>mmHg</Unit></Units></
Te
stResult></Test></Result></Results></
Body><Actors><Actor><ActorObjectID>Google Health Profile</
ActorObjectID><Source><Actor><ActorID
>[email protected]</ActorID><ActorRole><Text>Patient</Text></ActorRole></Actor></Source></Actor></Actors></ContinuityOfCareRecord><P
rofileMetaData xmlns='http://schemas.google.com/health/metadata'/></
entry>

M:\PHDC\build\Applications\MyVENADevice\Google>HealthTool.exe -
user:[email protected] -pwd:cambridgeconsultants -pname:cclvena -in
sert < ccr.xml
Setting user credentials for: [email protected]
Resolved targetUri to: http://www.google.com/health/feeds/profile/ui/BDcFRvQvi8M
<?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/
2005/Atom"><title type="text">test upload</title><content type
="text">test results</content>
<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
  <Body>
    <Results>
      <Result>
        <Test>
          <Description>
            <Text>Blood Pressure, Diastolic (Lower Number)</Text>
            <Code>
              <Value>18.4248</Value>
              <CodingSystem>Google</CodingSystem>
            </Code>
          </Description>
          <TestResult>
            <Value>80</Value>
            <Units>
              <Unit>mmHg</Unit>
            </Units>
          </TestResult>
          <DateTime>
            <Type>
              <Text>Collection start date</Text>
            </Type>
            <ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime>
          </DateTime>
        </Test>
      </Result>
      <Result>
        <Test>
          <Description>
            <Text>Blood Pressure, Systolic (Upper Number)</Text>
            <Code>
              <Value>18.13801</Value>
              <CodingSystem>Google</CodingSystem>
            </Code>
          </Description>
          <TestResult>
            <Value>120</Value>
            <Units>
              <Unit>mmHg</Unit>
            </Units>
          </TestResult>
          <DateTime>
            <Type>
              <Text>Collection start date</Text>
            </Type>
            <ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime>
          </DateTime>
        </Test>
      </Result>
    </Results>
  </Body>
</ContinuityOfCareRecord>
</entry>Error executing request for Verb, Errorcode:
InternalServerError
Internal Server Error
Internal Error

But if I delete the second <Result> tag I get this:

M:\PHDC\build\Applications\MyVENADevice\Google>HealthTool.exe -
user:[email protected] -pwd:cambridgeconsultants -pname:cclvena -in
sert < ccr.xml
Setting user credentials for: [email protected]
Resolved targetUri to: http://www.google.com/health/feeds/profile/ui/BDcFRvQvi8M
<?xml version="1.0" encoding="utf-8"?><entry xmlns="http://www.w3.org/
2005/Atom"><title type="text">test upload</title><content type
="text">test results</content>
<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">
  <Body>
    <Results>
      <Result>
        <Test>
          <Description>
            <Text>Blood Pressure, Diastolic (Lower Number)</Text>
            <Code>
              <Value>18.4248</Value>
              <CodingSystem>Google</CodingSystem>
            </Code>
          </Description>
          <TestResult>
            <Value>80</Value>
            <Units>
              <Unit>mmHg</Unit>
            </Units>
          </TestResult>
          <DateTime>
            <Type>
              <Text>Collection start date</Text>
            </Type>
            <ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime>
          </DateTime>
        </Test>
      </Result>
    </Results>
  </Body>
</ContinuityOfCareRecord>
</entry><?xml version='1.0' encoding='UTF-8'?><entry xmlns='http://
www.w3.org/2005/Atom' xmlns:ccr='urn:astm-org:CCR' xmlns:batch='h
ttp://schemas.google.com/gdata/batch' xmlns:h9m='http://
schemas.google.com/health/metadata'><id>https://www.google.com/health/
feeds/
profile/ui/BDcFRvQvi8M/mw10SYoqXU0</
id><published>2010-05-25T20:47:55.011Z</
published><updated>2010-05-25T20:47:55.012Z</updated><ca
tegory scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/health/kinds#profile'/><category scheme='http:
//schemas.google.com/health/item' term='Blood Pressure, Diastolic
(Lower Number)'/><category term='LABTEST'/><title type='text'>test
 upload</title><content type='html'>test results</content><link
rel='http://schemas.google.com/health/data#complete' type='applicati
on/atom+xml' href='https://www.google.com/health/feeds/profile/ui/
BDcFRvQvi8M/-/%7Bhttp%3A%2F%2Fschemas.google.com%2Fg%2F2005%23kind
%7Dhttp%3A%2F%2Fschemas.google.com%2Fhealth%2Fkinds%23profile/%7Bhttp
%3A%2F%2Fschemas.google.com%2Fhealth%2Fitem%7DBlood+Pressure%2C
+Diastolic+%28Lower+Number%29/LABTEST'/><link rel='self'
type='application/atom+xml' href='https://www.google.com/health/feeds/
profi
le/ui/BDcFRvQvi8M/mw10SYoqXU0'/><link rel='edit' type='application/atom
+xml' href='https://www.google.com/health/feeds/profile/ui/BD
cFRvQvi8M/mw10SYoqXU0'/><author><name>cambridge consultants</
name><email>[email protected]</email></
author><contributor><name>cambri
dge consultants</name><email>[email protected]</email></
contributor><ContinuityOfCareRecord xmlns='urn:astm-
org:CCR'><CCRDocumentObj
ectID>mw10SYoqXU0</CCRDocumentObjectID><Language><Text>English</
Text><Code><Value>en</Value><CodingSystem>ISO-639-1</CodingSystem></
Code></Language><Version>V1.0</
Version><DateTime><ExactDateTime>2010-05-25T20:47:55.011Z</
ExactDateTime></DateTime><Patient><ActorID
>Google Health Profile</ActorID></Patient><From><ActorLink><ActorID>Google 
>Health</ActorID><ActorRole><Text>PHR</Text></ActorRole></
ActorLink></
From><Body><Results><Result><CCRDataObjectID>mw10SYoqXU0-1</
CCRDataObjectID><Source><Actor><ActorID>[email protected]</A
ctorID><ActorRole><Text>Patient</Text></ActorRole></
Actor><Actor><ActorID>[email protected]</
ActorID><ActorRole><Text>Patient</Text>
</ActorRole></Actor></Source><Test><CCRDataObjectID>mw10SYoqXU0-0</
CCRDataObjectID><DateTime><Type><Text>Collection start date</Text
></Type><ExactDateTime>2007-05-02T07:00:00Z</ExactDateTime></DateTime><Description><Text>Blood
> Pressure, Diastolic (Lower Number)</T
ext><Code><Value>18.4248</Value><CodingSystem>Google</CodingSystem></
Code></Description><Source><Actor><ActorID>[email protected]</A
ctorID><ActorRole><Text>Patient</Text></ActorRole></Actor></
Source><TestResult><Value>80</Value><Units><Unit>mmHg</Unit></Units></
Te
stResult></Test></Result></Results></
Body><Actors><Actor><ActorObjectID>Google Health Profile</
ActorObjectID><Source><Actor><ActorID
>[email protected]</ActorID><ActorRole><Text>Patient</Text></ActorRole></Actor></Source></Actor></Actors></ContinuityOfCareRecord><P
rofileMetaData xmlns='http://schemas.google.com/health/metadata'/></
entry>

M:\PHDC\build\Applications\MyVENADevice\Google>


Any ideas?!

Cheers,

Nick

-- 
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.

Reply via email to