Package ca.uhn.hl7v2.model.v24.segment
Class PCR
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.PCR
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PCR message segment (Possible Causal Relationship). This segment has the following fields:
- PCR-1: Implicated Product (CE)
- PCR-2: Generic Product (IS) optional
- PCR-3: Product Class (CE) optional
- PCR-4: Total Duration Of Therapy (CQ) optional
- PCR-5: Product Manufacture Date (TS) optional
- PCR-6: Product Expiration Date (TS) optional
- PCR-7: Product Implantation Date (TS) optional
- PCR-8: Product Explantation Date (TS) optional
- PCR-9: Single Use Device (IS) optional
- PCR-10: Indication For Product Use (CE) optional
- PCR-11: Product Problem (IS) optional
- PCR-12: Product Serial/Lot Number (ST) optional repeating
- PCR-13: Product Available For Inspection (IS) optional
- PCR-14: Product Evaluation Performed (CE) optional
- PCR-15: Product Evaluation Status (CE) optional
- PCR-16: Product Evaluation Results (CE) optional
- PCR-17: Evaluated Product Source (ID) optional
- PCR-18: Date Product Returned To Manufacturer (TS) optional
- PCR-19: Device Operator Qualifications (ID) optional
- PCR-20: Relatedness Assessment (ID) optional
- PCR-21: Action Taken In Response To The Event (ID) optional repeating
- PCR-22: Event Causality Observations (ID) optional repeating
- PCR-23: Indirect Exposure Mechanism (ID) optional repeating
- 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) ID[]Returns all repetitions of Action Taken In Response To The Event (PCR-21).getActionTakenInResponseToTheEvent(int rep) Returns a specific repetition of PCR-21: "Action Taken In Response To The Event" - creates it if necessaryintReturns a count of the current number of repetitions of Action Taken In Response To The Event (PCR-21).Returns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessaryReturns PCR-19: "Device Operator Qualifications" - creates it if necessaryReturns PCR-17: "Evaluated Product Source" - creates it if necessaryID[]Returns all repetitions of Event Causality Observations (PCR-22).getEventCausalityObservations(int rep) Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Event Causality Observations (PCR-22).Returns PCR-2: "Generic Product" - creates it if necessaryReturns PCR-1: "Implicated Product" - creates it if necessaryReturns PCR-10: "Indication For Product Use" - creates it if necessaryID[]Returns all repetitions of Indirect Exposure Mechanism (PCR-23).getIndirectExposureMechanism(int rep) Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessaryintReturns a count of the current number of repetitions of Indirect Exposure Mechanism (PCR-23).Returns PCR-1: "Implicated Product" - creates it if necessaryReturns PCR-10: "Indication For Product Use" - creates it if necessaryReturns PCR-11: "Product Problem" - creates it if necessaryST[]Returns all repetitions of Product Serial/Lot Number (PCR-12).getPcr12_ProductSerialLotNumber(int rep) Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessaryintReturns a count of the current number of repetitions of Product Serial/Lot Number (PCR-12).Returns PCR-13: "Product Available For Inspection" - creates it if necessaryReturns PCR-14: "Product Evaluation Performed" - creates it if necessaryReturns PCR-15: "Product Evaluation Status" - creates it if necessaryReturns PCR-16: "Product Evaluation Results" - creates it if necessaryReturns PCR-17: "Evaluated Product Source" - creates it if necessaryReturns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessaryReturns PCR-19: "Device Operator Qualifications" - creates it if necessaryReturns PCR-2: "Generic Product" - creates it if necessaryReturns PCR-20: "Relatedness Assessment" - creates it if necessaryID[]Returns all repetitions of Action Taken In Response To The Event (PCR-21).Returns a specific repetition of PCR-21: "Action Taken In Response To The Event" - creates it if necessaryintReturns a count of the current number of repetitions of Action Taken In Response To The Event (PCR-21).ID[]Returns all repetitions of Event Causality Observations (PCR-22).getPcr22_EventCausalityObservations(int rep) Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessaryintReturns a count of the current number of repetitions of Event Causality Observations (PCR-22).ID[]Returns all repetitions of Indirect Exposure Mechanism (PCR-23).getPcr23_IndirectExposureMechanism(int rep) Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessaryintReturns a count of the current number of repetitions of Indirect Exposure Mechanism (PCR-23).Returns PCR-3: "Product Class" - creates it if necessaryReturns PCR-4: "Total Duration Of Therapy" - creates it if necessaryReturns PCR-5: "Product Manufacture Date" - creates it if necessaryReturns PCR-6: "Product Expiration Date" - creates it if necessaryReturns PCR-7: "Product Implantation Date" - creates it if necessaryReturns PCR-8: "Product Explantation Date" - creates it if necessaryReturns PCR-9: "Single Use Device" - creates it if necessaryReturns PCR-13: "Product Available For Inspection" - creates it if necessaryReturns PCR-3: "Product Class" - creates it if necessaryReturns PCR-14: "Product Evaluation Performed" - creates it if necessaryReturns PCR-16: "Product Evaluation Results" - creates it if necessaryReturns PCR-15: "Product Evaluation Status" - creates it if necessaryReturns PCR-6: "Product Expiration Date" - creates it if necessaryReturns PCR-8: "Product Explantation Date" - creates it if necessaryReturns PCR-7: "Product Implantation Date" - creates it if necessaryReturns PCR-5: "Product Manufacture Date" - creates it if necessaryReturns PCR-11: "Product Problem" - creates it if necessaryST[]Returns all repetitions of Product Serial/Lot Number (PCR-12).getProductSerialLotNumber(int rep) Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessaryintReturns a count of the current number of repetitions of Product Serial/Lot Number (PCR-12).Returns PCR-20: "Relatedness Assessment" - creates it if necessaryReturns PCR-9: "Single Use Device" - creates it if necessaryReturns PCR-4: "Total Duration Of Therapy" - creates it if necessaryInserts a repetition of PCR-21: "Action Taken In Response To The Event" at a specific indexinsertEventCausalityObservations(int rep) Inserts a repetition of PCR-22: "Event Causality Observations" at a specific indexinsertIndirectExposureMechanism(int rep) Inserts a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific indexinsertPcr12_ProductSerialLotNumber(int rep) Inserts a repetition of PCR-12: "Product Serial/Lot Number" at a specific indexInserts a repetition of PCR-21: "Action Taken In Response To The Event" at a specific indexInserts a repetition of PCR-22: "Event Causality Observations" at a specific indexInserts a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific indexinsertProductSerialLotNumber(int rep) Inserts a repetition of PCR-12: "Product Serial/Lot Number" at a specific indexRemoves a repetition of PCR-21: "Action Taken In Response To The Event" at a specific indexremoveEventCausalityObservations(int rep) Removes a repetition of PCR-22: "Event Causality Observations" at a specific indexremoveIndirectExposureMechanism(int rep) Removes a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific indexremovePcr12_ProductSerialLotNumber(int rep) Removes a repetition of PCR-12: "Product Serial/Lot Number" at a specific indexRemoves a repetition of PCR-21: "Action Taken In Response To The Event" at a specific indexRemoves a repetition of PCR-22: "Event Causality Observations" at a specific indexRemoves a repetition of PCR-23: "Indirect Exposure Mechanism" at a specific indexremoveProductSerialLotNumber(int rep) Removes a repetition of PCR-12: "Product Serial/Lot Number" 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
-
PCR
Creates a new PCR segment
-
-
Method Details
-
getImplicatedProduct
Returns PCR-1: "Implicated Product" - creates it if necessary -
getPcr1_ImplicatedProduct
Returns PCR-1: "Implicated Product" - creates it if necessary -
getGenericProduct
Returns PCR-2: "Generic Product" - creates it if necessary -
getPcr2_GenericProduct
Returns PCR-2: "Generic Product" - creates it if necessary -
getProductClass
Returns PCR-3: "Product Class" - creates it if necessary -
getPcr3_ProductClass
Returns PCR-3: "Product Class" - creates it if necessary -
getTotalDurationOfTherapy
Returns PCR-4: "Total Duration Of Therapy" - creates it if necessary -
getPcr4_TotalDurationOfTherapy
Returns PCR-4: "Total Duration Of Therapy" - creates it if necessary -
getProductManufactureDate
Returns PCR-5: "Product Manufacture Date" - creates it if necessary -
getPcr5_ProductManufactureDate
Returns PCR-5: "Product Manufacture Date" - creates it if necessary -
getProductExpirationDate
Returns PCR-6: "Product Expiration Date" - creates it if necessary -
getPcr6_ProductExpirationDate
Returns PCR-6: "Product Expiration Date" - creates it if necessary -
getProductImplantationDate
Returns PCR-7: "Product Implantation Date" - creates it if necessary -
getPcr7_ProductImplantationDate
Returns PCR-7: "Product Implantation Date" - creates it if necessary -
getProductExplantationDate
Returns PCR-8: "Product Explantation Date" - creates it if necessary -
getPcr8_ProductExplantationDate
Returns PCR-8: "Product Explantation Date" - creates it if necessary -
getSingleUseDevice
Returns PCR-9: "Single Use Device" - creates it if necessary -
getPcr9_SingleUseDevice
Returns PCR-9: "Single Use Device" - creates it if necessary -
getIndicationForProductUse
Returns PCR-10: "Indication For Product Use" - creates it if necessary -
getPcr10_IndicationForProductUse
Returns PCR-10: "Indication For Product Use" - creates it if necessary -
getProductProblem
Returns PCR-11: "Product Problem" - creates it if necessary -
getPcr11_ProductProblem
Returns PCR-11: "Product Problem" - creates it if necessary -
getProductSerialLotNumber
Returns all repetitions of Product Serial/Lot Number (PCR-12). -
getPcr12_ProductSerialLotNumber
Returns all repetitions of Product Serial/Lot Number (PCR-12). -
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
Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPcr12_ProductSerialLotNumber
Returns a specific repetition of PCR-12: "Product Serial/Lot Number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
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
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
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
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
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
Returns PCR-13: "Product Available For Inspection" - creates it if necessary -
getPcr13_ProductAvailableForInspection
Returns PCR-13: "Product Available For Inspection" - creates it if necessary -
getProductEvaluationPerformed
Returns PCR-14: "Product Evaluation Performed" - creates it if necessary -
getPcr14_ProductEvaluationPerformed
Returns PCR-14: "Product Evaluation Performed" - creates it if necessary -
getProductEvaluationStatus
Returns PCR-15: "Product Evaluation Status" - creates it if necessary -
getPcr15_ProductEvaluationStatus
Returns PCR-15: "Product Evaluation Status" - creates it if necessary -
getProductEvaluationResults
Returns PCR-16: "Product Evaluation Results" - creates it if necessary -
getPcr16_ProductEvaluationResults
Returns PCR-16: "Product Evaluation Results" - creates it if necessary -
getEvaluatedProductSource
Returns PCR-17: "Evaluated Product Source" - creates it if necessary -
getPcr17_EvaluatedProductSource
Returns PCR-17: "Evaluated Product Source" - creates it if necessary -
getDateProductReturnedToManufacturer
Returns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessary -
getPcr18_DateProductReturnedToManufacturer
Returns PCR-18: "Date Product Returned To Manufacturer" - creates it if necessary -
getDeviceOperatorQualifications
Returns PCR-19: "Device Operator Qualifications" - creates it if necessary -
getPcr19_DeviceOperatorQualifications
Returns PCR-19: "Device Operator Qualifications" - creates it if necessary -
getRelatednessAssessment
Returns PCR-20: "Relatedness Assessment" - creates it if necessary -
getPcr20_RelatednessAssessment
Returns PCR-20: "Relatedness Assessment" - creates it if necessary -
getActionTakenInResponseToTheEvent
Returns all repetitions of Action Taken In Response To The Event (PCR-21). -
getPcr21_ActionTakenInResponseToTheEvent
Returns all repetitions of Action Taken In Response To The Event (PCR-21). -
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
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
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
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
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
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
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
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
Returns all repetitions of Event Causality Observations (PCR-22). -
getPcr22_EventCausalityObservations
Returns all repetitions of Event Causality Observations (PCR-22). -
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
Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPcr22_EventCausalityObservations
Returns a specific repetition of PCR-22: "Event Causality Observations" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
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
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
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
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
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
Returns all repetitions of Indirect Exposure Mechanism (PCR-23). -
getPcr23_IndirectExposureMechanism
Returns all repetitions of Indirect Exposure Mechanism (PCR-23). -
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
Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPcr23_IndirectExposureMechanism
Returns a specific repetition of PCR-23: "Indirect Exposure Mechanism" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
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
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
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
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
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
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-