public class MFN_M16_MATERIAL_ITEM_RECORD extends AbstractGroup
Represents a MFN_M16_MATERIAL_ITEM_RECORD group structure (a Group object). A Group is an ordered collection of message segments that can repeat together or be optionally in/excluded together. This Group contains the following elements:
log
Constructor and Description |
---|
MFN_M16_MATERIAL_ITEM_RECORD(Group parent,
ModelClassFactory factory)
Creates a new MFN_M16_MATERIAL_ITEM_RECORD group
|
Modifier and Type | Method and Description |
---|---|
ITM |
getITM()
Returns
ITM (Material Item) - creates it if necessary
|
MFN_M16_MATERIAL_LOCATION |
getMATERIAL_LOCATION()
Returns
the first repetition of
MATERIAL_LOCATION (a Group object) - creates it if necessary
|
MFN_M16_MATERIAL_LOCATION |
getMATERIAL_LOCATION(int rep)
Returns a specific repetition of
MATERIAL_LOCATION (a Group object) - creates it if necessary
|
List<MFN_M16_MATERIAL_LOCATION> |
getMATERIAL_LOCATIONAll()
Returns a non-modifiable List containing all current existing repetitions of MATERIAL_LOCATION.
|
int |
getMATERIAL_LOCATIONReps()
Returns the number of existing repetitions of MATERIAL_LOCATION
|
MFE |
getMFE()
Returns
MFE (Master File Entry) - creates it if necessary
|
NTE |
getNTE()
Returns
the first repetition of
NTE (Notes and Comments) - creates it if necessary
|
NTE |
getNTE(int rep)
Returns a specific repetition of
NTE (Notes and Comments) - creates it if necessary
|
List<NTE> |
getNTEAll()
Returns a non-modifiable List containing all current existing repetitions of NTE.
|
int |
getNTEReps()
Returns the number of existing repetitions of NTE
|
MFN_M16_PURCHASING_VENDOR |
getPURCHASING_VENDOR()
Returns
the first repetition of
PURCHASING_VENDOR (a Group object) - creates it if necessary
|
MFN_M16_PURCHASING_VENDOR |
getPURCHASING_VENDOR(int rep)
Returns a specific repetition of
PURCHASING_VENDOR (a Group object) - creates it if necessary
|
List<MFN_M16_PURCHASING_VENDOR> |
getPURCHASING_VENDORAll()
Returns a non-modifiable List containing all current existing repetitions of PURCHASING_VENDOR.
|
int |
getPURCHASING_VENDORReps()
Returns the number of existing repetitions of PURCHASING_VENDOR
|
MFN_M16_STERILIZATION |
getSTERILIZATION()
Returns
the first repetition of
STERILIZATION (a Group object) - creates it if necessary
|
MFN_M16_STERILIZATION |
getSTERILIZATION(int rep)
Returns a specific repetition of
STERILIZATION (a Group object) - creates it if necessary
|
List<MFN_M16_STERILIZATION> |
getSTERILIZATIONAll()
Returns a non-modifiable List containing all current existing repetitions of STERILIZATION.
|
int |
getSTERILIZATIONReps()
Returns the number of existing repetitions of STERILIZATION
|
String |
getVersion()
Returns "2.7"
|
MFN_M16_MATERIAL_LOCATION |
insertMATERIAL_LOCATION(int rep)
Inserts a specific repetition of MATERIAL_LOCATION (a Group object)
|
void |
insertMATERIAL_LOCATION(MFN_M16_MATERIAL_LOCATION structure,
int rep)
Inserts a specific repetition of MATERIAL_LOCATION (a Group object)
|
NTE |
insertNTE(int rep)
Inserts a specific repetition of NTE (Notes and Comments)
|
void |
insertNTE(NTE structure,
int rep)
Inserts a specific repetition of NTE (Notes and Comments)
|
MFN_M16_PURCHASING_VENDOR |
insertPURCHASING_VENDOR(int rep)
Inserts a specific repetition of PURCHASING_VENDOR (a Group object)
|
void |
insertPURCHASING_VENDOR(MFN_M16_PURCHASING_VENDOR structure,
int rep)
Inserts a specific repetition of PURCHASING_VENDOR (a Group object)
|
MFN_M16_STERILIZATION |
insertSTERILIZATION(int rep)
Inserts a specific repetition of STERILIZATION (a Group object)
|
void |
insertSTERILIZATION(MFN_M16_STERILIZATION structure,
int rep)
Inserts a specific repetition of STERILIZATION (a Group object)
|
MFN_M16_MATERIAL_LOCATION |
removeMATERIAL_LOCATION(int rep)
Removes a specific repetition of MATERIAL_LOCATION (a Group object)
|
NTE |
removeNTE(int rep)
Removes a specific repetition of NTE (Notes and Comments)
|
MFN_M16_PURCHASING_VENDOR |
removePURCHASING_VENDOR(int rep)
Removes a specific repetition of PURCHASING_VENDOR (a Group object)
|
MFN_M16_STERILIZATION |
removeSTERILIZATION(int rep)
Removes a specific repetition of STERILIZATION (a Group object)
|
accept, add, add, add, addNonstandardSegment, addNonstandardSegment, clear, currentReps, get, get, getAll, getAllAsList, getClass, getFieldNumForName, getModelClassFactory, getName, getNames, getNonStandardNames, getReps, getTyped, getTyped, insert, insert, insertRepetition, insertRepetition, isChoiceElement, isEmpty, isGroup, isRepeating, isRequired, provideLocation, removeRepetition, tryToInstantiateStructure, visitNestedStructures
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public MFN_M16_MATERIAL_ITEM_RECORD(Group parent, ModelClassFactory factory)
public String getVersion()
public NTE getNTE()
public NTE getNTE(int rep)
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getNTEReps()
public List<NTE> getNTEAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of NTE.
Note that unlike getNTE()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertNTE(NTE structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NTE insertNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public NTE removeNTE(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public MFN_M16_STERILIZATION getSTERILIZATION()
public MFN_M16_STERILIZATION getSTERILIZATION(int rep)
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getSTERILIZATIONReps()
public List<MFN_M16_STERILIZATION> getSTERILIZATIONAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of STERILIZATION.
Note that unlike getSTERILIZATION()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertSTERILIZATION(MFN_M16_STERILIZATION structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M16_STERILIZATION insertSTERILIZATION(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M16_STERILIZATION removeSTERILIZATION(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public MFN_M16_PURCHASING_VENDOR getPURCHASING_VENDOR()
public MFN_M16_PURCHASING_VENDOR getPURCHASING_VENDOR(int rep)
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getPURCHASING_VENDORReps()
public List<MFN_M16_PURCHASING_VENDOR> getPURCHASING_VENDORAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of PURCHASING_VENDOR.
Note that unlike getPURCHASING_VENDOR()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertPURCHASING_VENDOR(MFN_M16_PURCHASING_VENDOR structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M16_PURCHASING_VENDOR insertPURCHASING_VENDOR(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M16_PURCHASING_VENDOR removePURCHASING_VENDOR(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
public MFN_M16_MATERIAL_LOCATION getMATERIAL_LOCATION()
public MFN_M16_MATERIAL_LOCATION getMATERIAL_LOCATION(int rep)
rep
- The repetition index (0-indexed, i.e. the first repetition is at index 0)HL7Exception
- if the repetition requested is more than one
greater than the number of existing repetitions.public int getMATERIAL_LOCATIONReps()
public List<MFN_M16_MATERIAL_LOCATION> getMATERIAL_LOCATIONAll() throws HL7Exception
Returns a non-modifiable List containing all current existing repetitions of MATERIAL_LOCATION.
Note that unlike getMATERIAL_LOCATION()
, this method will not create any reps
if none are already present, so an empty list may be returned.
HL7Exception
public void insertMATERIAL_LOCATION(MFN_M16_MATERIAL_LOCATION structure, int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M16_MATERIAL_LOCATION insertMATERIAL_LOCATION(int rep) throws HL7Exception
HL7Exception
AbstractGroup#insertRepetition(Structure, int)
public MFN_M16_MATERIAL_LOCATION removeMATERIAL_LOCATION(int rep) throws HL7Exception
HL7Exception
AbstractGroup.removeRepetition(String, int)
Copyright © 2001–2017 University Health Network. All rights reserved.