public class HttpHealthcareApiClient extends java.lang.Object implements HealthcareApiClient, java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpHealthcareApiClient.AuthenticatedRetryInitializer |
static class |
HttpHealthcareApiClient.FhirResourcePagesIterator
The type FhirResourcePagesIterator for methods which return paged output.
|
static class |
HttpHealthcareApiClient.HealthcareHttpException
Wraps
HttpResponse in an exception with a statusCode field for use with HealthcareIOError. |
static class |
HttpHealthcareApiClient.HL7v2MessagePages |
| Constructor and Description |
|---|
HttpHealthcareApiClient()
Instantiates a new Http healthcare api client.
|
HttpHealthcareApiClient(com.google.api.services.healthcare.v1.CloudHealthcare client)
Instantiates a new Http healthcare api client.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.services.healthcare.v1.model.DicomStore |
createDicomStore(java.lang.String dataset,
java.lang.String name) |
com.google.api.services.healthcare.v1.model.DicomStore |
createDicomStore(java.lang.String dataset,
java.lang.String name,
@Nullable java.lang.String pubsubTopic) |
com.google.api.services.healthcare.v1.model.FhirStore |
createFhirStore(java.lang.String dataset,
java.lang.String name,
java.lang.String version) |
com.google.api.services.healthcare.v1.model.FhirStore |
createFhirStore(java.lang.String dataset,
java.lang.String name,
java.lang.String version,
@Nullable java.lang.String pubsubTopic) |
com.google.api.services.healthcare.v1.model.Message |
createHL7v2Message(java.lang.String hl7v2Store,
com.google.api.services.healthcare.v1.model.Message msg)
Create hl 7 v 2 message message.
|
com.google.api.services.healthcare.v1.model.Hl7V2Store |
createHL7v2Store(java.lang.String dataset,
java.lang.String name)
Create hl 7 v 2 store hl 7 v 2 store.
|
com.google.api.services.healthcare.v1.model.Operation |
deidentifyFhirStore(java.lang.String sourcefhirStore,
java.lang.String destinationFhirStore,
com.google.api.services.healthcare.v1.model.DeidentifyConfig deidConfig) |
com.google.api.services.healthcare.v1.model.Empty |
deleteDicomStore(java.lang.String name) |
com.google.api.services.healthcare.v1.model.Empty |
deleteFhirStore(java.lang.String name) |
com.google.api.services.healthcare.v1.model.Empty |
deleteHL7v2Message(java.lang.String msgName)
Delete hl 7 v 2 message empty.
|
com.google.api.services.healthcare.v1.model.Empty |
deleteHL7v2Store(java.lang.String name)
Delete hl 7 v 2 store empty.
|
com.google.api.services.healthcare.v1.model.HttpBody |
executeFhirBundle(java.lang.String fhirStore,
java.lang.String bundle)
Execute fhir bundle http body.
|
com.google.api.services.healthcare.v1.model.Operation |
exportFhirResourceToGcs(java.lang.String fhirStore,
java.lang.String gcsDestinationPrefix) |
Instant |
getEarliestHL7v2SendTime(java.lang.String hl7v2Store,
@Nullable java.lang.String filter)
Gets earliest hl 7 v 2 send time.
|
com.google.api.services.healthcare.v1.model.Message |
getHL7v2Message(java.lang.String msgName)
Gets HL7v2 message.
|
com.google.api.services.healthcare.v1.model.Hl7V2Store |
getHL7v2Store(java.lang.String storeName)
Gets HL7v2 store.
|
com.google.api.client.json.JsonFactory |
getJsonFactory() |
Instant |
getLatestHL7v2SendTime(java.lang.String hl7v2Store,
@Nullable java.lang.String filter) |
com.google.api.services.healthcare.v1.model.HttpBody |
getPatientEverything(java.lang.String resourceName,
@Nullable java.util.Map<java.lang.String,java.lang.Object> filters,
java.lang.String pageToken)
Fhir get patient everythhing http body.
|
com.google.api.services.healthcare.v1.model.Operation |
importFhirResource(java.lang.String fhirStore,
java.lang.String gcsSourcePath,
@Nullable java.lang.String contentStructure) |
com.google.api.services.healthcare.v1.model.IngestMessageResponse |
ingestHL7v2Message(java.lang.String hl7v2Store,
com.google.api.services.healthcare.v1.model.Message msg)
Ingest hl 7 v 2 message ingest message response.
|
java.util.List<com.google.api.services.healthcare.v1.model.FhirStore> |
listAllFhirStores(java.lang.String dataset)
List all FHIR stores in a dataset.
|
com.google.api.services.healthcare.v1.model.ListMessagesResponse |
makeHL7v2ListRequest(java.lang.String hl7v2Store,
@Nullable java.lang.String filter,
@Nullable java.lang.String orderBy,
@Nullable java.lang.String pageToken)
Make hl 7 v 2 list request list messages response.
|
com.google.api.services.healthcare.v1.model.ListMessagesResponse |
makeSendTimeBoundHL7v2ListRequest(java.lang.String hl7v2Store,
Instant start,
@Nullable Instant end,
@Nullable java.lang.String otherFilter,
@Nullable java.lang.String orderBy,
@Nullable java.lang.String pageToken)
Make send time bound hl 7 v 2 list request.
|
com.google.api.services.healthcare.v1.model.Operation |
pollOperation(com.google.api.services.healthcare.v1.model.Operation operation,
java.lang.Long sleepMs) |
com.google.api.services.healthcare.v1.model.HttpBody |
readFhirResource(java.lang.String resourceName)
Read fhir resource http body.
|
java.lang.String |
retrieveDicomStudyMetadata(java.lang.String dicomWebPath) |
com.google.api.services.healthcare.v1.model.HttpBody |
searchFhirResource(java.lang.String fhirStore,
java.lang.String resourceType,
@Nullable java.util.Map<java.lang.String,java.lang.Object> parameters,
java.lang.String pageToken)
Search fhir resource http body.
|
com.google.api.services.healthcare.v1.model.Empty |
uploadToDicomStore(java.lang.String webPath,
java.lang.String filePath) |
public HttpHealthcareApiClient()
throws java.io.IOException
java.io.IOException - the io exceptionpublic HttpHealthcareApiClient(com.google.api.services.healthcare.v1.CloudHealthcare client)
throws java.io.IOException
client - the clientjava.io.IOException - the io exceptionpublic com.google.api.client.json.JsonFactory getJsonFactory()
public com.google.api.services.healthcare.v1.model.Hl7V2Store createHL7v2Store(java.lang.String dataset,
java.lang.String name)
throws java.io.IOException
HealthcareApiClientcreateHL7v2Store in interface HealthcareApiClientdataset - the datasetname - the namejava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.FhirStore createFhirStore(java.lang.String dataset,
java.lang.String name,
java.lang.String version)
throws java.io.IOException
createFhirStore in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.FhirStore createFhirStore(java.lang.String dataset,
java.lang.String name,
java.lang.String version,
@Nullable java.lang.String pubsubTopic)
throws java.io.IOException
createFhirStore in interface HealthcareApiClientjava.io.IOExceptionpublic java.util.List<com.google.api.services.healthcare.v1.model.FhirStore> listAllFhirStores(java.lang.String dataset)
throws java.io.IOException
HealthcareApiClientlistAllFhirStores in interface HealthcareApiClientdataset - the dataset, in the format:
projects/project_id/locations/location_id/datasets/dataset_idjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.Empty deleteHL7v2Store(java.lang.String name)
throws java.io.IOException
HealthcareApiClientdeleteHL7v2Store in interface HealthcareApiClientname - the storejava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.Empty deleteFhirStore(java.lang.String name)
throws java.io.IOException
deleteFhirStore in interface HealthcareApiClientjava.io.IOExceptionpublic java.lang.String retrieveDicomStudyMetadata(java.lang.String dicomWebPath)
throws java.io.IOException
retrieveDicomStudyMetadata in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.DicomStore createDicomStore(java.lang.String dataset,
java.lang.String name)
throws java.io.IOException
createDicomStore in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.Empty deleteDicomStore(java.lang.String name)
throws java.io.IOException
deleteDicomStore in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.Empty uploadToDicomStore(java.lang.String webPath,
java.lang.String filePath)
throws java.io.IOException,
java.net.URISyntaxException
uploadToDicomStore in interface HealthcareApiClientjava.io.IOExceptionjava.net.URISyntaxExceptionpublic com.google.api.services.healthcare.v1.model.DicomStore createDicomStore(java.lang.String dataset,
java.lang.String name,
@Nullable java.lang.String pubsubTopic)
throws java.io.IOException
createDicomStore in interface HealthcareApiClientjava.io.IOExceptionpublic Instant getEarliestHL7v2SendTime(java.lang.String hl7v2Store, @Nullable java.lang.String filter) throws java.io.IOException
HealthcareApiClientgetEarliestHL7v2SendTime in interface HealthcareApiClienthl7v2Store - the hl 7 v 2 storefilter - the filterjava.io.IOException - the io exceptionpublic Instant getLatestHL7v2SendTime(java.lang.String hl7v2Store, @Nullable java.lang.String filter) throws java.io.IOException
getLatestHL7v2SendTime in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.ListMessagesResponse makeSendTimeBoundHL7v2ListRequest(java.lang.String hl7v2Store,
Instant start,
@Nullable Instant end,
@Nullable java.lang.String otherFilter,
@Nullable java.lang.String orderBy,
@Nullable java.lang.String pageToken)
throws java.io.IOException
HealthcareApiClientmakeSendTimeBoundHL7v2ListRequest in interface HealthcareApiClienthl7v2Store - the hl 7 v 2 storestart - the startend - the endotherFilter - the other filterorderBy - the order bypageToken - the page tokenjava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.ListMessagesResponse makeHL7v2ListRequest(java.lang.String hl7v2Store,
@Nullable java.lang.String filter,
@Nullable java.lang.String orderBy,
@Nullable java.lang.String pageToken)
throws java.io.IOException
HealthcareApiClientmakeHL7v2ListRequest in interface HealthcareApiClienthl7v2Store - the hl 7 v 2 storefilter - the filterorderBy - the order bypageToken - the page tokenjava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.Message getHL7v2Message(java.lang.String msgName)
throws java.io.IOException
getHL7v2Message in interface HealthcareApiClientmsgName - the msg namejava.io.IOException - the io exceptionjava.text.ParseException - the parse exceptionpublic com.google.api.services.healthcare.v1.model.Empty deleteHL7v2Message(java.lang.String msgName)
throws java.io.IOException
HealthcareApiClientdeleteHL7v2Message in interface HealthcareApiClientmsgName - the msg namejava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.Hl7V2Store getHL7v2Store(java.lang.String storeName)
throws java.io.IOException
getHL7v2Store in interface HealthcareApiClientstoreName - the store namejava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.IngestMessageResponse ingestHL7v2Message(java.lang.String hl7v2Store,
com.google.api.services.healthcare.v1.model.Message msg)
throws java.io.IOException
HealthcareApiClientingestHL7v2Message in interface HealthcareApiClienthl7v2Store - the hl 7 v 2 storemsg - the msgjava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.Message createHL7v2Message(java.lang.String hl7v2Store,
com.google.api.services.healthcare.v1.model.Message msg)
throws java.io.IOException
HealthcareApiClientcreateHL7v2Message in interface HealthcareApiClienthl7v2Store - the hl 7 v 2 storemsg - the msgjava.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.Operation importFhirResource(java.lang.String fhirStore,
java.lang.String gcsSourcePath,
@Nullable java.lang.String contentStructure)
throws java.io.IOException
importFhirResource in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.Operation exportFhirResourceToGcs(java.lang.String fhirStore,
java.lang.String gcsDestinationPrefix)
throws java.io.IOException
exportFhirResourceToGcs in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.Operation deidentifyFhirStore(java.lang.String sourcefhirStore,
java.lang.String destinationFhirStore,
com.google.api.services.healthcare.v1.model.DeidentifyConfig deidConfig)
throws java.io.IOException
deidentifyFhirStore in interface HealthcareApiClientjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.Operation pollOperation(com.google.api.services.healthcare.v1.model.Operation operation,
java.lang.Long sleepMs)
throws java.lang.InterruptedException,
java.io.IOException
pollOperation in interface HealthcareApiClientjava.lang.InterruptedExceptionjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.HttpBody executeFhirBundle(java.lang.String fhirStore,
java.lang.String bundle)
throws java.io.IOException,
HttpHealthcareApiClient.HealthcareHttpException
HealthcareApiClientexecuteFhirBundle in interface HealthcareApiClientfhirStore - the fhir storebundle - the bundlejava.io.IOException - the io exceptionHttpHealthcareApiClient.HealthcareHttpExceptionpublic com.google.api.services.healthcare.v1.model.HttpBody readFhirResource(java.lang.String resourceName)
throws java.io.IOException
HealthcareApiClientreadFhirResource in interface HealthcareApiClientresourceName - the resource name, in format
projects/{p}/locations/{l}/datasets/{d}/fhirStores/{f}/fhir/{resourceType}/{id}java.io.IOException - the io exceptionpublic com.google.api.services.healthcare.v1.model.HttpBody searchFhirResource(java.lang.String fhirStore,
java.lang.String resourceType,
@Nullable java.util.Map<java.lang.String,java.lang.Object> parameters,
java.lang.String pageToken)
throws java.io.IOException
HealthcareApiClientsearchFhirResource in interface HealthcareApiClientfhirStore - the fhir storeresourceType - the resource typeparameters - the parametersjava.io.IOExceptionpublic com.google.api.services.healthcare.v1.model.HttpBody getPatientEverything(java.lang.String resourceName,
@Nullable java.util.Map<java.lang.String,java.lang.Object> filters,
java.lang.String pageToken)
throws java.io.IOException
HealthcareApiClientgetPatientEverything in interface HealthcareApiClientresourceName - the resource name, in format
projects/{p}/locations/{l}/datasets/{d}/fhirStores/{f}/fhir/{resourceType}/{id}filters - optional request filtersjava.io.IOException