Package dev.dsf.fhir.client
Interface BasicFhirWebserviceClient
- All Superinterfaces:
PreferReturnResource
- All Known Subinterfaces:
FhirWebserviceClient
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
deleteConditionaly
(Class<? extends org.hl7.fhir.r4.model.Resource> resourceClass, Map<String, List<String>> criteria) void
deletePermanently
(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>
booleanboolean
exists
(org.hl7.fhir.r4.model.IdType resourceTypeIdVersion) org.hl7.fhir.r4.model.StructureDefinition
generateSnapshot
(String url) org.hl7.fhir.r4.model.StructureDefinition
generateSnapshot
(org.hl7.fhir.r4.model.StructureDefinition differential) org.hl7.fhir.r4.model.CapabilityStatement
default org.hl7.fhir.r4.model.Bundle
history()
default org.hl7.fhir.r4.model.Bundle
history
(int page, int count) default org.hl7.fhir.r4.model.Bundle
default org.hl7.fhir.r4.model.Bundle
default org.hl7.fhir.r4.model.Bundle
org.hl7.fhir.r4.model.Bundle
history
(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.Resource
org.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.Bundle
search
(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, Map<String, List<String>> parameters) org.hl7.fhir.r4.model.Bundle
searchWithStrictHandling
(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
- notnull
id
- 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
- notnull
mediaType
- notnull
- Returns:
InputStream
needs to be closed
-
read
- Parameters:
resourceTypeName
- notnull
id
- notnull
version
- notnull
- Returns:
Resource
-
read
-
exists
-
readBinary
- Parameters:
id
- notnull
version
- notnull
mediaType
- notnull
- Returns:
InputStream
needs 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
-