Package ca.uhn.hl7v2.model.v24.segment
Class LCC
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.LCC
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 LCC message segment (Location Charge Code). This segment has the following fields:
- LCC-1: Primary Key Value - LCC (PL)
- LCC-2: Location Department (CE)
- LCC-3: Accommodation Type (CE) optional repeating
- LCC-4: Charge Code (CE) repeating
- 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) CE[]Returns all repetitions of Accommodation Type (LCC-3).getAccommodationType(int rep) Returns a specific repetition of LCC-3: "Accommodation Type" - creates it if necessaryintReturns a count of the current number of repetitions of Accommodation Type (LCC-3).CE[]Returns all repetitions of Charge Code (LCC-4).getChargeCode(int rep) Returns a specific repetition of LCC-4: "Charge Code" - creates it if necessaryintReturns a count of the current number of repetitions of Charge Code (LCC-4).Returns LCC-1: "Primary Key Value - LCC" - creates it if necessaryReturns LCC-2: "Location Department" - creates it if necessaryCE[]Returns all repetitions of Accommodation Type (LCC-3).getLcc3_AccommodationType(int rep) Returns a specific repetition of LCC-3: "Accommodation Type" - creates it if necessaryintReturns a count of the current number of repetitions of Accommodation Type (LCC-3).CE[]Returns all repetitions of Charge Code (LCC-4).getLcc4_ChargeCode(int rep) Returns a specific repetition of LCC-4: "Charge Code" - creates it if necessaryintReturns a count of the current number of repetitions of Charge Code (LCC-4).Returns LCC-2: "Location Department" - creates it if necessaryReturns LCC-1: "Primary Key Value - LCC" - creates it if necessaryinsertAccommodationType(int rep) Inserts a repetition of LCC-3: "Accommodation Type" at a specific indexinsertChargeCode(int rep) Inserts a repetition of LCC-4: "Charge Code" at a specific indexinsertLcc3_AccommodationType(int rep) Inserts a repetition of LCC-3: "Accommodation Type" at a specific indexinsertLcc4_ChargeCode(int rep) Inserts a repetition of LCC-4: "Charge Code" at a specific indexremoveAccommodationType(int rep) Removes a repetition of LCC-3: "Accommodation Type" at a specific indexremoveChargeCode(int rep) Removes a repetition of LCC-4: "Charge Code" at a specific indexremoveLcc3_AccommodationType(int rep) Removes a repetition of LCC-3: "Accommodation Type" at a specific indexremoveLcc4_ChargeCode(int rep) Removes a repetition of LCC-4: "Charge 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
-
LCC
Creates a new LCC segment
-
-
Method Details
-
getPrimaryKeyValueLCC
Returns LCC-1: "Primary Key Value - LCC" - creates it if necessary -
getLcc1_PrimaryKeyValueLCC
Returns LCC-1: "Primary Key Value - LCC" - creates it if necessary -
getLocationDepartment
Returns LCC-2: "Location Department" - creates it if necessary -
getLcc2_LocationDepartment
Returns LCC-2: "Location Department" - creates it if necessary -
getAccommodationType
Returns all repetitions of Accommodation Type (LCC-3). -
getLcc3_AccommodationType
Returns all repetitions of Accommodation Type (LCC-3). -
getAccommodationTypeReps
Returns a count of the current number of repetitions of Accommodation Type (LCC-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getAccommodationType
Returns a specific repetition of LCC-3: "Accommodation Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLcc3_AccommodationType
Returns a specific repetition of LCC-3: "Accommodation Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLcc3_AccommodationTypeReps
Returns a count of the current number of repetitions of Accommodation Type (LCC-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertAccommodationType
Inserts a repetition of LCC-3: "Accommodation Type" 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)
-
insertLcc3_AccommodationType
Inserts a repetition of LCC-3: "Accommodation Type" 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)
-
removeAccommodationType
Removes a repetition of LCC-3: "Accommodation Type" 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)
-
removeLcc3_AccommodationType
Removes a repetition of LCC-3: "Accommodation Type" 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)
-
getChargeCode
Returns all repetitions of Charge Code (LCC-4). -
getLcc4_ChargeCode
Returns all repetitions of Charge Code (LCC-4). -
getChargeCodeReps
Returns a count of the current number of repetitions of Charge Code (LCC-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getChargeCode
Returns a specific repetition of LCC-4: "Charge Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLcc4_ChargeCode
Returns a specific repetition of LCC-4: "Charge Code" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLcc4_ChargeCodeReps
Returns a count of the current number of repetitions of Charge Code (LCC-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertChargeCode
Inserts a repetition of LCC-4: "Charge 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)
-
insertLcc4_ChargeCode
Inserts a repetition of LCC-4: "Charge 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)
-
removeChargeCode
Removes a repetition of LCC-4: "Charge 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)
-
removeLcc4_ChargeCode
Removes a repetition of LCC-4: "Charge 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)
-
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-