public class MFI extends AbstractSegment
Represents an HL7 MFI message segment (Master File Identification). This segment has the following fields:
log
Constructor and Description |
---|
MFI(Group parent,
ModelClassFactory factory)
Creates a new MFI segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
DTM |
getEffectiveDateTime()
Returns
MFI-5: "Effective Date/Time" - creates it if necessary
|
DTM |
getEnteredDateTime()
Returns
MFI-4: "Entered Date/Time" - creates it if necessary
|
ID |
getFileLevelEventCode()
Returns
MFI-3: "File-Level Event Code" - creates it if necessary
|
HD[] |
getMasterFileApplicationIdentifier()
Returns all repetitions of Master File Application Identifier (MFI-2).
|
HD |
getMasterFileApplicationIdentifier(int rep)
Returns a specific repetition of
MFI-2: "Master File Application Identifier" - creates it if necessary
|
int |
getMasterFileApplicationIdentifierReps()
Returns a count of the current number of repetitions of Master File Application Identifier (MFI-2).
|
CWE |
getMasterFileIdentifier()
Returns
MFI-1: "Master File Identifier" - creates it if necessary
|
CWE |
getMfi1_MasterFileIdentifier()
Returns
MFI-1: "Master File Identifier" - creates it if necessary
|
HD[] |
getMfi2_MasterFileApplicationIdentifier()
Returns all repetitions of Master File Application Identifier (MFI-2).
|
HD |
getMfi2_MasterFileApplicationIdentifier(int rep)
Returns a specific repetition of
MFI-2: "Master File Application Identifier" - creates it if necessary
|
int |
getMfi2_MasterFileApplicationIdentifierReps()
Returns a count of the current number of repetitions of Master File Application Identifier (MFI-2).
|
ID |
getMfi3_FileLevelEventCode()
Returns
MFI-3: "File-Level Event Code" - creates it if necessary
|
DTM |
getMfi4_EnteredDateTime()
Returns
MFI-4: "Entered Date/Time" - creates it if necessary
|
DTM |
getMfi5_EffectiveDateTime()
Returns
MFI-5: "Effective Date/Time" - creates it if necessary
|
ID |
getMfi6_ResponseLevelCode()
Returns
MFI-6: "Response Level Code" - creates it if necessary
|
ID |
getResponseLevelCode()
Returns
MFI-6: "Response Level Code" - creates it if necessary
|
HD |
insertMasterFileApplicationIdentifier(int rep)
Inserts a repetition of
MFI-2: "Master File Application Identifier" at a specific index
|
HD |
insertMfi2_MasterFileApplicationIdentifier(int rep)
Inserts a repetition of
MFI-2: "Master File Application Identifier" at a specific index
|
HD |
removeMasterFileApplicationIdentifier(int rep)
Removes a repetition of
MFI-2: "Master File Application Identifier" at a specific index
|
HD |
removeMfi2_MasterFileApplicationIdentifier(int rep)
Removes a repetition of
MFI-2: "Master File Application Identifier" 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 MFI(Group parent, ModelClassFactory factory)
public CWE getMasterFileIdentifier()
public CWE getMfi1_MasterFileIdentifier()
public HD[] getMasterFileApplicationIdentifier()
public HD[] getMfi2_MasterFileApplicationIdentifier()
public int getMasterFileApplicationIdentifierReps()
public HD getMasterFileApplicationIdentifier(int rep)
rep
- The repetition index (0-indexed)public HD getMfi2_MasterFileApplicationIdentifier(int rep)
rep
- The repetition index (0-indexed)public int getMfi2_MasterFileApplicationIdentifierReps()
public HD insertMasterFileApplicationIdentifier(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 HD insertMfi2_MasterFileApplicationIdentifier(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 HD removeMasterFileApplicationIdentifier(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 HD removeMfi2_MasterFileApplicationIdentifier(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 ID getFileLevelEventCode()
public ID getMfi3_FileLevelEventCode()
public DTM getEnteredDateTime()
public DTM getMfi4_EnteredDateTime()
public DTM getEffectiveDateTime()
public DTM getMfi5_EffectiveDateTime()
public ID getResponseLevelCode()
public ID getMfi6_ResponseLevelCode()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.