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

Common searchparameter 'patient' should have single target 'Patient'

    XMLWordPrintableJSON

Details

    • Icon: Technical Correction Technical Correction
    • Resolution: Persuasive
    • Icon: Medium Medium
    • FHIR Core (FHIR)
    • R4
    • FHIR Infrastructure
    • SearchParameter
    • Search Parameter Registry
    • 3.1.4
    • Hide

      Will ensure that all resources that are covered by this search parameter include the .​`where(resolve() is Patient)` clause if the name of the element is anything other than 'patient' to avoid any possibility of scope changing to include resources other than Patient.

      Show
      Will ensure that all resources that are covered by this search parameter include the .​`where(resolve() is Patient)` clause if the name of the element is anything other than 'patient' to avoid any possibility of scope changing to include resources other than Patient.
    • Correction
    • R5

    Description

      The common searchparameter 'patient' has two targets: Patient and Group.

      The only base resourcetype for which Group is relevant is DeviceUseStatement.

      For this resourcetype the fhirpath expression is DeviceUseStatement.subject. For all others it is either Xyz.patient or Xyz.subject.where(resolve() is Patient), thereby limiting it to Patient targets.

      It would be easier and more consistent if the expression were changed to include DeviceUseStatement.subject.where(resolve() is Patient), and the target set to only 'Patient'.

      Attachments

        Activity

          People

            Unassigned Unassigned
            cpk Christiaan Knaap
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: