Package ca.uhn.hl7v2.model.v22.segment
Class RXE
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.RXE
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 RXE message segment (PHARMACY ENCODED ORDER). This segment has the following fields:
- RXE-1: Quantity / timing (TQ) optional repeating
- RXE-2: Give Code (CE)
- RXE-3: Give Amount - Minimum (NM)
- RXE-4: Give Amount - Maximum (NM) optional
- RXE-5: Give Units (CE)
- RXE-6: Give Dosage Form (CE) optional
- RXE-7: Provider's Administration Instructions (CE) optional repeating
- RXE-8: Deliver-to location (CM_LA1) optional
- RXE-9: Substitution Status (ID) optional
- RXE-10: Dispense Amount (NM) optional
- RXE-11: Dispense Units (CE) optional
- RXE-12: Number of Refills (NM) optional
- RXE-13: Ordering Provider's DEA Number (CN) optional
- RXE-14: Pharmacist Verifier ID (CN) optional
- RXE-15: Prescription Number (ST)
- RXE-16: Number of Refills Remaining (NM) optional
- RXE-17: Number of refills / doses dispensed (NM) optional
- RXE-18: Date / time of most recent refill or dose dispensed (TS) optional
- RXE-19: Total Daily Dose (CQ_QUANTITY) optional
- RXE-20: Needs Human Review (ID) optional
- RXE-21: Pharmacy Special Dispensing Instructions (CE) optional
- RXE-22: Give Per (Time Unit) (ST) optional
- RXE-23: Give Rate Amount (CE) optional
- RXE-24: Give Rate Units (CE) 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 RXE-18: "Date / time of most recent refill or dose dispensed" - creates it if necessaryReturns RXE-8: "Deliver-to location" - creates it if necessaryReturns RXE-10: "Dispense Amount" - creates it if necessaryReturns RXE-11: "Dispense Units" - creates it if necessaryReturns RXE-4: "Give Amount - Maximum" - creates it if necessaryReturns RXE-3: "Give Amount - Minimum" - creates it if necessaryReturns RXE-2: "Give Code" - creates it if necessaryReturns RXE-6: "Give Dosage Form" - creates it if necessaryReturns RXE-22: "Give Per (Time Unit)" - creates it if necessaryReturns RXE-23: "Give Rate Amount" - creates it if necessaryReturns RXE-24: "Give Rate Units" - creates it if necessaryReturns RXE-5: "Give Units" - creates it if necessaryReturns RXE-20: "Needs Human Review" - creates it if necessaryReturns RXE-12: "Number of Refills" - creates it if necessaryReturns RXE-17: "Number of refills / doses dispensed" - creates it if necessaryReturns RXE-16: "Number of Refills Remaining" - creates it if necessaryReturns RXE-13: "Ordering Provider's DEA Number" - creates it if necessaryReturns RXE-14: "Pharmacist Verifier ID" - creates it if necessaryReturns RXE-21: "Pharmacy Special Dispensing Instructions" - creates it if necessaryReturns RXE-15: "Prescription Number" - creates it if necessaryCE[]Returns all repetitions of Provider's Administration Instructions (RXE-7).Returns a specific repetition of RXE-7: "Provider's Administration Instructions" - creates it if necessaryintReturns a count of the current number of repetitions of Provider's Administration Instructions (RXE-7).TQ[]Returns all repetitions of Quantity / timing (RXE-1).getQuantityTiming(int rep) Returns a specific repetition of RXE-1: "Quantity / timing" - creates it if necessaryintReturns a count of the current number of repetitions of Quantity / timing (RXE-1).TQ[]Returns all repetitions of Quantity / timing (RXE-1).getRxe1_QuantityTiming(int rep) Returns a specific repetition of RXE-1: "Quantity / timing" - creates it if necessaryintReturns a count of the current number of repetitions of Quantity / timing (RXE-1).Returns RXE-10: "Dispense Amount" - creates it if necessaryReturns RXE-11: "Dispense Units" - creates it if necessaryReturns RXE-12: "Number of Refills" - creates it if necessaryReturns RXE-13: "Ordering Provider's DEA Number" - creates it if necessaryReturns RXE-14: "Pharmacist Verifier ID" - creates it if necessaryReturns RXE-15: "Prescription Number" - creates it if necessaryReturns RXE-16: "Number of Refills Remaining" - creates it if necessaryReturns RXE-17: "Number of refills / doses dispensed" - creates it if necessaryReturns RXE-18: "Date / time of most recent refill or dose dispensed" - creates it if necessaryReturns RXE-19: "Total Daily Dose" - creates it if necessaryReturns RXE-2: "Give Code" - creates it if necessaryReturns RXE-20: "Needs Human Review" - creates it if necessaryReturns RXE-21: "Pharmacy Special Dispensing Instructions" - creates it if necessaryReturns RXE-22: "Give Per (Time Unit)" - creates it if necessaryReturns RXE-23: "Give Rate Amount" - creates it if necessaryReturns RXE-24: "Give Rate Units" - creates it if necessaryReturns RXE-3: "Give Amount - Minimum" - creates it if necessaryReturns RXE-4: "Give Amount - Maximum" - creates it if necessaryReturns RXE-5: "Give Units" - creates it if necessaryReturns RXE-6: "Give Dosage Form" - creates it if necessaryCE[]Returns all repetitions of Provider's Administration Instructions (RXE-7).Returns a specific repetition of RXE-7: "Provider's Administration Instructions" - creates it if necessaryintReturns a count of the current number of repetitions of Provider's Administration Instructions (RXE-7).Returns RXE-8: "Deliver-to location" - creates it if necessaryReturns RXE-9: "Substitution Status" - creates it if necessaryReturns RXE-9: "Substitution Status" - creates it if necessaryReturns RXE-19: "Total Daily Dose" - creates it if necessaryInserts a repetition of RXE-7: "Provider's Administration Instructions" at a specific indexinsertQuantityTiming(int rep) Inserts a repetition of RXE-1: "Quantity / timing" at a specific indexinsertRxe1_QuantityTiming(int rep) Inserts a repetition of RXE-1: "Quantity / timing" at a specific indexInserts a repetition of RXE-7: "Provider's Administration Instructions" at a specific indexRemoves a repetition of RXE-7: "Provider's Administration Instructions" at a specific indexremoveQuantityTiming(int rep) Removes a repetition of RXE-1: "Quantity / timing" at a specific indexremoveRxe1_QuantityTiming(int rep) Removes a repetition of RXE-1: "Quantity / timing" at a specific indexRemoves a repetition of RXE-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
-
RXE
Creates a new RXE segment
-
-
Method Details
-
getQuantityTiming
Returns all repetitions of Quantity / timing (RXE-1). -
getRxe1_QuantityTiming
Returns all repetitions of Quantity / timing (RXE-1). -
getQuantityTimingReps
Returns a count of the current number of repetitions of Quantity / timing (RXE-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getQuantityTiming
Returns a specific repetition of RXE-1: "Quantity / timing" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxe1_QuantityTiming
Returns a specific repetition of RXE-1: "Quantity / timing" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxe1_QuantityTimingReps
Returns a count of the current number of repetitions of Quantity / timing (RXE-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertQuantityTiming
Inserts a repetition of RXE-1: "Quantity / timing" 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)
-
insertRxe1_QuantityTiming
Inserts a repetition of RXE-1: "Quantity / timing" 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)
-
removeQuantityTiming
Removes a repetition of RXE-1: "Quantity / timing" 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)
-
removeRxe1_QuantityTiming
Removes a repetition of RXE-1: "Quantity / timing" 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)
-
getGiveCode
Returns RXE-2: "Give Code" - creates it if necessary -
getRxe2_GiveCode
Returns RXE-2: "Give Code" - creates it if necessary -
getGiveAmountMinimum
Returns RXE-3: "Give Amount - Minimum" - creates it if necessary -
getRxe3_GiveAmountMinimum
Returns RXE-3: "Give Amount - Minimum" - creates it if necessary -
getGiveAmountMaximum
Returns RXE-4: "Give Amount - Maximum" - creates it if necessary -
getRxe4_GiveAmountMaximum
Returns RXE-4: "Give Amount - Maximum" - creates it if necessary -
getGiveUnits
Returns RXE-5: "Give Units" - creates it if necessary -
getRxe5_GiveUnits
Returns RXE-5: "Give Units" - creates it if necessary -
getGiveDosageForm
Returns RXE-6: "Give Dosage Form" - creates it if necessary -
getRxe6_GiveDosageForm
Returns RXE-6: "Give Dosage Form" - creates it if necessary -
getProviderSAdministrationInstructions
Returns all repetitions of Provider's Administration Instructions (RXE-7). -
getRxe7_ProviderSAdministrationInstructions
Returns all repetitions of Provider's Administration Instructions (RXE-7). -
getProviderSAdministrationInstructionsReps
Returns a count of the current number of repetitions of Provider's Administration Instructions (RXE-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 RXE-7: "Provider's Administration Instructions" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxe7_ProviderSAdministrationInstructions
Returns a specific repetition of RXE-7: "Provider's Administration Instructions" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getRxe7_ProviderSAdministrationInstructionsReps
Returns a count of the current number of repetitions of Provider's Administration Instructions (RXE-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 RXE-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)
-
insertRxe7_ProviderSAdministrationInstructions
Inserts a repetition of RXE-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 RXE-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)
-
removeRxe7_ProviderSAdministrationInstructions
Removes a repetition of RXE-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 RXE-8: "Deliver-to location" - creates it if necessary -
getRxe8_DeliverToLocation
Returns RXE-8: "Deliver-to location" - creates it if necessary -
getSubstitutionStatus
Returns RXE-9: "Substitution Status" - creates it if necessary -
getRxe9_SubstitutionStatus
Returns RXE-9: "Substitution Status" - creates it if necessary -
getDispenseAmount
Returns RXE-10: "Dispense Amount" - creates it if necessary -
getRxe10_DispenseAmount
Returns RXE-10: "Dispense Amount" - creates it if necessary -
getDispenseUnits
Returns RXE-11: "Dispense Units" - creates it if necessary -
getRxe11_DispenseUnits
Returns RXE-11: "Dispense Units" - creates it if necessary -
getNumberOfRefills
Returns RXE-12: "Number of Refills" - creates it if necessary -
getRxe12_NumberOfRefills
Returns RXE-12: "Number of Refills" - creates it if necessary -
getOrderingProviderSDEANumber
Returns RXE-13: "Ordering Provider's DEA Number" - creates it if necessary -
getRxe13_OrderingProviderSDEANumber
Returns RXE-13: "Ordering Provider's DEA Number" - creates it if necessary -
getPharmacistVerifierID
Returns RXE-14: "Pharmacist Verifier ID" - creates it if necessary -
getRxe14_PharmacistVerifierID
Returns RXE-14: "Pharmacist Verifier ID" - creates it if necessary -
getPrescriptionNumber
Returns RXE-15: "Prescription Number" - creates it if necessary -
getRxe15_PrescriptionNumber
Returns RXE-15: "Prescription Number" - creates it if necessary -
getNumberOfRefillsRemaining
Returns RXE-16: "Number of Refills Remaining" - creates it if necessary -
getRxe16_NumberOfRefillsRemaining
Returns RXE-16: "Number of Refills Remaining" - creates it if necessary -
getNumberOfRefillsDosesDispensed
Returns RXE-17: "Number of refills / doses dispensed" - creates it if necessary -
getRxe17_NumberOfRefillsDosesDispensed
Returns RXE-17: "Number of refills / doses dispensed" - creates it if necessary -
getDateTimeOfMostRecentRefillOrDoseDispensed
Returns RXE-18: "Date / time of most recent refill or dose dispensed" - creates it if necessary -
getRxe18_DateTimeOfMostRecentRefillOrDoseDispensed
Returns RXE-18: "Date / time of most recent refill or dose dispensed" - creates it if necessary -
getTotalDailyDose
Returns RXE-19: "Total Daily Dose" - creates it if necessary -
getRxe19_TotalDailyDose
Returns RXE-19: "Total Daily Dose" - creates it if necessary -
getNeedsHumanReview
Returns RXE-20: "Needs Human Review" - creates it if necessary -
getRxe20_NeedsHumanReview
Returns RXE-20: "Needs Human Review" - creates it if necessary -
getPharmacySpecialDispensingInstructions
Returns RXE-21: "Pharmacy Special Dispensing Instructions" - creates it if necessary -
getRxe21_PharmacySpecialDispensingInstructions
Returns RXE-21: "Pharmacy Special Dispensing Instructions" - creates it if necessary -
getGivePerTimeUnit
Returns RXE-22: "Give Per (Time Unit)" - creates it if necessary -
getRxe22_GivePerTimeUnit
Returns RXE-22: "Give Per (Time Unit)" - creates it if necessary -
getGiveRateAmount
Returns RXE-23: "Give Rate Amount" - creates it if necessary -
getRxe23_GiveRateAmount
Returns RXE-23: "Give Rate Amount" - creates it if necessary -
getGiveRateUnits
Returns RXE-24: "Give Rate Units" - creates it if necessary -
getRxe24_GiveRateUnits
Returns RXE-24: "Give Rate Units" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-