ProjectsLocationsDatasetsHl7V2StoresMessages
class ProjectsLocationsDatasetsHl7V2StoresMessages extends Resource (View source)
The "messages" collection of methods.
Typical usage is:
$healthcareService = new Google\Service\CloudHealthcare(...);
$messages = $healthcareService->projects_locations_datasets_hl7V2Stores_messages;
Methods
Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. (messages.create)
Deletes an HL7v2 message. (messages.delete)
Parses and stores an HL7v2 message. This method triggers an asynchronous
notification to any Pub/Sub topic configured in
Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If
an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter
transmits the message when a notification is received. If the method is
successful, it generates a response containing an HL7v2 acknowledgment
(ACK
) message. If the method encounters an error, it returns a negative
acknowledgment (NACK
) message. This behavior is suitable for replying to
HL7v2 interface systems that expect these acknowledgments. (messages.ingest)
Lists all the messages in the given HL7v2 store with support for filtering.
Details
Message
create(string $parent, CreateMessageRequest $postBody, array $optParams = [])
Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. (messages.create)
HealthcareEmpty
delete(string $name, array $optParams = [])
Deletes an HL7v2 message. (messages.delete)
Message
get(string $name, array $optParams = [])
Gets an HL7v2 message. (messages.get)
IngestMessageResponse
ingest(string $parent, IngestMessageRequest $postBody, array $optParams = [])
Parses and stores an HL7v2 message. This method triggers an asynchronous
notification to any Pub/Sub topic configured in
Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If
an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter
transmits the message when a notification is received. If the method is
successful, it generates a response containing an HL7v2 acknowledgment
(ACK
) message. If the method encounters an error, it returns a negative
acknowledgment (NACK
) message. This behavior is suitable for replying to
HL7v2 interface systems that expect these acknowledgments. (messages.ingest)
ListMessagesResponse
listProjectsLocationsDatasetsHl7V2StoresMessages(string $parent, array $optParams = [])
Lists all the messages in the given HL7v2 store with support for filtering.
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)
Message
patch(string $name, Message $postBody, array $optParams = [])
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.
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)