public class FhirTransaction extends Object
| Constructor and Description |
|---|
FhirTransaction(ca.uhn.fhir.rest.client.api.IGenericClient client) |
| Modifier and Type | Method and Description |
|---|---|
org.hl7.fhir.instance.model.api.IBaseBundle |
withBundle(org.hl7.fhir.instance.model.api.IBaseBundle bundle,
Map<ExtraParameters,Object> extraParameters)
Use the given Bundle resource as the transaction input
|
String |
withBundle(String stringBundle,
Map<ExtraParameters,Object> extraParameters)
Use the given raw text (should be a Bundle resource) as the transaction input
|
List<org.hl7.fhir.instance.model.api.IBaseResource> |
withResources(List<org.hl7.fhir.instance.model.api.IBaseResource> resources,
Map<ExtraParameters,Object> extraParameters)
Use a list of resources as the transaction input
|
public FhirTransaction(ca.uhn.fhir.rest.client.api.IGenericClient client)
public List<org.hl7.fhir.instance.model.api.IBaseResource> withResources(List<org.hl7.fhir.instance.model.api.IBaseResource> resources, Map<ExtraParameters,Object> extraParameters)
resources - resources to use in the transactionextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseResourcespublic org.hl7.fhir.instance.model.api.IBaseBundle withBundle(org.hl7.fhir.instance.model.api.IBaseBundle bundle,
Map<ExtraParameters,Object> extraParameters)
bundle - bundle to use in the transactionextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseBundlepublic String withBundle(String stringBundle, Map<ExtraParameters,Object> extraParameters)
stringBundle - bundle to use in the transactionextraParameters - see ExtraParameters for a full list of parameters that can be passed, may be NULLIBaseBundle as stringApache Camel