Class: Google::Apis::HealthcareV1::IngestMessageResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb

Overview

Acknowledges that a message has been ingested into the specified HL7v2 store.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ IngestMessageResponse

Returns a new instance of IngestMessageResponse.



3272
3273
3274
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3272

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#hl7_ackString

HL7v2 ACK message. Corresponds to the JSON property hl7Ack NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


3264
3265
3266
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3264

def hl7_ack
  @hl7_ack
end

#messageGoogle::Apis::HealthcareV1::Message

A complete HL7v2 message. See Introduction to HL7 Standards for details on the standard. Corresponds to the JSON property message



3270
3271
3272
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3270

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3277
3278
3279
3280
# File 'lib/google/apis/healthcare_v1/classes.rb', line 3277

def update!(**args)
  @hl7_ack = args[:hl7_ack] if args.key?(:hl7_ack)
  @message = args[:message] if args.key?(:message)
end