Package ca.uhn.hl7v2.model.v24.segment
Class MFA
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.MFA
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 MFA message segment (Master File Acknowledgment). 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: MFN Record Level Error Return (CE)
- MFA-5: Primary Key Value - MFA (CE) repeating
- MFA-6: Primary Key Value Type - MFA (ID) 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-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: "MFN Record Level Error Return" - creates it if necessaryCE[]Returns all repetitions of Primary Key Value - MFA (MFA-5).getMfa5_PrimaryKeyValueMFA(int rep) Returns a specific repetition of MFA-5: "Primary Key Value - MFA" - creates it if necessaryintReturns a count of the current number of repetitions of Primary Key Value - MFA (MFA-5).ID[]Returns all repetitions of Primary Key Value Type - MFA (MFA-6).getMfa6_PrimaryKeyValueTypeMFA(int rep) Returns a specific repetition of MFA-6: "Primary Key Value Type - MFA" - creates it if necessaryintReturns a count of the current number of repetitions of Primary Key Value Type - MFA (MFA-6).Returns MFA-2: "MFN Control ID" - creates it if necessaryReturns MFA-4: "MFN Record Level Error Return" - creates it if necessaryCE[]Returns all repetitions of Primary Key Value - MFA (MFA-5).getPrimaryKeyValueMFA(int rep) Returns a specific repetition of MFA-5: "Primary Key Value - MFA" - creates it if necessaryintReturns a count of the current number of repetitions of Primary Key Value - MFA (MFA-5).ID[]Returns all repetitions of Primary Key Value Type - MFA (MFA-6).getPrimaryKeyValueTypeMFA(int rep) Returns a specific repetition of MFA-6: "Primary Key Value Type - MFA" - creates it if necessaryintReturns a count of the current number of repetitions of Primary Key Value Type - MFA (MFA-6).Returns MFA-1: "Record-Level Event Code" - creates it if necessaryinsertMfa5_PrimaryKeyValueMFA(int rep) Inserts a repetition of MFA-5: "Primary Key Value - MFA" at a specific indexinsertMfa6_PrimaryKeyValueTypeMFA(int rep) Inserts a repetition of MFA-6: "Primary Key Value Type - MFA" at a specific indexinsertPrimaryKeyValueMFA(int rep) Inserts a repetition of MFA-5: "Primary Key Value - MFA" at a specific indexinsertPrimaryKeyValueTypeMFA(int rep) Inserts a repetition of MFA-6: "Primary Key Value Type - MFA" at a specific indexremoveMfa5_PrimaryKeyValueMFA(int rep) Removes a repetition of MFA-5: "Primary Key Value - MFA" at a specific indexremoveMfa6_PrimaryKeyValueTypeMFA(int rep) Removes a repetition of MFA-6: "Primary Key Value Type - MFA" at a specific indexremovePrimaryKeyValueMFA(int rep) Removes a repetition of MFA-5: "Primary Key Value - MFA" at a specific indexremovePrimaryKeyValueTypeMFA(int rep) Removes a repetition of MFA-6: "Primary Key Value Type - MFA" 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 -
getMFNRecordLevelErrorReturn
Returns MFA-4: "MFN Record Level Error Return" - creates it if necessary -
getMfa4_MFNRecordLevelErrorReturn
Returns MFA-4: "MFN Record Level Error Return" - creates it if necessary -
getPrimaryKeyValueMFA
Returns all repetitions of Primary Key Value - MFA (MFA-5). -
getMfa5_PrimaryKeyValueMFA
Returns all repetitions of Primary Key Value - MFA (MFA-5). -
getPrimaryKeyValueMFAReps
Returns a count of the current number of repetitions of Primary Key Value - MFA (MFA-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPrimaryKeyValueMFA
Returns a specific repetition of MFA-5: "Primary Key Value - MFA" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfa5_PrimaryKeyValueMFA
Returns a specific repetition of MFA-5: "Primary Key Value - MFA" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfa5_PrimaryKeyValueMFAReps
Returns a count of the current number of repetitions of Primary Key Value - MFA (MFA-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPrimaryKeyValueMFA
Inserts a repetition of MFA-5: "Primary Key Value - MFA" 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_PrimaryKeyValueMFA
Inserts a repetition of MFA-5: "Primary Key Value - MFA" 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)
-
removePrimaryKeyValueMFA
Removes a repetition of MFA-5: "Primary Key Value - MFA" 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_PrimaryKeyValueMFA
Removes a repetition of MFA-5: "Primary Key Value - MFA" 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)
-
getPrimaryKeyValueTypeMFA
Returns all repetitions of Primary Key Value Type - MFA (MFA-6). -
getMfa6_PrimaryKeyValueTypeMFA
Returns all repetitions of Primary Key Value Type - MFA (MFA-6). -
getPrimaryKeyValueTypeMFAReps
Returns a count of the current number of repetitions of Primary Key Value Type - MFA (MFA-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPrimaryKeyValueTypeMFA
Returns a specific repetition of MFA-6: "Primary Key Value Type - MFA" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfa6_PrimaryKeyValueTypeMFA
Returns a specific repetition of MFA-6: "Primary Key Value Type - MFA" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfa6_PrimaryKeyValueTypeMFAReps
Returns a count of the current number of repetitions of Primary Key Value Type - MFA (MFA-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPrimaryKeyValueTypeMFA
Inserts a repetition of MFA-6: "Primary Key Value Type - MFA" 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)
-
insertMfa6_PrimaryKeyValueTypeMFA
Inserts a repetition of MFA-6: "Primary Key Value Type - MFA" 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)
-
removePrimaryKeyValueTypeMFA
Removes a repetition of MFA-6: "Primary Key Value Type - MFA" 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)
-
removeMfa6_PrimaryKeyValueTypeMFA
Removes a repetition of MFA-6: "Primary Key Value Type - MFA" 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
-