Package ca.uhn.hl7v2.model.v24.segment
Class AIP
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.AIP
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 AIP message segment (Appointment Information - Personnel Resource). This segment has the following fields:
- AIP-1: Set ID - AIP (SI)
- AIP-2: Segment Action Code (ID) optional
- AIP-3: Personnel Resource ID (XCN) optional repeating
- AIP-4: Resource Role (CE)
- AIP-5: Resource Group (CE) optional
- AIP-6: Start Date/Time (TS) optional
- AIP-7: Start Date/Time Offset (NM) optional
- AIP-8: Start Date/Time Offset Units (CE) optional
- AIP-9: Duration (NM) optional
- AIP-10: Duration Units (CE) optional
- AIP-11: Allow Substitution Code (IS) optional
- AIP-12: Filler Status 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 AIP-1: "Set ID - AIP" - creates it if necessaryReturns AIP-10: "Duration Units" - creates it if necessaryReturns AIP-11: "Allow Substitution Code" - creates it if necessaryReturns AIP-12: "Filler Status Code" - creates it if necessaryReturns AIP-2: "Segment Action Code" - creates it if necessaryXCN[]Returns all repetitions of Personnel Resource ID (AIP-3).getAip3_PersonnelResourceID(int rep) Returns a specific repetition of AIP-3: "Personnel Resource ID" - creates it if necessaryintReturns a count of the current number of repetitions of Personnel Resource ID (AIP-3).Returns AIP-4: "Resource Role" - creates it if necessaryReturns AIP-5: "Resource Group" - creates it if necessaryReturns AIP-6: "Start Date/Time" - creates it if necessaryReturns AIP-7: "Start Date/Time Offset" - creates it if necessaryReturns AIP-8: "Start Date/Time Offset Units" - creates it if necessaryReturns AIP-9: "Duration" - creates it if necessaryReturns AIP-11: "Allow Substitution Code" - creates it if necessaryReturns AIP-9: "Duration" - creates it if necessaryReturns AIP-10: "Duration Units" - creates it if necessaryReturns AIP-12: "Filler Status Code" - creates it if necessaryXCN[]Returns all repetitions of Personnel Resource ID (AIP-3).getPersonnelResourceID(int rep) Returns a specific repetition of AIP-3: "Personnel Resource ID" - creates it if necessaryintReturns a count of the current number of repetitions of Personnel Resource ID (AIP-3).Returns AIP-5: "Resource Group" - creates it if necessaryReturns AIP-4: "Resource Role" - creates it if necessaryReturns AIP-2: "Segment Action Code" - creates it if necessaryReturns AIP-1: "Set ID - AIP" - creates it if necessaryReturns AIP-6: "Start Date/Time" - creates it if necessaryReturns AIP-7: "Start Date/Time Offset" - creates it if necessaryReturns AIP-8: "Start Date/Time Offset Units" - creates it if necessaryinsertAip3_PersonnelResourceID(int rep) Inserts a repetition of AIP-3: "Personnel Resource ID" at a specific indexinsertPersonnelResourceID(int rep) Inserts a repetition of AIP-3: "Personnel Resource ID" at a specific indexremoveAip3_PersonnelResourceID(int rep) Removes a repetition of AIP-3: "Personnel Resource ID" at a specific indexremovePersonnelResourceID(int rep) Removes a repetition of AIP-3: "Personnel Resource ID" 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
-
AIP
Creates a new AIP segment
-
-
Method Details
-
getSetIDAIP
Returns AIP-1: "Set ID - AIP" - creates it if necessary -
getAip1_SetIDAIP
Returns AIP-1: "Set ID - AIP" - creates it if necessary -
getSegmentActionCode
Returns AIP-2: "Segment Action Code" - creates it if necessary -
getAip2_SegmentActionCode
Returns AIP-2: "Segment Action Code" - creates it if necessary -
getPersonnelResourceID
Returns all repetitions of Personnel Resource ID (AIP-3). -
getAip3_PersonnelResourceID
Returns all repetitions of Personnel Resource ID (AIP-3). -
getPersonnelResourceIDReps
Returns a count of the current number of repetitions of Personnel Resource ID (AIP-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getPersonnelResourceID
Returns a specific repetition of AIP-3: "Personnel Resource ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getAip3_PersonnelResourceID
Returns a specific repetition of AIP-3: "Personnel Resource ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getAip3_PersonnelResourceIDReps
Returns a count of the current number of repetitions of Personnel Resource ID (AIP-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertPersonnelResourceID
Inserts a repetition of AIP-3: "Personnel Resource ID" 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)
-
insertAip3_PersonnelResourceID
Inserts a repetition of AIP-3: "Personnel Resource ID" 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)
-
removePersonnelResourceID
Removes a repetition of AIP-3: "Personnel Resource ID" 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)
-
removeAip3_PersonnelResourceID
Removes a repetition of AIP-3: "Personnel Resource ID" 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)
-
getResourceRole
Returns AIP-4: "Resource Role" - creates it if necessary -
getAip4_ResourceRole
Returns AIP-4: "Resource Role" - creates it if necessary -
getResourceGroup
Returns AIP-5: "Resource Group" - creates it if necessary -
getAip5_ResourceGroup
Returns AIP-5: "Resource Group" - creates it if necessary -
getStartDateTime
Returns AIP-6: "Start Date/Time" - creates it if necessary -
getAip6_StartDateTime
Returns AIP-6: "Start Date/Time" - creates it if necessary -
getStartDateTimeOffset
Returns AIP-7: "Start Date/Time Offset" - creates it if necessary -
getAip7_StartDateTimeOffset
Returns AIP-7: "Start Date/Time Offset" - creates it if necessary -
getStartDateTimeOffsetUnits
Returns AIP-8: "Start Date/Time Offset Units" - creates it if necessary -
getAip8_StartDateTimeOffsetUnits
Returns AIP-8: "Start Date/Time Offset Units" - creates it if necessary -
getDuration
Returns AIP-9: "Duration" - creates it if necessary -
getAip9_Duration
Returns AIP-9: "Duration" - creates it if necessary -
getDurationUnits
Returns AIP-10: "Duration Units" - creates it if necessary -
getAip10_DurationUnits
Returns AIP-10: "Duration Units" - creates it if necessary -
getAllowSubstitutionCode
Returns AIP-11: "Allow Substitution Code" - creates it if necessary -
getAip11_AllowSubstitutionCode
Returns AIP-11: "Allow Substitution Code" - creates it if necessary -
getFillerStatusCode
Returns AIP-12: "Filler Status Code" - creates it if necessary -
getAip12_FillerStatusCode
Returns AIP-12: "Filler Status Code" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-