Rob is correct. As I mentioned I am looking for access to patient profile, once patient has authorized the application or provider to access his/her data on internet. Next time if a provider wants to see patient data again, provider will not be redirected to health vault login screen for patient credentials instead will use person id and record id to access that data. This person id and record id is provided by health vault once you have granted the permission to provider or application by patient to access data with out patients health vaut user id and password.
I am agree with Jim too that offline access gives different meanings in different context of applications. But here I am only concerned with MS health vault offline access, hence I have explicithly mentioned in the title. On Nov 25, 9:03 am, Jim Pharis <[email protected]> wrote: > Offline access, in terms of any CMR, can also mean the replication of data > from a CMR to localize it in an intranet. This way it can be accessed > locally, and not necessarily require remote calls to MSHV. There are a lot > of reasons to do that. > > > > On Tue, Nov 24, 2009 at 7:23 PM, Rob Wesley <[email protected]> wrote: > > Offline Access is a term from Microsoft HealthVault. It means accessing > > the data without requiring the user to login to the repository each time an > > application is launched. The code below is analogous to MS HealthVault. > > Keeping the AuthToken is analogous to keeping the PersonID and RecordID in > > HealthVault. > > > ------------------------------ > > > *From:* Reggie Pangilinan [mailto:[email protected]] > > *Sent:* Tuesday, November 24, 2009 10:32 AM > > *To:* [email protected] > > *Subject:* Re: [Google-Health-API] Re: How google health API support MS > > healthvault offline access feature? > > > Hello Suresh, > > > I'm kinda confused.. but what do you mean by offline access? meaning no > > internet connection required? > > > Thanks, > > > Reggie > > > On Mon, Nov 23, 2009 at 11:00 PM, Suresh Thakur <[email protected]> > > wrote: > > > Hi Guys, > > > With the help of Eric (Google), I am now able to connect Google Health > > to get offline Access on data. Here are the steps I used to do that, > > > Step1:- Create AuthSubRequest URL Like - > > >http://www.google.com/h9/authsub?next=http%3A%2F%2Flocalhost%2FGoogle... > > > Using AuthSubUtil.getRequestUrl() method > > > AuthSubUtil.getRequestUrl("http", "www.google.com", "/h9/authsub", > > Request.Url.ToString(), "https://www.google.com/h9/feeds/", > > false,true); > > authSubLink += "&permission=1"; > > Step2: Get and store the token value received from google health and > > create a session based token using AuthSubUtil.exchangeForSessionToken > > () Method > > > String token = Request.QueryString["token"]; > > string offlineTokenToGetPersonProfile = > > AuthSubUtil.exchangeForSessionToken(token, null).ToString(); > > > Store offlineTokenToGetPersonProfile value in database and use it to > > connect to google health without user credentials > > > Step3: To connect to google health for offline Access as MS > > healthVault do use GAuthSubRequestFactory() class as we use this class > > to connect online access as well, developer are not required now to > > create AuthSubRequest URL as we done in STEP1. > > > GAuthSubRequestFactory authFactory = new GAuthSubRequestFactory > > ("weaver", "exampleCo-exampleApp-1"); > > authFactory.Token = offlineTokenToGetPersonProfile ; > > HealthService service = new HealthService > > (authFactory.ApplicationName); > > service.RequestFactory = authFactory; > > > Take a look at Authentication also: > > >http://code.google.com/apis/health/docs/2.0/developers_guide_protocol... > > > Thanks to Eric!!! > > > On Nov 16, 6:57 pm, Suresh Thakur <[email protected]> wrote: > > > Hi, > > > > I am developing a application where one provider can have multiple > > > patients and each patient can be linked to multiple providers. > > > > I want to create application where provider canaccesspatients data > > > without entering patient's login information, instead should get some > > > kind of patientid and record id as MS healthvault provides to get > > > patient data once authorized by patient. > > > > Thanks > > > > Suresh Thakur > > > -- > > > 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]<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]<googlehealthdevelopers%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/googlehealthdevelopers?hl=en.- 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.
