Current section

Files

Jump to
hl7v2 lib hl7v2 segment inv.ex
Raw

lib/hl7v2/segment/inv.ex

defmodule HL7v2.Segment.INV do
@moduledoc """
Inventory Detail (INV) segment -- HL7v2 v2.5.1.
Contains inventory detail information for laboratory automation.
20 fields per HL7 v2.5.1 specification.
"""
use HL7v2.Segment,
id: "INV",
fields: [
{1, :substance_identifier, HL7v2.Type.CE, :r, 1},
{2, :substance_status, HL7v2.Type.CE, :r, :unbounded},
{3, :substance_type, HL7v2.Type.CE, :o, 1},
{4, :inventory_container_identifier, HL7v2.Type.CE, :o, 1},
{5, :container_carrier_identifier, HL7v2.Type.CE, :o, 1},
{6, :position_on_carrier, HL7v2.Type.CE, :o, 1},
{7, :initial_quantity, HL7v2.Type.NM, :o, 1},
{8, :current_quantity, HL7v2.Type.NM, :o, 1},
{9, :available_quantity, HL7v2.Type.NM, :o, 1},
{10, :consumption_quantity, HL7v2.Type.NM, :o, 1},
{11, :quantity_units, HL7v2.Type.CE, :o, 1},
{12, :expiration_date_time, HL7v2.Type.TS, :o, 1},
{13, :first_used_date_time, HL7v2.Type.TS, :o, 1},
{14, :on_board_stability_duration, HL7v2.Type.TQ, :o, 1},
{15, :on_board_stability_time, HL7v2.Type.TS, :o, 1},
{16, :test_fluid_identifier, HL7v2.Type.CE, :o, :unbounded},
{17, :manufacturer_lot_number, HL7v2.Type.ST, :o, 1},
{18, :manufacturer_identifier, HL7v2.Type.CE, :o, 1},
{19, :supplier_identifier, HL7v2.Type.CE, :o, 1},
{20, :on_board_stability_time_2, HL7v2.Type.CQ, :o, 1}
]
end