TransformLI

Assigns values to the fields in the lines of the Line Item Table.

Member of namespace:

MC_Validation

Syntax:

bool TransformLI()

Parameters

None.

Returns

True if the assignment of values is successful for all of the fields in all of the lines of the Line Item Table.

False, if the transfer of values for one or more of the fields fails.

Level

Document or Page level.

Details

Each line in the table is remapped into a repeating set of fields. These fields have a parent field with a unique ID. All of the data in a source field is retained in the new target field, with the exception of the new fields type and ID. The linear field structure is replaced with a structure that is based on a parent field in the claim page called DETAILS.

Each set of fields in the row of table data is then placed in a LINEITEM type field. The ID of the field is patterned on the index of its insertion in the DETAILS field. The first Line Item field is called LINEITEM1, the second is LINEITEM2, and so on. Each Line Item field contains an identical set of Field Type and ID as outlined in the following values list.

For example, the HCFA Line Item Table has 12 24nDtfr fields. During processing, the TransformLI action assigns recognized values for these fields to a Field object named DateFrom that is a child of the Line Item Table Details new parent Field object. So, 12 recognized values can be assigned to the Field object DateFrom.

Values that are associated with rows of the HCFA-1500 table are assigned to the Field types where n is value from 1 to 12:
  • 24aDtfn = DateFrom
  • 24aDtTon = DateThru
  • 24bPlacn = PlaceOfService
  • 24cTypen = TypeOfService
  • 24cEMG_n = EMG_C
  • 24dCPT_n = CPT_Code
  • 24dModin = Modifiers
  • 24eDiagn = DiagPointer
  • 24fChgsn = Charges
  • 24gDaysn = Days_Units
  • 24hEPSDn = EPSD
  • 24iQualn = Qualifier
  • 24jReflDn = ReferenceId
  • 24jEMG_n = EMG_I
  • 24jCOBn = COB
  • 24kLocn = LocalUse
  • 24lInfon = Info
Values that are associated with the rows of a UB04 table are assigned to the child Field objects where n is a value from a to z:
  • 42nrevcd = RevCode
  • 43ndscrt = Description
  • 44nhcpcs = HCPCS
  • 44nMod = Modifiers
  • 45nsrvdt = ServiceDate
  • 46nsrvun = Units
  • 47nttchg = Charges
  • 48nncchg = NotCovered
  • 49n = LocalUse
Note: This action converts all of the pages in a document if it called from a Document object. The expected page types are HCFA, 1500 and UB04_Page.