google_api_health_care v0.9.1 GoogleApi.HealthCare.V1beta1.Model.Message View Source

A complete HL7v2 message. See http://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) - 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 and trigger event for this message. MSH-9.

  • name (type: String.t, default: nil) - Resource name of the Message, of the form projects/{project_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.

  • 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.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.HealthCare.V1beta1.Model.Message{
  createTime: DateTime.t(),
  data: String.t(),
  labels: map(),
  messageType: String.t(),
  name: String.t(),
  parsedData: GoogleApi.HealthCare.V1beta1.Model.ParsedData.t(),
  patientIds: [GoogleApi.HealthCare.V1beta1.Model.PatientId.t()],
  sendFacility: String.t(),
  sendTime: DateTime.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.