Package ca.uhn.fhir.jpa.ips.jpa.section
Class MedicationSummaryJpaSectionSearchStrategyMedicationDispense
java.lang.Object
ca.uhn.fhir.jpa.ips.jpa.JpaSectionSearchStrategy<org.hl7.fhir.r4.model.MedicationDispense>
ca.uhn.fhir.jpa.ips.jpa.section.MedicationSummaryJpaSectionSearchStrategyMedicationDispense
- All Implemented Interfaces:
IJpaSectionSearchStrategy<org.hl7.fhir.r4.model.MedicationDispense>
public class MedicationSummaryJpaSectionSearchStrategyMedicationDispense
extends JpaSectionSearchStrategy<org.hl7.fhir.r4.model.MedicationDispense>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
massageResourceSearch
(IpsSectionContext<org.hl7.fhir.r4.model.MedicationDispense> theIpsSectionContext, ca.uhn.fhir.jpa.searchparam.SearchParameterMap theSearchParameterMap) This method can manipulate theSearchParameterMap
that will be used to find candidate resources for the given IPS section.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ca.uhn.fhir.jpa.ips.jpa.IJpaSectionSearchStrategy
shouldInclude
-
Constructor Details
-
MedicationSummaryJpaSectionSearchStrategyMedicationDispense
-
-
Method Details
-
massageResourceSearch
public void massageResourceSearch(@Nonnull IpsSectionContext<org.hl7.fhir.r4.model.MedicationDispense> theIpsSectionContext, @Nonnull ca.uhn.fhir.jpa.searchparam.SearchParameterMap theSearchParameterMap) Description copied from interface:IJpaSectionSearchStrategy
This method can manipulate theSearchParameterMap
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.
-