ca.uhn.hl7v2.model.v24.segment
Class RXA

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractSegment
      extended by ca.uhn.hl7v2.model.v24.segment.RXA
All Implemented Interfaces:
Segment, Structure, Serializable

public class RXA
extends AbstractSegment

Represents an HL7 RXA message segment (Pharmacy/Treatment Administration). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
RXA(Group parent, ModelClassFactory factory)
          Creates a new RXA segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 ID getActionCodeRXA()
          Returns RXA-21: "Action Code-RXA" - creates it if necessary
 NM getAdministeredAmount()
          Returns RXA-6: "Administered Amount" - creates it if necessary
 LA2 getAdministeredAtLocation()
          Returns RXA-11: "Administered-at Location" - creates it if necessary
 CE getAdministeredCode()
          Returns RXA-5: "Administered Code" - creates it if necessary
 CE getAdministeredDosageForm()
          Returns RXA-8: "Administered Dosage Form" - creates it if necessary
 ST getAdministeredPerTimeUnit()
          Returns RXA-12: "Administered Per (Time Unit)" - creates it if necessary
 NM getAdministeredStrength()
          Returns RXA-13: "Administered Strength" - creates it if necessary
 CE getAdministeredStrengthUnits()
          Returns RXA-14: "Administered Strength Units" - creates it if necessary
 CE getAdministeredUnits()
          Returns RXA-7: "Administered Units" - creates it if necessary
 XCN[] getAdministeringProvider()
          Returns all repetitions of Administering Provider (RXA-10).
 XCN getAdministeringProvider(int rep)
          Returns a specific repetition of RXA-10: "Administering Provider" - creates it if necessary
 int getAdministeringProviderReps()
          Returns a count of the current number of repetitions of Administering Provider (RXA-10).
 CE[] getAdministrationNotes()
          Returns all repetitions of Administration Notes (RXA-9).
 CE getAdministrationNotes(int rep)
          Returns a specific repetition of RXA-9: "Administration Notes" - creates it if necessary
 int getAdministrationNotesReps()
          Returns a count of the current number of repetitions of Administration Notes (RXA-9).
 NM getAdministrationSubIDCounter()
          Returns RXA-2: "Administration Sub-ID Counter" - creates it if necessary
 ID getCompletionStatus()
          Returns RXA-20: "Completion Status" - creates it if necessary
 TS getDateTimeEndOfAdministration()
          Returns RXA-4: "Date/Time End of Administration" - creates it if necessary
 TS getDateTimeStartOfAdministration()
          Returns RXA-3: "Date/Time Start of Administration" - creates it if necessary
 NM getGiveSubIDCounter()
          Returns RXA-1: "Give Sub-ID Counter" - creates it if necessary
 CE[] getIndication()
          Returns all repetitions of Indication (RXA-19).
 CE getIndication(int rep)
          Returns a specific repetition of RXA-19: "Indication" - creates it if necessary
 int getIndicationReps()
          Returns a count of the current number of repetitions of Indication (RXA-19).
 NM getRxa1_GiveSubIDCounter()
          Returns RXA-1: "Give Sub-ID Counter" - creates it if necessary
 XCN getRxa10_AdministeringProvider(int rep)
          Returns a specific repetition of RXA-10: "Administering Provider" - creates it if necessary
 int getRxa10_AdministeringProviderReps()
          Returns a count of the current number of repetitions of Administering Provider (RXA-10).
 LA2 getRxa11_AdministeredAtLocation()
          Returns RXA-11: "Administered-at Location" - creates it if necessary
 ST getRxa12_AdministeredPerTimeUnit()
          Returns RXA-12: "Administered Per (Time Unit)" - creates it if necessary
 NM getRxa13_AdministeredStrength()
          Returns RXA-13: "Administered Strength" - creates it if necessary
 CE getRxa14_AdministeredStrengthUnits()
          Returns RXA-14: "Administered Strength Units" - creates it if necessary
 ST getRxa15_SubstanceLotNumber(int rep)
          Returns a specific repetition of RXA-15: "Substance Lot Number" - creates it if necessary
 int getRxa15_SubstanceLotNumberReps()
          Returns a count of the current number of repetitions of Substance Lot Number (RXA-15).
 TS getRxa16_SubstanceExpirationDate(int rep)
          Returns a specific repetition of RXA-16: "Substance Expiration Date" - creates it if necessary
 int getRxa16_SubstanceExpirationDateReps()
          Returns a count of the current number of repetitions of Substance Expiration Date (RXA-16).
 CE getRxa17_SubstanceManufacturerName(int rep)
          Returns a specific repetition of RXA-17: "Substance Manufacturer Name" - creates it if necessary
 int getRxa17_SubstanceManufacturerNameReps()
          Returns a count of the current number of repetitions of Substance Manufacturer Name (RXA-17).
 CE getRxa18_SubstanceTreatmentRefusalReason(int rep)
          Returns a specific repetition of RXA-18: "Substance/Treatment Refusal Reason" - creates it if necessary
 int getRxa18_SubstanceTreatmentRefusalReasonReps()
          Returns a count of the current number of repetitions of Substance/Treatment Refusal Reason (RXA-18).
 CE getRxa19_Indication(int rep)
          Returns a specific repetition of RXA-19: "Indication" - creates it if necessary
 int getRxa19_IndicationReps()
          Returns a count of the current number of repetitions of Indication (RXA-19).
 NM getRxa2_AdministrationSubIDCounter()
          Returns RXA-2: "Administration Sub-ID Counter" - creates it if necessary
 ID getRxa20_CompletionStatus()
          Returns RXA-20: "Completion Status" - creates it if necessary
 ID getRxa21_ActionCodeRXA()
          Returns RXA-21: "Action Code-RXA" - creates it if necessary
 TS getRxa22_SystemEntryDateTime()
          Returns RXA-22: "System Entry Date/Time" - creates it if necessary
 TS getRxa3_DateTimeStartOfAdministration()
          Returns RXA-3: "Date/Time Start of Administration" - creates it if necessary
 TS getRxa4_DateTimeEndOfAdministration()
          Returns RXA-4: "Date/Time End of Administration" - creates it if necessary
 CE getRxa5_AdministeredCode()
          Returns RXA-5: "Administered Code" - creates it if necessary
 NM getRxa6_AdministeredAmount()
          Returns RXA-6: "Administered Amount" - creates it if necessary
 CE getRxa7_AdministeredUnits()
          Returns RXA-7: "Administered Units" - creates it if necessary
 CE getRxa8_AdministeredDosageForm()
          Returns RXA-8: "Administered Dosage Form" - creates it if necessary
 CE getRxa9_AdministrationNotes(int rep)
          Returns a specific repetition of RXA-9: "Administration Notes" - creates it if necessary
 int getRxa9_AdministrationNotesReps()
          Returns a count of the current number of repetitions of Administration Notes (RXA-9).
 TS[] getSubstanceExpirationDate()
          Returns all repetitions of Substance Expiration Date (RXA-16).
 TS getSubstanceExpirationDate(int rep)
          Returns a specific repetition of RXA-16: "Substance Expiration Date" - creates it if necessary
 int getSubstanceExpirationDateReps()
          Returns a count of the current number of repetitions of Substance Expiration Date (RXA-16).
 ST[] getSubstanceLotNumber()
          Returns all repetitions of Substance Lot Number (RXA-15).
 ST getSubstanceLotNumber(int rep)
          Returns a specific repetition of RXA-15: "Substance Lot Number" - creates it if necessary
 int getSubstanceLotNumberReps()
          Returns a count of the current number of repetitions of Substance Lot Number (RXA-15).
 CE[] getSubstanceManufacturerName()
          Returns all repetitions of Substance Manufacturer Name (RXA-17).
 CE getSubstanceManufacturerName(int rep)
          Returns a specific repetition of RXA-17: "Substance Manufacturer Name" - creates it if necessary
 int getSubstanceManufacturerNameReps()
          Returns a count of the current number of repetitions of Substance Manufacturer Name (RXA-17).
 CE[] getSubstanceTreatmentRefusalReason()
          Returns all repetitions of Substance/Treatment Refusal Reason (RXA-18).
 CE getSubstanceTreatmentRefusalReason(int rep)
          Returns a specific repetition of RXA-18: "Substance/Treatment Refusal Reason" - creates it if necessary
 int getSubstanceTreatmentRefusalReasonReps()
          Returns a count of the current number of repetitions of Substance/Treatment Refusal Reason (RXA-18).
 TS getSystemEntryDateTime()
          Returns RXA-22: "System Entry Date/Time" - creates it if necessary
 XCN insertAdministeringProvider(int rep)
          Inserts a repetition of RXA-10: "Administering Provider" at a specific index
 CE insertAdministrationNotes(int rep)
          Inserts a repetition of RXA-9: "Administration Notes" at a specific index
 CE insertIndication(int rep)
          Inserts a repetition of RXA-19: "Indication" at a specific index
 XCN insertRxa10_AdministeringProvider(int rep)
          Inserts a repetition of RXA-10: "Administering Provider" at a specific index
 ST insertRxa15_SubstanceLotNumber(int rep)
          Inserts a repetition of RXA-15: "Substance Lot Number" at a specific index
 TS insertRxa16_SubstanceExpirationDate(int rep)
          Inserts a repetition of RXA-16: "Substance Expiration Date" at a specific index
 CE insertRxa17_SubstanceManufacturerName(int rep)
          Inserts a repetition of RXA-17: "Substance Manufacturer Name" at a specific index
 CE insertRxa18_SubstanceTreatmentRefusalReason(int rep)
          Inserts a repetition of RXA-18: "Substance/Treatment Refusal Reason" at a specific index
 CE insertRxa19_Indication(int rep)
          Inserts a repetition of RXA-19: "Indication" at a specific index
 CE insertRxa9_AdministrationNotes(int rep)
          Inserts a repetition of RXA-9: "Administration Notes" at a specific index
 TS insertSubstanceExpirationDate(int rep)
          Inserts a repetition of RXA-16: "Substance Expiration Date" at a specific index
 ST insertSubstanceLotNumber(int rep)
          Inserts a repetition of RXA-15: "Substance Lot Number" at a specific index
 CE insertSubstanceManufacturerName(int rep)
          Inserts a repetition of RXA-17: "Substance Manufacturer Name" at a specific index
 CE insertSubstanceTreatmentRefusalReason(int rep)
          Inserts a repetition of RXA-18: "Substance/Treatment Refusal Reason" at a specific index
 XCN removeAdministeringProvider(int rep)
          Removes a repetition of RXA-10: "Administering Provider" at a specific index
 CE removeAdministrationNotes(int rep)
          Removes a repetition of RXA-9: "Administration Notes" at a specific index
 CE removeIndication(int rep)
          Removes a repetition of RXA-19: "Indication" at a specific index
 XCN removeRxa10_AdministeringProvider(int rep)
          Removes a repetition of RXA-10: "Administering Provider" at a specific index
 ST removeRxa15_SubstanceLotNumber(int rep)
          Removes a repetition of RXA-15: "Substance Lot Number" at a specific index
 TS removeRxa16_SubstanceExpirationDate(int rep)
          Removes a repetition of RXA-16: "Substance Expiration Date" at a specific index
 CE removeRxa17_SubstanceManufacturerName(int rep)
          Removes a repetition of RXA-17: "Substance Manufacturer Name" at a specific index
 CE removeRxa18_SubstanceTreatmentRefusalReason(int rep)
          Removes a repetition of RXA-18: "Substance/Treatment Refusal Reason" at a specific index
 CE removeRxa19_Indication(int rep)
          Removes a repetition of RXA-19: "Indication" at a specific index
 CE removeRxa9_AdministrationNotes(int rep)
          Removes a repetition of RXA-9: "Administration Notes" at a specific index
 TS removeSubstanceExpirationDate(int rep)
          Removes a repetition of RXA-16: "Substance Expiration Date" at a specific index
 ST removeSubstanceLotNumber(int rep)
          Removes a repetition of RXA-15: "Substance Lot Number" at a specific index
 CE removeSubstanceManufacturerName(int rep)
          Removes a repetition of RXA-17: "Substance Manufacturer Name" at a specific index
 CE removeSubstanceTreatmentRefusalReason(int rep)
          Removes a repetition of RXA-18: "Substance/Treatment Refusal Reason" 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

RXA

public RXA(Group parent,
           ModelClassFactory factory)
Creates a new RXA segment

Method Detail

getGiveSubIDCounter

public NM getGiveSubIDCounter()
Returns RXA-1: "Give Sub-ID Counter" - creates it if necessary


getRxa1_GiveSubIDCounter

public NM getRxa1_GiveSubIDCounter()
Returns RXA-1: "Give Sub-ID Counter" - creates it if necessary


getAdministrationSubIDCounter

public NM getAdministrationSubIDCounter()
Returns RXA-2: "Administration Sub-ID Counter" - creates it if necessary


getRxa2_AdministrationSubIDCounter

public NM getRxa2_AdministrationSubIDCounter()
Returns RXA-2: "Administration Sub-ID Counter" - creates it if necessary


getDateTimeStartOfAdministration

public TS getDateTimeStartOfAdministration()
Returns RXA-3: "Date/Time Start of Administration" - creates it if necessary


getRxa3_DateTimeStartOfAdministration

public TS getRxa3_DateTimeStartOfAdministration()
Returns RXA-3: "Date/Time Start of Administration" - creates it if necessary


getDateTimeEndOfAdministration

public TS getDateTimeEndOfAdministration()
Returns RXA-4: "Date/Time End of Administration" - creates it if necessary


getRxa4_DateTimeEndOfAdministration

public TS getRxa4_DateTimeEndOfAdministration()
Returns RXA-4: "Date/Time End of Administration" - creates it if necessary


getAdministeredCode

public CE getAdministeredCode()
Returns RXA-5: "Administered Code" - creates it if necessary


getRxa5_AdministeredCode

public CE getRxa5_AdministeredCode()
Returns RXA-5: "Administered Code" - creates it if necessary


getAdministeredAmount

public NM getAdministeredAmount()
Returns RXA-6: "Administered Amount" - creates it if necessary


getRxa6_AdministeredAmount

public NM getRxa6_AdministeredAmount()
Returns RXA-6: "Administered Amount" - creates it if necessary


getAdministeredUnits

public CE getAdministeredUnits()
Returns RXA-7: "Administered Units" - creates it if necessary


getRxa7_AdministeredUnits

public CE getRxa7_AdministeredUnits()
Returns RXA-7: "Administered Units" - creates it if necessary


getAdministeredDosageForm

public CE getAdministeredDosageForm()
Returns RXA-8: "Administered Dosage Form" - creates it if necessary


getRxa8_AdministeredDosageForm

public CE getRxa8_AdministeredDosageForm()
Returns RXA-8: "Administered Dosage Form" - creates it if necessary


getAdministrationNotes

public CE[] getAdministrationNotes()
Returns all repetitions of Administration Notes (RXA-9).


getAdministrationNotesReps

public int getAdministrationNotesReps()
Returns a count of the current number of repetitions of Administration Notes (RXA-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getAdministrationNotes

public CE getAdministrationNotes(int rep)
Returns a specific repetition of RXA-9: "Administration Notes" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa9_AdministrationNotes

public CE getRxa9_AdministrationNotes(int rep)
Returns a specific repetition of RXA-9: "Administration Notes" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa9_AdministrationNotesReps

public int getRxa9_AdministrationNotesReps()
Returns a count of the current number of repetitions of Administration Notes (RXA-9). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertAdministrationNotes

public CE insertAdministrationNotes(int rep)
                             throws HL7Exception
Inserts a repetition of RXA-9: "Administration Notes" 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)

insertRxa9_AdministrationNotes

public CE insertRxa9_AdministrationNotes(int rep)
                                  throws HL7Exception
Inserts a repetition of RXA-9: "Administration Notes" 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)

removeAdministrationNotes

public CE removeAdministrationNotes(int rep)
                             throws HL7Exception
Removes a repetition of RXA-9: "Administration Notes" 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)

removeRxa9_AdministrationNotes

public CE removeRxa9_AdministrationNotes(int rep)
                                  throws HL7Exception
Removes a repetition of RXA-9: "Administration Notes" 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)

getAdministeringProvider

public XCN[] getAdministeringProvider()
Returns all repetitions of Administering Provider (RXA-10).


getAdministeringProviderReps

public int getAdministeringProviderReps()
Returns a count of the current number of repetitions of Administering Provider (RXA-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getAdministeringProvider

public XCN getAdministeringProvider(int rep)
Returns a specific repetition of RXA-10: "Administering Provider" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa10_AdministeringProvider

public XCN getRxa10_AdministeringProvider(int rep)
Returns a specific repetition of RXA-10: "Administering Provider" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa10_AdministeringProviderReps

public int getRxa10_AdministeringProviderReps()
Returns a count of the current number of repetitions of Administering Provider (RXA-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertAdministeringProvider

public XCN insertAdministeringProvider(int rep)
                                throws HL7Exception
Inserts a repetition of RXA-10: "Administering Provider" 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)

insertRxa10_AdministeringProvider

public XCN insertRxa10_AdministeringProvider(int rep)
                                      throws HL7Exception
Inserts a repetition of RXA-10: "Administering Provider" 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)

removeAdministeringProvider

public XCN removeAdministeringProvider(int rep)
                                throws HL7Exception
Removes a repetition of RXA-10: "Administering Provider" 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)

removeRxa10_AdministeringProvider

public XCN removeRxa10_AdministeringProvider(int rep)
                                      throws HL7Exception
Removes a repetition of RXA-10: "Administering Provider" 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)

getAdministeredAtLocation

public LA2 getAdministeredAtLocation()
Returns RXA-11: "Administered-at Location" - creates it if necessary


getRxa11_AdministeredAtLocation

public LA2 getRxa11_AdministeredAtLocation()
Returns RXA-11: "Administered-at Location" - creates it if necessary


getAdministeredPerTimeUnit

public ST getAdministeredPerTimeUnit()
Returns RXA-12: "Administered Per (Time Unit)" - creates it if necessary


getRxa12_AdministeredPerTimeUnit

public ST getRxa12_AdministeredPerTimeUnit()
Returns RXA-12: "Administered Per (Time Unit)" - creates it if necessary


getAdministeredStrength

public NM getAdministeredStrength()
Returns RXA-13: "Administered Strength" - creates it if necessary


getRxa13_AdministeredStrength

public NM getRxa13_AdministeredStrength()
Returns RXA-13: "Administered Strength" - creates it if necessary


getAdministeredStrengthUnits

public CE getAdministeredStrengthUnits()
Returns RXA-14: "Administered Strength Units" - creates it if necessary


getRxa14_AdministeredStrengthUnits

public CE getRxa14_AdministeredStrengthUnits()
Returns RXA-14: "Administered Strength Units" - creates it if necessary


getSubstanceLotNumber

public ST[] getSubstanceLotNumber()
Returns all repetitions of Substance Lot Number (RXA-15).


getSubstanceLotNumberReps

public int getSubstanceLotNumberReps()
Returns a count of the current number of repetitions of Substance Lot Number (RXA-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSubstanceLotNumber

public ST getSubstanceLotNumber(int rep)
Returns a specific repetition of RXA-15: "Substance Lot Number" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa15_SubstanceLotNumber

public ST getRxa15_SubstanceLotNumber(int rep)
Returns a specific repetition of RXA-15: "Substance Lot Number" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa15_SubstanceLotNumberReps

public int getRxa15_SubstanceLotNumberReps()
Returns a count of the current number of repetitions of Substance Lot Number (RXA-15). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSubstanceLotNumber

public ST insertSubstanceLotNumber(int rep)
                            throws HL7Exception
Inserts a repetition of RXA-15: "Substance Lot Number" 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)

insertRxa15_SubstanceLotNumber

public ST insertRxa15_SubstanceLotNumber(int rep)
                                  throws HL7Exception
Inserts a repetition of RXA-15: "Substance Lot Number" 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)

removeSubstanceLotNumber

public ST removeSubstanceLotNumber(int rep)
                            throws HL7Exception
Removes a repetition of RXA-15: "Substance Lot Number" 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)

removeRxa15_SubstanceLotNumber

public ST removeRxa15_SubstanceLotNumber(int rep)
                                  throws HL7Exception
Removes a repetition of RXA-15: "Substance Lot Number" 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)

getSubstanceExpirationDate

public TS[] getSubstanceExpirationDate()
Returns all repetitions of Substance Expiration Date (RXA-16).


getSubstanceExpirationDateReps

public int getSubstanceExpirationDateReps()
Returns a count of the current number of repetitions of Substance Expiration Date (RXA-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSubstanceExpirationDate

public TS getSubstanceExpirationDate(int rep)
Returns a specific repetition of RXA-16: "Substance Expiration Date" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa16_SubstanceExpirationDate

public TS getRxa16_SubstanceExpirationDate(int rep)
Returns a specific repetition of RXA-16: "Substance Expiration Date" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa16_SubstanceExpirationDateReps

public int getRxa16_SubstanceExpirationDateReps()
Returns a count of the current number of repetitions of Substance Expiration Date (RXA-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSubstanceExpirationDate

public TS insertSubstanceExpirationDate(int rep)
                                 throws HL7Exception
Inserts a repetition of RXA-16: "Substance Expiration Date" 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)

insertRxa16_SubstanceExpirationDate

public TS insertRxa16_SubstanceExpirationDate(int rep)
                                       throws HL7Exception
Inserts a repetition of RXA-16: "Substance Expiration Date" 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)

removeSubstanceExpirationDate

public TS removeSubstanceExpirationDate(int rep)
                                 throws HL7Exception
Removes a repetition of RXA-16: "Substance Expiration Date" 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)

removeRxa16_SubstanceExpirationDate

public TS removeRxa16_SubstanceExpirationDate(int rep)
                                       throws HL7Exception
Removes a repetition of RXA-16: "Substance Expiration Date" 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)

getSubstanceManufacturerName

public CE[] getSubstanceManufacturerName()
Returns all repetitions of Substance Manufacturer Name (RXA-17).


getSubstanceManufacturerNameReps

public int getSubstanceManufacturerNameReps()
Returns a count of the current number of repetitions of Substance Manufacturer Name (RXA-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSubstanceManufacturerName

public CE getSubstanceManufacturerName(int rep)
Returns a specific repetition of RXA-17: "Substance Manufacturer Name" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa17_SubstanceManufacturerName

public CE getRxa17_SubstanceManufacturerName(int rep)
Returns a specific repetition of RXA-17: "Substance Manufacturer Name" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa17_SubstanceManufacturerNameReps

public int getRxa17_SubstanceManufacturerNameReps()
Returns a count of the current number of repetitions of Substance Manufacturer Name (RXA-17). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSubstanceManufacturerName

public CE insertSubstanceManufacturerName(int rep)
                                   throws HL7Exception
Inserts a repetition of RXA-17: "Substance Manufacturer Name" 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)

insertRxa17_SubstanceManufacturerName

public CE insertRxa17_SubstanceManufacturerName(int rep)
                                         throws HL7Exception
Inserts a repetition of RXA-17: "Substance Manufacturer Name" 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)

removeSubstanceManufacturerName

public CE removeSubstanceManufacturerName(int rep)
                                   throws HL7Exception
Removes a repetition of RXA-17: "Substance Manufacturer Name" 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)

removeRxa17_SubstanceManufacturerName

public CE removeRxa17_SubstanceManufacturerName(int rep)
                                         throws HL7Exception
Removes a repetition of RXA-17: "Substance Manufacturer Name" 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)

getSubstanceTreatmentRefusalReason

public CE[] getSubstanceTreatmentRefusalReason()
Returns all repetitions of Substance/Treatment Refusal Reason (RXA-18).


getSubstanceTreatmentRefusalReasonReps

public int getSubstanceTreatmentRefusalReasonReps()
Returns a count of the current number of repetitions of Substance/Treatment Refusal Reason (RXA-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getSubstanceTreatmentRefusalReason

public CE getSubstanceTreatmentRefusalReason(int rep)
Returns a specific repetition of RXA-18: "Substance/Treatment Refusal Reason" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa18_SubstanceTreatmentRefusalReason

public CE getRxa18_SubstanceTreatmentRefusalReason(int rep)
Returns a specific repetition of RXA-18: "Substance/Treatment Refusal Reason" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa18_SubstanceTreatmentRefusalReasonReps

public int getRxa18_SubstanceTreatmentRefusalReasonReps()
Returns a count of the current number of repetitions of Substance/Treatment Refusal Reason (RXA-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertSubstanceTreatmentRefusalReason

public CE insertSubstanceTreatmentRefusalReason(int rep)
                                         throws HL7Exception
Inserts a repetition of RXA-18: "Substance/Treatment Refusal Reason" 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)

insertRxa18_SubstanceTreatmentRefusalReason

public CE insertRxa18_SubstanceTreatmentRefusalReason(int rep)
                                               throws HL7Exception
Inserts a repetition of RXA-18: "Substance/Treatment Refusal Reason" 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)

removeSubstanceTreatmentRefusalReason

public CE removeSubstanceTreatmentRefusalReason(int rep)
                                         throws HL7Exception
Removes a repetition of RXA-18: "Substance/Treatment Refusal Reason" 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)

removeRxa18_SubstanceTreatmentRefusalReason

public CE removeRxa18_SubstanceTreatmentRefusalReason(int rep)
                                               throws HL7Exception
Removes a repetition of RXA-18: "Substance/Treatment Refusal Reason" 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)

getIndication

public CE[] getIndication()
Returns all repetitions of Indication (RXA-19).


getIndicationReps

public int getIndicationReps()
Returns a count of the current number of repetitions of Indication (RXA-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getIndication

public CE getIndication(int rep)
Returns a specific repetition of RXA-19: "Indication" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa19_Indication

public CE getRxa19_Indication(int rep)
Returns a specific repetition of RXA-19: "Indication" - creates it if necessary

Parameters:
rep - The repetition index (0-indexed)

getRxa19_IndicationReps

public int getRxa19_IndicationReps()
Returns a count of the current number of repetitions of Indication (RXA-19). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertIndication

public CE insertIndication(int rep)
                    throws HL7Exception
Inserts a repetition of RXA-19: "Indication" 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)

insertRxa19_Indication

public CE insertRxa19_Indication(int rep)
                          throws HL7Exception
Inserts a repetition of RXA-19: "Indication" 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)

removeIndication

public CE removeIndication(int rep)
                    throws HL7Exception
Removes a repetition of RXA-19: "Indication" 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)

removeRxa19_Indication

public CE removeRxa19_Indication(int rep)
                          throws HL7Exception
Removes a repetition of RXA-19: "Indication" 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)

getCompletionStatus

public ID getCompletionStatus()
Returns RXA-20: "Completion Status" - creates it if necessary


getRxa20_CompletionStatus

public ID getRxa20_CompletionStatus()
Returns RXA-20: "Completion Status" - creates it if necessary


getActionCodeRXA

public ID getActionCodeRXA()
Returns RXA-21: "Action Code-RXA" - creates it if necessary


getRxa21_ActionCodeRXA

public ID getRxa21_ActionCodeRXA()
Returns RXA-21: "Action Code-RXA" - creates it if necessary


getSystemEntryDateTime

public TS getSystemEntryDateTime()
Returns RXA-22: "System Entry Date/Time" - creates it if necessary


getRxa22_SystemEntryDateTime

public TS getRxa22_SystemEntryDateTime()
Returns RXA-22: "System Entry Date/Time" - creates it if necessary


createNewTypeWithoutReflection

protected Type createNewTypeWithoutReflection(int field)

Overrides:
createNewTypeWithoutReflection in class AbstractSegment


Copyright © 2001-2011 University Health Network. All Rights Reserved.