Skip to content

LqSegment

LqSegment models the X12 LQ form-identification-code segment, used in 837/277 transactions to attach a coded remark or claim-status form reference to a claim or service line.

Purpose

  • Represents the LQ segment identity via SegmentId returning the literal "LQ" (BR-020).
  • Carries RemarkCode identifying the code list/qualifier in use, paired with IndustryCode, the specific remark/form code value.

Context

  • Namespace: SAIF.Common.Files.Edi.Segments
  • Assembly/package: SAIF.Framework.Common.Files

Public members

Member Signature Purpose
SegmentId string SegmentId { get; } Returns the literal X12 segment identifier "LQ".
RemarkCode string RemarkCode { get; set; } The code list qualifier for the remark/form reference (LQ01), element 1.
IndustryCode string IndustryCode { get; set; } The specific remark/industry code value (LQ02), element 2.
Build IEdiSegment Build() Creates a SegmentBuilder("LQ") and adds RemarkCode and IndustryCode at elements 1-2, returning the built segment.
Fill void Fill(IEdiSegment segment) Reads elements 1-2 via GetChildValue into RemarkCode and IndustryCode.
Parse static LqSegment Parse(IEdiSegment segment) Instantiates a new LqSegment, calls Fill(segment) on it, and returns it.

Sources

  • Common\SAIF.Common.Files\Edi\Segments\LqSegment.cs