FHIR Chat · Subscription get-ws-binding-token operation · fhir/infrastructure-wg

Stream: fhir/infrastructure-wg

Topic: Subscription get-ws-binding-token operation


view this post on Zulip Yunwei Wang (Aug 17 2021 at 21:37):

@Gino Canessa I don't know if this has been discussed. This operation does not seems correct.

FHIR Operation returns Parameters by default here

In general, an operation response uses the same Parameters format whether there is only one or there are multiple named out parameters.

If there is only one out parameter, which is a Resource with the parameter name "return" then the parameter format is not used, and the response is simply the resource itself.

So the operation would return a Parameters inside a Parameters like

{
  "resourceType": "Parameters",
  "parameter": [
    {
      "name": "return",
      "valueParameters": {
        "parameter": [
          ...
        ]
      }
    ]
}

This looks strange.
I think what the output should be is:

Name Cardinality Type
token 1..1 string
expiration 1..1 datetime

view this post on Zulip Yunwei Wang (Aug 17 2021 at 21:39):

Also Parameters does not have an id.

but since the parameter exchange format has no end-point and/or persistence, it never has an id, a versionId, or a lastUpdated.

view this post on Zulip Gino Canessa (Aug 17 2021 at 21:52):

Ah, missed that. Would you mind filing a ticket to update the R5 version? The R4B version is in the IG and has a ticket to fix already. Thanks!

view this post on Zulip Gino Canessa (Aug 17 2021 at 22:04):

I believe this is the same definition we want moved to R5, correct?


Last updated: Apr 12 2022 at 19:14 UTC