CXITEMHIST – Case Cart Item History

System
Case Carts (CX)
Prefix
CIH
Primary key
COMPANY, REQ-LOCATION, CASE, SEQ, LINE-NBR, REASON-CODE, REASON-TYPE
Fields
22
Updated by
220 programs
Referenced by
2 programs

CXITEMHIST is the Case Cart Item History table in Lawson Case Carts (prefix CIH). It is indexed by COMPANY, REQ-LOCATION, CASE, SEQ, LINE-NBR, REASON-CODE, REASON-TYPE (CIHSET1); alternate indexes: CIHSET2. It is updated by AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 and 212 more and referenced by CX230 and CX240. The table has 22 fields, 2 indexes and 0 documented relations.

About CXITEMHIST

The Case Cart Item History file stores item history for case visits. When you finish a case using CX30.1 (Case Completion Feedback), the Case Carts system sends the case item data to this file. Once item data for a case resides in this file, you can no longer access the case through the Case Carts system for updating. The data defaults from the case but originates from the burden record, the preference template, or the case. The Case Carts system logic for CX20.2 (Case Detail) uses this file and the Case Cart Labor History file to calculate the total cost of the case. Note: Use the Case Carts Analyzer or an online editor to report on data in this file. For instructions on using the Case Carts Analyzer, see the Case Carts Procedures Manual and the Information Access Procedures Manual.

Fields (22)

Column = COBOL field name without the CIH- prefix, hyphens → underscores. Derived fields are computed by the application and are not stored.

Field / columnTypeDescription & valuesUpdated by
CIH-COMPANY PK
COMPANY
Numeric 4This field contains the company number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-REQ-LOCATION PK
REQ_LOCATION
Alpha 5This field contains the location requisitioning items and to be charged for the items. This location can be an inventory or noninventory location. This value appears as the to location on the pick lists printed when you run CX100 (Pick List Print) and WH130 (Pick List Print). Valid values are A requesting location defined in RQ01.1 (Requesting Location) for the specified healthcare company.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-CASE PK
CASE
Alpha 15This field contains the unique identifier for the case. A case is a record of the practitioners, preference lists, and associated information assigned to a specific patient visit. You can use this number to interface with an outside scheduling system.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-SEQ PK
SEQ
Numeric 3This field contains the record sequence number within the case.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-LINE-NBR PK
LINE_NBR
Numeric 6This field contains the line number.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-PROC-TYPE
PROC_TYPE
Alpha 8The procedure type is the first of two fields that uniquely identify a procedure. The procedure type can identify the code set to which the procedure code belongs. For example, you can use one of the following codes: - CPT-4 for a code in the Current Procedural Terminology listing compiled by the American Medical Association -HCPCS for a code in HCFA's (Health Care Financing Administration's) Common Procedure Coding System, or - A code defined for your organization's own procedures listing.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-PROC-CODE
PROC_CODE
Alpha 8The procedure code is the second of two fields that uniquely identify a procedure. The procedure code is an identifier for a specific procedure within a procedure type.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-ALT-LINE-NBR
ALT_LINE_NBR
Numeric 6This field contains the display value of the item line number. When you assign more that one preference template to a case, the system assigns numbers to the items on the case sequentially. The numbers start with 1 on the first preference and continue sequentially.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-SYSTEM-DATE
SYSTEM_DATE
Numeric 8 (yyyymmdd)This field contains the system date.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-SYSTEM-TIME
SYSTEM_TIME
Numeric 4This field contains the system time.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-ITEM
ITEM
Alpha 32This field contains the item identifier.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-QTY
QTY
Signed 13.4This field contains the quantity of the item.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-UOM
UOM
Alpha 4This field contains the valid stock unit of measure for this item.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-ISS-COST
ISS_COST
Signed 18.5This field contains the issue cost. If you report waste and return items for a case by using CX30.1 (Case Completion Feedback), this cost defaults from the case detail when you finish the case.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-PRICE
PRICE
Signed 18.2AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-REASON-CODE PK
REASON_CODE
Alpha 4This field contains the reason code used primarily for reporting returns and waste by CX230 (Waste Return Items).AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-DESCRIPTION
DESCRIPTION
Alpha 30 (Lower Case)This field displays the description.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-DESCRIPTION2
DESCRIPTION2
Alpha 30 (Lower Case)This field displays the description.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-REASON-TYPE PK
REASON_TYPE
Alpha 2This field contains the reason type.
  • 1 Waste
  • 2 Leftovers
AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-CASE-DATE
CASE_DATE
Numeric 8 (yyyymmdd)This field contains the case date.AP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +52 more (list truncated in source)
CIH-USE-IDENTIFIER
USE_IDENTIFIER
Alpha 1
CIH-CONSIGNMENT-FL
CONSIGNMENT_FL
Alpha 1

Indexes (2)

Keys marked * are descending. Every documented Lawson index is unique unless flagged Duplicates; Subset indexes carry a Where condition.

IndexKeysFlagsConditionUsed in
CIHSET1COMPANY, REQ-LOCATION, CASE, SEQ, LINE-NBR, REASON-CODE, REASON-TYPEPrimaryAP125, AP126, AP131, AP20.1, AP20.2, AP20.3, AP20.4, AP20.5 +22 more (list truncated in source)
CIHSET2COMPANY, REQ-LOCATION, ITEM, CASE, SEQ, ALT-LINE-NBR, SYSTEM-TIMEKeyChangeCX230

Programs

Updated by (220)

Referenced by (2)