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

$document operation should have a output parameter

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • Structured Documents
    • operations
    • Hide

      SD discussed this during the May WGM. We agree with the suggestion. We discovered a few things during this discussion, and will make the following changes:

      We will remove "Note that since this is a search operation, the document bundle is wrapped inside the search bundle." from the $document operation description.

      We will add an output parameter to the $document operation that specifies:

      • use: OUT
      • name: return
      • cardinality: 1..1
      • type: Bundle
      Show
      SD discussed this during the May WGM. We agree with the suggestion. We discovered a few things during this discussion, and will make the following changes: We will remove "Note that since this is a search operation, the document bundle is wrapped inside the search bundle." from the $document operation description. We will add an output parameter to the $document operation that specifies: use: OUT name: return cardinality: 1..1 type: Bundle
    • Sean M/Grahame G: 8-0-0
    • Enhancement
    • Compatible, substantive
    • R5

    Description

      $document operation does not have an output parameter in its definition.

      Section 2.42.13.1 states that

      The server ... either returns a full document bundle, or returns an error

      And the following example (http://build.fhir.org/composition-operation-document.html#examples) shows a Bundle is returned

       

      Suggest: Add one output parameter to the operation:

      name: return

      type: Bundle

      Attachments

        Activity

          People

            benjamin Benjamin Flessner
            yunwwang Yunwei Wang
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: