public class ORO extends AbstractSegment
Represents an HL7 ORO message segment (ORDER OTHER). This segment has the following fields:
log
Constructor and Description |
---|
ORO(Group parent,
ModelClassFactory factory)
Creates a new ORO segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getORDERITEMID()
Returns
ORO-1: "ORDER ITEM ID" - creates it if necessary
|
CE |
getOro1_ORDERITEMID()
Returns
ORO-1: "ORDER ITEM ID" - creates it if necessary
|
ID |
getOro2_SUBSTITUTEALLOWED()
Returns
ORO-2: "SUBSTITUTE ALLOWED" - creates it if necessary
|
CN[] |
getOro3_RESULTSCOPIESTO()
Returns all repetitions of RESULTS COPIES TO (ORO-3).
|
CN |
getOro3_RESULTSCOPIESTO(int rep)
Returns a specific repetition of
ORO-3: "RESULTS COPIES TO" - creates it if necessary
|
int |
getOro3_RESULTSCOPIESTOReps()
Returns a count of the current number of repetitions of RESULTS COPIES TO (ORO-3).
|
ID |
getOro4_STOCKLOCATION()
Returns
ORO-4: "STOCK LOCATION" - creates it if necessary
|
CN[] |
getRESULTSCOPIESTO()
Returns all repetitions of RESULTS COPIES TO (ORO-3).
|
CN |
getRESULTSCOPIESTO(int rep)
Returns a specific repetition of
ORO-3: "RESULTS COPIES TO" - creates it if necessary
|
int |
getRESULTSCOPIESTOReps()
Returns a count of the current number of repetitions of RESULTS COPIES TO (ORO-3).
|
ID |
getSTOCKLOCATION()
Returns
ORO-4: "STOCK LOCATION" - creates it if necessary
|
ID |
getSUBSTITUTEALLOWED()
Returns
ORO-2: "SUBSTITUTE ALLOWED" - creates it if necessary
|
CN |
insertOro3_RESULTSCOPIESTO(int rep)
Inserts a repetition of
ORO-3: "RESULTS COPIES TO" at a specific index
|
CN |
insertRESULTSCOPIESTO(int rep)
Inserts a repetition of
ORO-3: "RESULTS COPIES TO" at a specific index
|
CN |
removeOro3_RESULTSCOPIESTO(int rep)
Removes a repetition of
ORO-3: "RESULTS COPIES TO" at a specific index
|
CN |
removeRESULTSCOPIESTO(int rep)
Removes a repetition of
ORO-3: "RESULTS COPIES TO" 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 ORO(Group parent, ModelClassFactory factory)
public CE getORDERITEMID()
public CE getOro1_ORDERITEMID()
public ID getSUBSTITUTEALLOWED()
public ID getOro2_SUBSTITUTEALLOWED()
public CN[] getRESULTSCOPIESTO()
public CN[] getOro3_RESULTSCOPIESTO()
public int getRESULTSCOPIESTOReps()
public CN getRESULTSCOPIESTO(int rep)
rep
- The repetition index (0-indexed)public CN getOro3_RESULTSCOPIESTO(int rep)
rep
- The repetition index (0-indexed)public int getOro3_RESULTSCOPIESTOReps()
public CN insertRESULTSCOPIESTO(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 CN insertOro3_RESULTSCOPIESTO(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 CN removeRESULTSCOPIESTO(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 CN removeOro3_RESULTSCOPIESTO(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 getSTOCKLOCATION()
public ID getOro4_STOCKLOCATION()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.