TypeArgs

data class TypeArgs(val fields: Output<List<FieldArgs>>? = null, val name: Output<String>? = null, val primitive: Output<TypePrimitive>? = null) : ConvertibleToJava<TypeArgs>

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

Constructors

Link copied to clipboard
constructor(fields: Output<List<FieldArgs>>? = null, name: Output<String>? = null, primitive: Output<TypePrimitive>? = null)

Properties

Link copied to clipboard
val fields: Output<List<FieldArgs>>? = null

The (sub) fields this type has (if not primitive).

Link copied to clipboard
val name: Output<String>? = null

The name of this type. This would be the segment or datatype name. For example, "PID" or "XPN".

Link copied to clipboard
val primitive: Output<TypePrimitive>? = null

If this is a primitive type then this field is the type of the primitive For example, STRING. Leave unspecified for composite types.

Functions

Link copied to clipboard
open override fun toJava(): TypeArgs