Class FHIRToolingClient

java.lang.Object
org.hl7.fhir.utilities.FHIRBaseToolingClient
org.hl7.fhir.r4.utils.client.FHIRToolingClient

public class FHIRToolingClient extends org.hl7.fhir.utilities.FHIRBaseToolingClient
Very Simple RESTful client. This is purely for use in the standalone tools jar packages. It doesn't support many features, only what the tools need.

To use, initialize class and set base service URI as follows:

 
 FHIRSimpleClient fhirClient = new FHIRSimpleClient();
 fhirClient.initialize("http://my.fhir.domain/myServiceRoot");
 
 

Default Accept and Content-Type headers are application/fhir+xml and application/fhir+json.

These can be changed by invoking the following setter functions:

 
 setPreferredResourceFormat()
 setPreferredFeedFormat()
 
 

TODO Review all sad paths.

Author:
Claude Nanjo