public class LRL extends AbstractSegment
Represents an HL7 LRL message segment (LRL - location relationship segment). This segment has the following fields:
log
Constructor and Description |
---|
LRL(Group parent,
ModelClassFactory factory)
Creates a new LRL segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
CE |
getLocationRelationshipID()
Returns
LRL-4: "Location Relationship ID" - creates it if necessary
|
PL |
getLrl1_PrimaryKeyValueLRL()
Returns
LRL-1: "Primary Key Value - LRL" - creates it if necessary
|
ID |
getLrl2_SegmentActionCode()
Returns
LRL-2: "Segment Action Code" - creates it if necessary
|
EI |
getLrl3_SegmentUniqueKey()
Returns
LRL-3: "Segment Unique Key" - creates it if necessary
|
CE |
getLrl4_LocationRelationshipID()
Returns
LRL-4: "Location Relationship ID" - creates it if necessary
|
XON[] |
getLrl5_OrganizationalLocationRelationshipValue()
Returns all repetitions of Organizational Location Relationship Value (LRL-5).
|
XON |
getLrl5_OrganizationalLocationRelationshipValue(int rep)
Returns a specific repetition of
LRL-5: "Organizational Location Relationship Value" - creates it if necessary
|
int |
getLrl5_OrganizationalLocationRelationshipValueReps()
Returns a count of the current number of repetitions of Organizational Location Relationship Value (LRL-5).
|
PL |
getLrl6_PatientLocationRelationshipValue()
Returns
LRL-6: "Patient Location Relationship Value" - creates it if necessary
|
XON[] |
getOrganizationalLocationRelationshipValue()
Returns all repetitions of Organizational Location Relationship Value (LRL-5).
|
XON |
getOrganizationalLocationRelationshipValue(int rep)
Returns a specific repetition of
LRL-5: "Organizational Location Relationship Value" - creates it if necessary
|
int |
getOrganizationalLocationRelationshipValueReps()
Returns a count of the current number of repetitions of Organizational Location Relationship Value (LRL-5).
|
PL |
getPatientLocationRelationshipValue()
Returns
LRL-6: "Patient Location Relationship Value" - creates it if necessary
|
PL |
getPrimaryKeyValueLRL()
Returns
LRL-1: "Primary Key Value - LRL" - creates it if necessary
|
ID |
getSegmentActionCode()
Returns
LRL-2: "Segment Action Code" - creates it if necessary
|
EI |
getSegmentUniqueKey()
Returns
LRL-3: "Segment Unique Key" - creates it if necessary
|
XON |
insertLrl5_OrganizationalLocationRelationshipValue(int rep)
Inserts a repetition of
LRL-5: "Organizational Location Relationship Value" at a specific index
|
XON |
insertOrganizationalLocationRelationshipValue(int rep)
Inserts a repetition of
LRL-5: "Organizational Location Relationship Value" at a specific index
|
XON |
removeLrl5_OrganizationalLocationRelationshipValue(int rep)
Removes a repetition of
LRL-5: "Organizational Location Relationship Value" at a specific index
|
XON |
removeOrganizationalLocationRelationshipValue(int rep)
Removes a repetition of
LRL-5: "Organizational Location Relationship Value" 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 LRL(Group parent, ModelClassFactory factory)
public PL getPrimaryKeyValueLRL()
public PL getLrl1_PrimaryKeyValueLRL()
public ID getSegmentActionCode()
public ID getLrl2_SegmentActionCode()
public EI getSegmentUniqueKey()
public EI getLrl3_SegmentUniqueKey()
public CE getLocationRelationshipID()
public CE getLrl4_LocationRelationshipID()
public XON[] getOrganizationalLocationRelationshipValue()
public XON[] getLrl5_OrganizationalLocationRelationshipValue()
public int getOrganizationalLocationRelationshipValueReps()
public XON getOrganizationalLocationRelationshipValue(int rep)
rep
- The repetition index (0-indexed)public XON getLrl5_OrganizationalLocationRelationshipValue(int rep)
rep
- The repetition index (0-indexed)public int getLrl5_OrganizationalLocationRelationshipValueReps()
public XON insertOrganizationalLocationRelationshipValue(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 insertLrl5_OrganizationalLocationRelationshipValue(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 removeOrganizationalLocationRelationshipValue(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 removeLrl5_OrganizationalLocationRelationshipValue(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 PL getPatientLocationRelationshipValue()
public PL getLrl6_PatientLocationRelationshipValue()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.