public class RX1 extends AbstractSegment
Represents an HL7 RX1 message segment (PHARMACY ORDER). This segment has the following fields:
log
Constructor and Description |
---|
RX1(Group parent,
ModelClassFactory factory)
Creates a new RX1 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
ID[] |
getCOMPONENTDRUGIDS()
Returns all repetitions of COMPONENT DRUG IDS (RX1-15).
|
ID |
getCOMPONENTDRUGIDS(int rep)
Returns a specific repetition of
RX1-15: "COMPONENT DRUG IDS" - creates it if necessary
|
int |
getCOMPONENTDRUGIDSReps()
Returns a count of the current number of repetitions of COMPONENT DRUG IDS (RX1-15).
|
ID |
getDEACLASS()
Returns
RX1-22: "DEA CLASS" - creates it if necessary
|
CM |
getDRUGDOSE()
Returns
RX1-9: "DRUG DOSE" - creates it if necessary
|
CE |
getDRUGID()
Returns
RX1-14: "DRUG ID" - creates it if necessary
|
ID |
getDRUGROLE()
Returns
RX1-10: "DRUG ROLE" - creates it if necessary
|
CQ |
getDRUGSTRENGTH()
Returns
RX1-6: "DRUG STRENGTH" - creates it if necessary
|
NM |
getFINALCONCENTRATION()
Returns
RX1-7: "FINAL CONCENTRATION" - creates it if necessary
|
NM |
getFINALVOLUMEINML()
Returns
RX1-8: "FINAL VOLUME IN ML." - creates it if necessary
|
TX[] |
getINSTRUCTIONS()
Returns all repetitions of INSTRUCTIONS (SIG) (RX1-30).
|
TX |
getINSTRUCTIONS(int rep)
Returns a specific repetition of
RX1-30: "INSTRUCTIONS (SIG)" - creates it if necessary
|
int |
getINSTRUCTIONSReps()
Returns a count of the current number of repetitions of INSTRUCTIONS (SIG) (RX1-30).
|
CQ |
getIVSOLUTIONRATE()
Returns
RX1-5: "IV SOLUTION RATE" - creates it if necessary
|
TS |
getLASTREFILLDATETIME()
Returns
RX1-25: "LAST REFILL DATE/TIME" - creates it if necessary
|
NM |
getNUMBEROFREFILLS()
Returns
RX1-19: "NUMBER OF REFILLS" - creates it if necessary
|
NM |
getORDERINGMDSDEANUMBER()
Returns
RX1-23: "ORDERING MD'S DEA NUMBER" - creates it if necessary
|
TX[] |
getPATIENTINSTRUCTIONS()
Returns all repetitions of PATIENT INSTRUCTIONS (RX1-29).
|
TX |
getPATIENTINSTRUCTIONS(int rep)
Returns a specific repetition of
RX1-29: "PATIENT INSTRUCTIONS" - creates it if necessary
|
int |
getPATIENTINSTRUCTIONSReps()
Returns a count of the current number of repetitions of PATIENT INSTRUCTIONS (RX1-29).
|
TX[] |
getPHARMACYINSTRUCTIONS()
Returns all repetitions of PHARMACY INSTRUCTIONS (RX1-28).
|
TX |
getPHARMACYINSTRUCTIONS(int rep)
Returns a specific repetition of
RX1-28: "PHARMACY INSTRUCTIONS" - creates it if necessary
|
int |
getPHARMACYINSTRUCTIONSReps()
Returns a count of the current number of repetitions of PHARMACY INSTRUCTIONS (RX1-28).
|
NM |
getPRESCRIPTIONSEQUENCE()
Returns
RX1-11: "PRESCRIPTION SEQUENCE #" - creates it if necessary
|
ID |
getPRESCRIPTIONTYPE()
Returns
RX1-16: "PRESCRIPTION TYPE" - creates it if necessary
|
ID |
getPRNSTATUS()
Returns
RX1-27: "PRN STATUS" - creates it if necessary
|
CQ |
getQUANTITYDISPENSED()
Returns
RX1-12: "QUANTITY DISPENSED" - creates it if necessary
|
NM |
getREFILLSREMAINING()
Returns
RX1-21: "REFILLS REMAINING" - creates it if necessary
|
ST |
getROUTE()
Returns
RX1-3: "ROUTE" - creates it if necessary
|
ST |
getRx11_UNUSED()
Returns
RX1-1: "UNUSED" - creates it if necessary
|
ID |
getRx110_DRUGROLE()
Returns
RX1-10: "DRUG ROLE" - creates it if necessary
|
NM |
getRx111_PRESCRIPTIONSEQUENCE()
Returns
RX1-11: "PRESCRIPTION SEQUENCE #" - creates it if necessary
|
CQ |
getRx112_QUANTITYDISPENSED()
Returns
RX1-12: "QUANTITY DISPENSED" - creates it if necessary
|
ST |
getRx113_UNUSEDNumber3()
Returns
RX1-13: "UNUSED Number 3" - creates it if necessary
|
CE |
getRx114_DRUGID()
Returns
RX1-14: "DRUG ID" - creates it if necessary
|
ID[] |
getRx115_COMPONENTDRUGIDS()
Returns all repetitions of COMPONENT DRUG IDS (RX1-15).
|
ID |
getRx115_COMPONENTDRUGIDS(int rep)
Returns a specific repetition of
RX1-15: "COMPONENT DRUG IDS" - creates it if necessary
|
int |
getRx115_COMPONENTDRUGIDSReps()
Returns a count of the current number of repetitions of COMPONENT DRUG IDS (RX1-15).
|
ID |
getRx116_PRESCRIPTIONTYPE()
Returns
RX1-16: "PRESCRIPTION TYPE" - creates it if necessary
|
ID |
getRx117_SUBSTITUTIONSTATUS()
Returns
RX1-17: "SUBSTITUTION STATUS" - creates it if necessary
|
ID |
getRx118_RXORDERSTATUS()
Returns
RX1-18: "RX ORDER STATUS" - creates it if necessary
|
NM |
getRx119_NUMBEROFREFILLS()
Returns
RX1-19: "NUMBER OF REFILLS" - creates it if necessary
|
ST |
getRx12_UNUSEDNumber2()
Returns
RX1-2: "UNUSED Number 2" - creates it if necessary
|
ST |
getRx120_UNUSEDNumber4()
Returns
RX1-20: "UNUSED Number 4" - creates it if necessary
|
NM |
getRx121_REFILLSREMAINING()
Returns
RX1-21: "REFILLS REMAINING" - creates it if necessary
|
ID |
getRx122_DEACLASS()
Returns
RX1-22: "DEA CLASS" - creates it if necessary
|
NM |
getRx123_ORDERINGMDSDEANUMBER()
Returns
RX1-23: "ORDERING MD'S DEA NUMBER" - creates it if necessary
|
ST |
getRx124_UNUSEDNumber5()
Returns
RX1-24: "UNUSED Number 5" - creates it if necessary
|
TS |
getRx125_LASTREFILLDATETIME()
Returns
RX1-25: "LAST REFILL DATE/TIME" - creates it if necessary
|
ST |
getRx126_RXNUMBER()
Returns
RX1-26: "RX NUMBER" - creates it if necessary
|
ID |
getRx127_PRNSTATUS()
Returns
RX1-27: "PRN STATUS" - creates it if necessary
|
TX[] |
getRx128_PHARMACYINSTRUCTIONS()
Returns all repetitions of PHARMACY INSTRUCTIONS (RX1-28).
|
TX |
getRx128_PHARMACYINSTRUCTIONS(int rep)
Returns a specific repetition of
RX1-28: "PHARMACY INSTRUCTIONS" - creates it if necessary
|
int |
getRx128_PHARMACYINSTRUCTIONSReps()
Returns a count of the current number of repetitions of PHARMACY INSTRUCTIONS (RX1-28).
|
TX[] |
getRx129_PATIENTINSTRUCTIONS()
Returns all repetitions of PATIENT INSTRUCTIONS (RX1-29).
|
TX |
getRx129_PATIENTINSTRUCTIONS(int rep)
Returns a specific repetition of
RX1-29: "PATIENT INSTRUCTIONS" - creates it if necessary
|
int |
getRx129_PATIENTINSTRUCTIONSReps()
Returns a count of the current number of repetitions of PATIENT INSTRUCTIONS (RX1-29).
|
ST |
getRx13_ROUTE()
Returns
RX1-3: "ROUTE" - creates it if necessary
|
TX[] |
getRx130_INSTRUCTIONS()
Returns all repetitions of INSTRUCTIONS (SIG) (RX1-30).
|
TX |
getRx130_INSTRUCTIONS(int rep)
Returns a specific repetition of
RX1-30: "INSTRUCTIONS (SIG)" - creates it if necessary
|
int |
getRx130_INSTRUCTIONSReps()
Returns a count of the current number of repetitions of INSTRUCTIONS (SIG) (RX1-30).
|
ST |
getRx14_SITEADMINISTERED()
Returns
RX1-4: "SITE ADMINISTERED" - creates it if necessary
|
CQ |
getRx15_IVSOLUTIONRATE()
Returns
RX1-5: "IV SOLUTION RATE" - creates it if necessary
|
CQ |
getRx16_DRUGSTRENGTH()
Returns
RX1-6: "DRUG STRENGTH" - creates it if necessary
|
NM |
getRx17_FINALCONCENTRATION()
Returns
RX1-7: "FINAL CONCENTRATION" - creates it if necessary
|
NM |
getRx18_FINALVOLUMEINML()
Returns
RX1-8: "FINAL VOLUME IN ML." - creates it if necessary
|
CM |
getRx19_DRUGDOSE()
Returns
RX1-9: "DRUG DOSE" - creates it if necessary
|
ST |
getRXNUMBER()
Returns
RX1-26: "RX NUMBER" - creates it if necessary
|
ID |
getRXORDERSTATUS()
Returns
RX1-18: "RX ORDER STATUS" - creates it if necessary
|
ST |
getSITEADMINISTERED()
Returns
RX1-4: "SITE ADMINISTERED" - creates it if necessary
|
ID |
getSUBSTITUTIONSTATUS()
Returns
RX1-17: "SUBSTITUTION STATUS" - creates it if necessary
|
ST |
getUNUSED()
Returns
RX1-1: "UNUSED" - creates it if necessary
|
ST |
getUNUSEDNumber2()
Returns
RX1-2: "UNUSED Number 2" - creates it if necessary
|
ST |
getUNUSEDNumber3()
Returns
RX1-13: "UNUSED Number 3" - creates it if necessary
|
ST |
getUNUSEDNumber4()
Returns
RX1-20: "UNUSED Number 4" - creates it if necessary
|
ST |
getUNUSEDNumber5()
Returns
RX1-24: "UNUSED Number 5" - creates it if necessary
|
ID |
insertCOMPONENTDRUGIDS(int rep)
Inserts a repetition of
RX1-15: "COMPONENT DRUG IDS" at a specific index
|
TX |
insertINSTRUCTIONS(int rep)
Inserts a repetition of
RX1-30: "INSTRUCTIONS (SIG)" at a specific index
|
TX |
insertPATIENTINSTRUCTIONS(int rep)
Inserts a repetition of
RX1-29: "PATIENT INSTRUCTIONS" at a specific index
|
TX |
insertPHARMACYINSTRUCTIONS(int rep)
Inserts a repetition of
RX1-28: "PHARMACY INSTRUCTIONS" at a specific index
|
ID |
insertRx115_COMPONENTDRUGIDS(int rep)
Inserts a repetition of
RX1-15: "COMPONENT DRUG IDS" at a specific index
|
TX |
insertRx128_PHARMACYINSTRUCTIONS(int rep)
Inserts a repetition of
RX1-28: "PHARMACY INSTRUCTIONS" at a specific index
|
TX |
insertRx129_PATIENTINSTRUCTIONS(int rep)
Inserts a repetition of
RX1-29: "PATIENT INSTRUCTIONS" at a specific index
|
TX |
insertRx130_INSTRUCTIONS(int rep)
Inserts a repetition of
RX1-30: "INSTRUCTIONS (SIG)" at a specific index
|
ID |
removeCOMPONENTDRUGIDS(int rep)
Removes a repetition of
RX1-15: "COMPONENT DRUG IDS" at a specific index
|
TX |
removeINSTRUCTIONS(int rep)
Removes a repetition of
RX1-30: "INSTRUCTIONS (SIG)" at a specific index
|
TX |
removePATIENTINSTRUCTIONS(int rep)
Removes a repetition of
RX1-29: "PATIENT INSTRUCTIONS" at a specific index
|
TX |
removePHARMACYINSTRUCTIONS(int rep)
Removes a repetition of
RX1-28: "PHARMACY INSTRUCTIONS" at a specific index
|
ID |
removeRx115_COMPONENTDRUGIDS(int rep)
Removes a repetition of
RX1-15: "COMPONENT DRUG IDS" at a specific index
|
TX |
removeRx128_PHARMACYINSTRUCTIONS(int rep)
Removes a repetition of
RX1-28: "PHARMACY INSTRUCTIONS" at a specific index
|
TX |
removeRx129_PATIENTINSTRUCTIONS(int rep)
Removes a repetition of
RX1-29: "PATIENT INSTRUCTIONS" at a specific index
|
TX |
removeRx130_INSTRUCTIONS(int rep)
Removes a repetition of
RX1-30: "INSTRUCTIONS (SIG)" 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 RX1(Group parent, ModelClassFactory factory)
public ST getRx11_UNUSED()
public ST getUNUSEDNumber2()
public ST getRx12_UNUSEDNumber2()
public ST getRx13_ROUTE()
public ST getSITEADMINISTERED()
public ST getRx14_SITEADMINISTERED()
public CQ getIVSOLUTIONRATE()
public CQ getRx15_IVSOLUTIONRATE()
public CQ getDRUGSTRENGTH()
public CQ getRx16_DRUGSTRENGTH()
public NM getFINALCONCENTRATION()
public NM getRx17_FINALCONCENTRATION()
public NM getFINALVOLUMEINML()
public NM getRx18_FINALVOLUMEINML()
public CM getDRUGDOSE()
public CM getRx19_DRUGDOSE()
public ID getDRUGROLE()
public ID getRx110_DRUGROLE()
public NM getPRESCRIPTIONSEQUENCE()
public NM getRx111_PRESCRIPTIONSEQUENCE()
public CQ getQUANTITYDISPENSED()
public CQ getRx112_QUANTITYDISPENSED()
public ST getUNUSEDNumber3()
public ST getRx113_UNUSEDNumber3()
public CE getRx114_DRUGID()
public ID[] getCOMPONENTDRUGIDS()
public ID[] getRx115_COMPONENTDRUGIDS()
public int getCOMPONENTDRUGIDSReps()
public ID getCOMPONENTDRUGIDS(int rep)
rep
- The repetition index (0-indexed)public ID getRx115_COMPONENTDRUGIDS(int rep)
rep
- The repetition index (0-indexed)public int getRx115_COMPONENTDRUGIDSReps()
public ID insertCOMPONENTDRUGIDS(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 insertRx115_COMPONENTDRUGIDS(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 removeCOMPONENTDRUGIDS(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 removeRx115_COMPONENTDRUGIDS(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 getPRESCRIPTIONTYPE()
public ID getRx116_PRESCRIPTIONTYPE()
public ID getSUBSTITUTIONSTATUS()
public ID getRx117_SUBSTITUTIONSTATUS()
public ID getRXORDERSTATUS()
public ID getRx118_RXORDERSTATUS()
public NM getNUMBEROFREFILLS()
public NM getRx119_NUMBEROFREFILLS()
public ST getUNUSEDNumber4()
public ST getRx120_UNUSEDNumber4()
public NM getREFILLSREMAINING()
public NM getRx121_REFILLSREMAINING()
public ID getDEACLASS()
public ID getRx122_DEACLASS()
public NM getORDERINGMDSDEANUMBER()
public NM getRx123_ORDERINGMDSDEANUMBER()
public ST getUNUSEDNumber5()
public ST getRx124_UNUSEDNumber5()
public TS getLASTREFILLDATETIME()
public TS getRx125_LASTREFILLDATETIME()
public ST getRXNUMBER()
public ST getRx126_RXNUMBER()
public ID getPRNSTATUS()
public ID getRx127_PRNSTATUS()
public TX[] getPHARMACYINSTRUCTIONS()
public TX[] getRx128_PHARMACYINSTRUCTIONS()
public int getPHARMACYINSTRUCTIONSReps()
public TX getPHARMACYINSTRUCTIONS(int rep)
rep
- The repetition index (0-indexed)public TX getRx128_PHARMACYINSTRUCTIONS(int rep)
rep
- The repetition index (0-indexed)public int getRx128_PHARMACYINSTRUCTIONSReps()
public TX insertPHARMACYINSTRUCTIONS(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 TX insertRx128_PHARMACYINSTRUCTIONS(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 TX removePHARMACYINSTRUCTIONS(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 TX removeRx128_PHARMACYINSTRUCTIONS(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 TX[] getPATIENTINSTRUCTIONS()
public TX[] getRx129_PATIENTINSTRUCTIONS()
public int getPATIENTINSTRUCTIONSReps()
public TX getPATIENTINSTRUCTIONS(int rep)
rep
- The repetition index (0-indexed)public TX getRx129_PATIENTINSTRUCTIONS(int rep)
rep
- The repetition index (0-indexed)public int getRx129_PATIENTINSTRUCTIONSReps()
public TX insertPATIENTINSTRUCTIONS(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 TX insertRx129_PATIENTINSTRUCTIONS(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 TX removePATIENTINSTRUCTIONS(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 TX removeRx129_PATIENTINSTRUCTIONS(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 TX[] getINSTRUCTIONS()
public TX[] getRx130_INSTRUCTIONS()
public int getINSTRUCTIONSReps()
public TX getINSTRUCTIONS(int rep)
rep
- The repetition index (0-indexed)public TX getRx130_INSTRUCTIONS(int rep)
rep
- The repetition index (0-indexed)public int getRx130_INSTRUCTIONSReps()
public TX insertINSTRUCTIONS(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 TX insertRx130_INSTRUCTIONS(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 TX removeINSTRUCTIONS(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 TX removeRx130_INSTRUCTIONS(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
Copyright © 2001–2017 University Health Network. All rights reserved.