Skip to content
medgridehr.comRequest a Demo

Sync Patients to Your System

  1. Create a key with read:patients.
  2. First run: page through GET /api/v1/patients?limit=200 until nextCursor is null. Keep the largest updatedAt you saw.
  3. Every run after that: call with updatedSince=<that timestamp>. Updated records come back; store the new largest updatedAt.
  4. Upsert by id. A patient who was DISCHARGED is still returned, with that status.
Was this page helpful?