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

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

public class PCR
extends AbstractSegment

Represents an HL7 PCR message segment (Possible Causal Relationship). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
PCR(Group parent, ModelClassFactory factory)
          Creates a new PCR segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 ID[] getActionTakenInResponseToTheEvent()
          Returns all repetitions of Action Taken In Response To The Event (PCR-21).
 ID getActionTakenInResponseToTheEvent(int rep)
          Returns a specific repetition of PCR-21: "Action Taken In Response To The Event" - creates it if necessary
 int getActionTakenInResponseToTheEventReps()
          Returns a count of the current number of repetitions of Action Taken In Response To The Event (PCR-21).
 TS getDateProductReturnedToManufacturer()
          Returns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessary
 ID getDeviceOperatorQualifications()
          Returns PCR-19: "Device Operator Qualifications" - creates it if necessary
 ID getEvaluatedProductSource()
          Returns PCR-17: "Evaluated Product Source" - creates it if necessary
 ID[] getEventCausalityObservations()
          Returns all repetitions of Event Causality Observations (PCR-22).
 ID getEventCausalityObservations(int rep)
          Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessary
 int getEventCausalityObservationsReps()
          Returns a count of the current number of repetitions of Event Causality Observations (PCR-22).
 IS getGenericProduct()
          Returns PCR-2: "Generic Product" - creates it if necessary
 CE getImplicatedProduct()
          Returns PCR-1: "Implicated Product" - creates it if necessary
 CE getIndicationForProductUse()
          Returns PCR-10: "Indication For Product Use" - creates it if necessary
 ID[] getIndirectExposureMechanism()
          Returns all repetitions of Indirect Exposure Mechanism (PCR-23).
 ID getIndirectExposureMechanism(int rep)
          Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessary
 int getIndirectExposureMechanismReps()
          Returns a count of the current number of repetitions of Indirect Exposure Mechanism (PCR-23).
 CE getPcr1_ImplicatedProduct()
          Returns PCR-1: "Implicated Product" - creates it if necessary
 CE getPcr10_IndicationForProductUse()
          Returns PCR-10: "Indication For Product Use" - creates it if necessary
 IS getPcr11_ProductProblem()
          Returns PCR-11: "Product Problem" - creates it if necessary
 ST getPcr12_ProductSerialLotNumber(int rep)
          Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessary
 int getPcr12_ProductSerialLotNumberReps()
          Returns a count of the current number of repetitions of Product Serial/Lot Number (PCR-12).
 IS getPcr13_ProductAvailableForInspection()
          Returns PCR-13: "Product Available For Inspection" - creates it if necessary
 CE getPcr14_ProductEvaluationPerformed()
          Returns PCR-14: "Product Evaluation Performed" - creates it if necessary
 CE getPcr15_ProductEvaluationStatus()
          Returns PCR-15: "Product Evaluation Status" - creates it if necessary
 CE getPcr16_ProductEvaluationResults()
          Returns PCR-16: "Product Evaluation Results" - creates it if necessary
 ID getPcr17_EvaluatedProductSource()
          Returns PCR-17: "Evaluated Product Source" - creates it if necessary
 TS getPcr18_DateProductReturnedToManufacturer()
          Returns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessary
 ID getPcr19_DeviceOperatorQualifications()
          Returns PCR-19: "Device Operator Qualifications" - creates it if necessary
 IS getPcr2_GenericProduct()
          Returns PCR-2: "Generic Product" - creates it if necessary
 ID getPcr20_RelatednessAssessment()
          Returns PCR-20: "Relatedness Assessment" - creates it if necessary
 ID getPcr21_ActionTakenInResponseToTheEvent(int rep)
          Returns a specific repetition of PCR-21: "Action Taken In Response To The Event" - creates it if necessary
 int getPcr21_ActionTakenInResponseToTheEventReps()
          Returns a count of the current number of repetitions of Action Taken In Response To The Event (PCR-21).
 ID getPcr22_EventCausalityObservations(int rep)
          Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessary
 int getPcr22_EventCausalityObservationsReps()
          Returns a count of the current number of repetitions of Event Causality Observations (PCR-22).
 ID getPcr23_IndirectExposureMechanism(int rep)
          Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessary
 int getPcr23_IndirectExposureMechanismReps()
          Returns a count of the current number of repetitions of Indirect Exposure Mechanism (PCR-23).
 CE getPcr3_ProductClass()
          Returns PCR-3: "Product Class" - creates it if necessary
 CQ getPcr4_TotalDurationOfTherapy()
          Returns PCR-4: "Total Duration Of Therapy" - creates it if necessary
 TS getPcr5_ProductManufactureDate()
          Returns PCR-5: "Product Manufacture Date" - creates it if necessary
 TS getPcr6_ProductExpirationDate()
          Returns PCR-6: "Product Expiration Date" - creates it if necessary
 TS getPcr7_ProductImplantationDate()
          Returns PCR-7: "Product Implantation Date" - creates it if necessary
 TS getPcr8_ProductExplantationDate()
          Returns PCR-8: "Product Explantation Date" - creates it if necessary
 IS getPcr9_SingleUseDevice()
          Returns PCR-9: "Single Use Device" - creates it if necessary
 IS getProductAvailableForInspection()
          Returns PCR-13: "Product Available For Inspection" - creates it if necessary
 CE getProductClass()
          Returns PCR-3: "Product Class" - creates it if necessary
 CE getProductEvaluationPerformed()
          Returns PCR-14: "Product Evaluation Performed" - creates it if necessary
 CE getProductEvaluationResults()
          Returns PCR-16: "Product Evaluation Results" - creates it if necessary
 CE getProductEvaluationStatus()
          Returns PCR-15: "Product Evaluation Status" - creates it if necessary
 TS getProductExpirationDate()
          Returns PCR-6: "Product Expiration Date" - creates it if necessary
 TS getProductExplantationDate()
          Returns PCR-8: "Product Explantation Date" - creates it if necessary
 TS getProductImplantationDate()
          Returns PCR-7: "Product Implantation Date" - creates it if necessary
 TS getProductManufactureDate()
          Returns PCR-5: "Product Manufacture Date" - creates it if necessary
 IS getProductProblem()
          Returns PCR-11: "Product Problem" - creates it if necessary
 ST[] getProductSerialLotNumber()
          Returns all repetitions of Product Serial/Lot Number (PCR-12).
 ST getProductSerialLotNumber(int rep)
          Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessary
 int getProductSerialLotNumberReps()
          Returns a count of the current number of repetitions of Product Serial/Lot Number (PCR-12).
 ID getRelatednessAssessment()
          Returns PCR-20: "Relatedness Assessment" - creates it if necessary
 IS getSingleUseDevice()
          Returns PCR-9: "Single Use Device" - creates it if necessary
 CQ getTotalDurationOfTherapy()
          Returns PCR-4: "Total Duration Of Therapy" - creates it if necessary
 ID insertActionTakenInResponseToTheEvent(int rep)
          Inserts a repetition of PCR-21: "Action Taken In Response To The Event" at a specific index
 ID insertEventCausalityObservations(int rep)
          Inserts a repetition of PCR-22: "Event Causality Observations" at a specific index
 ID insertIndirectExposureMechanism(int rep)
          Inserts a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific index
 ST insertPcr12_ProductSerialLotNumber(int rep)
          Inserts a repetition of PCR-12: "Product Serial/Lot Number" at a specific index
 ID insertPcr21_ActionTakenInResponseToTheEvent(int rep)
          Inserts a repetition of PCR-21: "Action Taken In Response To The Event" at a specific index
 ID insertPcr22_EventCausalityObservations(int rep)
          Inserts a repetition of PCR-22: "Event Causality Observations" at a specific index
 ID insertPcr23_IndirectExposureMechanism(int rep)
          Inserts a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific index
 ST insertProductSerialLotNumber(int rep)
          Inserts a repetition of PCR-12: "Product Serial/Lot Number" at a specific index
 ID removeActionTakenInResponseToTheEvent(int rep)
          Removes a repetition of PCR-21: "Action Taken In Response To The Event" at a specific index
 ID removeEventCausalityObservations(int rep)
          Removes a repetition of PCR-22: "Event Causality Observations" at a specific index
 ID removeIndirectExposureMechanism(int rep)
          Removes a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific index
 ST removePcr12_ProductSerialLotNumber(int rep)
          Removes a repetition of PCR-12: "Product Serial/Lot Number" at a specific index
 ID removePcr21_ActionTakenInResponseToTheEvent(int rep)
          Removes a repetition of PCR-21: "Action Taken In Response To The Event" at a specific index
 ID removePcr22_EventCausalityObservations(int rep)
          Removes a repetition of PCR-22: "Event Causality Observations" at a specific index
 ID removePcr23_IndirectExposureMechanism(int rep)
          Removes a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific index
 ST removeProductSerialLotNumber(int rep)
          Removes a repetition of PCR-12: "Product Serial/Lot Number" 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

PCR

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

Method Detail

getImplicatedProduct

public CE getImplicatedProduct()
Returns PCR-1: "Implicated Product" - creates it if necessary


getPcr1_ImplicatedProduct

public CE getPcr1_ImplicatedProduct()
Returns PCR-1: "Implicated Product" - creates it if necessary


getGenericProduct

public IS getGenericProduct()
Returns PCR-2: "Generic Product" - creates it if necessary


getPcr2_GenericProduct

public IS getPcr2_GenericProduct()
Returns PCR-2: "Generic Product" - creates it if necessary


getProductClass

public CE getProductClass()
Returns PCR-3: "Product Class" - creates it if necessary


getPcr3_ProductClass

public CE getPcr3_ProductClass()
Returns PCR-3: "Product Class" - creates it if necessary


getTotalDurationOfTherapy

public CQ getTotalDurationOfTherapy()
Returns PCR-4: "Total Duration Of Therapy" - creates it if necessary


getPcr4_TotalDurationOfTherapy

public CQ getPcr4_TotalDurationOfTherapy()
Returns PCR-4: "Total Duration Of Therapy" - creates it if necessary


getProductManufactureDate

public TS getProductManufactureDate()
Returns PCR-5: "Product Manufacture Date" - creates it if necessary


getPcr5_ProductManufactureDate

public TS getPcr5_ProductManufactureDate()
Returns PCR-5: "Product Manufacture Date" - creates it if necessary


getProductExpirationDate

public TS getProductExpirationDate()
Returns PCR-6: "Product Expiration Date" - creates it if necessary


getPcr6_ProductExpirationDate

public TS getPcr6_ProductExpirationDate()
Returns PCR-6: "Product Expiration Date" - creates it if necessary


getProductImplantationDate

public TS getProductImplantationDate()
Returns PCR-7: "Product Implantation Date" - creates it if necessary


getPcr7_ProductImplantationDate

public TS getPcr7_ProductImplantationDate()
Returns PCR-7: "Product Implantation Date" - creates it if necessary


getProductExplantationDate

public TS getProductExplantationDate()
Returns PCR-8: "Product Explantation Date" - creates it if necessary


getPcr8_ProductExplantationDate

public TS getPcr8_ProductExplantationDate()
Returns PCR-8: "Product Explantation Date" - creates it if necessary


getSingleUseDevice

public IS getSingleUseDevice()
Returns PCR-9: "Single Use Device" - creates it if necessary


getPcr9_SingleUseDevice

public IS getPcr9_SingleUseDevice()
Returns PCR-9: "Single Use Device" - creates it if necessary


getIndicationForProductUse

public CE getIndicationForProductUse()
Returns PCR-10: "Indication For Product Use" - creates it if necessary


getPcr10_IndicationForProductUse

public CE getPcr10_IndicationForProductUse()
Returns PCR-10: "Indication For Product Use" - creates it if necessary


getProductProblem

public IS getProductProblem()
Returns PCR-11: "Product Problem" - creates it if necessary


getPcr11_ProductProblem

public IS getPcr11_ProductProblem()
Returns PCR-11: "Product Problem" - creates it if necessary


getProductSerialLotNumber

public ST[] getProductSerialLotNumber()
Returns all repetitions of Product Serial/Lot Number (PCR-12).


getProductSerialLotNumberReps

public int getProductSerialLotNumberReps()
Returns a count of the current number of repetitions of Product Serial/Lot Number (PCR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getProductSerialLotNumber

public ST getProductSerialLotNumber(int rep)
Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessary

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

getPcr12_ProductSerialLotNumber

public ST getPcr12_ProductSerialLotNumber(int rep)
Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessary

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

getPcr12_ProductSerialLotNumberReps

public int getPcr12_ProductSerialLotNumberReps()
Returns a count of the current number of repetitions of Product Serial/Lot Number (PCR-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertProductSerialLotNumber

public ST insertProductSerialLotNumber(int rep)
                                throws HL7Exception
Inserts a repetition of PCR-12: "Product Serial/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)

insertPcr12_ProductSerialLotNumber

public ST insertPcr12_ProductSerialLotNumber(int rep)
                                      throws HL7Exception
Inserts a repetition of PCR-12: "Product Serial/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)

removeProductSerialLotNumber

public ST removeProductSerialLotNumber(int rep)
                                throws HL7Exception
Removes a repetition of PCR-12: "Product Serial/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)

removePcr12_ProductSerialLotNumber

public ST removePcr12_ProductSerialLotNumber(int rep)
                                      throws HL7Exception
Removes a repetition of PCR-12: "Product Serial/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)

getProductAvailableForInspection

public IS getProductAvailableForInspection()
Returns PCR-13: "Product Available For Inspection" - creates it if necessary


getPcr13_ProductAvailableForInspection

public IS getPcr13_ProductAvailableForInspection()
Returns PCR-13: "Product Available For Inspection" - creates it if necessary


getProductEvaluationPerformed

public CE getProductEvaluationPerformed()
Returns PCR-14: "Product Evaluation Performed" - creates it if necessary


getPcr14_ProductEvaluationPerformed

public CE getPcr14_ProductEvaluationPerformed()
Returns PCR-14: "Product Evaluation Performed" - creates it if necessary


getProductEvaluationStatus

public CE getProductEvaluationStatus()
Returns PCR-15: "Product Evaluation Status" - creates it if necessary


getPcr15_ProductEvaluationStatus

public CE getPcr15_ProductEvaluationStatus()
Returns PCR-15: "Product Evaluation Status" - creates it if necessary


getProductEvaluationResults

public CE getProductEvaluationResults()
Returns PCR-16: "Product Evaluation Results" - creates it if necessary


getPcr16_ProductEvaluationResults

public CE getPcr16_ProductEvaluationResults()
Returns PCR-16: "Product Evaluation Results" - creates it if necessary


getEvaluatedProductSource

public ID getEvaluatedProductSource()
Returns PCR-17: "Evaluated Product Source" - creates it if necessary


getPcr17_EvaluatedProductSource

public ID getPcr17_EvaluatedProductSource()
Returns PCR-17: "Evaluated Product Source" - creates it if necessary


getDateProductReturnedToManufacturer

public TS getDateProductReturnedToManufacturer()
Returns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessary


getPcr18_DateProductReturnedToManufacturer

public TS getPcr18_DateProductReturnedToManufacturer()
Returns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessary


getDeviceOperatorQualifications

public ID getDeviceOperatorQualifications()
Returns PCR-19: "Device Operator Qualifications" - creates it if necessary


getPcr19_DeviceOperatorQualifications

public ID getPcr19_DeviceOperatorQualifications()
Returns PCR-19: "Device Operator Qualifications" - creates it if necessary


getRelatednessAssessment

public ID getRelatednessAssessment()
Returns PCR-20: "Relatedness Assessment" - creates it if necessary


getPcr20_RelatednessAssessment

public ID getPcr20_RelatednessAssessment()
Returns PCR-20: "Relatedness Assessment" - creates it if necessary


getActionTakenInResponseToTheEvent

public ID[] getActionTakenInResponseToTheEvent()
Returns all repetitions of Action Taken In Response To The Event (PCR-21).


getActionTakenInResponseToTheEventReps

public int getActionTakenInResponseToTheEventReps()
Returns a count of the current number of repetitions of Action Taken In Response To The Event (PCR-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getActionTakenInResponseToTheEvent

public ID getActionTakenInResponseToTheEvent(int rep)
Returns a specific repetition of PCR-21: "Action Taken In Response To The Event" - creates it if necessary

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

getPcr21_ActionTakenInResponseToTheEvent

public ID getPcr21_ActionTakenInResponseToTheEvent(int rep)
Returns a specific repetition of PCR-21: "Action Taken In Response To The Event" - creates it if necessary

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

getPcr21_ActionTakenInResponseToTheEventReps

public int getPcr21_ActionTakenInResponseToTheEventReps()
Returns a count of the current number of repetitions of Action Taken In Response To The Event (PCR-21). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertActionTakenInResponseToTheEvent

public ID insertActionTakenInResponseToTheEvent(int rep)
                                         throws HL7Exception
Inserts a repetition of PCR-21: "Action Taken In Response To The Event" 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)

insertPcr21_ActionTakenInResponseToTheEvent

public ID insertPcr21_ActionTakenInResponseToTheEvent(int rep)
                                               throws HL7Exception
Inserts a repetition of PCR-21: "Action Taken In Response To The Event" 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)

removeActionTakenInResponseToTheEvent

public ID removeActionTakenInResponseToTheEvent(int rep)
                                         throws HL7Exception
Removes a repetition of PCR-21: "Action Taken In Response To The Event" 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)

removePcr21_ActionTakenInResponseToTheEvent

public ID removePcr21_ActionTakenInResponseToTheEvent(int rep)
                                               throws HL7Exception
Removes a repetition of PCR-21: "Action Taken In Response To The Event" 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)

getEventCausalityObservations

public ID[] getEventCausalityObservations()
Returns all repetitions of Event Causality Observations (PCR-22).


getEventCausalityObservationsReps

public int getEventCausalityObservationsReps()
Returns a count of the current number of repetitions of Event Causality Observations (PCR-22). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getEventCausalityObservations

public ID getEventCausalityObservations(int rep)
Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessary

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

getPcr22_EventCausalityObservations

public ID getPcr22_EventCausalityObservations(int rep)
Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessary

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

getPcr22_EventCausalityObservationsReps

public int getPcr22_EventCausalityObservationsReps()
Returns a count of the current number of repetitions of Event Causality Observations (PCR-22). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertEventCausalityObservations

public ID insertEventCausalityObservations(int rep)
                                    throws HL7Exception
Inserts a repetition of PCR-22: "Event Causality Observations" 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)

insertPcr22_EventCausalityObservations

public ID insertPcr22_EventCausalityObservations(int rep)
                                          throws HL7Exception
Inserts a repetition of PCR-22: "Event Causality Observations" 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)

removeEventCausalityObservations

public ID removeEventCausalityObservations(int rep)
                                    throws HL7Exception
Removes a repetition of PCR-22: "Event Causality Observations" 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)

removePcr22_EventCausalityObservations

public ID removePcr22_EventCausalityObservations(int rep)
                                          throws HL7Exception
Removes a repetition of PCR-22: "Event Causality Observations" 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)

getIndirectExposureMechanism

public ID[] getIndirectExposureMechanism()
Returns all repetitions of Indirect Exposure Mechanism (PCR-23).


getIndirectExposureMechanismReps

public int getIndirectExposureMechanismReps()
Returns a count of the current number of repetitions of Indirect Exposure Mechanism (PCR-23). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


getIndirectExposureMechanism

public ID getIndirectExposureMechanism(int rep)
Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessary

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

getPcr23_IndirectExposureMechanism

public ID getPcr23_IndirectExposureMechanism(int rep)
Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessary

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

getPcr23_IndirectExposureMechanismReps

public int getPcr23_IndirectExposureMechanismReps()
Returns a count of the current number of repetitions of Indirect Exposure Mechanism (PCR-23). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero.


insertIndirectExposureMechanism

public ID insertIndirectExposureMechanism(int rep)
                                   throws HL7Exception
Inserts a repetition of PCR-23: "Indirect Exposure Mechanism" 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)

insertPcr23_IndirectExposureMechanism

public ID insertPcr23_IndirectExposureMechanism(int rep)
                                         throws HL7Exception
Inserts a repetition of PCR-23: "Indirect Exposure Mechanism" 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)

removeIndirectExposureMechanism

public ID removeIndirectExposureMechanism(int rep)
                                   throws HL7Exception
Removes a repetition of PCR-23: "Indirect Exposure Mechanism" 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)

removePcr23_IndirectExposureMechanism

public ID removePcr23_IndirectExposureMechanism(int rep)
                                         throws HL7Exception
Removes a repetition of PCR-23: "Indirect Exposure Mechanism" 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)

createNewTypeWithoutReflection

protected Type createNewTypeWithoutReflection(int field)

Overrides:
createNewTypeWithoutReflection in class AbstractSegment


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