argonautproject / scheduling

Argonaut Scheduling and Appointments: This project supports basic patient and provider access to a provider's calendar and appointment requests, including APIs and guidance for searching and publishing a providers schedule andrequesting, cancelling or updating an appointment.
http://www.fhir.org/guides/argonaut/scheduling/
15 stars 2 forks source link

Prefetch issues: "Smart Polling" = Subscription for change of events #59

Closed Healthedata1 closed 6 years ago

Healthedata1 commented 6 years ago

"Smart Polling"

  1. single operation for load, updates, reconciliation.
    • inputs providers and date range ( possible others)
  2. initial load mode - give me everything
    • max date ranges
    • run periodically to reset or to resync
    • minimum daily
  3. server informs what changes
    • Triggers
      1. Schedule changes
      2. Visit type changes?
    • Suggested Approach is FHIR Subscription using Schedule
    • Notifies
      • date range
        • often single day
      • provider/facility/group (depending on system)
      • SHOULD be lowest schedulable entity
      • time horizon needs to be defined by clients - events beyond time horizon would be discarded.
      • "heartbeat" every frequency is site specific
      • content: ?
      • per location/facility
      • on/off event service notification ??

example: e.g., provider x gets 6 new appointments get booked - EHR sends 6 notifications

Questions:

  1. Whether is technically a "feed" or FHIR Based sub/pub "Subscription."
    
    Design Pattern using a "Feed Handler" in the middle.

Long pull on the Feed Handler by many clients possible without burdening server.


1.  Does CapabilityStatement cover subscription events and plans.
Healthedata1 commented 6 years ago

New Operation to differentiates from runtime fetch:

Healthedata1 commented 6 years ago

See https://docs.google.com/document/d/1P8yLaXp9aE1rxM8-ey9-7x-VCwwdmGmOASx9vuq1Ius/edit?usp=sharing for PreFetch output content and guidance.

Healthedata1 commented 6 years ago

for hold and book: POST Appt

Healthedata1 commented 6 years ago

implement

Healthedata1 commented 6 years ago

Issues with current way Subscription works and what was discussed for updating slots.

From above

Healthedata1 commented 6 years ago

Option 2:

Will trigger on Slots but send the Schedule ( referenced in the triggering Slot.schedule) in the notification payload.

Healthedata1 commented 6 years ago

applied to IG