Package ca.uhn.hl7v2.model.v22.segment
Class MFA
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.MFA
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 MFA message segment (MASTER FILE ACKNOWLEDGEMENT). This segment has the following fields:
- MFA-1: Record-level event code (ID)
- MFA-2: MFN control ID (ST) optional
- MFA-3: Event completion date / time (TS) optional
- MFA-4: Error return code and/or text (CE)
- MFA-5: Primary key value (CE) repeating
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns MFA-4: "Error return code and/or text" - creates it if necessaryReturns MFA-3: "Event completion date / time" - creates it if necessaryReturns MFA-1: "Record-level event code" - creates it if necessaryReturns MFA-2: "MFN control ID" - creates it if necessaryReturns MFA-3: "Event completion date / time" - creates it if necessaryReturns MFA-4: "Error return code and/or text" - creates it if necessaryCE[]Returns all repetitions of Primary key value (MFA-5).getMfa5_PrimaryKeyValue(int rep) Returns a specific repetition of MFA-5: "Primary key value" - creates it if necessaryintReturns a count of the current number of repetitions of Primary key value (MFA-5).Returns MFA-2: "MFN control ID" - creates it if necessaryCE[]Returns all repetitions of Primary key value (MFA-5).getPrimaryKeyValue(int rep) Returns a specific repetition of MFA-5: "Primary key value" - creates it if necessaryintReturns a count of the current number of repetitions of Primary key value (MFA-5).Returns MFA-1: "Record-level event code" - creates it if necessaryinsertMfa5_PrimaryKeyValue(int rep) Inserts a repetition of MFA-5: "Primary key value" at a specific indexinsertPrimaryKeyValue(int rep) Inserts a repetition of MFA-5: "Primary key value" at a specific indexremoveMfa5_PrimaryKeyValue(int rep) Removes a repetition of MFA-5: "Primary key value" at a specific indexremovePrimaryKeyValue(int rep) Removes a repetition of MFA-5: "Primary key value" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
MFA
Creates a new MFA segment
-
-
Method Details
-
getRecordLevelEventCode
Returns MFA-1: "Record-level event code" - creates it if necessary -
getMfa1_RecordLevelEventCode
Returns MFA-1: "Record-level event code" - creates it if necessary -
getMFNControlID
Returns MFA-2: "MFN control ID" - creates it if necessary -
getMfa2_MFNControlID
Returns MFA-2: "MFN control ID" - creates it if necessary -
getEventCompletionDateTime
Returns MFA-3: "Event completion date / time" - creates it if necessary -
getMfa3_EventCompletionDateTime
Returns MFA-3: "Event completion date / time" - creates it if necessary -
getErrorReturnCodeAndOrText
Returns MFA-4: "Error return code and/or text" - creates it if necessary -
getMfa4_ErrorReturnCodeAndOrText
Returns MFA-4: "Error return code and/or text" - creates it if necessary -
getPrimaryKeyValue
Returns all repetitions of Primary key value (MFA-5). -
getMfa5_PrimaryKeyValue
Returns all repetitions of Primary key value (MFA-5). -
getPrimaryKeyValueReps
Returns a count of the current number of repetitions of Primary key value (MFA-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPrimaryKeyValue
Returns a specific repetition of MFA-5: "Primary key value" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfa5_PrimaryKeyValue
Returns a specific repetition of MFA-5: "Primary key value" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfa5_PrimaryKeyValueReps
Returns a count of the current number of repetitions of Primary key value (MFA-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPrimaryKeyValue
Inserts a repetition of MFA-5: "Primary key value" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertMfa5_PrimaryKeyValue
Inserts a repetition of MFA-5: "Primary key value" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removePrimaryKeyValue
Removes a repetition of MFA-5: "Primary key value" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeMfa5_PrimaryKeyValue
Removes a repetition of MFA-5: "Primary key value" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-