public class MFA extends AbstractSegment
Represents an HL7 MFA message segment (MASTER FILE ACKNOWLEDGEMENT). This segment has the following fields:
log
Constructor and Description |
---|
MFA(Group parent,
ModelClassFactory factory)
Creates a new MFA segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getErrorReturnCodeAndOrText()
Returns
MFA-4: "Error return code and/or text" - creates it if necessary
|
TS |
getEventCompletionDateTime()
Returns
MFA-3: "Event completion date / time" - creates it if necessary
|
ID |
getMfa1_RecordLevelEventCode()
Returns
MFA-1: "Record-level event code" - creates it if necessary
|
ST |
getMfa2_MFNControlID()
Returns
MFA-2: "MFN control ID" - creates it if necessary
|
TS |
getMfa3_EventCompletionDateTime()
Returns
MFA-3: "Event completion date / time" - creates it if necessary
|
CE |
getMfa4_ErrorReturnCodeAndOrText()
Returns
MFA-4: "Error return code and/or text" - creates it if necessary
|
CE[] |
getMfa5_PrimaryKeyValue()
Returns all repetitions of Primary key value (MFA-5).
|
CE |
getMfa5_PrimaryKeyValue(int rep)
Returns a specific repetition of
MFA-5: "Primary key value" - creates it if necessary
|
int |
getMfa5_PrimaryKeyValueReps()
Returns a count of the current number of repetitions of Primary key value (MFA-5).
|
ST |
getMFNControlID()
Returns
MFA-2: "MFN control ID" - creates it if necessary
|
CE[] |
getPrimaryKeyValue()
Returns all repetitions of Primary key value (MFA-5).
|
CE |
getPrimaryKeyValue(int rep)
Returns a specific repetition of
MFA-5: "Primary key value" - creates it if necessary
|
int |
getPrimaryKeyValueReps()
Returns a count of the current number of repetitions of Primary key value (MFA-5).
|
ID |
getRecordLevelEventCode()
Returns
MFA-1: "Record-level event code" - creates it if necessary
|
CE |
insertMfa5_PrimaryKeyValue(int rep)
Inserts a repetition of
MFA-5: "Primary key value" at a specific index
|
CE |
insertPrimaryKeyValue(int rep)
Inserts a repetition of
MFA-5: "Primary key value" at a specific index
|
CE |
removeMfa5_PrimaryKeyValue(int rep)
Removes a repetition of
MFA-5: "Primary key value" at a specific index
|
CE |
removePrimaryKeyValue(int rep)
Removes a repetition of
MFA-5: "Primary key value" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public MFA(Group parent, ModelClassFactory factory)
public ID getRecordLevelEventCode()
public ID getMfa1_RecordLevelEventCode()
public ST getMFNControlID()
public ST getMfa2_MFNControlID()
public TS getEventCompletionDateTime()
public TS getMfa3_EventCompletionDateTime()
public CE getErrorReturnCodeAndOrText()
public CE getMfa4_ErrorReturnCodeAndOrText()
public CE[] getPrimaryKeyValue()
public CE[] getMfa5_PrimaryKeyValue()
public int getPrimaryKeyValueReps()
public CE getPrimaryKeyValue(int rep)
rep
- The repetition index (0-indexed)public CE getMfa5_PrimaryKeyValue(int rep)
rep
- The repetition index (0-indexed)public int getMfa5_PrimaryKeyValueReps()
public CE insertPrimaryKeyValue(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE insertMfa5_PrimaryKeyValue(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removePrimaryKeyValue(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CE removeMfa5_PrimaryKeyValue(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.