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

location-period search parameter is broken

    XMLWordPrintableJSON

Details

    • Icon: Change Request Change Request
    • Resolution: Persuasive with Modification
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • Patient Administration
    • Encounter
    • Hide

      A new composite search element will be created that is a composite of the location period and location.

      Show
      A new composite search element will be created that is a composite of the location period and location.
    • Reinhard Egelkraut / Brian Postlethwaite : 6-0-0
    • Enhancement
    • Compatible, substantive
    • R5

    Description

      Search parameters are all evaluated independently. The location parameter and the location-period parameter are thus going to be executed independently. You'll get matches for encounters that were at that location at some point, and encounters that were in some location at that period, but you won't get encounters that were at that one location at that one time. (It also breaks if you list multiple locations or multiple periods, which is also legal.)

      location-period should be changed to be a composite where you pass both a reference and a period.

      Attachments

        Activity

          People

            Unassigned Unassigned
            lloyd Lloyd McKenzie
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: