public class LCC extends AbstractSegment
Represents an HL7 LCC message segment (Location Charge Code). This segment has the following fields:
log
Constructor and Description |
---|
LCC(Group parent,
ModelClassFactory factory)
Creates a new LCC segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CWE[] |
getAccommodationType()
Returns all repetitions of Accommodation Type (LCC-3).
|
CWE |
getAccommodationType(int rep)
Returns a specific repetition of
LCC-3: "Accommodation Type" - creates it if necessary
|
int |
getAccommodationTypeReps()
Returns a count of the current number of repetitions of Accommodation Type (LCC-3).
|
CWE[] |
getChargeCode()
Returns all repetitions of Charge Code (LCC-4).
|
CWE |
getChargeCode(int rep)
Returns a specific repetition of
LCC-4: "Charge Code" - creates it if necessary
|
int |
getChargeCodeReps()
Returns a count of the current number of repetitions of Charge Code (LCC-4).
|
PL |
getLcc1_PrimaryKeyValueLCC()
Returns
LCC-1: "Primary Key Value - LCC" - creates it if necessary
|
CWE |
getLcc2_LocationDepartment()
Returns
LCC-2: "Location Department" - creates it if necessary
|
CWE[] |
getLcc3_AccommodationType()
Returns all repetitions of Accommodation Type (LCC-3).
|
CWE |
getLcc3_AccommodationType(int rep)
Returns a specific repetition of
LCC-3: "Accommodation Type" - creates it if necessary
|
int |
getLcc3_AccommodationTypeReps()
Returns a count of the current number of repetitions of Accommodation Type (LCC-3).
|
CWE[] |
getLcc4_ChargeCode()
Returns all repetitions of Charge Code (LCC-4).
|
CWE |
getLcc4_ChargeCode(int rep)
Returns a specific repetition of
LCC-4: "Charge Code" - creates it if necessary
|
int |
getLcc4_ChargeCodeReps()
Returns a count of the current number of repetitions of Charge Code (LCC-4).
|
CWE |
getLocationDepartment()
Returns
LCC-2: "Location Department" - creates it if necessary
|
PL |
getPrimaryKeyValueLCC()
Returns
LCC-1: "Primary Key Value - LCC" - creates it if necessary
|
CWE |
insertAccommodationType(int rep)
Inserts a repetition of
LCC-3: "Accommodation Type" at a specific index
|
CWE |
insertChargeCode(int rep)
Inserts a repetition of
LCC-4: "Charge Code" at a specific index
|
CWE |
insertLcc3_AccommodationType(int rep)
Inserts a repetition of
LCC-3: "Accommodation Type" at a specific index
|
CWE |
insertLcc4_ChargeCode(int rep)
Inserts a repetition of
LCC-4: "Charge Code" at a specific index
|
CWE |
removeAccommodationType(int rep)
Removes a repetition of
LCC-3: "Accommodation Type" at a specific index
|
CWE |
removeChargeCode(int rep)
Removes a repetition of
LCC-4: "Charge Code" at a specific index
|
CWE |
removeLcc3_AccommodationType(int rep)
Removes a repetition of
LCC-3: "Accommodation Type" at a specific index
|
CWE |
removeLcc4_ChargeCode(int rep)
Removes a repetition of
LCC-4: "Charge Code" at a specific index
|
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetition
getMessage, getParent
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getMessage, getParent
public LCC(Group parent, ModelClassFactory factory)
public PL getPrimaryKeyValueLCC()
public PL getLcc1_PrimaryKeyValueLCC()
public CWE getLocationDepartment()
public CWE getLcc2_LocationDepartment()
public CWE[] getAccommodationType()
public CWE[] getLcc3_AccommodationType()
public int getAccommodationTypeReps()
public CWE getAccommodationType(int rep)
rep
- The repetition index (0-indexed)public CWE getLcc3_AccommodationType(int rep)
rep
- The repetition index (0-indexed)public int getLcc3_AccommodationTypeReps()
public CWE insertAccommodationType(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE insertLcc3_AccommodationType(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE removeAccommodationType(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE removeLcc3_AccommodationType(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE[] getChargeCode()
public CWE[] getLcc4_ChargeCode()
public int getChargeCodeReps()
public CWE getChargeCode(int rep)
rep
- The repetition index (0-indexed)public CWE getLcc4_ChargeCode(int rep)
rep
- The repetition index (0-indexed)public int getLcc4_ChargeCodeReps()
public CWE insertChargeCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE insertLcc4_ChargeCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE removeChargeCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)public CWE removeLcc4_ChargeCode(int rep) throws HL7Exception
rep
- The repetition index (0-indexed)HL7Exception
- If the rep is invalid (below 0, or too high for the allowable repetitions)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.