Package ca.uhn.hl7v2.model.v22.segment
Class GT1
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v22.segment.GT1
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 GT1 message segment (GUARANTOR). This segment has the following fields:
- GT1-1: Set ID - guarantor (SI)
- GT1-2: Guarantor number (CK) optional
- GT1-3: Guarantor name (PN)
- GT1-4: Guarantor spouse name (PN) optional
- GT1-5: Guarantor address (AD) optional
- GT1-6: Guarantor phone number - home (TN) optional repeating
- GT1-7: Guarantor phone number - business (TN) optional repeating
- GT1-8: Guarantor date of birth (DT) optional
- GT1-9: Guarantor sex (ID) optional
- GT1-10: Guarantor type (ID) optional
- GT1-11: Guarantor relationship (ID) optional
- GT1-12: Guarantor social security number (ST) optional
- GT1-13: Guarantor date - begin (DT) optional
- GT1-14: Guarantor date - end (DT) optional
- GT1-15: Guarantor priority (NM) optional
- GT1-16: Guarantor employer name (ST) optional
- GT1-17: Guarantor employer address (AD) optional
- GT1-18: Guarantor employ phone number (TN) optional repeating
- GT1-19: Guarantor employee ID number (ST) optional
- GT1-20: Guarantor employment status (ID) optional
- GT1-21: Guarantor organization (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 GT1-1: "Set ID - guarantor" - creates it if necessaryReturns GT1-10: "Guarantor type" - creates it if necessaryReturns GT1-11: "Guarantor relationship" - creates it if necessaryReturns GT1-12: "Guarantor social security number" - creates it if necessaryReturns GT1-13: "Guarantor date - begin" - creates it if necessaryReturns GT1-14: "Guarantor date - end" - creates it if necessaryReturns GT1-15: "Guarantor priority" - creates it if necessaryReturns GT1-16: "Guarantor employer name" - creates it if necessaryReturns GT1-17: "Guarantor employer address" - creates it if necessaryTN[]Returns all repetitions of Guarantor employ phone number (GT1-18).getGt118_GuarantorEmployPhoneNumber(int rep) Returns a specific repetition of GT1-18: "Guarantor employ phone number" - creates it if necessaryintReturns a count of the current number of repetitions of Guarantor employ phone number (GT1-18).Returns GT1-19: "Guarantor employee ID number" - creates it if necessaryReturns GT1-2: "Guarantor number" - creates it if necessaryReturns GT1-20: "Guarantor employment status" - creates it if necessaryReturns GT1-21: "Guarantor organization" - creates it if necessaryReturns GT1-3: "Guarantor name" - creates it if necessaryReturns GT1-4: "Guarantor spouse name" - creates it if necessaryReturns GT1-5: "Guarantor address" - creates it if necessaryTN[]Returns all repetitions of Guarantor phone number - home (GT1-6).getGt16_GuarantorPhoneNumberHome(int rep) Returns a specific repetition of GT1-6: "Guarantor phone number - home" - creates it if necessaryintReturns a count of the current number of repetitions of Guarantor phone number - home (GT1-6).TN[]Returns all repetitions of Guarantor phone number - business (GT1-7).getGt17_GuarantorPhoneNumberBusiness(int rep) Returns a specific repetition of GT1-7: "Guarantor phone number - business" - creates it if necessaryintReturns a count of the current number of repetitions of Guarantor phone number - business (GT1-7).Returns GT1-8: "Guarantor date of birth" - creates it if necessaryReturns GT1-9: "Guarantor sex" - creates it if necessaryReturns GT1-5: "Guarantor address" - creates it if necessaryReturns GT1-13: "Guarantor date - begin" - creates it if necessaryReturns GT1-14: "Guarantor date - end" - creates it if necessaryReturns GT1-8: "Guarantor date of birth" - creates it if necessaryReturns GT1-19: "Guarantor employee ID number" - creates it if necessaryReturns GT1-17: "Guarantor employer address" - creates it if necessaryReturns GT1-16: "Guarantor employer name" - creates it if necessaryReturns GT1-20: "Guarantor employment status" - creates it if necessaryTN[]Returns all repetitions of Guarantor employ phone number (GT1-18).getGuarantorEmployPhoneNumber(int rep) Returns a specific repetition of GT1-18: "Guarantor employ phone number" - creates it if necessaryintReturns a count of the current number of repetitions of Guarantor employ phone number (GT1-18).Returns GT1-3: "Guarantor name" - creates it if necessaryReturns GT1-2: "Guarantor number" - creates it if necessaryReturns GT1-21: "Guarantor organization" - creates it if necessaryTN[]Returns all repetitions of Guarantor phone number - business (GT1-7).getGuarantorPhoneNumberBusiness(int rep) Returns a specific repetition of GT1-7: "Guarantor phone number - business" - creates it if necessaryintReturns a count of the current number of repetitions of Guarantor phone number - business (GT1-7).TN[]Returns all repetitions of Guarantor phone number - home (GT1-6).getGuarantorPhoneNumberHome(int rep) Returns a specific repetition of GT1-6: "Guarantor phone number - home" - creates it if necessaryintReturns a count of the current number of repetitions of Guarantor phone number - home (GT1-6).Returns GT1-15: "Guarantor priority" - creates it if necessaryReturns GT1-11: "Guarantor relationship" - creates it if necessaryReturns GT1-9: "Guarantor sex" - creates it if necessaryReturns GT1-12: "Guarantor social security number" - creates it if necessaryReturns GT1-4: "Guarantor spouse name" - creates it if necessaryReturns GT1-10: "Guarantor type" - creates it if necessaryReturns GT1-1: "Set ID - guarantor" - creates it if necessaryInserts a repetition of GT1-18: "Guarantor employ phone number" at a specific indexinsertGt16_GuarantorPhoneNumberHome(int rep) Inserts a repetition of GT1-6: "Guarantor phone number - home" at a specific indexInserts a repetition of GT1-7: "Guarantor phone number - business" at a specific indexinsertGuarantorEmployPhoneNumber(int rep) Inserts a repetition of GT1-18: "Guarantor employ phone number" at a specific indexinsertGuarantorPhoneNumberBusiness(int rep) Inserts a repetition of GT1-7: "Guarantor phone number - business" at a specific indexinsertGuarantorPhoneNumberHome(int rep) Inserts a repetition of GT1-6: "Guarantor phone number - home" at a specific indexRemoves a repetition of GT1-18: "Guarantor employ phone number" at a specific indexremoveGt16_GuarantorPhoneNumberHome(int rep) Removes a repetition of GT1-6: "Guarantor phone number - home" at a specific indexRemoves a repetition of GT1-7: "Guarantor phone number - business" at a specific indexremoveGuarantorEmployPhoneNumber(int rep) Removes a repetition of GT1-18: "Guarantor employ phone number" at a specific indexremoveGuarantorPhoneNumberBusiness(int rep) Removes a repetition of GT1-7: "Guarantor phone number - business" at a specific indexremoveGuarantorPhoneNumberHome(int rep) Removes a repetition of GT1-6: "Guarantor phone number - home" 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
-
GT1
Creates a new GT1 segment
-
-
Method Details
-
getSetIDGuarantor
Returns GT1-1: "Set ID - guarantor" - creates it if necessary -
getGt11_SetIDGuarantor
Returns GT1-1: "Set ID - guarantor" - creates it if necessary -
getGuarantorNumber
Returns GT1-2: "Guarantor number" - creates it if necessary -
getGt12_GuarantorNumber
Returns GT1-2: "Guarantor number" - creates it if necessary -
getGuarantorName
Returns GT1-3: "Guarantor name" - creates it if necessary -
getGt13_GuarantorName
Returns GT1-3: "Guarantor name" - creates it if necessary -
getGuarantorSpouseName
Returns GT1-4: "Guarantor spouse name" - creates it if necessary -
getGt14_GuarantorSpouseName
Returns GT1-4: "Guarantor spouse name" - creates it if necessary -
getGuarantorAddress
Returns GT1-5: "Guarantor address" - creates it if necessary -
getGt15_GuarantorAddress
Returns GT1-5: "Guarantor address" - creates it if necessary -
getGuarantorPhoneNumberHome
Returns all repetitions of Guarantor phone number - home (GT1-6). -
getGt16_GuarantorPhoneNumberHome
Returns all repetitions of Guarantor phone number - home (GT1-6). -
getGuarantorPhoneNumberHomeReps
Returns a count of the current number of repetitions of Guarantor phone number - home (GT1-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getGuarantorPhoneNumberHome
Returns a specific repetition of GT1-6: "Guarantor phone number - home" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGt16_GuarantorPhoneNumberHome
Returns a specific repetition of GT1-6: "Guarantor phone number - home" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGt16_GuarantorPhoneNumberHomeReps
Returns a count of the current number of repetitions of Guarantor phone number - home (GT1-6). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertGuarantorPhoneNumberHome
Inserts a repetition of GT1-6: "Guarantor phone number - home" 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)
-
insertGt16_GuarantorPhoneNumberHome
Inserts a repetition of GT1-6: "Guarantor phone number - home" 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)
-
removeGuarantorPhoneNumberHome
Removes a repetition of GT1-6: "Guarantor phone number - home" 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)
-
removeGt16_GuarantorPhoneNumberHome
Removes a repetition of GT1-6: "Guarantor phone number - home" 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)
-
getGuarantorPhoneNumberBusiness
Returns all repetitions of Guarantor phone number - business (GT1-7). -
getGt17_GuarantorPhoneNumberBusiness
Returns all repetitions of Guarantor phone number - business (GT1-7). -
getGuarantorPhoneNumberBusinessReps
Returns a count of the current number of repetitions of Guarantor phone number - business (GT1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getGuarantorPhoneNumberBusiness
Returns a specific repetition of GT1-7: "Guarantor phone number - business" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGt17_GuarantorPhoneNumberBusiness
Returns a specific repetition of GT1-7: "Guarantor phone number - business" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGt17_GuarantorPhoneNumberBusinessReps
Returns a count of the current number of repetitions of Guarantor phone number - business (GT1-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertGuarantorPhoneNumberBusiness
Inserts a repetition of GT1-7: "Guarantor phone number - business" 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)
-
insertGt17_GuarantorPhoneNumberBusiness
Inserts a repetition of GT1-7: "Guarantor phone number - business" 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)
-
removeGuarantorPhoneNumberBusiness
Removes a repetition of GT1-7: "Guarantor phone number - business" 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)
-
removeGt17_GuarantorPhoneNumberBusiness
Removes a repetition of GT1-7: "Guarantor phone number - business" 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)
-
getGuarantorDateOfBirth
Returns GT1-8: "Guarantor date of birth" - creates it if necessary -
getGt18_GuarantorDateOfBirth
Returns GT1-8: "Guarantor date of birth" - creates it if necessary -
getGuarantorSex
Returns GT1-9: "Guarantor sex" - creates it if necessary -
getGt19_GuarantorSex
Returns GT1-9: "Guarantor sex" - creates it if necessary -
getGuarantorType
Returns GT1-10: "Guarantor type" - creates it if necessary -
getGt110_GuarantorType
Returns GT1-10: "Guarantor type" - creates it if necessary -
getGuarantorRelationship
Returns GT1-11: "Guarantor relationship" - creates it if necessary -
getGt111_GuarantorRelationship
Returns GT1-11: "Guarantor relationship" - creates it if necessary -
getGuarantorSocialSecurityNumber
Returns GT1-12: "Guarantor social security number" - creates it if necessary -
getGt112_GuarantorSocialSecurityNumber
Returns GT1-12: "Guarantor social security number" - creates it if necessary -
getGuarantorDateBegin
Returns GT1-13: "Guarantor date - begin" - creates it if necessary -
getGt113_GuarantorDateBegin
Returns GT1-13: "Guarantor date - begin" - creates it if necessary -
getGuarantorDateEnd
Returns GT1-14: "Guarantor date - end" - creates it if necessary -
getGt114_GuarantorDateEnd
Returns GT1-14: "Guarantor date - end" - creates it if necessary -
getGuarantorPriority
Returns GT1-15: "Guarantor priority" - creates it if necessary -
getGt115_GuarantorPriority
Returns GT1-15: "Guarantor priority" - creates it if necessary -
getGuarantorEmployerName
Returns GT1-16: "Guarantor employer name" - creates it if necessary -
getGt116_GuarantorEmployerName
Returns GT1-16: "Guarantor employer name" - creates it if necessary -
getGuarantorEmployerAddress
Returns GT1-17: "Guarantor employer address" - creates it if necessary -
getGt117_GuarantorEmployerAddress
Returns GT1-17: "Guarantor employer address" - creates it if necessary -
getGuarantorEmployPhoneNumber
Returns all repetitions of Guarantor employ phone number (GT1-18). -
getGt118_GuarantorEmployPhoneNumber
Returns all repetitions of Guarantor employ phone number (GT1-18). -
getGuarantorEmployPhoneNumberReps
Returns a count of the current number of repetitions of Guarantor employ phone number (GT1-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getGuarantorEmployPhoneNumber
Returns a specific repetition of GT1-18: "Guarantor employ phone number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGt118_GuarantorEmployPhoneNumber
Returns a specific repetition of GT1-18: "Guarantor employ phone number" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getGt118_GuarantorEmployPhoneNumberReps
Returns a count of the current number of repetitions of Guarantor employ phone number (GT1-18). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertGuarantorEmployPhoneNumber
Inserts a repetition of GT1-18: "Guarantor employ phone number" 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)
-
insertGt118_GuarantorEmployPhoneNumber
Inserts a repetition of GT1-18: "Guarantor employ phone number" 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)
-
removeGuarantorEmployPhoneNumber
Removes a repetition of GT1-18: "Guarantor employ phone number" 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)
-
removeGt118_GuarantorEmployPhoneNumber
Removes a repetition of GT1-18: "Guarantor employ phone number" 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)
-
getGuarantorEmployeeIDNumber
Returns GT1-19: "Guarantor employee ID number" - creates it if necessary -
getGt119_GuarantorEmployeeIDNumber
Returns GT1-19: "Guarantor employee ID number" - creates it if necessary -
getGuarantorEmploymentStatus
Returns GT1-20: "Guarantor employment status" - creates it if necessary -
getGt120_GuarantorEmploymentStatus
Returns GT1-20: "Guarantor employment status" - creates it if necessary -
getGuarantorOrganization
Returns GT1-21: "Guarantor organization" - creates it if necessary -
getGt121_GuarantorOrganization
Returns GT1-21: "Guarantor organization" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-