Interface BasicFhirWebserviceClient

All Superinterfaces:
PreferReturnResource
All Known Subinterfaces:
FhirWebserviceClient

public interface BasicFhirWebserviceClient extends PreferReturnResource
  • Method Details

    • delete

      void delete(Class<? extends org.hl7.fhir.r4.model.Resource> resourceClass, String id)
    • deleteConditionaly

      void deleteConditionaly(Class<? extends org.hl7.fhir.r4.model.Resource> resourceClass, Map<String,List<String>> criteria)
    • deletePermanently

      void deletePermanently(Class<? extends org.hl7.fhir.r4.model.Resource> resourceClass, String id)
    • read

      org.hl7.fhir.r4.model.Resource read(String resourceTypeName, String id)
    • read

      <R extends org.hl7.fhir.r4.model.Resource> R read(Class<R> resourceType, String id)
      Type Parameters:
      R -
      Parameters:
      resourceType - not null
      id - not null
      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 - not null
      Returns:
      oldValue (same object) if server send 304 - Not Modified, else value returned from server
    • exists

      <R extends org.hl7.fhir.r4.model.Resource> boolean exists(Class<R> resourceType, String id)
    • readBinary

      InputStream readBinary(String id, jakarta.ws.rs.core.MediaType mediaType)
      Parameters:
      id - not null
      mediaType - not null
      Returns:
      InputStream needs to be closed
    • read

      org.hl7.fhir.r4.model.Resource read(String resourceTypeName, String id, String version)
      Parameters:
      resourceTypeName - not null
      id - not null
      version - not null
      Returns:
      Resource
    • read

      <R extends org.hl7.fhir.r4.model.Resource> R read(Class<R> resourceType, String id, String version)
    • exists

      <R extends org.hl7.fhir.r4.model.Resource> boolean exists(Class<R> resourceType, String id, String version)
    • readBinary

      InputStream readBinary(String id, String version, jakarta.ws.rs.core.MediaType mediaType)
      Parameters:
      id - not null
      version - not null
      mediaType - not null
      Returns:
      InputStream needs to be closed
    • exists

      boolean exists(org.hl7.fhir.r4.model.IdType resourceTypeIdVersion)
    • search

      org.hl7.fhir.r4.model.Bundle search(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, Map<String,List<String>> parameters)
    • searchWithStrictHandling

      org.hl7.fhir.r4.model.Bundle searchWithStrictHandling(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, Map<String,List<String>> parameters)
    • getConformance

      org.hl7.fhir.r4.model.CapabilityStatement getConformance()
    • generateSnapshot

      org.hl7.fhir.r4.model.StructureDefinition generateSnapshot(String url)
    • 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

      default org.hl7.fhir.r4.model.Bundle history(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, String id)
    • history

      org.hl7.fhir.r4.model.Bundle history(Class<? extends org.hl7.fhir.r4.model.Resource> resourceType, String id, int page, int count)