public class RXC extends AbstractSegment
Represents an HL7 RXC message segment (Pharmacy/Treatment Component Order). This segment has the following fields:
log
Constructor and Description |
---|
RXC(Group parent,
ModelClassFactory factory)
Creates a new RXC segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
NM |
getComponentAmount()
Returns
RXC-3: "Component Amount" - creates it if necessary
|
CWE |
getComponentCode()
Returns
RXC-2: "Component Code" - creates it if necessary
|
NM |
getComponentDrugStrengthVolume()
Returns
RXC-8: "Component Drug Strength Volume" - creates it if necessary
|
CWE |
getComponentDrugStrengthVolumeUnits()
Returns
RXC-9: "Component Drug Strength Volume Units" - creates it if necessary
|
NM |
getComponentStrength()
Returns
RXC-5: "Component Strength" - creates it if necessary
|
CWE |
getComponentStrengthUnits()
Returns
RXC-6: "Component Strength Units" - creates it if necessary
|
CWE |
getComponentUnits()
Returns
RXC-4: "Component Units" - creates it if necessary
|
ID |
getRxc1_RXComponentType()
Returns
RXC-1: "RX Component Type" - creates it if necessary
|
CWE |
getRxc2_ComponentCode()
Returns
RXC-2: "Component Code" - creates it if necessary
|
NM |
getRxc3_ComponentAmount()
Returns
RXC-3: "Component Amount" - creates it if necessary
|
CWE |
getRxc4_ComponentUnits()
Returns
RXC-4: "Component Units" - creates it if necessary
|
NM |
getRxc5_ComponentStrength()
Returns
RXC-5: "Component Strength" - creates it if necessary
|
CWE |
getRxc6_ComponentStrengthUnits()
Returns
RXC-6: "Component Strength Units" - creates it if necessary
|
CWE[] |
getRxc7_SupplementaryCode()
Returns all repetitions of Supplementary Code (RXC-7).
|
CWE |
getRxc7_SupplementaryCode(int rep)
Returns a specific repetition of
RXC-7: "Supplementary Code" - creates it if necessary
|
int |
getRxc7_SupplementaryCodeReps()
Returns a count of the current number of repetitions of Supplementary Code (RXC-7).
|
NM |
getRxc8_ComponentDrugStrengthVolume()
Returns
RXC-8: "Component Drug Strength Volume" - creates it if necessary
|
CWE |
getRxc9_ComponentDrugStrengthVolumeUnits()
Returns
RXC-9: "Component Drug Strength Volume Units" - creates it if necessary
|
ID |
getRXComponentType()
Returns
RXC-1: "RX Component Type" - creates it if necessary
|
CWE[] |
getSupplementaryCode()
Returns all repetitions of Supplementary Code (RXC-7).
|
CWE |
getSupplementaryCode(int rep)
Returns a specific repetition of
RXC-7: "Supplementary Code" - creates it if necessary
|
int |
getSupplementaryCodeReps()
Returns a count of the current number of repetitions of Supplementary Code (RXC-7).
|
CWE |
insertRxc7_SupplementaryCode(int rep)
Inserts a repetition of
RXC-7: "Supplementary Code" at a specific index
|
CWE |
insertSupplementaryCode(int rep)
Inserts a repetition of
RXC-7: "Supplementary Code" at a specific index
|
CWE |
removeRxc7_SupplementaryCode(int rep)
Removes a repetition of
RXC-7: "Supplementary Code" at a specific index
|
CWE |
removeSupplementaryCode(int rep)
Removes a repetition of
RXC-7: "Supplementary Code" 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 RXC(Group parent, ModelClassFactory factory)
public ID getRXComponentType()
public ID getRxc1_RXComponentType()
public CWE getComponentCode()
public CWE getRxc2_ComponentCode()
public NM getComponentAmount()
public NM getRxc3_ComponentAmount()
public CWE getComponentUnits()
public CWE getRxc4_ComponentUnits()
public NM getComponentStrength()
public NM getRxc5_ComponentStrength()
public CWE getComponentStrengthUnits()
public CWE getRxc6_ComponentStrengthUnits()
public CWE[] getSupplementaryCode()
public CWE[] getRxc7_SupplementaryCode()
public int getSupplementaryCodeReps()
public CWE getSupplementaryCode(int rep)
rep
- The repetition index (0-indexed)public CWE getRxc7_SupplementaryCode(int rep)
rep
- The repetition index (0-indexed)public int getRxc7_SupplementaryCodeReps()
public CWE insertSupplementaryCode(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 CWE insertRxc7_SupplementaryCode(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 CWE removeSupplementaryCode(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 CWE removeRxc7_SupplementaryCode(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 NM getComponentDrugStrengthVolume()
public NM getRxc8_ComponentDrugStrengthVolume()
public CWE getComponentDrugStrengthVolumeUnits()
public CWE getRxc9_ComponentDrugStrengthVolumeUnits()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.