Package ca.uhn.hl7v2.model.v251.segment
Class LAN
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.LAN
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 LAN message segment (Language Detail). This segment has the following fields:
- LAN-1: Set ID - LAN (SI)
- LAN-2: Language Code (CE)
- LAN-3: Language Ability Code (CE) optional repeating
- LAN-4: Language Proficiency 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 LAN-1: "Set ID - LAN" - creates it if necessaryReturns LAN-2: "Language Code" - creates it if necessaryCE[]Returns all repetitions of Language Ability Code (LAN-3).getLan3_LanguageAbilityCode(int rep) Returns a specific repetition of LAN-3: "Language Ability Code" - creates it if necessaryintReturns a count of the current number of repetitions of Language Ability Code (LAN-3).Returns LAN-4: "Language Proficiency Code" - creates it if necessaryCE[]Returns all repetitions of Language Ability Code (LAN-3).getLanguageAbilityCode(int rep) Returns a specific repetition of LAN-3: "Language Ability Code" - creates it if necessaryintReturns a count of the current number of repetitions of Language Ability Code (LAN-3).Returns LAN-2: "Language Code" - creates it if necessaryReturns LAN-4: "Language Proficiency Code" - creates it if necessaryReturns LAN-1: "Set ID - LAN" - creates it if necessaryinsertLan3_LanguageAbilityCode(int rep) Inserts a repetition of LAN-3: "Language Ability Code" at a specific indexinsertLanguageAbilityCode(int rep) Inserts a repetition of LAN-3: "Language Ability Code" at a specific indexremoveLan3_LanguageAbilityCode(int rep) Removes a repetition of LAN-3: "Language Ability Code" at a specific indexremoveLanguageAbilityCode(int rep) Removes a repetition of LAN-3: "Language Ability Code" 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
-
LAN
Creates a new LAN segment
-
-
Method Details
-
getSetIDLAN
Returns LAN-1: "Set ID - LAN" - creates it if necessary -
getLan1_SetIDLAN
Returns LAN-1: "Set ID - LAN" - creates it if necessary -
getLanguageCode
Returns LAN-2: "Language Code" - creates it if necessary -
getLan2_LanguageCode
Returns LAN-2: "Language Code" - creates it if necessary -
getLanguageAbilityCode
Returns all repetitions of Language Ability Code (LAN-3). -
getLan3_LanguageAbilityCode
Returns all repetitions of Language Ability Code (LAN-3). -
getLanguageAbilityCodeReps
Returns a count of the current number of repetitions of Language Ability Code (LAN-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getLanguageAbilityCode
Returns a specific repetition of LAN-3: "Language Ability Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLan3_LanguageAbilityCode
Returns a specific repetition of LAN-3: "Language Ability Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLan3_LanguageAbilityCodeReps
Returns a count of the current number of repetitions of Language Ability Code (LAN-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertLanguageAbilityCode
Inserts a repetition of LAN-3: "Language Ability 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)
-
insertLan3_LanguageAbilityCode
Inserts a repetition of LAN-3: "Language Ability 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)
-
removeLanguageAbilityCode
Removes a repetition of LAN-3: "Language Ability 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)
-
removeLan3_LanguageAbilityCode
Removes a repetition of LAN-3: "Language Ability 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)
-
getLanguageProficiencyCode
Returns LAN-4: "Language Proficiency Code" - creates it if necessary -
getLan4_LanguageProficiencyCode
Returns LAN-4: "Language Proficiency Code" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-