Class BundleProfileSelector
java.lang.Object
org.openehealth.ipf.commons.ihe.fhir.BundleProfileSelector
- All Implemented Interfaces:
Predicate<RequestDetails>
BundleProfileSelector can be used as selector for FHIR Consumers in batch/transaction
requests. These requests can be typically handled by a subclass of
AbstractBatchTransactionResourceProvider
- Since:
- 4.1
- Author:
- Christian Ohr
-
Constructor Details
-
BundleProfileSelector
- Parameters:
profileUris
- Profile URIs expected in the Bundle's meta element
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<RequestDetails>
- Parameters:
requestDetails
- request- Returns:
- true if one of the
profileUris
are present in the Bundle's meta.profile
-