Class ChPharm5ClientRequestFactory
java.lang.Object
org.projecthusky.communication.ch.camel.chpharm5.ChPharm5ClientRequestFactory
- All Implemented Interfaces:
org.openehealth.ipf.commons.ihe.fhir.ClientRequestFactory<ca.uhn.fhir.rest.gclient.IOperationUntypedWithInput<org.hl7.fhir.r4.model.Bundle>>
public class ChPharm5ClientRequestFactory
extends Object
implements org.openehealth.ipf.commons.ihe.fhir.ClientRequestFactory<ca.uhn.fhir.rest.gclient.IOperationUntypedWithInput<org.hl7.fhir.r4.model.Bundle>>
Request factory for CH:PHARM-5 requests.
- Author:
- Christian Ohr, Quentin Ligier, Oliver Egger, Daniel Vazquez Rivera
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionca.uhn.fhir.rest.gclient.IClientExecutable<ca.uhn.fhir.rest.gclient.IOperationUntypedWithInput<org.hl7.fhir.r4.model.Bundle>,
?> getClientExecutable
(ca.uhn.fhir.rest.client.api.IGenericClient client, Object requestData, Map<String, Object> parametersMap) Returns a FHIR request using a FHIR client and a sequence of input data.
-
Constructor Details
-
ChPharm5ClientRequestFactory
public ChPharm5ClientRequestFactory()
-
-
Method Details
-
getClientExecutable
public ca.uhn.fhir.rest.gclient.IClientExecutable<ca.uhn.fhir.rest.gclient.IOperationUntypedWithInput<org.hl7.fhir.r4.model.Bundle>,?> getClientExecutable(ca.uhn.fhir.rest.client.api.IGenericClient client, Object requestData, Map<String, Object> parametersMap) Returns a FHIR request using a FHIR client and a sequence of input data.- Specified by:
getClientExecutable
in interfaceorg.openehealth.ipf.commons.ihe.fhir.ClientRequestFactory<ca.uhn.fhir.rest.gclient.IOperationUntypedWithInput<org.hl7.fhir.r4.model.Bundle>>
- Parameters:
client
- FHIR clientrequestData
- main request data, eitherParameters
orChPharm5FindMedicationCardSearchParameters
. IfParameters
, it shall contain the operation name if the user data (useBase.setUserData(String, Object)
).parametersMap
- parameter map- Returns:
- FHIR request executable.
-