Package ca.uhn.hl7v2.model.v251.segment
Class PR1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.PR1
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PR1 message segment (Procedures). This segment has the following fields:
- PR1-1: Set ID - PR1 (SI)
- PR1-2: Procedure Coding Method (IS) optional
- PR1-3: Procedure Code (CE)
- PR1-4: Procedure Description (ST) optional
- PR1-5: Procedure Date/Time (TS)
- PR1-6: Procedure Functional Type (IS) optional
- PR1-7: Procedure Minutes (NM) optional
- PR1-8: Anesthesiologist (XCN) optional repeating
- PR1-9: Anesthesia Code (IS) optional
- PR1-10: Anesthesia Minutes (NM) optional
- PR1-11: Surgeon (XCN) optional repeating
- PR1-12: Procedure Practitioner (XCN) optional repeating
- PR1-13: Consent Code (CE) optional
- PR1-14: Procedure Priority (ID) optional
- PR1-15: Associated Diagnosis Code (CE) optional
- PR1-16: Procedure Code Modifier (CE) optional repeating
- PR1-17: Procedure DRG Type (IS) optional
- PR1-18: Tissue Type Code (CE) optional repeating
- PR1-19: Procedure Identifier (EI) optional
- PR1-20: Procedure Action Code (ID) 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 PR1-9: "Anesthesia Code" - creates it if necessaryReturns PR1-10: "Anesthesia Minutes" - creates it if necessaryXCN[]Returns all repetitions of Anesthesiologist (PR1-8).getAnesthesiologist(int rep) Returns a specific repetition of PR1-8: "Anesthesiologist" - creates it if necessaryintReturns a count of the current number of repetitions of Anesthesiologist (PR1-8).Returns PR1-15: "Associated Diagnosis Code" - creates it if necessaryReturns PR1-13: "Consent Code" - creates it if necessaryReturns PR1-1: "Set ID - PR1" - creates it if necessaryReturns PR1-10: "Anesthesia Minutes" - creates it if necessaryXCN[]Returns all repetitions of Surgeon (PR1-11).getPr111_Surgeon(int rep) Returns a specific repetition of PR1-11: "Surgeon" - creates it if necessaryintReturns a count of the current number of repetitions of Surgeon (PR1-11).XCN[]Returns all repetitions of Procedure Practitioner (PR1-12).getPr112_ProcedurePractitioner(int rep) Returns a specific repetition of PR1-12: "Procedure Practitioner" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure Practitioner (PR1-12).Returns PR1-13: "Consent Code" - creates it if necessaryReturns PR1-14: "Procedure Priority" - creates it if necessaryReturns PR1-15: "Associated Diagnosis Code" - creates it if necessaryCE[]Returns all repetitions of Procedure Code Modifier (PR1-16).getPr116_ProcedureCodeModifier(int rep) Returns a specific repetition of PR1-16: "Procedure Code Modifier" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure Code Modifier (PR1-16).Returns PR1-17: "Procedure DRG Type" - creates it if necessaryCE[]Returns all repetitions of Tissue Type Code (PR1-18).getPr118_TissueTypeCode(int rep) Returns a specific repetition of PR1-18: "Tissue Type Code" - creates it if necessaryintReturns a count of the current number of repetitions of Tissue Type Code (PR1-18).Returns PR1-19: "Procedure Identifier" - creates it if necessaryReturns PR1-2: "Procedure Coding Method" - creates it if necessaryReturns PR1-20: "Procedure Action Code" - creates it if necessaryReturns PR1-3: "Procedure Code" - creates it if necessaryReturns PR1-4: "Procedure Description" - creates it if necessaryReturns PR1-5: "Procedure Date/Time" - creates it if necessaryReturns PR1-6: "Procedure Functional Type" - creates it if necessaryReturns PR1-7: "Procedure Minutes" - creates it if necessaryXCN[]Returns all repetitions of Anesthesiologist (PR1-8).getPr18_Anesthesiologist(int rep) Returns a specific repetition of PR1-8: "Anesthesiologist" - creates it if necessaryintReturns a count of the current number of repetitions of Anesthesiologist (PR1-8).Returns PR1-9: "Anesthesia Code" - creates it if necessaryReturns PR1-20: "Procedure Action Code" - creates it if necessaryReturns PR1-3: "Procedure Code" - creates it if necessaryCE[]Returns all repetitions of Procedure Code Modifier (PR1-16).getProcedureCodeModifier(int rep) Returns a specific repetition of PR1-16: "Procedure Code Modifier" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure Code Modifier (PR1-16).Returns PR1-2: "Procedure Coding Method" - creates it if necessaryReturns PR1-5: "Procedure Date/Time" - creates it if necessaryReturns PR1-4: "Procedure Description" - creates it if necessaryReturns PR1-17: "Procedure DRG Type" - creates it if necessaryReturns PR1-6: "Procedure Functional Type" - creates it if necessaryReturns PR1-19: "Procedure Identifier" - creates it if necessaryReturns PR1-7: "Procedure Minutes" - creates it if necessaryXCN[]Returns all repetitions of Procedure Practitioner (PR1-12).getProcedurePractitioner(int rep) Returns a specific repetition of PR1-12: "Procedure Practitioner" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure Practitioner (PR1-12).Returns PR1-14: "Procedure Priority" - creates it if necessaryReturns PR1-1: "Set ID - PR1" - creates it if necessaryXCN[]Returns all repetitions of Surgeon (PR1-11).getSurgeon(int rep) Returns a specific repetition of PR1-11: "Surgeon" - creates it if necessaryintReturns a count of the current number of repetitions of Surgeon (PR1-11).CE[]Returns all repetitions of Tissue Type Code (PR1-18).getTissueTypeCode(int rep) Returns a specific repetition of PR1-18: "Tissue Type Code" - creates it if necessaryintReturns a count of the current number of repetitions of Tissue Type Code (PR1-18).insertAnesthesiologist(int rep) Inserts a repetition of PR1-8: "Anesthesiologist" at a specific indexinsertPr111_Surgeon(int rep) Inserts a repetition of PR1-11: "Surgeon" at a specific indexinsertPr112_ProcedurePractitioner(int rep) Inserts a repetition of PR1-12: "Procedure Practitioner" at a specific indexinsertPr116_ProcedureCodeModifier(int rep) Inserts a repetition of PR1-16: "Procedure Code Modifier" at a specific indexinsertPr118_TissueTypeCode(int rep) Inserts a repetition of PR1-18: "Tissue Type Code" at a specific indexinsertPr18_Anesthesiologist(int rep) Inserts a repetition of PR1-8: "Anesthesiologist" at a specific indexinsertProcedureCodeModifier(int rep) Inserts a repetition of PR1-16: "Procedure Code Modifier" at a specific indexinsertProcedurePractitioner(int rep) Inserts a repetition of PR1-12: "Procedure Practitioner" at a specific indexinsertSurgeon(int rep) Inserts a repetition of PR1-11: "Surgeon" at a specific indexinsertTissueTypeCode(int rep) Inserts a repetition of PR1-18: "Tissue Type Code" at a specific indexremoveAnesthesiologist(int rep) Removes a repetition of PR1-8: "Anesthesiologist" at a specific indexremovePr111_Surgeon(int rep) Removes a repetition of PR1-11: "Surgeon" at a specific indexremovePr112_ProcedurePractitioner(int rep) Removes a repetition of PR1-12: "Procedure Practitioner" at a specific indexremovePr116_ProcedureCodeModifier(int rep) Removes a repetition of PR1-16: "Procedure Code Modifier" at a specific indexremovePr118_TissueTypeCode(int rep) Removes a repetition of PR1-18: "Tissue Type Code" at a specific indexremovePr18_Anesthesiologist(int rep) Removes a repetition of PR1-8: "Anesthesiologist" at a specific indexremoveProcedureCodeModifier(int rep) Removes a repetition of PR1-16: "Procedure Code Modifier" at a specific indexremoveProcedurePractitioner(int rep) Removes a repetition of PR1-12: "Procedure Practitioner" at a specific indexremoveSurgeon(int rep) Removes a repetition of PR1-11: "Surgeon" at a specific indexremoveTissueTypeCode(int rep) Removes a repetition of PR1-18: "Tissue Type Code" 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
-
PR1
Creates a new PR1 segment
-
-
Method Details
-
getSetIDPR1
Returns PR1-1: "Set ID - PR1" - creates it if necessary -
getPr11_SetIDPR1
Returns PR1-1: "Set ID - PR1" - creates it if necessary -
getProcedureCodingMethod
Returns PR1-2: "Procedure Coding Method" - creates it if necessary -
getPr12_ProcedureCodingMethod
Returns PR1-2: "Procedure Coding Method" - creates it if necessary -
getProcedureCode
Returns PR1-3: "Procedure Code" - creates it if necessary -
getPr13_ProcedureCode
Returns PR1-3: "Procedure Code" - creates it if necessary -
getProcedureDescription
Returns PR1-4: "Procedure Description" - creates it if necessary -
getPr14_ProcedureDescription
Returns PR1-4: "Procedure Description" - creates it if necessary -
getProcedureDateTime
Returns PR1-5: "Procedure Date/Time" - creates it if necessary -
getPr15_ProcedureDateTime
Returns PR1-5: "Procedure Date/Time" - creates it if necessary -
getProcedureFunctionalType
Returns PR1-6: "Procedure Functional Type" - creates it if necessary -
getPr16_ProcedureFunctionalType
Returns PR1-6: "Procedure Functional Type" - creates it if necessary -
getProcedureMinutes
Returns PR1-7: "Procedure Minutes" - creates it if necessary -
getPr17_ProcedureMinutes
Returns PR1-7: "Procedure Minutes" - creates it if necessary -
getAnesthesiologist
Returns all repetitions of Anesthesiologist (PR1-8). -
getPr18_Anesthesiologist
Returns all repetitions of Anesthesiologist (PR1-8). -
getAnesthesiologistReps
Returns a count of the current number of repetitions of Anesthesiologist (PR1-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getAnesthesiologist
Returns a specific repetition of PR1-8: "Anesthesiologist" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr18_Anesthesiologist
Returns a specific repetition of PR1-8: "Anesthesiologist" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr18_AnesthesiologistReps
Returns a count of the current number of repetitions of Anesthesiologist (PR1-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertAnesthesiologist
Inserts a repetition of PR1-8: "Anesthesiologist" 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)
-
insertPr18_Anesthesiologist
Inserts a repetition of PR1-8: "Anesthesiologist" 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)
-
removeAnesthesiologist
Removes a repetition of PR1-8: "Anesthesiologist" 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)
-
removePr18_Anesthesiologist
Removes a repetition of PR1-8: "Anesthesiologist" 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)
-
getAnesthesiaCode
Returns PR1-9: "Anesthesia Code" - creates it if necessary -
getPr19_AnesthesiaCode
Returns PR1-9: "Anesthesia Code" - creates it if necessary -
getAnesthesiaMinutes
Returns PR1-10: "Anesthesia Minutes" - creates it if necessary -
getPr110_AnesthesiaMinutes
Returns PR1-10: "Anesthesia Minutes" - creates it if necessary -
getSurgeon
Returns all repetitions of Surgeon (PR1-11). -
getPr111_Surgeon
Returns all repetitions of Surgeon (PR1-11). -
getSurgeonReps
Returns a count of the current number of repetitions of Surgeon (PR1-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSurgeon
Returns a specific repetition of PR1-11: "Surgeon" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr111_Surgeon
Returns a specific repetition of PR1-11: "Surgeon" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr111_SurgeonReps
Returns a count of the current number of repetitions of Surgeon (PR1-11). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSurgeon
Inserts a repetition of PR1-11: "Surgeon" 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)
-
insertPr111_Surgeon
Inserts a repetition of PR1-11: "Surgeon" 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)
-
removeSurgeon
Removes a repetition of PR1-11: "Surgeon" 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)
-
removePr111_Surgeon
Removes a repetition of PR1-11: "Surgeon" 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)
-
getProcedurePractitioner
Returns all repetitions of Procedure Practitioner (PR1-12). -
getPr112_ProcedurePractitioner
Returns all repetitions of Procedure Practitioner (PR1-12). -
getProcedurePractitionerReps
Returns a count of the current number of repetitions of Procedure Practitioner (PR1-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProcedurePractitioner
Returns a specific repetition of PR1-12: "Procedure Practitioner" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr112_ProcedurePractitioner
Returns a specific repetition of PR1-12: "Procedure Practitioner" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr112_ProcedurePractitionerReps
Returns a count of the current number of repetitions of Procedure Practitioner (PR1-12). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProcedurePractitioner
Inserts a repetition of PR1-12: "Procedure Practitioner" 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)
-
insertPr112_ProcedurePractitioner
Inserts a repetition of PR1-12: "Procedure Practitioner" 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)
-
removeProcedurePractitioner
Removes a repetition of PR1-12: "Procedure Practitioner" 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)
-
removePr112_ProcedurePractitioner
Removes a repetition of PR1-12: "Procedure Practitioner" 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)
-
getConsentCode
Returns PR1-13: "Consent Code" - creates it if necessary -
getPr113_ConsentCode
Returns PR1-13: "Consent Code" - creates it if necessary -
getProcedurePriority
Returns PR1-14: "Procedure Priority" - creates it if necessary -
getPr114_ProcedurePriority
Returns PR1-14: "Procedure Priority" - creates it if necessary -
getAssociatedDiagnosisCode
Returns PR1-15: "Associated Diagnosis Code" - creates it if necessary -
getPr115_AssociatedDiagnosisCode
Returns PR1-15: "Associated Diagnosis Code" - creates it if necessary -
getProcedureCodeModifier
Returns all repetitions of Procedure Code Modifier (PR1-16). -
getPr116_ProcedureCodeModifier
Returns all repetitions of Procedure Code Modifier (PR1-16). -
getProcedureCodeModifierReps
Returns a count of the current number of repetitions of Procedure Code Modifier (PR1-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProcedureCodeModifier
Returns a specific repetition of PR1-16: "Procedure Code Modifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr116_ProcedureCodeModifier
Returns a specific repetition of PR1-16: "Procedure Code Modifier" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr116_ProcedureCodeModifierReps
Returns a count of the current number of repetitions of Procedure Code Modifier (PR1-16). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProcedureCodeModifier
Inserts a repetition of PR1-16: "Procedure Code Modifier" 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)
-
insertPr116_ProcedureCodeModifier
Inserts a repetition of PR1-16: "Procedure Code Modifier" 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)
-
removeProcedureCodeModifier
Removes a repetition of PR1-16: "Procedure Code Modifier" 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)
-
removePr116_ProcedureCodeModifier
Removes a repetition of PR1-16: "Procedure Code Modifier" 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)
-
getProcedureDRGType
Returns PR1-17: "Procedure DRG Type" - creates it if necessary -
getPr117_ProcedureDRGType
Returns PR1-17: "Procedure DRG Type" - creates it if necessary -
getTissueTypeCode
Returns all repetitions of Tissue Type Code (PR1-18). -
getPr118_TissueTypeCode
Returns all repetitions of Tissue Type Code (PR1-18). -
getTissueTypeCodeReps
Returns a count of the current number of repetitions of Tissue Type Code (PR1-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getTissueTypeCode
Returns a specific repetition of PR1-18: "Tissue Type Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr118_TissueTypeCode
Returns a specific repetition of PR1-18: "Tissue Type Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr118_TissueTypeCodeReps
Returns a count of the current number of repetitions of Tissue Type Code (PR1-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertTissueTypeCode
Inserts a repetition of PR1-18: "Tissue Type Code" 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)
-
insertPr118_TissueTypeCode
Inserts a repetition of PR1-18: "Tissue Type Code" 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)
-
removeTissueTypeCode
Removes a repetition of PR1-18: "Tissue Type Code" 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)
-
removePr118_TissueTypeCode
Removes a repetition of PR1-18: "Tissue Type Code" 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)
-
getProcedureIdentifier
Returns PR1-19: "Procedure Identifier" - creates it if necessary -
getPr119_ProcedureIdentifier
Returns PR1-19: "Procedure Identifier" - creates it if necessary -
getProcedureActionCode
Returns PR1-20: "Procedure Action Code" - creates it if necessary -
getPr120_ProcedureActionCode
Returns PR1-20: "Procedure Action Code" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-