Package ca.uhn.fhir.jpa.mdm.svc
Class MdmResourceFilteringSvc
java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmResourceFilteringSvc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanshouldBeProcessed(org.hl7.fhir.instance.model.api.IAnyResource theResource) Given a resource from the MDM Channel, determine whether or not MDM processing should occur on it.
-
Constructor Details
-
MdmResourceFilteringSvc
public MdmResourceFilteringSvc()
-
-
Method Details
-
shouldBeProcessed
Given a resource from the MDM Channel, determine whether or not MDM processing should occur on it. MDM processing should occur if for any) Search Param, the resource contains a value. If the resource has no attributes that appear in the candidate search params, processing should be skipped, as there is not sufficient information to perform meaningful MDM processing. (For example, how can MDM processing occur on a patient that has _no_ attributes?)- Parameters:
theResource- the resource that you wish to check against MDM rules.- Returns:
- whether or not MDM processing should proceed
-