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

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

Attributes

  • fields (type: list(GoogleApi.HealthCare.V1beta1.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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.