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

Missing search query parameter value

    XMLWordPrintableJSON

Details

    • Change Request
    • Status: Published (View Workflow)
    • Highest
    • Resolution: Persuasive
    • US Core (FHIR)
    • 4.0.0
    • Cross-Group Projects
    • STU
    • US Core Observation Imaging Result Profile
    • 10.120.1.4.1
    • Hide

      Background:

      see commenter's description

      These examples are generated by a template file which is causing these errors.

      Reasoning:

      We agree with commenter. This an templating bug.
       

      Proposed Changes:

      Fix bug to update the Search documentation from:

      ....

      1. SHALL support searching using the combination of the patient and code search parameters:
        • including optional support for OR search on code (e.g.code={system|}[code],{system|}[code],...)
          {{GET [base]/Observation?patient={Type/}[id]&code={system|}[code] {, {system|}
          [code],...}}}

          Example:
          #
          ## GET [base]/Observation?patient=1134281&code=http://loinc.org|TODO
          ## GET [base]/Observation?patient=1134281&code=http://loinc.org|2339-0,http://loinc.org|TODO,TODO
          Implementation Notes: Fetches a bundle of all Observation resources for the specified patient and observation code(s). SHOULD support search by multiple report codes. The Observation code parameter searches `Observation.code only. (how to search by reference and how to search by token)

          ...

          Example:
          # GET [base]Observation?patient=555580&code=http://loinc.org|TODO&date=ge2019-01-01T00:00:00Z

          ....

           

          to:

          ....
          # SHALL support searching using the combination of the patient and code search parameters:
          ** including optional support for OR search on code (e.g.code={system|}[code],{system|}[code],...)
          {{GET [base]/Observation?patient={Type/}[id]&code={system|}[code] {, {system|}

          [code],...}}}

      Example:

        1. GET [base]/Observation?patient=1134281&code=http://loinc.org|80954-1
        2. GET [base]/Observation?patient=1134281&code=http://loinc.org|80954-1,http://loinc.org|80938-4
          Implementation Notes: Fetches a bundle of all Observation resources for the specified patient and observation code(s). SHOULD support search by multiple report codes. The Observation code parameter searches `Observation.code only. (how to search by reference and how to search by token)

      ...

      Example:

      1. GET [base]Observation?patient=555580&code=http://loinc.org|80954-1&date=ge2019-01-01T00:00:00Z

      ....

                           

       

       

      Show
      Background: see commenter's description These examples are generated by a template file which is causing these errors. Reasoning: We agree with commenter. This an templating bug.   Proposed Changes: Fix bug to update the Search documentation from: .... SHALL  support searching using the combination of the  patient  and  code  search parameters: including optional support for  OR  search on  code  (e.g. code={system|} [code] ,{system|} [code] ,... ) {{GET [base] /Observation?patient={Type/} [id] &code={system|} [code] {, {system|} [code] ,...}}} Example: # ## GET [base] /Observation?patient=1134281&code= http://loinc.org | TODO ## GET [base] /Observation?patient=1134281&code= http://loinc.org |2339-0, http://loinc.org | TODO , TODO Implementation Notes:  Fetches a bundle of all Observation resources for the specified patient and observation code(s). SHOULD support search by multiple report codes. The Observation  code  parameter searches `Observation.code only. ( how to search by reference  and  how to search by token ) ... Example: # GET [base] Observation?patient=555580&code= http://loinc.org | TODO &date=ge2019-01-01T00:00:00Z ....   to: .... # SHALL  support searching using the combination of the  patient  and  code  search parameters: ** including optional support for  OR  search on  code  (e.g. code={system|} [code] ,{system|} [code] ,... ) {{GET [base] /Observation?patient={Type/} [id] &code={system|} [code] {, {system|} [code] ,...}}} Example: GET [base] /Observation?patient=1134281&code= http://loinc.org |80954-1 GET [base] /Observation?patient=1134281&code= http://loinc.org | 80954-1, http://loinc.org |80938-4 Implementation Notes:  Fetches a bundle of all Observation resources for the specified patient and observation code(s). SHOULD support search by multiple report codes. The Observation  code  parameter searches `Observation.code only. ( how to search by reference  and  how to search by token ) ... Example: GET [base] Observation?patient=555580&code= http://loinc.org | 80954-1 &date=ge2019-01-01T00:00:00Z ....                          
    • Floyd Eisenberg/Eric Haas: 12-0-2
    • Clarification
    • Non-substantive

    Description

      The 2nd required search "SHALL support searching using the combination of the patient and code search parameters:" has example queries:

      GET [base]/Observation?patient=1134281&code=http://loinc.org|TODO
      GET [base]/Observation?patient=1134281&code=http://loinc.org|2339-0,http://loinc.org|TODO,TODO

      TODO should be replaced with real code

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yunwwang Yunwei Wang
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: