Class MdmResourceFilteringSvc

java.lang.Object
ca.uhn.fhir.jpa.mdm.svc.MdmResourceFilteringSvc

@Service public class MdmResourceFilteringSvc extends Object
  • Constructor Details

  • Method Details

    • shouldBeProcessed

      public boolean shouldBeProcessed(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. 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