This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions 
| FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Not linked to any defined compartments |
Raw JSON (canonical form + also see JSON Format Specification)
Operation Definition
{
"resourceType" : "OperationDefinition",
"id" : "Subscription-get-ws-binding-token",
"text" : {
"status" : "extensions",
"div" : "<div>!-- Snipped for Brevity --></div>"
},
"extension" : [{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm",
"valueInteger" : 2
},
{
"url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status",
"valueCode" : "trial-use"
}],
"url" : "http://hl7.org/fhir/OperationDefinition/Subscription-get-ws-binding-token",
"version" : "4.6.0",
"name" : "get-ws-binding-token",
"title" : "Get a binding token for use in a websocket connection",
"status" : "draft",
"kind" : "operation",
"date" : "2021-04-15T12:25:09+10:00",
"publisher" : "HL7 (FHIR Project)",
"contact" : [{
"telecom" : [{
"system" : "url",
"value" : "http://hl7.org/fhir"
},
{
"system" : "email",
"value" : "fhir@lists.hl7.org"
}]
}],
"description" : "This operation is used to get a token for a websocket client to use in order to bind to one or more subscriptions.",
"affectsState" : true,
"code" : "get-ws-binding-token",
"resource" : ["Subscription"],
"system" : false,
"type" : true,
"instance" : true,
"parameter" : [{
"name" : "ids",
"use" : "in",
"min" : 0,
"max" : "*",
"documentation" : "At the Resource level, one or more parameters containing one or more comma-delimited FHIR ids of Subscriptions to get tokens for. In the absense of any specified ids, the server returns tokens for all Subscriptions available to the caller with a channel-type of websocket. At the Instance level, this parameter is ignored.",
"type" : "id"
},
{
"name" : "return",
"use" : "out",
"min" : 1,
"max" : "1",
"documentation" : "The returned Parameters MUST include a valueString named \"token\" and a valueDateTime named \"expiration\". The returned Parameters MAY include a valueString named \"subscriptions\" with a comma-delimited list of subscriptions covered by this token.",
"type" : "Parameters"
}]
}
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.