Clarify whether conditional operations in a transaction include [base]

XMLWordPrintableJSON

    • Type: Change Request
    • Resolution: Persuasive with Modification
    • Priority: Medium
    • FHIR Core (FHIR)
    • DSTU1 [deprecated]
    • FHIR Infrastructure
    • STU
    • Bundle
    • REST (http)
    • Hide

      Resolution: Base has been removed. Bundle.entry.transaction.url is interpreted relative to the address at which the transaction was submitted, with no leading slash.

      _Bundle.entry.transaction._ifNoneExist is just the query portion of the URL without a leading "?"

      Update all the examples to be consistent with this, and make sure this is also stated clearly for the Conditional create interaction too

      Show
      Resolution: Base has been removed. Bundle.entry.transaction.url is interpreted relative to the address at which the transaction was submitted, with no leading slash. _Bundle.entry.transaction._ifNoneExist is just the query portion of the URL without a leading "?" Update all the examples to be consistent with this, and make sure this is also stated clearly for the Conditional create interaction too
    • Grahame Grieve / James Agnew: 4-0-2
    • Clarification
    • Non-compatible
    • DSTU1 [deprecated]

      It's unclear from the documentation whether values like Bundle.entry.transaction.url and Bundle.entry.transaction.ifNoneMatch take values that are:

      • Absolute URLs
      • URLs relative to base (including a leading "/')
      • URLs realative to base (excluding a leading "/")

      (Or if all three are fine, or if it depends on whether Bundle.base itself has a trailing slash.)

      We see examples of leading slash (http://hl7-fhir.github.io/http.html#2.1.0.13.1), no leading slash (http://hl7-fhir.github.io/bundle-transaction.xml.html).

      I think it would help to clarify that all of these fields are interpreted relative to Bundle.base, and so the combination of :

      Bundle.base: "http://example.com/base"
      Bundle.entry.transaction.url: "Patient"

      woudld be illegal (it would need a "/" at the end of base, or at the beginning of transaction.url). The bundle documentation should be updated accordingly (and the examples).

            Assignee:
            Unassigned
            Reporter:
            Josh Mandel
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: