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_PrimaryKeyValueLOC()
Returns
LOC-1: "Primary Key Value - LOC" - creates it if necessary
|
ST |
getLoc2_LocationDescription()
Returns
LOC-2: "Location Description" - creates it if necessary
|
IS[] |
getLoc3_LocationTypeLOC()
Returns all repetitions of Location Type - LOC (LOC-3).
|
IS |
getLoc3_LocationTypeLOC(int rep)
Returns a specific repetition of
LOC-3: "Location Type - LOC" - creates it if necessary
|
int |
getLoc3_LocationTypeLOCReps()
Returns a count of the current number of repetitions of Location Type - LOC (LOC-3).
|
XON[] |
getLoc4_OrganizationNameLOC()
Returns all repetitions of Organization Name - LOC (LOC-4).
|
XON |
getLoc4_OrganizationNameLOC(int rep)
Returns a specific repetition of
LOC-4: "Organization Name - LOC" - creates it if necessary
|
int |
getLoc4_OrganizationNameLOCReps()
Returns a count of the current number of repetitions of Organization Name - LOC (LOC-4).
|
XAD[] |
getLoc5_LocationAddress()
Returns all repetitions of Location Address (LOC-5).
|
XAD |
getLoc5_LocationAddress(int rep)
Returns a specific repetition of
LOC-5: "Location Address" - creates it if necessary
|
int |
getLoc5_LocationAddressReps()
Returns a count of the current number of repetitions of Location Address (LOC-5).
|
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).
|
IS[] |
getLoc8_LocationEquipment()
Returns all repetitions of Location Equipment (LOC-8).
|
IS |
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).
|
IS |
getLoc9_LocationServiceCode()
Returns
LOC-9: "Location Service Code" - creates it if necessary
|
XAD[] |
getLocationAddress()
Returns all repetitions of Location Address (LOC-5).
|
XAD |
getLocationAddress(int rep)
Returns a specific repetition of
LOC-5: "Location Address" - creates it if necessary
|
int |
getLocationAddressReps()
Returns a count of the current number of repetitions of Location Address (LOC-5).
|
ST |
getLocationDescription()
Returns
LOC-2: "Location Description" - creates it if necessary
|
IS[] |
getLocationEquipment()
Returns all repetitions of Location Equipment (LOC-8).
|
IS |
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 |
getLocationServiceCode()
Returns
LOC-9: "Location Service Code" - creates it if necessary
|
IS[] |
getLocationTypeLOC()
Returns all repetitions of Location Type - LOC (LOC-3).
|
IS |
getLocationTypeLOC(int rep)
Returns a specific repetition of
LOC-3: "Location Type - LOC" - creates it if necessary
|
int |
getLocationTypeLOCReps()
Returns a count of the current number of repetitions of Location Type - LOC (LOC-3).
|
XON[] |
getOrganizationNameLOC()
Returns all repetitions of Organization Name - LOC (LOC-4).
|
XON |
getOrganizationNameLOC(int rep)
Returns a specific repetition of
LOC-4: "Organization Name - LOC" - creates it if necessary
|
int |
getOrganizationNameLOCReps()
Returns a count of the current number of repetitions of Organization Name - LOC (LOC-4).
|
PL |
getPrimaryKeyValueLOC()
Returns
LOC-1: "Primary Key Value - LOC" - creates it if necessary
|
CE |
insertLicenseNumber(int rep)
Inserts a repetition of
LOC-7: "License Number" at a specific index
|
IS |
insertLoc3_LocationTypeLOC(int rep)
Inserts a repetition of
LOC-3: "Location Type - LOC" at a specific index
|
XON |
insertLoc4_OrganizationNameLOC(int rep)
Inserts a repetition of
LOC-4: "Organization Name - LOC" at a specific index
|
XAD |
insertLoc5_LocationAddress(int rep)
Inserts a repetition of
LOC-5: "Location Address" 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
|
IS |
insertLoc8_LocationEquipment(int rep)
Inserts a repetition of
LOC-8: "Location Equipment" at a specific index
|
XAD |
insertLocationAddress(int rep)
Inserts a repetition of
LOC-5: "Location Address" at a specific index
|
IS |
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 |
insertLocationTypeLOC(int rep)
Inserts a repetition of
LOC-3: "Location Type - LOC" at a specific index
|
XON |
insertOrganizationNameLOC(int rep)
Inserts a repetition of
LOC-4: "Organization Name - LOC" at a specific index
|
CE |
removeLicenseNumber(int rep)
Removes a repetition of
LOC-7: "License Number" at a specific index
|
IS |
removeLoc3_LocationTypeLOC(int rep)
Removes a repetition of
LOC-3: "Location Type - LOC" at a specific index
|
XON |
removeLoc4_OrganizationNameLOC(int rep)
Removes a repetition of
LOC-4: "Organization Name - LOC" at a specific index
|
XAD |
removeLoc5_LocationAddress(int rep)
Removes a repetition of
LOC-5: "Location Address" 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
|
IS |
removeLoc8_LocationEquipment(int rep)
Removes a repetition of
LOC-8: "Location Equipment" at a specific index
|
XAD |
removeLocationAddress(int rep)
Removes a repetition of
LOC-5: "Location Address" at a specific index
|
IS |
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 |
removeLocationTypeLOC(int rep)
Removes a repetition of
LOC-3: "Location Type - LOC" at a specific index
|
XON |
removeOrganizationNameLOC(int rep)
Removes a repetition of
LOC-4: "Organization Name - LOC" 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 getPrimaryKeyValueLOC()
public PL getLoc1_PrimaryKeyValueLOC()
public ST getLocationDescription()
public ST getLoc2_LocationDescription()
public IS[] getLocationTypeLOC()
public IS[] getLoc3_LocationTypeLOC()
public int getLocationTypeLOCReps()
public IS getLocationTypeLOC(int rep)
rep
- The repetition index (0-indexed)public IS getLoc3_LocationTypeLOC(int rep)
rep
- The repetition index (0-indexed)public int getLoc3_LocationTypeLOCReps()
public IS insertLocationTypeLOC(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_LocationTypeLOC(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 removeLocationTypeLOC(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_LocationTypeLOC(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[] getOrganizationNameLOC()
public XON[] getLoc4_OrganizationNameLOC()
public int getOrganizationNameLOCReps()
public XON getOrganizationNameLOC(int rep)
rep
- The repetition index (0-indexed)public XON getLoc4_OrganizationNameLOC(int rep)
rep
- The repetition index (0-indexed)public int getLoc4_OrganizationNameLOCReps()
public XON insertOrganizationNameLOC(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 insertLoc4_OrganizationNameLOC(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 removeOrganizationNameLOC(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 removeLoc4_OrganizationNameLOC(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 XAD[] getLocationAddress()
public XAD[] getLoc5_LocationAddress()
public int getLocationAddressReps()
public XAD getLocationAddress(int rep)
rep
- The repetition index (0-indexed)public XAD getLoc5_LocationAddress(int rep)
rep
- The repetition index (0-indexed)public int getLoc5_LocationAddressReps()
public XAD insertLocationAddress(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 XAD insertLoc5_LocationAddress(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 XAD removeLocationAddress(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 XAD removeLoc5_LocationAddress(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[] 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 IS[] getLocationEquipment()
public IS[] getLoc8_LocationEquipment()
public int getLocationEquipmentReps()
public IS getLocationEquipment(int rep)
rep
- The repetition index (0-indexed)public IS getLoc8_LocationEquipment(int rep)
rep
- The repetition index (0-indexed)public int getLoc8_LocationEquipmentReps()
public IS 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 IS 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 IS 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 IS 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)public IS getLocationServiceCode()
public IS getLoc9_LocationServiceCode()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.