Package ca.uhn.hl7v2.model.v251.segment
Class IPC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.IPC
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 IPC message segment (Imaging Procedure Control Segment). This segment has the following fields:
- IPC-1: Accession Identifier (EI)
- IPC-2: Requested Procedure ID (EI)
- IPC-3: Study Instance UID (EI)
- IPC-4: Scheduled Procedure Step ID (EI)
- IPC-5: Modality (CE) optional
- IPC-6: Protocol Code (CE) optional repeating
- IPC-7: Scheduled Station Name (EI) optional
- IPC-8: Scheduled Procedure Step Location (CE) optional repeating
- IPC-9: Scheduled AE Title (ST) 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 IPC-1: "Accession Identifier" - creates it if necessaryReturns IPC-1: "Accession Identifier" - creates it if necessaryReturns IPC-2: "Requested Procedure ID" - creates it if necessaryReturns IPC-3: "Study Instance UID" - creates it if necessaryReturns IPC-4: "Scheduled Procedure Step ID" - creates it if necessaryReturns IPC-5: "Modality" - creates it if necessaryCE[]Returns all repetitions of Protocol Code (IPC-6).getIpc6_ProtocolCode(int rep) Returns a specific repetition of IPC-6: "Protocol Code" - creates it if necessaryintReturns a count of the current number of repetitions of Protocol Code (IPC-6).Returns IPC-7: "Scheduled Station Name" - creates it if necessaryCE[]Returns all repetitions of Scheduled Procedure Step Location (IPC-8).Returns a specific repetition of IPC-8: "Scheduled Procedure Step Location" - creates it if necessaryintReturns a count of the current number of repetitions of Scheduled Procedure Step Location (IPC-8).Returns IPC-9: "Scheduled AE Title" - creates it if necessaryReturns IPC-5: "Modality" - creates it if necessaryCE[]Returns all repetitions of Protocol Code (IPC-6).getProtocolCode(int rep) Returns a specific repetition of IPC-6: "Protocol Code" - creates it if necessaryintReturns a count of the current number of repetitions of Protocol Code (IPC-6).Returns IPC-2: "Requested Procedure ID" - creates it if necessaryReturns IPC-9: "Scheduled AE Title" - creates it if necessaryReturns IPC-4: "Scheduled Procedure Step ID" - creates it if necessaryCE[]Returns all repetitions of Scheduled Procedure Step Location (IPC-8).getScheduledProcedureStepLocation(int rep) Returns a specific repetition of IPC-8: "Scheduled Procedure Step Location" - creates it if necessaryintReturns a count of the current number of repetitions of Scheduled Procedure Step Location (IPC-8).Returns IPC-7: "Scheduled Station Name" - creates it if necessaryReturns IPC-3: "Study Instance UID" - creates it if necessaryinsertIpc6_ProtocolCode(int rep) Inserts a repetition of IPC-6: "Protocol Code" at a specific indexInserts a repetition of IPC-8: "Scheduled Procedure Step Location" at a specific indexinsertProtocolCode(int rep) Inserts a repetition of IPC-6: "Protocol Code" at a specific indexinsertScheduledProcedureStepLocation(int rep) Inserts a repetition of IPC-8: "Scheduled Procedure Step Location" at a specific indexremoveIpc6_ProtocolCode(int rep) Removes a repetition of IPC-6: "Protocol Code" at a specific indexRemoves a repetition of IPC-8: "Scheduled Procedure Step Location" at a specific indexremoveProtocolCode(int rep) Removes a repetition of IPC-6: "Protocol Code" at a specific indexremoveScheduledProcedureStepLocation(int rep) Removes a repetition of IPC-8: "Scheduled Procedure Step Location" 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
-
IPC
Creates a new IPC segment
-
-
Method Details
-
getAccessionIdentifier
Returns IPC-1: "Accession Identifier" - creates it if necessary -
getIpc1_AccessionIdentifier
Returns IPC-1: "Accession Identifier" - creates it if necessary -
getRequestedProcedureID
Returns IPC-2: "Requested Procedure ID" - creates it if necessary -
getIpc2_RequestedProcedureID
Returns IPC-2: "Requested Procedure ID" - creates it if necessary -
getStudyInstanceUID
Returns IPC-3: "Study Instance UID" - creates it if necessary -
getIpc3_StudyInstanceUID
Returns IPC-3: "Study Instance UID" - creates it if necessary -
getScheduledProcedureStepID
Returns IPC-4: "Scheduled Procedure Step ID" - creates it if necessary -
getIpc4_ScheduledProcedureStepID
Returns IPC-4: "Scheduled Procedure Step ID" - creates it if necessary -
getModality
Returns IPC-5: "Modality" - creates it if necessary -
getIpc5_Modality
Returns IPC-5: "Modality" - creates it if necessary -
getProtocolCode
Returns all repetitions of Protocol Code (IPC-6). -
getIpc6_ProtocolCode
Returns all repetitions of Protocol Code (IPC-6). -
getProtocolCodeReps
Returns a count of the current number of repetitions of Protocol Code (IPC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProtocolCode
Returns a specific repetition of IPC-6: "Protocol Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIpc6_ProtocolCode
Returns a specific repetition of IPC-6: "Protocol Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIpc6_ProtocolCodeReps
Returns a count of the current number of repetitions of Protocol Code (IPC-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProtocolCode
Inserts a repetition of IPC-6: "Protocol 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)
-
insertIpc6_ProtocolCode
Inserts a repetition of IPC-6: "Protocol 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)
-
removeProtocolCode
Removes a repetition of IPC-6: "Protocol 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)
-
removeIpc6_ProtocolCode
Removes a repetition of IPC-6: "Protocol 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)
-
getScheduledStationName
Returns IPC-7: "Scheduled Station Name" - creates it if necessary -
getIpc7_ScheduledStationName
Returns IPC-7: "Scheduled Station Name" - creates it if necessary -
getScheduledProcedureStepLocation
Returns all repetitions of Scheduled Procedure Step Location (IPC-8). -
getIpc8_ScheduledProcedureStepLocation
Returns all repetitions of Scheduled Procedure Step Location (IPC-8). -
getScheduledProcedureStepLocationReps
Returns a count of the current number of repetitions of Scheduled Procedure Step Location (IPC-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getScheduledProcedureStepLocation
Returns a specific repetition of IPC-8: "Scheduled Procedure Step Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIpc8_ScheduledProcedureStepLocation
Returns a specific repetition of IPC-8: "Scheduled Procedure Step Location" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getIpc8_ScheduledProcedureStepLocationReps
Returns a count of the current number of repetitions of Scheduled Procedure Step Location (IPC-8). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertScheduledProcedureStepLocation
Inserts a repetition of IPC-8: "Scheduled Procedure Step Location" 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)
-
insertIpc8_ScheduledProcedureStepLocation
Inserts a repetition of IPC-8: "Scheduled Procedure Step Location" 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)
-
removeScheduledProcedureStepLocation
Removes a repetition of IPC-8: "Scheduled Procedure Step Location" 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)
-
removeIpc8_ScheduledProcedureStepLocation
Removes a repetition of IPC-8: "Scheduled Procedure Step Location" 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)
-
getScheduledAETitle
Returns IPC-9: "Scheduled AE Title" - creates it if necessary -
getIpc9_ScheduledAETitle
Returns IPC-9: "Scheduled AE Title" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-