Class AdvanceDirectivesJpaSectionSearchStrategy

java.lang.Object
ca.uhn.fhir.jpa.ips.jpa.JpaSectionSearchStrategy<org.hl7.fhir.r4.model.Consent>
ca.uhn.fhir.jpa.ips.jpa.section.AdvanceDirectivesJpaSectionSearchStrategy
All Implemented Interfaces:
IJpaSectionSearchStrategy<org.hl7.fhir.r4.model.Consent>

public class AdvanceDirectivesJpaSectionSearchStrategy extends JpaSectionSearchStrategy<org.hl7.fhir.r4.model.Consent>
  • Constructor Details

  • Method Details

    • massageResourceSearch

      public void massageResourceSearch(@Nonnull IpsSectionContext theIpsSectionContext, @Nonnull ca.uhn.fhir.jpa.searchparam.SearchParameterMap theSearchParameterMap)
      Description copied from interface: IJpaSectionSearchStrategy
      This method can manipulate the SearchParameterMap that will be used to find candidate resources for the given IPS section. The map will already have a subject/patient parameter added to it. The map provided in theSearchParameterMap will contain a subject/patient reference (e.g. ?patient=Patient/123), but no other parameters. This method can add other parameters. The default implementation of this interface performs no action.

      For example, for a Vital Signs section, the implementation might add a parameter indicating the parameter category=vital-signs.

      Parameters:
      theIpsSectionContext - The context, which indicates the IPS section and the resource type being searched for.
      theSearchParameterMap - The map to manipulate.