Uploaded image for project: 'FHIR Module v2'
  1. FHIR Module v2
  2. FM2-481

Clean up parameter passing in Service class search methods

    XMLWordPrintable

Details

    • Enhancement
    • Status: Code Review (Initial)
    • Could
    • Resolution: Unresolved
    • None
    • None
    • None
    • None
    • Low

    Description

      Service classes that support searching will often accept a long list of optional search parameters, where most of these parameters are not used (and thus passed in as null). This can lead to noisy and hard to maintain code.

      For each Resource let's pull these search parameters into a separate `SearchParams` class. This has already been done for the Encounter resource

      If possible we should also explore pulling out all search parameters shared between resources into a base class to cut down on param duplication

      Gliffy Diagrams

        Attachments

          Activity

            People

              pmanko2 Pawel Mankowski
              pmanko2 Pawel Mankowski
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: