Current section

Files

Jump to
hl7v2 lib hl7v2 segment ail.ex
Raw

lib/hl7v2/segment/ail.ex

defmodule HL7v2.Segment.AIL do
@moduledoc """
Appointment Information — Location Resource (AIL) segment — HL7v2 v2.5.1.
Contains location-specific scheduling information.
12 fields per HL7 v2.5.1 specification.
"""
use HL7v2.Segment,
id: "AIL",
fields: [
{1, :set_id, HL7v2.Type.SI, :r, 1},
{2, :segment_action_code, HL7v2.Type.ID, :c, 1},
{3, :location_resource_id, HL7v2.Type.PL, :o, :unbounded},
{4, :location_type, HL7v2.Type.CE, :o, 1},
{5, :location_group, HL7v2.Type.CE, :o, 1},
{6, :start_date_time, HL7v2.Type.TS, :o, 1},
{7, :start_date_time_offset, HL7v2.Type.NM, :o, 1},
{8, :start_date_time_offset_units, HL7v2.Type.CE, :o, 1},
{9, :duration, HL7v2.Type.NM, :o, 1},
{10, :duration_units, HL7v2.Type.CE, :o, 1},
{11, :allow_substitution_code, HL7v2.Type.IS, :o, 1},
{12, :filler_status_code, HL7v2.Type.CE, :o, 1}
]
end