Package ca.uhn.hl7v2.model.v22.segment
Class PR1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.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 (ID) repeating
- PR1-3: Procedure code (ID) repeating
- PR1-4: Procedure description (ST) optional repeating
- PR1-5: Procedure date / time (TS)
- PR1-6: Procedure type (ID)
- PR1-7: Procedure minutes (NM) optional
- PR1-8: Anesthesiologist (CN) optional
- PR1-9: Anesthesia code (ID) optional
- PR1-10: Anesthesia minutes (NM) optional
- PR1-11: Surgeon (CN) optional
- PR1-12: Procedure Practitioner (CM_PRACTITIONER) optional repeating
- PR1-13: Consent code (ID) optional
- PR1-14: Procedure priority (NM) 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 necessaryReturns PR1-8: "Anesthesiologist" - 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 necessaryReturns PR1-11: "Surgeon" - creates it if necessaryReturns 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 necessaryID[]Returns all repetitions of Procedure coding method (PR1-2).getPr12_ProcedureCodingMethod(int rep) Returns a specific repetition of PR1-2: "Procedure coding method" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure coding method (PR1-2).ID[]Returns all repetitions of Procedure code (PR1-3).getPr13_ProcedureCode(int rep) Returns a specific repetition of PR1-3: "Procedure code" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure code (PR1-3).ST[]Returns all repetitions of Procedure description (PR1-4).getPr14_ProcedureDescription(int rep) Returns a specific repetition of PR1-4: "Procedure description" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure description (PR1-4).Returns PR1-5: "Procedure date / time" - creates it if necessaryReturns PR1-6: "Procedure type" - creates it if necessaryReturns PR1-7: "Procedure minutes" - creates it if necessaryReturns PR1-8: "Anesthesiologist" - creates it if necessaryReturns PR1-9: "Anesthesia code" - creates it if necessaryID[]Returns all repetitions of Procedure code (PR1-3).getProcedureCode(int rep) Returns a specific repetition of PR1-3: "Procedure code" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure code (PR1-3).ID[]Returns all repetitions of Procedure coding method (PR1-2).getProcedureCodingMethod(int rep) Returns a specific repetition of PR1-2: "Procedure coding method" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure coding method (PR1-2).Returns PR1-5: "Procedure date / time" - creates it if necessaryST[]Returns all repetitions of Procedure description (PR1-4).getProcedureDescription(int rep) Returns a specific repetition of PR1-4: "Procedure description" - creates it if necessaryintReturns a count of the current number of repetitions of Procedure description (PR1-4).Returns PR1-7: "Procedure minutes" - creates it if necessaryReturns 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 necessaryReturns PR1-11: "Surgeon" - creates it if necessaryinsertPr112_ProcedurePractitioner(int rep) Inserts a repetition of PR1-12: "Procedure Practitioner" at a specific indexinsertPr12_ProcedureCodingMethod(int rep) Inserts a repetition of PR1-2: "Procedure coding method" at a specific indexinsertPr13_ProcedureCode(int rep) Inserts a repetition of PR1-3: "Procedure code" at a specific indexinsertPr14_ProcedureDescription(int rep) Inserts a repetition of PR1-4: "Procedure description" at a specific indexinsertProcedureCode(int rep) Inserts a repetition of PR1-3: "Procedure code" at a specific indexinsertProcedureCodingMethod(int rep) Inserts a repetition of PR1-2: "Procedure coding method" at a specific indexinsertProcedureDescription(int rep) Inserts a repetition of PR1-4: "Procedure description" at a specific indexinsertProcedurePractitioner(int rep) Inserts a repetition of PR1-12: "Procedure Practitioner" at a specific indexremovePr112_ProcedurePractitioner(int rep) Removes a repetition of PR1-12: "Procedure Practitioner" at a specific indexremovePr12_ProcedureCodingMethod(int rep) Removes a repetition of PR1-2: "Procedure coding method" at a specific indexremovePr13_ProcedureCode(int rep) Removes a repetition of PR1-3: "Procedure code" at a specific indexremovePr14_ProcedureDescription(int rep) Removes a repetition of PR1-4: "Procedure description" at a specific indexremoveProcedureCode(int rep) Removes a repetition of PR1-3: "Procedure code" at a specific indexremoveProcedureCodingMethod(int rep) Removes a repetition of PR1-2: "Procedure coding method" at a specific indexremoveProcedureDescription(int rep) Removes a repetition of PR1-4: "Procedure description" at a specific indexremoveProcedurePractitioner(int rep) Removes a repetition of PR1-12: "Procedure Practitioner" 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 all repetitions of Procedure coding method (PR1-2). -
getPr12_ProcedureCodingMethod
Returns all repetitions of Procedure coding method (PR1-2). -
getProcedureCodingMethodReps
Returns a count of the current number of repetitions of Procedure coding method (PR1-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProcedureCodingMethod
Returns a specific repetition of PR1-2: "Procedure coding method" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr12_ProcedureCodingMethod
Returns a specific repetition of PR1-2: "Procedure coding method" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr12_ProcedureCodingMethodReps
Returns a count of the current number of repetitions of Procedure coding method (PR1-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProcedureCodingMethod
Inserts a repetition of PR1-2: "Procedure coding method" 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)
-
insertPr12_ProcedureCodingMethod
Inserts a repetition of PR1-2: "Procedure coding method" 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)
-
removeProcedureCodingMethod
Removes a repetition of PR1-2: "Procedure coding method" 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)
-
removePr12_ProcedureCodingMethod
Removes a repetition of PR1-2: "Procedure coding method" 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)
-
getProcedureCode
Returns all repetitions of Procedure code (PR1-3). -
getPr13_ProcedureCode
Returns all repetitions of Procedure code (PR1-3). -
getProcedureCodeReps
Returns a count of the current number of repetitions of Procedure code (PR1-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProcedureCode
Returns a specific repetition of PR1-3: "Procedure code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr13_ProcedureCode
Returns a specific repetition of PR1-3: "Procedure code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr13_ProcedureCodeReps
Returns a count of the current number of repetitions of Procedure code (PR1-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProcedureCode
Inserts a repetition of PR1-3: "Procedure 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)
-
insertPr13_ProcedureCode
Inserts a repetition of PR1-3: "Procedure 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)
-
removeProcedureCode
Removes a repetition of PR1-3: "Procedure 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)
-
removePr13_ProcedureCode
Removes a repetition of PR1-3: "Procedure 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)
-
getProcedureDescription
Returns all repetitions of Procedure description (PR1-4). -
getPr14_ProcedureDescription
Returns all repetitions of Procedure description (PR1-4). -
getProcedureDescriptionReps
Returns a count of the current number of repetitions of Procedure description (PR1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProcedureDescription
Returns a specific repetition of PR1-4: "Procedure description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr14_ProcedureDescription
Returns a specific repetition of PR1-4: "Procedure description" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPr14_ProcedureDescriptionReps
Returns a count of the current number of repetitions of Procedure description (PR1-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProcedureDescription
Inserts a repetition of PR1-4: "Procedure description" 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)
-
insertPr14_ProcedureDescription
Inserts a repetition of PR1-4: "Procedure description" 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)
-
removeProcedureDescription
Removes a repetition of PR1-4: "Procedure description" 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)
-
removePr14_ProcedureDescription
Removes a repetition of PR1-4: "Procedure description" 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)
-
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 PR1-8: "Anesthesiologist" - creates it if necessary -
getPr18_Anesthesiologist
Returns PR1-8: "Anesthesiologist" - creates it if necessary -
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 PR1-11: "Surgeon" - creates it if necessary -
getPr111_Surgeon
Returns PR1-11: "Surgeon" - creates it if necessary -
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 -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-