public class MFE extends AbstractSegment
Represents an HL7 MFE message segment (Master file entry segment). This segment has the following fields:
log
Constructor and Description |
---|
MFE(Group parent,
ModelClassFactory factory)
Creates a new MFE segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
TS |
getEffectiveDateTime()
Returns
MFE-3: "Effective Date/Time" - creates it if necessary
|
ID |
getMfe1_RecordLevelEventCode()
Returns
MFE-1: "Record-Level Event Code" - creates it if necessary
|
ST |
getMfe2_MFNControlID()
Returns
MFE-2: "MFN Control ID" - creates it if necessary
|
TS |
getMfe3_EffectiveDateTime()
Returns
MFE-3: "Effective Date/Time" - creates it if necessary
|
CE[] |
getMfe4_PrimaryKeyValue()
Returns all repetitions of Primary Key Value (MFE-4).
|
CE |
getMfe4_PrimaryKeyValue(int rep)
Returns a specific repetition of
MFE-4: "Primary Key Value" - creates it if necessary
|
int |
getMfe4_PrimaryKeyValueReps()
Returns a count of the current number of repetitions of Primary Key Value (MFE-4).
|
ST |
getMFNControlID()
Returns
MFE-2: "MFN Control ID" - creates it if necessary
|
CE[] |
getPrimaryKeyValue()
Returns all repetitions of Primary Key Value (MFE-4).
|
CE |
getPrimaryKeyValue(int rep)
Returns a specific repetition of
MFE-4: "Primary Key Value" - creates it if necessary
|
int |
getPrimaryKeyValueReps()
Returns a count of the current number of repetitions of Primary Key Value (MFE-4).
|
ID |
getRecordLevelEventCode()
Returns
MFE-1: "Record-Level Event Code" - creates it if necessary
|
CE |
insertMfe4_PrimaryKeyValue(int rep)
Inserts a repetition of
MFE-4: "Primary Key Value" at a specific index
|
CE |
insertPrimaryKeyValue(int rep)
Inserts a repetition of
MFE-4: "Primary Key Value" at a specific index
|
CE |
removeMfe4_PrimaryKeyValue(int rep)
Removes a repetition of
MFE-4: "Primary Key Value" at a specific index
|
CE |
removePrimaryKeyValue(int rep)
Removes a repetition of
MFE-4: "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 MFE(Group parent, ModelClassFactory factory)
public ID getRecordLevelEventCode()
public ID getMfe1_RecordLevelEventCode()
public ST getMFNControlID()
public ST getMfe2_MFNControlID()
public TS getEffectiveDateTime()
public TS getMfe3_EffectiveDateTime()
public CE[] getPrimaryKeyValue()
public CE[] getMfe4_PrimaryKeyValue()
public int getPrimaryKeyValueReps()
public CE getPrimaryKeyValue(int rep)
rep
- The repetition index (0-indexed)public CE getMfe4_PrimaryKeyValue(int rep)
rep
- The repetition index (0-indexed)public int getMfe4_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 insertMfe4_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 removeMfe4_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.