Huli FHIR Core Implementation Guide (R4)
0.1.0 - Release

Huli FHIR Core Implementation Guide (R4) - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Subscription $replay - JSON Representation

Active as of 2026-09-11

Raw json | Download

{
  "resourceType" : "OperationDefinition",
  "id" : "Subscription-replay",
  "text" : {
    "status" : "generated",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: OperationDefinition Subscription-replay</b></p><a name=\"Subscription-replay\"> </a><a name=\"hcSubscription-replay\"> </a><p>URL: [base]/Subscription/[id]/$replay</p><h3>Parameters</h3><table class=\"grid\"><tr><td><b>Use</b></td><td><b>Name</b></td><td><b>Scope</b></td><td><b>Cardinality</b></td><td><b>Type</b></td><td><b>Binding</b></td><td><b>Documentation</b></td></tr><tr><td>IN</td><td>from</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#instant\">instant</a></td><td/><td><div><p>Inclusive lower bound of the replay window.</p>\n</div></td></tr><tr><td>IN</td><td>to</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#instant\">instant</a></td><td/><td><div><p>Inclusive upper bound of the replay window.</p>\n</div></td></tr><tr><td>OUT</td><td>deliveriesQueued</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a></td><td/><td><div><p>Count of deliveries enqueued by this call.</p>\n</div></td></tr><tr><td>OUT</td><td>truncated</td><td/><td>1..1</td><td><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td/><td><div><p>True when the 500-event cap was hit; call again with the same window to advance to older events.</p>\n</div></td></tr></table></div>"
  },
  "url" : "https://fhir.huli.ai/r4/OperationDefinition/Subscription-replay",
  "version" : "0.1.0",
  "name" : "SubscriptionReplay",
  "title" : "Subscription $replay",
  "status" : "active",
  "kind" : "operation",
  "date" : "2026-09-11T01:20:01+00:00",
  "publisher" : "Huli",
  "contact" : [
    {
      "name" : "Huli",
      "telecom" : [
        {
          "system" : "url",
          "value" : "https://huli.ai"
        }
      ]
    }
  ],
  "description" : "Re-enqueue past events whose occurred_at falls in a [from,to] window, for outage recovery / backfill. Only an active subscription may replay; the window is clamped to the retention horizon and one call re-enqueues at most 500 events. Requires system/Subscription.crud.",
  "affectsState" : true,
  "code" : "replay",
  "resource" : [
    "Subscription"
  ],
  "system" : false,
  "type" : false,
  "instance" : true,
  "parameter" : [
    {
      "name" : "from",
      "use" : "in",
      "min" : 1,
      "max" : "1",
      "documentation" : "Inclusive lower bound of the replay window.",
      "type" : "instant"
    },
    {
      "name" : "to",
      "use" : "in",
      "min" : 1,
      "max" : "1",
      "documentation" : "Inclusive upper bound of the replay window.",
      "type" : "instant"
    },
    {
      "name" : "deliveriesQueued",
      "use" : "out",
      "min" : 1,
      "max" : "1",
      "documentation" : "Count of deliveries enqueued by this call.",
      "type" : "integer"
    },
    {
      "name" : "truncated",
      "use" : "out",
      "min" : 1,
      "max" : "1",
      "documentation" : "True when the 500-event cap was hit; call again with the same window to advance to older events.",
      "type" : "boolean"
    }
  ]
}