I don't know if you can. One reason is that comment information doesn't show up in the /profile/default feed. I believe it only appears when using ClientLogin (and the profile/ui feed). The other reason is that <ProfileMetaData> appears outside of <Medication>.
Eric On Mar 25, 12:35 am, "kpdip...@gmail.com" <kpdip...@gmail.com> wrote: > Hello, > > How can i add multiple record of any category at a time? > Here is my code for single entry of medication category & i also want > to add UserComment for every entry so how can i add multiple records. > Without usercomment i can do but how with UserComment i don't know? > > @"<?xml version=\"1.0\" encoding=\"utf-8\"?><entry > xmlns=\"http://www.w3.org/2005/Atom\"><title type=\"text\">THE NOTICE SUBJECT > LINE</ > title><content type=\"text\">THE NOTICE MESSAGE BODY</content> > <ContinuityOfCareRecord xmlns=\"urn:astm-org:CCR > \"><Language><Text>English</Text><Code><Value>en</ > Value><CodingSystem>ISO-639-1</CodingSystem> </Code> </Language> > <Version>V1.0</Version> <DateTime> <Type /> <ExactDateTime> > %...@t11:57:20Z</ExactDateTime> </DateTime> <Patient> > <ActorID>D6E5D510-592D-C613-DB46-A4CF2AC91C1D</ActorID> </Patient> > <Body> <Medications> <Medication> <CCRDataObjectID>53</ > CCRDataObjectID> <DateTime> <Type> <Text>Prescription > Date</Text> </ > Type> <ExactDateTime>%...@t12:00:00Z</ExactDateTime> </DateTime> > <Type> > <Text>Medication</Text> </Type> <Source> <Actor> > <ActorID>%@</ActorID> > </Actor> </Source> <Product> <ProductName> <Text>%@</Text> <Code> > <Value>-1</Value> <CodingSystem>omi-coding</CodingSystem> > <Version>2005</Version> </Code> </ProductName> <Form> > <Text>%@</Text> > </Form> </Product> <Quantity> <Value>%@</Value> </Quantity> > <Directions> <Direction> <Description> <Text>%@</Text> > </Description> > <DoseIndicator> <Text>1</Text> </DoseIndicator> </Direction> </ > Directions> <PatientInstructions><Instruction> <Text>%@</Text></ > Instruction> </PatientInstructions> </Medication></Medications></ > Body><Actors><Actor><ActorObjectID>D6E5D510-592D-C613-DB46- > A4CF2AC91C1D</ActorObjectID><Person><Name><CurrentName><Given>Test5</ > Given><Family>Surescripts</Family></CurrentName></ > Name><DateOfBirth><Type /><ExactDateTime>1955-01-02T12:00:00Z</ > ExactDateTime></DateOfBirth><Gender /></ > Person><Address><Type><Text>Home</Text></Type></ > Address><Telephone><Value>123-456-7890</Value></ > Telephone><EMail><Value>g...@mttaboros.com</Value></ > EMail><URL><Value>http://mttaboros.com</Value></URL><Status /><Source > /></Actor></Actors></ContinuityOfCareRecord><ProfileMetaData > > xmlns='http://schemas.google.com/health/metadata'><UserComment > type='text' src='IRI'>Dipen's Note</UserComment></ProfileMetaData></ > entry>" --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to googlehealthdevelopers@googlegroups.com To unsubscribe from this group, send email to googlehealthdevelopers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en -~----------~----~----~----~------~----~------~--~---