View Source GoogleApi.HealthCare.V1beta1.Model.Message (google_api_health_care v0.50.1)

A complete HL7v2 message. See [Introduction to HL7 Standards] (https://www.hl7.org/implement/standards/index.cfm?ref=common) for details on the standard.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The datetime when the message was created. Set by the server.
  • data (type: String.t, default: nil) - Required. Raw message bytes.
  • labels (type: map(), default: nil) - User-supplied key-value pairs used to organize HL7v2 stores. Label keys must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: \p{Ll}\p{Lo}{0,62} Label values are optional, must be between 1 and 63 characters long, have a UTF-8 encoding of maximum 128 bytes, and must conform to the following PCRE regular expression: [\p{Ll}\p{Lo}\p{N}_-]{0,63} No more than 64 labels can be associated with a given store.
  • messageType (type: String.t, default: nil) - The message type for this message. MSH-9.1.
  • name (type: String.t, default: nil) - Output only. Resource name of the Message, of the form projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}. Assigned by the server.
  • parsedData (type: GoogleApi.HealthCare.V1beta1.Model.ParsedData.t, default: nil) - Output only. The parsed version of the raw message data.
  • patientIds (type: list(GoogleApi.HealthCare.V1beta1.Model.PatientId.t), default: nil) - All patient IDs listed in the PID-2, PID-3, and PID-4 segments of this message.
  • schematizedData (type: GoogleApi.HealthCare.V1beta1.Model.SchematizedData.t, default: nil) - The parsed version of the raw message data schematized according to this store's schemas and type definitions.
  • sendFacility (type: String.t, default: nil) - The hospital that this message came from. MSH-4.
  • sendTime (type: DateTime.t, default: nil) - The datetime the sending application sent this message. MSH-7.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.HealthCare.V1beta1.Model.Message{
  createTime: DateTime.t() | nil,
  data: String.t() | nil,
  labels: map() | nil,
  messageType: String.t() | nil,
  name: String.t() | nil,
  parsedData: GoogleApi.HealthCare.V1beta1.Model.ParsedData.t() | nil,
  patientIds: [GoogleApi.HealthCare.V1beta1.Model.PatientId.t()] | nil,
  schematizedData: GoogleApi.HealthCare.V1beta1.Model.SchematizedData.t() | nil,
  sendFacility: String.t() | nil,
  sendTime: DateTime.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.