Package ca.uhn.hl7v2.model.v22.segment
Class RXO
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.RXO
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 RXO message segment (PHARMACY PRESCRIPTION ORDER). This segment has the following fields:
- RXO-1: Requested Give Code (CE)
- RXO-2: Requested Give Amount - Minimum (NM)
- RXO-3: Requested Give Amount - Maximum (NM) optional
- RXO-4: Requested Give Units (CE)
- RXO-5: Requested Dosage Form (CE) optional
- RXO-6: Provider's Pharmacy Instructions (CE) optional repeating
- RXO-7: Provider's Administration Instructions (CE) optional repeating
- RXO-8: Deliver-to location (CM_LA1) optional
- RXO-9: Allow Substitutions (ID) optional
- RXO-10: Requested Dispense Code (CE) optional
- RXO-11: Requested Dispense Amount (NM) optional
- RXO-12: Requested Dispense Units (CE) optional
- RXO-13: Number of Refills (NM) optional
- RXO-14: Ordering Provider's DEA Number (CN) optional
- RXO-15: Pharmacist Verifier ID (CN) optional
- RXO-16: Needs Human Review (ID) optional
- RXO-17: Requested Give Per (Time Unit) (ST) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns RXO-9: "Allow Substitutions" - creates it if necessaryReturns RXO-8: "Deliver-to location" - creates it if necessaryReturns RXO-16: "Needs Human Review" - creates it if necessaryReturns RXO-13: "Number of Refills" - creates it if necessaryReturns RXO-14: "Ordering Provider's DEA Number" - creates it if necessaryReturns RXO-15: "Pharmacist Verifier ID" - creates it if necessaryCE[]Returns all repetitions of Provider's Administration Instructions (RXO-7).Returns a specific repetition of RXO-7: "Provider's Administration Instructions" - creates it if necessaryintReturns a count of the current number of repetitions of Provider's Administration Instructions (RXO-7).CE[]Returns all repetitions of Provider's Pharmacy Instructions (RXO-6).getProviderSPharmacyInstructions(int rep) Returns a specific repetition of RXO-6: "Provider's Pharmacy Instructions" - creates it if necessaryintReturns a count of the current number of repetitions of Provider's Pharmacy Instructions (RXO-6).Returns RXO-11: "Requested Dispense Amount" - creates it if necessaryReturns RXO-10: "Requested Dispense Code" - creates it if necessaryReturns RXO-12: "Requested Dispense Units" - creates it if necessaryReturns RXO-5: "Requested Dosage Form" - creates it if necessaryReturns RXO-3: "Requested Give Amount - Maximum" - creates it if necessaryReturns RXO-2: "Requested Give Amount - Minimum" - creates it if necessaryReturns RXO-1: "Requested Give Code" - creates it if necessaryReturns RXO-17: "Requested Give Per (Time Unit)" - creates it if necessaryReturns RXO-4: "Requested Give Units" - creates it if necessaryReturns RXO-1: "Requested Give Code" - creates it if necessaryReturns RXO-10: "Requested Dispense Code" - creates it if necessaryReturns RXO-11: "Requested Dispense Amount" - creates it if necessaryReturns RXO-12: "Requested Dispense Units" - creates it if necessaryReturns RXO-13: "Number of Refills" - creates it if necessaryReturns RXO-14: "Ordering Provider's DEA Number" - creates it if necessaryReturns RXO-15: "Pharmacist Verifier ID" - creates it if necessaryReturns RXO-16: "Needs Human Review" - creates it if necessaryReturns RXO-17: "Requested Give Per (Time Unit)" - creates it if necessaryReturns RXO-2: "Requested Give Amount - Minimum" - creates it if necessaryReturns RXO-3: "Requested Give Amount - Maximum" - creates it if necessaryReturns RXO-4: "Requested Give Units" - creates it if necessaryReturns RXO-5: "Requested Dosage Form" - creates it if necessaryCE[]Returns all repetitions of Provider's Pharmacy Instructions (RXO-6).Returns a specific repetition of RXO-6: "Provider's Pharmacy Instructions" - creates it if necessaryintReturns a count of the current number of repetitions of Provider's Pharmacy Instructions (RXO-6).CE[]Returns all repetitions of Provider's Administration Instructions (RXO-7).Returns a specific repetition of RXO-7: "Provider's Administration Instructions" - creates it if necessaryintReturns a count of the current number of repetitions of Provider's Administration Instructions (RXO-7).Returns RXO-8: "Deliver-to location" - creates it if necessaryReturns RXO-9: "Allow Substitutions" - creates it if necessaryInserts a repetition of RXO-7: "Provider's Administration Instructions" at a specific indexinsertProviderSPharmacyInstructions(int rep) Inserts a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific indexInserts a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific indexInserts a repetition of RXO-7: "Provider's Administration Instructions" at a specific indexRemoves a repetition of RXO-7: "Provider's Administration Instructions" at a specific indexremoveProviderSPharmacyInstructions(int rep) Removes a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific indexRemoves a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific indexRemoves a repetition of RXO-7: "Provider's Administration Instructions" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
RXO
Creates a new RXO segment
-
-
Method Details
-
getRequestedGiveCode
Returns RXO-1: "Requested Give Code" - creates it if necessary -
getRxo1_RequestedGiveCode
Returns RXO-1: "Requested Give Code" - creates it if necessary -
getRequestedGiveAmountMinimum
Returns RXO-2: "Requested Give Amount - Minimum" - creates it if necessary -
getRxo2_RequestedGiveAmountMinimum
Returns RXO-2: "Requested Give Amount - Minimum" - creates it if necessary -
getRequestedGiveAmountMaximum
Returns RXO-3: "Requested Give Amount - Maximum" - creates it if necessary -
getRxo3_RequestedGiveAmountMaximum
Returns RXO-3: "Requested Give Amount - Maximum" - creates it if necessary -
getRequestedGiveUnits
Returns RXO-4: "Requested Give Units" - creates it if necessary -
getRxo4_RequestedGiveUnits
Returns RXO-4: "Requested Give Units" - creates it if necessary -
getRequestedDosageForm
Returns RXO-5: "Requested Dosage Form" - creates it if necessary -
getRxo5_RequestedDosageForm
Returns RXO-5: "Requested Dosage Form" - creates it if necessary -
getProviderSPharmacyInstructions
Returns all repetitions of Provider's Pharmacy Instructions (RXO-6). -
getRxo6_ProviderSPharmacyInstructions
Returns all repetitions of Provider's Pharmacy Instructions (RXO-6). -
getProviderSPharmacyInstructionsReps
Returns a count of the current number of repetitions of Provider's Pharmacy Instructions (RXO-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProviderSPharmacyInstructions
Returns a specific repetition of RXO-6: "Provider's Pharmacy Instructions" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxo6_ProviderSPharmacyInstructions
Returns a specific repetition of RXO-6: "Provider's Pharmacy Instructions" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxo6_ProviderSPharmacyInstructionsReps
Returns a count of the current number of repetitions of Provider's Pharmacy Instructions (RXO-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProviderSPharmacyInstructions
Inserts a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertRxo6_ProviderSPharmacyInstructions
Inserts a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeProviderSPharmacyInstructions
Removes a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeRxo6_ProviderSPharmacyInstructions
Removes a repetition of RXO-6: "Provider's Pharmacy Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getProviderSAdministrationInstructions
Returns all repetitions of Provider's Administration Instructions (RXO-7). -
getRxo7_ProviderSAdministrationInstructions
Returns all repetitions of Provider's Administration Instructions (RXO-7). -
getProviderSAdministrationInstructionsReps
Returns a count of the current number of repetitions of Provider's Administration Instructions (RXO-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProviderSAdministrationInstructions
Returns a specific repetition of RXO-7: "Provider's Administration Instructions" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxo7_ProviderSAdministrationInstructions
Returns a specific repetition of RXO-7: "Provider's Administration Instructions" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxo7_ProviderSAdministrationInstructionsReps
Returns a count of the current number of repetitions of Provider's Administration Instructions (RXO-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProviderSAdministrationInstructions
Inserts a repetition of RXO-7: "Provider's Administration Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertRxo7_ProviderSAdministrationInstructions
Inserts a repetition of RXO-7: "Provider's Administration Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeProviderSAdministrationInstructions
Removes a repetition of RXO-7: "Provider's Administration Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeRxo7_ProviderSAdministrationInstructions
Removes a repetition of RXO-7: "Provider's Administration Instructions" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getDeliverToLocation
Returns RXO-8: "Deliver-to location" - creates it if necessary -
getRxo8_DeliverToLocation
Returns RXO-8: "Deliver-to location" - creates it if necessary -
getAllowSubstitutions
Returns RXO-9: "Allow Substitutions" - creates it if necessary -
getRxo9_AllowSubstitutions
Returns RXO-9: "Allow Substitutions" - creates it if necessary -
getRequestedDispenseCode
Returns RXO-10: "Requested Dispense Code" - creates it if necessary -
getRxo10_RequestedDispenseCode
Returns RXO-10: "Requested Dispense Code" - creates it if necessary -
getRequestedDispenseAmount
Returns RXO-11: "Requested Dispense Amount" - creates it if necessary -
getRxo11_RequestedDispenseAmount
Returns RXO-11: "Requested Dispense Amount" - creates it if necessary -
getRequestedDispenseUnits
Returns RXO-12: "Requested Dispense Units" - creates it if necessary -
getRxo12_RequestedDispenseUnits
Returns RXO-12: "Requested Dispense Units" - creates it if necessary -
getNumberOfRefills
Returns RXO-13: "Number of Refills" - creates it if necessary -
getRxo13_NumberOfRefills
Returns RXO-13: "Number of Refills" - creates it if necessary -
getOrderingProviderSDEANumber
Returns RXO-14: "Ordering Provider's DEA Number" - creates it if necessary -
getRxo14_OrderingProviderSDEANumber
Returns RXO-14: "Ordering Provider's DEA Number" - creates it if necessary -
getPharmacistVerifierID
Returns RXO-15: "Pharmacist Verifier ID" - creates it if necessary -
getRxo15_PharmacistVerifierID
Returns RXO-15: "Pharmacist Verifier ID" - creates it if necessary -
getNeedsHumanReview
Returns RXO-16: "Needs Human Review" - creates it if necessary -
getRxo16_NeedsHumanReview
Returns RXO-16: "Needs Human Review" - creates it if necessary -
getRequestedGivePerTimeUnit
Returns RXO-17: "Requested Give Per (Time Unit)" - creates it if necessary -
getRxo17_RequestedGivePerTimeUnit
Returns RXO-17: "Requested Give Per (Time Unit)" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-