Lawson Insight Technical Documentation


ERDs Tables Elements Libraries App Forms

CX506

CX506 - HL7 Schedules Import Interface

Run this program to build patient cases automatically with data from external
scheduling systems.

This interface loads scheduling system data into the Case Carts case files.
If needed, the interface creates records for the Practitioner, Patient, and
Patient Visit files. The interface also assigns the appropriate generic
preference templates to each imported case. The system logic assigns a
template to a case based on each procedure code imported in the case data.

Before you run this form, create an HL7 file of scheduling information. For
details, see the Procurement Management Technical Guide. In addition, make
sure that generic templates exist for each procedure code cited in the HL7
file. Finally, place the file, named CX506WK or a user-defined name, in the
path $LAWDIR/productline/interface.

Run this program instead of using the manual case building form to capture
original scheduling entries and automatically assign preference templates.
This is  typically used when you first set up your system and then on a
regular basis to keep your case records updated.

Updated Files

    CKPOINT    - Used in the event of a program or system failure to enable a
                 batch update program to continue from where it left off.

    COCOMP     - Referenced by Purchase Order APIs that create POINTERFAC
                 records.

    COLINEDTL  - Referenced by Purchase Order APIs that create POINTERFAC
                 records.

    CXCASEHEAD - Used to validate and default case header record data.

    CXCASEPREF - Used to validate case preference records.

    CXCOMPANY  - Used to validate case company.

    CXCPIUAVAL - Used to store user analysis data for patient cases.

    CXITEMHIST - Used to create item history.

    CXPRACTNR  - Used to validate the case practitioner.

    CXPREFDIAG - Used to validate case preference diagnostic codes.

    CXPREFITEM - Used to validate case preference items.

    CXPREFJOBS - Used to validate case preference burden codes.

    HCPATCHRG  - Not used by this program.

    HCPATIENT  - Used to validate patient ID and display default information.

    HCPATVISIT - Used to validate visit number.

    ICCOMPANY  - Used to validate the case company.

    ICLOT      - Used for lot tracking.

    ICRECEIPTS - Used for reference and to get the status of purchased case
                 items.

    ITEMLOC    - Used to validate item type. No update.

    ITSERIAL   - Not used by this program.

    POINTERFAC - Used to validate purchase order interface data.

    ROUTEDOC   - Not used by this program.

    ROUTEHDR   - Not used by this program.

    ROUTESTOP  - Not used by this program.

    SOHDETAIL  - Not used by this program.

    TXCODEMAST - Not used by this program.

    TXCOMPANY  - Not used by this program.

    TXTAXCODE  - Not used by this program.

    TXTAXTABLE - Not used by this program.

    WHDEMAND   - Used to update shipment records.

    WHDEMNDCMT - Referenced by Warehouse APIs that validate item type.

    WHDEMNDHDR - Referenced by Warehouse APIs that validate item type.

    WHSHIPCOMP - Referenced by Warehouse APIs that validate item type.

    WHSHIPLINE - Referenced by Warehouse APIs that validate item type.

    WHSHIPMENT - Referenced by Warehouse APIs that validate item type.

    WHSHLAUD   - Referenced by Warehouse APIs that validate item type.

    WHSHLDTL   - Referenced by Warehouse APIs that validate item type.


Referenced Files

    APACCRCODE - Referenced by Accounts Payable APIs that validate vendor
                 information.

    APCOMPANY  - Referenced by Accounts Payable APIs that validate vendor
                 information.

    APVENMAST  - Referenced by Accounts Payable APIs that validate vendor
                 information.

    BUYER      - Referenced by Purchase Order APIs that validate create
                 POINTERFAC records.

    COMPONENT  - Referenced by Purchase Order APIs that validate POINTERFAC
                 records.

    CUCONV     - Referenced by Purchase Order APIs that validate POINTERFAC
                 records.

    CURELAT    - Used to validate the existence of currency relationships.

    CXBURDEN   - Used to validate template burdens and default values.

    CXCTIUAVAL - Used to validate user analysis data for patient cases.

    CXDIAGNOST - Used to validate code and display description.

    CXPRACPROC - Used to validate that the practitioner is permitted to perform
                 the procedure.

    CXPREFTEMP - Used to validate preference template records.

    CXPTMPDIAG - Maintains diagnoses for the template.

    CXPTMPITEM - Used to validate template item records.

    CXTMPJOBS  - Used to validate case jobs record.

    GLCODES    - Used to validate general ledger codes used on items.

    GLSYSTEM   - Used to validate general ledger codes used on items.

    HCCHRGITEM - Used to default revenue center, charge number, and price for
                 the template item.

    ICBIN      - Used to validate the bin for the case item.

    ICCATEGORY - Used to default the general ledger account codes for the case
                 item.

    ICLOCATION - Used to validate the from location for the case item.

    ITEMMAST   - Used to validate the item number for item master items.

    KITITEM    - Used for case item default values for kits.

    OEFRTCODE  - Not used by this program.

    OEROUTE    - Contains all user-defined routes that are set up in the Order
                 Entry system.

    ORDERTYPE  - Used to create the POINTERFAC record.

    POCOMPANY  - Used to validate the Healthcare company when items are to be
                 purchased.

    POLINE     - Used to default case item issue cost.

    PURCHORDER - Used to default case item issue cost.

    REASON     - Not used by this program.

    RQLOC      - Used to validate a case requesting location.

    STPURCHORD - Not used by this program.

    TXTAXRATE  - Not used by this program.

    WHDEMNDCMT - Referenced by Warehouse APIs that validate item type.

    WHPROCTYPE - Referenced by Warehouse APIs that validate item type.

    WHSHIPCOMP - Referenced by Warehouse APIs that validate item type.

    WHSHIPLINE - Referenced by Warehouse APIs that validate item type.

    WHSHLAUD   - Referenced by Warehouse APIs that validate item type.

    WHSHLDTL   - Referenced by Warehouse APIs that validate item type.


INVOKED Programs

    ACAC
    IFCR
    IFSG
    IFCU
    CXCP
    IFAC
    IFAU
    SLSE
    SLSU