Validic
  • Solutions
    • Inform: Data Connectivity Platform
    • Impact: Remote Monitoring Platform
    • Logistics & Support
    • Mobile Solutions & HealthBridge
  • Industries
    • Hospitals & Health Systems
    • Healthcare IT Companies
    • Wellness Companies
    • Pharmaceutical Companies & CROs
    • Payers & Insurers
    • Device Manufacturers & App Developers
  • Ecosystem
  • Resources
    • Blog
    • Learning Center
  • Contact
Select Page

Best Practices

Apr 3, 2015

Best Practices

Managing a User’s Connected Status

It is important to mark users in your system as connected to Validic for as long as they have at least one authorized “consumer” through Validic. Because of this, your user table should include some kind of “connected_to_validic” flag that is set to true once you receive that user’s first sync notification and false once you receive that user’s last disconnect notification. This is evident in the connected_third_parties array present on both sync and disconnect notifications.

For example, if you receive a sync notification and that array only contains one “consumer” name, then that represents a user’s first sync notification and their “connected_to_validic” flag should be set to true. Conversely, if you receive a disconnect notification and that array contains zero “consumer” names, then that represents the user’s last disconnect notification and that flag should be set to false.

Sending Historical Data on Initial Sync

A best practice for handling historical data (typically covering the last 6 months) is to POST to Validic upon receiving a user’s first Sync Notification.

A Typical Workflow for Posting Historical Data

  1. Receive sync notification
  2. Determine if it’s an initial sync
  3. If initial, query for users historical data
  4. Loop through each record and POST to Validic Connect

If a user authorizes access to their data by an additional “consumer”, you do not need to send historical data again. Subsequent authorizations will also receive historic data on initial sync.

Sending Newly Created Data

As soon as you receive new data from Validic Connect, it’s a best practice to push it to Validic Connect.  This will provide a better experience with more real-time data with both end users and the applications they are connecting.

After the record has been saved in your database, we suggest sending newly created data via a database callback that submits a POST request to Validic Connect.  This can be accompanied by periodic reconciliation.

Periodic Data Reconciliation

Validic Connect partners should periodically reconcile the data in their database with what is in the Validic database. To do so, use the Validic latest (https://validic.com/contentblock/latest) endpoint to regularly query your users data. Your system should look for discrepancies using each activity’s Validic _id stored from the initial POST request to Validic, and reconcile any missing or duplicate data in Validic using a POST or DELETE. A regular reconciliation of comparing what is in Validic with what is in your database will ensure end users see the same data in authorized “consumer” applications as they do in your application.

Deleting Users

As users get deleted in your system you should delete them in Validic as well. To do so, just pass in the original UID for that user:

Example
DELETE https://api.validic.com/v1/organizations/{ORGANIZATION_ID}/users.json
https://api.validic.com/v1/organizations/5176906c6deddac02c000001/users.json
-H 'Content-Type': 'application/json'
{
 "access_token": "ORGANIZATION_ACCESS_TOKEN",
 "uid": "YOUR_USER_ID"
}

 

View More >

Recent Posts

  • Why a digital health leader acquired a warehouse
  • Meet Gabe Maeck, LCSW, Senior Client Success Executive
  • Converting Patient Insight into Action: Exploring New Connections in Patient Data
  • Remote Patient Monitoring Has Failed — Now What?
  • Reducing Long Wait Times for Provider Care

Archives

  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • October 2021
  • July 2021
  • June 2021
  • April 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • August 2017
  • July 2017
  • June 2017
  • May 2017
  • March 2017
  • February 2017
  • January 2017
  • June 2016
  • January 2016
  • September 2015
  • August 2015
  • July 2015

Categories

News
Events
Awards

About

  • Blog
  • Company
  • How It Works
  • Careers

Developers

  • Inform Platform Documentation
  • Legacy Platform Documentation
  • Connect API Documentation
  • Mobile Documentation

Legal

  • Data Security Policy
  • Service Level Agreement
  • Support Policy
  • Privacy Policy
  • Terms and Conditions

Contact Us

  • Request to Become a Client
Validic

Validic Inc. is a digital health and personalized care company devoted to our mission of improving the quality of human life by making personal data actionable. With the world’s largest health IoT platform and EHR-embedded remote care application, we help healthcare organizations give every person tailored interventions and personalized care, improving healthcare efficiency and delivery, and empowering people to play an active role in their health and well-being.

Validic Twitter Validic LinkedIn

hello@validic.com
1-800-495-7934

701 W Main St, Suite 620
Durham, NC 27701

This website uses cookies to improve your user experience. By using our website, you consent to all cookies in accordance with our Privacy Policy.AcceptPrivacy policy