Package ca.uhn.hl7v2.model.v22.segment
Class MFE
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.MFE
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 MFE message segment (MASTER FILE ENTRY). This segment has the following fields:
- MFE-1: Record-level event code (ID)
- MFE-2: MFN control ID (ST) optional
- MFE-3: Effective date / time (TS) optional
- MFE-4: 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 MFE-3: "Effective date / time" - creates it if necessaryReturns MFE-1: "Record-level event code" - creates it if necessaryReturns MFE-2: "MFN control ID" - creates it if necessaryReturns MFE-3: "Effective date / time" - creates it if necessaryCE[]Returns all repetitions of Primary key value (MFE-4).getMfe4_PrimaryKeyValue(int rep) Returns a specific repetition of MFE-4: "Primary key value" - creates it if necessaryintReturns a count of the current number of repetitions of Primary key value (MFE-4).Returns MFE-2: "MFN control ID" - creates it if necessaryCE[]Returns all repetitions of Primary key value (MFE-4).getPrimaryKeyValue(int rep) Returns a specific repetition of MFE-4: "Primary key value" - creates it if necessaryintReturns a count of the current number of repetitions of Primary key value (MFE-4).Returns MFE-1: "Record-level event code" - creates it if necessaryinsertMfe4_PrimaryKeyValue(int rep) Inserts a repetition of MFE-4: "Primary key value" at a specific indexinsertPrimaryKeyValue(int rep) Inserts a repetition of MFE-4: "Primary key value" at a specific indexremoveMfe4_PrimaryKeyValue(int rep) Removes a repetition of MFE-4: "Primary key value" at a specific indexremovePrimaryKeyValue(int rep) Removes a repetition of MFE-4: "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
-
MFE
Creates a new MFE segment
-
-
Method Details
-
getRecordLevelEventCode
Returns MFE-1: "Record-level event code" - creates it if necessary -
getMfe1_RecordLevelEventCode
Returns MFE-1: "Record-level event code" - creates it if necessary -
getMFNControlID
Returns MFE-2: "MFN control ID" - creates it if necessary -
getMfe2_MFNControlID
Returns MFE-2: "MFN control ID" - creates it if necessary -
getEffectiveDateTime
Returns MFE-3: "Effective date / time" - creates it if necessary -
getMfe3_EffectiveDateTime
Returns MFE-3: "Effective date / time" - creates it if necessary -
getPrimaryKeyValue
Returns all repetitions of Primary key value (MFE-4). -
getMfe4_PrimaryKeyValue
Returns all repetitions of Primary key value (MFE-4). -
getPrimaryKeyValueReps
Returns a count of the current number of repetitions of Primary key value (MFE-4). 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 MFE-4: "Primary key value" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfe4_PrimaryKeyValue
Returns a specific repetition of MFE-4: "Primary key value" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getMfe4_PrimaryKeyValueReps
Returns a count of the current number of repetitions of Primary key value (MFE-4). 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 MFE-4: "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)
-
insertMfe4_PrimaryKeyValue
Inserts a repetition of MFE-4: "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 MFE-4: "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)
-
removeMfe4_PrimaryKeyValue
Removes a repetition of MFE-4: "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
-