Package ca.uhn.hl7v2.model.v23.segment
Class PR1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.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 - Procedure (SI)
- PR1-2: Procedure Coding Method (IS)
- PR1-3: Procedure Code (CE) optional
- PR1-4: Procedure Description (ST) optional
- PR1-5: Procedure Date/Time (TS) optional
- PR1-6: Procedure Type (ID)
- 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 (NM) optional
- PR1-15: Associated Diagnosis Code (CE) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns 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 - Procedure" - 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 necessaryReturns PR1-2: "Procedure Coding Method" - 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 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-3: "Procedure Code" - creates it if necessaryReturns 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-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-6: "Procedure Type" - creates it if necessaryReturns PR1-1: "Set ID - Procedure" - 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).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 indexinsertPr18_Anesthesiologist(int rep) Inserts a repetition of PR1-8: "Anesthesiologist" 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 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 indexremovePr18_Anesthesiologist(int rep) Removes a repetition of PR1-8: "Anesthesiologist" 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 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
-
getSetIDProcedure
Returns PR1-1: "Set ID - Procedure" - creates it if necessary -
getPr11_SetIDProcedure
Returns PR1-1: "Set ID - Procedure" - 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 -
getProcedureType
Returns PR1-6: "Procedure Type" - creates it if necessary -
getPr16_ProcedureType
Returns PR1-6: "Procedure 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 -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-