GoogleApi.HealthCare.V1.Model.Type (google_api_health_care v0.38.2) View Source

A type definition for some HL7v2 type (incl. Segments and Datatypes).

Attributes

  • fields (type: list(GoogleApi.HealthCare.V1.Model.Field.t), default: nil) - The (sub) fields this type has (if not primitive).
  • name (type: String.t, default: nil) - The name of this type. This would be the segment or datatype name. For example, "PID" or "XPN".
  • primitive (type: String.t, default: nil) - If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.HealthCare.V1.Model.Type{
  fields: [GoogleApi.HealthCare.V1.Model.Field.t()] | nil,
  name: String.t() | nil,
  primitive: String.t() | nil
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.