public class LOC extends AbstractSegment
Represents an HL7 LOC message segment (Location Identification). This segment has the following fields:
log
Constructor and Description |
---|
LOC(Group parent,
ModelClassFactory factory)
Creates a new LOC segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE[] |
getLicenseNumber()
Returns all repetitions of License Number (LOC-7).
|
CE |
getLicenseNumber(int rep)
Returns a specific repetition of
LOC-7: "License Number" - creates it if necessary
|
int |
getLicenseNumberReps()
Returns a count of the current number of repetitions of License Number (LOC-7).
|
PL |
getLoc1_PrimaryKeyValue()
Returns
LOC-1: "Primary Key Value" - creates it if necessary
|
ST |
getLoc2_LocationDescription()
Returns
LOC-2: "Location Description" - creates it if necessary
|
IS[] |
getLoc3_LocationType()
Returns all repetitions of Location Type (LOC-3).
|
IS |
getLoc3_LocationType(int rep)
Returns a specific repetition of
LOC-3: "Location Type" - creates it if necessary
|
int |
getLoc3_LocationTypeReps()
Returns a count of the current number of repetitions of Location Type (LOC-3).
|
XON |
getLoc4_OrganizationName()
Returns
LOC-4: "Organization Name" - creates it if necessary
|
XAD |
getLoc5_LocationAddress()
Returns
LOC-5: "Location Address" - creates it if necessary
|
XTN[] |
getLoc6_LocationPhone()
Returns all repetitions of Location Phone (LOC-6).
|
XTN |
getLoc6_LocationPhone(int rep)
Returns a specific repetition of
LOC-6: "Location Phone" - creates it if necessary
|
int |
getLoc6_LocationPhoneReps()
Returns a count of the current number of repetitions of Location Phone (LOC-6).
|
CE[] |
getLoc7_LicenseNumber()
Returns all repetitions of License Number (LOC-7).
|
CE |
getLoc7_LicenseNumber(int rep)
Returns a specific repetition of
LOC-7: "License Number" - creates it if necessary
|
int |
getLoc7_LicenseNumberReps()
Returns a count of the current number of repetitions of License Number (LOC-7).
|
ID[] |
getLoc8_LocationEquipment()
Returns all repetitions of Location Equipment (LOC-8).
|
ID |
getLoc8_LocationEquipment(int rep)
Returns a specific repetition of
LOC-8: "Location Equipment" - creates it if necessary
|
int |
getLoc8_LocationEquipmentReps()
Returns a count of the current number of repetitions of Location Equipment (LOC-8).
|
XAD |
getLocationAddress()
Returns
LOC-5: "Location Address" - creates it if necessary
|
ST |
getLocationDescription()
Returns
LOC-2: "Location Description" - creates it if necessary
|
ID[] |
getLocationEquipment()
Returns all repetitions of Location Equipment (LOC-8).
|
ID |
getLocationEquipment(int rep)
Returns a specific repetition of
LOC-8: "Location Equipment" - creates it if necessary
|
int |
getLocationEquipmentReps()
Returns a count of the current number of repetitions of Location Equipment (LOC-8).
|
XTN[] |
getLocationPhone()
Returns all repetitions of Location Phone (LOC-6).
|
XTN |
getLocationPhone(int rep)
Returns a specific repetition of
LOC-6: "Location Phone" - creates it if necessary
|
int |
getLocationPhoneReps()
Returns a count of the current number of repetitions of Location Phone (LOC-6).
|
IS[] |
getLocationType()
Returns all repetitions of Location Type (LOC-3).
|
IS |
getLocationType(int rep)
Returns a specific repetition of
LOC-3: "Location Type" - creates it if necessary
|
int |
getLocationTypeReps()
Returns a count of the current number of repetitions of Location Type (LOC-3).
|
XON |
getOrganizationName()
Returns
LOC-4: "Organization Name" - creates it if necessary
|
PL |
getPrimaryKeyValue()
Returns
LOC-1: "Primary Key Value" - creates it if necessary
|
CE |
insertLicenseNumber(int rep)
Inserts a repetition of
LOC-7: "License Number" at a specific index
|
IS |
insertLoc3_LocationType(int rep)
Inserts a repetition of
LOC-3: "Location Type" at a specific index
|
XTN |
insertLoc6_LocationPhone(int rep)
Inserts a repetition of
LOC-6: "Location Phone" at a specific index
|
CE |
insertLoc7_LicenseNumber(int rep)
Inserts a repetition of
LOC-7: "License Number" at a specific index
|
ID |
insertLoc8_LocationEquipment(int rep)
Inserts a repetition of
LOC-8: "Location Equipment" at a specific index
|
ID |
insertLocationEquipment(int rep)
Inserts a repetition of
LOC-8: "Location Equipment" at a specific index
|
XTN |
insertLocationPhone(int rep)
Inserts a repetition of
LOC-6: "Location Phone" at a specific index
|
IS |
insertLocationType(int rep)
Inserts a repetition of
LOC-3: "Location Type" at a specific index
|
CE |
removeLicenseNumber(int rep)
Removes a repetition of
LOC-7: "License Number" at a specific index
|
IS |
removeLoc3_LocationType(int rep)
Removes a repetition of
LOC-3: "Location Type" at a specific index
|
XTN |
removeLoc6_LocationPhone(int rep)
Removes a repetition of
LOC-6: "Location Phone" at a specific index
|
CE |
removeLoc7_LicenseNumber(int rep)
Removes a repetition of
LOC-7: "License Number" at a specific index
|
ID |
removeLoc8_LocationEquipment(int rep)
Removes a repetition of
LOC-8: "Location Equipment" at a specific index
|
ID |
removeLocationEquipment(int rep)
Removes a repetition of
LOC-8: "Location Equipment" at a specific index
|
XTN |
removeLocationPhone(int rep)
Removes a repetition of
LOC-6: "Location Phone" at a specific index
|
IS |
removeLocationType(int rep)
Removes a repetition of
LOC-3: "Location Type" 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 LOC(Group parent, ModelClassFactory factory)
public PL getPrimaryKeyValue()
public PL getLoc1_PrimaryKeyValue()
public ST getLocationDescription()
public ST getLoc2_LocationDescription()
public IS[] getLocationType()
public IS[] getLoc3_LocationType()
public int getLocationTypeReps()
public IS getLocationType(int rep)
rep
- The repetition index (0-indexed)public IS getLoc3_LocationType(int rep)
rep
- The repetition index (0-indexed)public int getLoc3_LocationTypeReps()
public IS insertLocationType(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 IS insertLoc3_LocationType(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 IS removeLocationType(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 IS removeLoc3_LocationType(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 XON getOrganizationName()
public XON getLoc4_OrganizationName()
public XAD getLocationAddress()
public XAD getLoc5_LocationAddress()
public XTN[] getLocationPhone()
public XTN[] getLoc6_LocationPhone()
public int getLocationPhoneReps()
public XTN getLocationPhone(int rep)
rep
- The repetition index (0-indexed)public XTN getLoc6_LocationPhone(int rep)
rep
- The repetition index (0-indexed)public int getLoc6_LocationPhoneReps()
public XTN insertLocationPhone(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 XTN insertLoc6_LocationPhone(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 XTN removeLocationPhone(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 XTN removeLoc6_LocationPhone(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[] getLicenseNumber()
public CE[] getLoc7_LicenseNumber()
public int getLicenseNumberReps()
public CE getLicenseNumber(int rep)
rep
- The repetition index (0-indexed)public CE getLoc7_LicenseNumber(int rep)
rep
- The repetition index (0-indexed)public int getLoc7_LicenseNumberReps()
public CE insertLicenseNumber(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 insertLoc7_LicenseNumber(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 removeLicenseNumber(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 removeLoc7_LicenseNumber(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 ID[] getLocationEquipment()
public ID[] getLoc8_LocationEquipment()
public int getLocationEquipmentReps()
public ID getLocationEquipment(int rep)
rep
- The repetition index (0-indexed)public ID getLoc8_LocationEquipment(int rep)
rep
- The repetition index (0-indexed)public int getLoc8_LocationEquipmentReps()
public ID insertLocationEquipment(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 ID insertLoc8_LocationEquipment(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 ID removeLocationEquipment(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 ID removeLoc8_LocationEquipment(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.