|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.RXC
public class RXC
Represents an HL7 RXC message segment (Pharmacy/Treatment Component Order). This segment has the following fields:
| Constructor Summary | |
|---|---|
RXC(Group parent,
ModelClassFactory factory)
Creates a new RXC segment |
|
| Method Summary | |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field)
|
NM |
getComponentAmount()
Returns RXC-3: "Component Amount" - creates it if necessary |
CE |
getComponentCode()
Returns RXC-2: "Component Code" - creates it if necessary |
NM |
getComponentStrength()
Returns RXC-5: "Component Strength" - creates it if necessary |
CE |
getComponentStrengthUnits()
Returns RXC-6: "Component Strength Units" - creates it if necessary |
CE |
getComponentUnits()
Returns RXC-4: "Component Units" - creates it if necessary |
ID |
getRxc1_RXComponentType()
Returns RXC-1: "RX Component Type" - creates it if necessary |
CE |
getRxc2_ComponentCode()
Returns RXC-2: "Component Code" - creates it if necessary |
NM |
getRxc3_ComponentAmount()
Returns RXC-3: "Component Amount" - creates it if necessary |
CE |
getRxc4_ComponentUnits()
Returns RXC-4: "Component Units" - creates it if necessary |
NM |
getRxc5_ComponentStrength()
Returns RXC-5: "Component Strength" - creates it if necessary |
CE |
getRxc6_ComponentStrengthUnits()
Returns RXC-6: "Component Strength Units" - creates it if necessary |
CE |
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). |
ID |
getRXComponentType()
Returns RXC-1: "RX Component Type" - creates it if necessary |
CE[] |
getSupplementaryCode()
Returns all repetitions of Supplementary Code (RXC-7). |
CE |
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). |
CE |
insertRxc7_SupplementaryCode(int rep)
Inserts a repetition of RXC-7: "Supplementary Code" at a specific index |
CE |
insertSupplementaryCode(int rep)
Inserts a repetition of RXC-7: "Supplementary Code" at a specific index |
CE |
removeRxc7_SupplementaryCode(int rep)
Removes a repetition of RXC-7: "Supplementary Code" at a specific index |
CE |
removeSupplementaryCode(int rep)
Removes a repetition of RXC-7: "Supplementary Code" at a specific index |
| Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment |
|---|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RXC(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public ID getRXComponentType()
public ID getRxc1_RXComponentType()
public CE getComponentCode()
public CE getRxc2_ComponentCode()
public NM getComponentAmount()
public NM getRxc3_ComponentAmount()
public CE getComponentUnits()
public CE getRxc4_ComponentUnits()
public NM getComponentStrength()
public NM getRxc5_ComponentStrength()
public CE getComponentStrengthUnits()
public CE getRxc6_ComponentStrengthUnits()
public CE[] getSupplementaryCode()
public int getSupplementaryCodeReps()
public CE getSupplementaryCode(int rep)
rep - The repetition index (0-indexed)public CE getRxc7_SupplementaryCode(int rep)
rep - The repetition index (0-indexed)public int getRxc7_SupplementaryCodeReps()
public CE 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 CE 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 CE 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 CE 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)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection in class AbstractSegment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||