The Record Oriented Data functional area is used to view and maintain ROD document definitions, which describe the layout of proprietary documents. There are two types of ROD formats: raw data records and Control and Data (C and D) records.
Raw data
Each record in raw data format identifies itself by containing a unique record identifier (a record ID). Raw data can be either delimited or fixed-position. For fixed-position data, the identifier starts in the same position and extends for the same length in each record. In delimited data, each value is separated by a delimiter such as a comma for comma-separated data. The Record ID is actually a field in the record. As long as records contain identifiable record IDs, you can use application data without modification. In the illustration below, which is an example of fixed-position data, several records of application data contain the record ID in the first three positions. In this example, HDR is the record ID of the header record, NAM is the name, and so on.
Application data with record identifier
HDR0123456 092091C321
NAMSmithson, Patricia Jeanne
SSN5555555555
PRVCity Regional Clinic
PID05050505-X505
ADR555 Cedar Road
ADRAny City IL
ADR61001-1101
TOT1555.00
When your data has no record identifier for Data Interchange Service client to associate with each record, you have two choices:
Control and Data (C and D) Format
If no record ID clearly specifies the type of information contained in a record, that record structure can be indicated by using Control and Data (C and D) records. Also use C and D records when you need to use multiple data formats in a single file or you need to use overrides offered in the C record that are not offered in raw data. You also can use this type of format to override fields within service segments (such as ISA, GS, UNB, and UNH). There are a number of ways to structure C and D records. This example, shows an example of a C and D record in which:
This example also shows the use of a Z record to indicate the end of the document.
Sample Application Records with C and D Records
1 2 3 4 5 6
1 23456789012345678901234567890123456789012345678901234567890
CSPSTT16 AFTSU09 IL
DPOHDR P0123456 092091C321
DP0NOTE INCOMPLETE INVOICE INFORMATION SLOWS REIMBURSEMENT
DP0NOTE PATIENTS WITH MULTIPLE CLAIMS NEED COMPLETE HISTORY
DINVITEM 005500550055
DITEMDESC SURGICAL PROCEDURE
DITEMDIAGN CARPAL TUNNEL PAIN
DINVITEM 005500550055
DITEMDESC SURGICAL PROCEDURE
DITEMDIAGN LIGAMENT INFLAMMATION
DNAME SMITHSON, PATRICIA JEANNIE
CSPSTT16 AFTSU09 IL
Use the General page online help for "Record ID Information Object" for complete information on RAW data and C&D Formats.
You can access the Record Oriented Data functional area by clicking the Record Oriented Data button on the Data Interchange Services client navigator bar. This displays a functional area window that contains several list windows. Each of these list windows displays a component that is a part of the Record Oriented Data functional area.