Uploaded image for project: 'FHIR Specification Feedback'
  1. FHIR Specification Feedback
  2. FHIR-37349

Ensure clients can recognize when "their" events are broadcast

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive
    • Icon: Medium Medium
    • FHIRCast (FHIR)
    • 2.0.0
    • Infrastructure & Messaging
    • (NA)
    • Hide

      Add something like the below, given editorial discretion, and perhaps including an indication of rationale – 

      The hub SHALL preserve the event id when distributing an event send by a subscriber. (Note that this excludes derived events in which only the hub is capable of determining an id). 

      Show
      Add something like the below, given editorial discretion, and perhaps including an indication of rationale –  The hub SHALL preserve the event id when distributing an event send by a subscriber. (Note that this excludes derived events in which only the hub is capable of determining an id). 
    • Bas van den Heuval / Alex Z Liu: 7-0-0
    • Correction
    • Compatible, substantive
    • current

    Description

      Current language:

      Following an accepted context change request, the Hub MAY re-use this value in the broadcasted event notifications.

      (From https://chat.fhir.org/#narrow/stream/179271-FHIRcast/topic/Tracking.20events.20through.20acceptance)

      If a Hub elects to assign a new ID to an app-supplied event when broadcasting it out, how can an app determine that the new event it sees is the same event it submitted?

      > Bas van den Heuvel: not that I am aware off, and that will cause issues, especially in multi-tab applications (race condition that will start an endless loop of tab switches).

      The possibility of an endless loop is bad! Perhaps we could say:

      "Following an accepted context change request, the Hub MAY re-use this value in the broadcasted event notifications. If the Hub does not re-use the app-supplied value, it SHALL populate an "originalId" property with the app-supplied value".

      Attachments

        Activity

          People

            bvdh Bas van den Heuvel
            jmandel Josh Mandel
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: