|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.LCC
public class LCC
Represents an HL7 LCC message segment (Location Charge Code). This segment has the following fields:
| Constructor Summary | |
|---|---|
LCC(Group parent,
ModelClassFactory factory)
Creates a new LCC segment |
|
| Method Summary | |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field)
|
CE[] |
getAccommodationType()
Returns all repetitions of Accommodation Type (LCC-3). |
CE |
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). |
CE[] |
getChargeCode()
Returns all repetitions of Charge Code (LCC-4). |
CE |
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 |
CE |
getLcc2_LocationDepartment()
Returns LCC-2: "Location Department" - creates it if necessary |
CE |
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). |
CE |
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). |
CE |
getLocationDepartment()
Returns LCC-2: "Location Department" - creates it if necessary |
PL |
getPrimaryKeyValueLCC()
Returns LCC-1: "Primary Key Value - LCC" - creates it if necessary |
CE |
insertAccommodationType(int rep)
Inserts a repetition of LCC-3: "Accommodation Type" at a specific index |
CE |
insertChargeCode(int rep)
Inserts a repetition of LCC-4: "Charge Code" at a specific index |
CE |
insertLcc3_AccommodationType(int rep)
Inserts a repetition of LCC-3: "Accommodation Type" at a specific index |
CE |
insertLcc4_ChargeCode(int rep)
Inserts a repetition of LCC-4: "Charge Code" at a specific index |
CE |
removeAccommodationType(int rep)
Removes a repetition of LCC-3: "Accommodation Type" at a specific index |
CE |
removeChargeCode(int rep)
Removes a repetition of LCC-4: "Charge Code" at a specific index |
CE |
removeLcc3_AccommodationType(int rep)
Removes a repetition of LCC-3: "Accommodation Type" at a specific index |
CE |
removeLcc4_ChargeCode(int rep)
Removes a repetition of LCC-4: "Charge Code" at a specific index |
| Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment |
|---|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LCC(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public PL getPrimaryKeyValueLCC()
public PL getLcc1_PrimaryKeyValueLCC()
public CE getLocationDepartment()
public CE getLcc2_LocationDepartment()
public CE[] getAccommodationType()
public int getAccommodationTypeReps()
public CE getAccommodationType(int rep)
rep - The repetition index (0-indexed)public CE getLcc3_AccommodationType(int rep)
rep - The repetition index (0-indexed)public int getLcc3_AccommodationTypeReps()
public CE 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 CE 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 CE 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 CE 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 CE[] getChargeCode()
public int getChargeCodeReps()
public CE getChargeCode(int rep)
rep - The repetition index (0-indexed)public CE getLcc4_ChargeCode(int rep)
rep - The repetition index (0-indexed)public int getLcc4_ChargeCodeReps()
public CE 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 CE 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 CE 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 CE 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
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||