Hi, I guess your are posting notice to Patient Profile ( I mean doctor or third party provider is posting a notice to patient profile).
I am trying to acheive the same ( Doctor is trying to post a notice to Patient ID ). I have a valid Patient ID (profile Id) but while posting I am getting the Http 403 error message. Do you know why? Is there any write/read access issue? does patient has to give read and write permission to my app (doctor )? if yes then How? Please guide me. Thanks, Sachin On May 21, 9:15 pm, "Eric (Google)" <[email protected]> wrote: > I was able to post that CCR snippet successfully > by removing the '\' in: > > xmlns='urn:astm-org:CCR\' > > Eric > > On May 19, 1:19 am, zhang <[email protected]> wrote: > > > > > I created a function to upload test result: > > ====================================================== > > public void UploadTestResult(string title, string content, string > > ccrXmlString) > > { > > AtomEntry newNotice = new AtomEntry(); > > > newNotice.Title.Text = title; > > newNotice.Content.Content = content; > > XmlDocument ccrDoc = new XmlDocument(); > > ccrDoc.LoadXml(ccrXmlString); > > newNotice.ExtensionElements.Add(new XmlExtension > > (ccrDoc.DocumentElement)); > > HealthService.Insert(new Uri("https://www.google.com/ > > health/feeds/profile/ui/" + CurrentPatient.ID), newNotice);} > > > ====================================================== > > And, I used this function as below: > > ====================================================== > > string ccr = > > @"<ContinuityOfCareRecord xmlns='urn:astm-org:CCR\'> > > <Body> > > <Results> > > <Result> > > <Test> > > <DateTime> > > <Type> > > <Text>Collection start date</Text> > > </Type> > > <ExactDateTime>2009-05-19</ExactDateTime> > > </DateTime> > > <Description> > > <Text>Blood Pressure, Diastolic (Lower Number)</Text> > > <Code> > > <Value>18.4248</Value> > > <CodingSystem>Google</CodingSystem> > > </Code> > > </Description> > > <Source> > > <Actor> > > <ActorID>[email protected]</ActorID> > > <ActorRole> > > <Text>Patient</Text> > > </ActorRole> > > </Actor> > > </Source> > > <TestResult> > > <Value>80</Value> > > <Units> > > <Unit>mmHg</Unit> > > </Units> > > <ResultSequencePosition>0</ResultSequencePosition> > > </TestResult> > > </Test> > > </Result> > > </Results> > > </Body> > > </ContinuityOfCareRecord>"; > > UploadTestResult("Test Result", "Blood Pressure Test Result", > > ccr); > > ====================================================== > > I debugged into the Execute() function in request.cs file, and the > > response.StatusCode is Created. > > > But In Google Health's web page, nothing been appended, and I can't > > get this entity too. > > > Thanks,- Hide quoted text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
