The MFA segment contains the following fields as defined in Figure 8-3. MFA attributes.
Figure 8-3. MFA attributes
SEQ |
LEN |
DT |
OPT |
RP/# |
TBL# |
ITEM# |
ELEMENT NAME |
1 |
3 |
ID |
R |
0180 |
00664 |
Record-Level Event Code |
|
2 |
20 |
ST |
C |
00665 |
MFN Control ID |
||
3 |
26 |
TS |
O |
00668 |
Event Completion Date/Time |
||
4 |
60 |
CE |
R |
0181 |
00669 |
Error Return Code And/Or Text |
|
5 |
60 |
CE |
R |
Y |
00667 |
Primary Key Value |
8.4.3.0 MFA field definitions
Definition: This field defines record-level event for the master file record identified by the MFI segment and the primary key in this segment. Refer to HL7 table 0180 - Record level event code for valid values.
Definition: This field contains a number or other identifier that uniquely identifies this change to this record from the point of view of the originating system. This field uniquely identifies the particular record (identified by the MFE segment) being acknowledged by this MFA segment. When returned to the originating system via the MFA segment, this field allows the target system to precisely identify which change to this record is being acknowledged. It is only required if MFI-6-response level code requires responses at the record level (any value other than NE).
Definition: This field may be required or optional depending on the site specifications for the given master file, master file event, and receiving facility.
Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>
Definition: This field contains the status of the requested update. Site-defined table, specific to each master file being updated via this transaction.
Refer to user-defined table 0181 - MFN record level error return for suggested values. All such tables will have at least the following two return code values:
User-defined Table 0181 - MFN record-level error return
Value |
Description |
S |
Successful posting of the record defined by the MFE segment |
U |
Unsuccessful posting of the record defined by the MFE segment |
Components: <identifier (ST)> ^ <text (ST)> ^ <name of coding system (ST)> ^ <alternate identifier (ST)> ^ <alternate text (ST)> ^ <name of alternate coding system (ST)>
Definition: This field uniquely identifies the record of the master file (identified in the MFN segment) to be changed (as defined by the record-level event code). The first component of this CE data field carries an optional subcomponent, the application ID, that uniquely identifies the application responsible for creating the primary key value. The application ID subcomponent can be used to guarantee uniqueness of the primary key across multiple applications.
The repetition of the primary key permits the identification of an individual component of a complex record as the object of the record-level event code. This feature allows the Master Files protocol to be used for modifications of single components of complex records.