Google_Service_CloudHealthcare_Resource_ProjectsLocationsDatasetsHl7V2StoresMessages
extends Google_Service_Resource
in package
The "messages" collection of methods.
Typical usage is:
$healthcareService = new Google_Service_CloudHealthcare(...);
$messages = $healthcareService->messages;
Table of Contents
- $client : Google_Client
- $methods : array<string|int, mixed>
- $resourceName : string
- $rootUrl : string
- $serviceName : string
- $servicePath : string
- $stackParameters : mixed
- __construct() : mixed
- call() : Google_Http_Request|expectedClass
- TODO: This function needs simplifying.
- create() : Google_Service_CloudHealthcare_Message
- Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Cloud Pub/Sub topic configured in projects.locations.datasets.hl7V2Stores.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Cloud Pub/Sub topic, the adapter transmits the message when a notification is received. (messages.create)
- createRequestUri() : string
- Parse/expand request parameters and create a fully qualified request uri.
- delete() : Google_Service_CloudHealthcare_HealthcareEmpty
- Deletes an HL7v2 message. (messages.delete)
- get() : Google_Service_CloudHealthcare_Message
- Gets an HL7v2 message. (messages.get)
- ingest() : Google_Service_CloudHealthcare_IngestMessageResponse
- Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Cloud Pub/Sub topic configured in projects.locations.datasets.hl7V2Stores.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Cloud Pub/Sub topic, the adapter transmits the message when a notification is received. This method also generates a response containing an HL7v2 acknowledgement (`ACK`) message when successful or a negative acknowledgement (`NACK`) message in case of error, suitable for replying to HL7v2 interface systems that expect these acknowledgements. (messages.ingest)
- listProjectsLocationsDatasetsHl7V2StoresMessages() : Google_Service_CloudHealthcare_ListMessagesResponse
- Lists all the messages in the given HL7v2 store with support for filtering.
- patch() : Google_Service_CloudHealthcare_Message
- Update the message. The contents of the message in Message.data and data extracted from the contents such as Message.create_time cannot be altered.
- convertToArrayAndStripNulls() : mixed
Properties
$client
private
Google_Client
$client
$methods
private
array<string|int, mixed>
$methods
$resourceName
private
string
$resourceName
$rootUrl
private
string
$rootUrl
$serviceName
private
string
$serviceName
$servicePath
private
string
$servicePath
$stackParameters
private
mixed
$stackParameters
= array('alt' => array('type' => 'string', 'location' => 'query'), 'fields' => array('type' => 'string', 'location' => 'query'), 'trace' => array('type' => 'string', 'location' => 'query'), 'userIp' => array('type' => 'string', 'location' => 'query'), 'quotaUser' => array('type' => 'string', 'location' => 'query'), 'data' => array('type' => 'string', 'location' => 'body'), 'mimeType' => array('type' => 'string', 'location' => 'header'), 'uploadType' => array('type' => 'string', 'location' => 'query'), 'mediaUpload' => array('type' => 'complex', 'location' => 'query'), 'prettyPrint' => array('type' => 'string', 'location' => 'query'))
Methods
__construct()
public
__construct(mixed $service, mixed $serviceName, mixed $resourceName, mixed $resource) : mixed
Parameters
- $service : mixed
- $serviceName : mixed
- $resourceName : mixed
- $resource : mixed
Return values
mixed —call()
TODO: This function needs simplifying.
public
call( $name, $arguments[, $expectedClass = null ]) : Google_Http_Request|expectedClass
Parameters
Tags
Return values
Google_Http_Request|expectedClass —create()
Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Cloud Pub/Sub topic configured in projects.locations.datasets.hl7V2Stores.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Cloud Pub/Sub topic, the adapter transmits the message when a notification is received. (messages.create)
public
create(string $parent, Google_Service_CloudHealthcare_CreateMessageRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudHealthcare_Message
Parameters
- $parent : string
-
The name of the dataset this message belongs to.
- $postBody : Google_Service_CloudHealthcare_CreateMessageRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_CloudHealthcare_Message —createRequestUri()
Parse/expand request parameters and create a fully qualified request uri.
public
createRequestUri(string $restPath, array<string|int, mixed> $params) : string
Parameters
- $restPath : string
- $params : array<string|int, mixed>
Tags
Return values
string —$requestUrl
delete()
Deletes an HL7v2 message. (messages.delete)
public
delete(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudHealthcare_HealthcareEmpty
Parameters
- $name : string
-
The resource name of the HL7v2 message to delete.
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_CloudHealthcare_HealthcareEmpty —get()
Gets an HL7v2 message. (messages.get)
public
get(string $name[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudHealthcare_Message
Parameters
- $name : string
-
The resource name of the HL7v2 message to retrieve.
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_CloudHealthcare_Message —ingest()
Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Cloud Pub/Sub topic configured in projects.locations.datasets.hl7V2Stores.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Cloud Pub/Sub topic, the adapter transmits the message when a notification is received. This method also generates a response containing an HL7v2 acknowledgement (`ACK`) message when successful or a negative acknowledgement (`NACK`) message in case of error, suitable for replying to HL7v2 interface systems that expect these acknowledgements. (messages.ingest)
public
ingest(string $parent, Google_Service_CloudHealthcare_IngestMessageRequest $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudHealthcare_IngestMessageResponse
Parameters
- $parent : string
-
The name of the HL7v2 store this message belongs to.
- $postBody : Google_Service_CloudHealthcare_IngestMessageRequest
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Return values
Google_Service_CloudHealthcare_IngestMessageResponse —listProjectsLocationsDatasetsHl7V2StoresMessages()
Lists all the messages in the given HL7v2 store with support for filtering.
public
listProjectsLocationsDatasetsHl7V2StoresMessages(string $parent[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudHealthcare_ListMessagesResponse
Note: HL7v2 messages are indexed asynchronously, so there might be a slight delay between the time a message is created and when it can be found through a filter. (messages.listProjectsLocationsDatasetsHl7V2StoresMessages)
Parameters
- $parent : string
-
Name of the HL7v2 store to retrieve messages from.
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_CloudHealthcare_ListMessagesResponse —patch()
Update the message. The contents of the message in Message.data and data extracted from the contents such as Message.create_time cannot be altered.
public
patch(string $name, Google_Service_CloudHealthcare_Message $postBody[, array<string|int, mixed> $optParams = array() ]) : Google_Service_CloudHealthcare_Message
Only the Message.labels field is allowed to be updated. The labels in the request are merged with the existing set of labels. Existing labels with the same keys are updated. (messages.patch)
Parameters
- $name : string
-
Resource name of the Message, of the form
projects/{proj ect_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message _id}. Assigned by the server. - $postBody : Google_Service_CloudHealthcare_Message
- $optParams : array<string|int, mixed> = array()
-
Optional parameters.
Tags
Return values
Google_Service_CloudHealthcare_Message —convertToArrayAndStripNulls()
protected
convertToArrayAndStripNulls(mixed $o) : mixed
Parameters
- $o : mixed