Package dev.dsf.fhir.client
Interface BasicFhirWebserviceClient
- All Superinterfaces:
PreferReturnResource
- All Known Subinterfaces:
FhirWebserviceClient
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteConditionaly(Class<? extends org.hl7.fhir.r4.model.Resource> resourceClass, Map<String, List<String>> criteria) voiddeletePermanently(Class<? extends org.hl7.fhir.r4.model.Resource> resourceClass, String id) <R extends org.hl7.fhir.r4.model.Resource>
boolean<R extends org.hl7.fhir.r4.model.Resource>
booleanbooleanexists(org.hl7.fhir.r4.model.IdType resourceTypeIdVersion) org.hl7.fhir.r4.model.StructureDefinitiongenerateSnapshot(String url) org.hl7.fhir.r4.model.StructureDefinitiongenerateSnapshot(org.hl7.fhir.r4.model.StructureDefinition differential) org.hl7.fhir.r4.model.CapabilityStatementdefault org.hl7.fhir.r4.model.Bundlehistory()default org.hl7.fhir.r4.model.Bundlehistory(int page, int count) default org.hl7.fhir.r4.model.Bundledefault org.hl7.fhir.r4.model.Bundledefault org.hl7.fhir.r4.model.Bundleorg.hl7.fhir.r4.model.Bundlehistory(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, String id, int page, int count) <R extends org.hl7.fhir.r4.model.Resource>
R<R extends org.hl7.fhir.r4.model.Resource>
Rorg.hl7.fhir.r4.model.Resourceorg.hl7.fhir.r4.model.Resource<R extends org.hl7.fhir.r4.model.Resource>
Rread(R oldValue) Uses If-None-Match and If-Modified-Since Headers based on the version and lastUpdated values in oldValue to check if the resource has been modified.readBinary(String id, jakarta.ws.rs.core.MediaType mediaType) readBinary(String id, String version, jakarta.ws.rs.core.MediaType mediaType) org.hl7.fhir.r4.model.Bundlesearch(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, Map<String, List<String>> parameters) org.hl7.fhir.r4.model.BundlesearchWithStrictHandling(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, Map<String, List<String>> parameters) Methods inherited from interface dev.dsf.fhir.client.PreferReturnResource
create, createBinary, createConditionaly, postBundle, update, updateBinary, updateConditionaly
-
Method Details
-
delete
-
deleteConditionaly
-
deletePermanently
-
read
-
read
- Type Parameters:
R-- Parameters:
resourceType- notnullid- notnull- Returns:
-
read
<R extends org.hl7.fhir.r4.model.Resource> R read(R oldValue) Uses If-None-Match and If-Modified-Since Headers based on the version and lastUpdated values in oldValue to check if the resource has been modified.- Type Parameters:
R-- Parameters:
oldValue- notnull- Returns:
- oldValue (same object) if server send 304 - Not Modified, else value returned from server
-
exists
-
readBinary
- Parameters:
id- notnullmediaType- notnull- Returns:
InputStreamneeds to be closed
-
read
- Parameters:
resourceTypeName- notnullid- notnullversion- notnull- Returns:
Resource
-
read
-
exists
-
readBinary
- Parameters:
id- notnullversion- notnullmediaType- notnull- Returns:
InputStreamneeds to be closed
-
exists
boolean exists(org.hl7.fhir.r4.model.IdType resourceTypeIdVersion) -
search
-
searchWithStrictHandling
-
getConformance
org.hl7.fhir.r4.model.CapabilityStatement getConformance() -
generateSnapshot
-
generateSnapshot
org.hl7.fhir.r4.model.StructureDefinition generateSnapshot(org.hl7.fhir.r4.model.StructureDefinition differential) -
history
default org.hl7.fhir.r4.model.Bundle history() -
history
default org.hl7.fhir.r4.model.Bundle history(int page, int count) -
history
default org.hl7.fhir.r4.model.Bundle history(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType) -
history
default org.hl7.fhir.r4.model.Bundle history(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, int page, int count) -
history
-
history
-