public class LDP extends AbstractSegment
Represents an HL7 LDP message segment (Location Department). This segment has the following fields:
log
Constructor and Description |
---|
LDP(Group parent,
ModelClassFactory factory)
Creates a new LDP segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
TS |
getActivationDate()
Returns
LDP-7: "Activation Date" - creates it if necessary
|
ID |
getActiveInactiveFlag()
Returns
LDP-6: "Active/Inactive Flag" - creates it if necessary
|
XTN |
getContactPhone()
Returns
LDP-11: "Contact Phone" - creates it if necessary
|
ST |
getInactivatedReason()
Returns
LDP-9: "Inactivated Reason" - creates it if necessary
|
TS |
getInactivationDateLDP()
Returns
LDP-8: "Inactivation Date - LDP" - creates it if necessary
|
PL |
getLdp1_LDPPrimaryKeyValue()
Returns
LDP-1: "LDP Primary Key Value" - creates it if necessary
|
VH[] |
getLdp10_VisitingHours()
Returns all repetitions of Visiting Hours (LDP-10).
|
VH |
getLdp10_VisitingHours(int rep)
Returns a specific repetition of
LDP-10: "Visiting Hours" - creates it if necessary
|
int |
getLdp10_VisitingHoursReps()
Returns a count of the current number of repetitions of Visiting Hours (LDP-10).
|
XTN |
getLdp11_ContactPhone()
Returns
LDP-11: "Contact Phone" - creates it if necessary
|
IS |
getLdp2_LocationDepartment()
Returns
LDP-2: "Location Department" - creates it if necessary
|
IS[] |
getLdp3_LocationService()
Returns all repetitions of Location Service (LDP-3).
|
IS |
getLdp3_LocationService(int rep)
Returns a specific repetition of
LDP-3: "Location Service" - creates it if necessary
|
int |
getLdp3_LocationServiceReps()
Returns a count of the current number of repetitions of Location Service (LDP-3).
|
CE[] |
getLdp4_SpecialityType()
Returns all repetitions of Speciality Type (LDP-4).
|
CE |
getLdp4_SpecialityType(int rep)
Returns a specific repetition of
LDP-4: "Speciality Type" - creates it if necessary
|
int |
getLdp4_SpecialityTypeReps()
Returns a count of the current number of repetitions of Speciality Type (LDP-4).
|
ID[] |
getLdp5_ValidPatientClasses()
Returns all repetitions of Valid Patient Classes (LDP-5).
|
ID |
getLdp5_ValidPatientClasses(int rep)
Returns a specific repetition of
LDP-5: "Valid Patient Classes" - creates it if necessary
|
int |
getLdp5_ValidPatientClassesReps()
Returns a count of the current number of repetitions of Valid Patient Classes (LDP-5).
|
ID |
getLdp6_ActiveInactiveFlag()
Returns
LDP-6: "Active/Inactive Flag" - creates it if necessary
|
TS |
getLdp7_ActivationDate()
Returns
LDP-7: "Activation Date" - creates it if necessary
|
TS |
getLdp8_InactivationDateLDP()
Returns
LDP-8: "Inactivation Date - LDP" - creates it if necessary
|
ST |
getLdp9_InactivatedReason()
Returns
LDP-9: "Inactivated Reason" - creates it if necessary
|
PL |
getLDPPrimaryKeyValue()
Returns
LDP-1: "LDP Primary Key Value" - creates it if necessary
|
IS |
getLocationDepartment()
Returns
LDP-2: "Location Department" - creates it if necessary
|
IS[] |
getLocationService()
Returns all repetitions of Location Service (LDP-3).
|
IS |
getLocationService(int rep)
Returns a specific repetition of
LDP-3: "Location Service" - creates it if necessary
|
int |
getLocationServiceReps()
Returns a count of the current number of repetitions of Location Service (LDP-3).
|
CE[] |
getSpecialityType()
Returns all repetitions of Speciality Type (LDP-4).
|
CE |
getSpecialityType(int rep)
Returns a specific repetition of
LDP-4: "Speciality Type" - creates it if necessary
|
int |
getSpecialityTypeReps()
Returns a count of the current number of repetitions of Speciality Type (LDP-4).
|
ID[] |
getValidPatientClasses()
Returns all repetitions of Valid Patient Classes (LDP-5).
|
ID |
getValidPatientClasses(int rep)
Returns a specific repetition of
LDP-5: "Valid Patient Classes" - creates it if necessary
|
int |
getValidPatientClassesReps()
Returns a count of the current number of repetitions of Valid Patient Classes (LDP-5).
|
VH[] |
getVisitingHours()
Returns all repetitions of Visiting Hours (LDP-10).
|
VH |
getVisitingHours(int rep)
Returns a specific repetition of
LDP-10: "Visiting Hours" - creates it if necessary
|
int |
getVisitingHoursReps()
Returns a count of the current number of repetitions of Visiting Hours (LDP-10).
|
VH |
insertLdp10_VisitingHours(int rep)
Inserts a repetition of
LDP-10: "Visiting Hours" at a specific index
|
IS |
insertLdp3_LocationService(int rep)
Inserts a repetition of
LDP-3: "Location Service" at a specific index
|
CE |
insertLdp4_SpecialityType(int rep)
Inserts a repetition of
LDP-4: "Speciality Type" at a specific index
|
ID |
insertLdp5_ValidPatientClasses(int rep)
Inserts a repetition of
LDP-5: "Valid Patient Classes" at a specific index
|
IS |
insertLocationService(int rep)
Inserts a repetition of
LDP-3: "Location Service" at a specific index
|
CE |
insertSpecialityType(int rep)
Inserts a repetition of
LDP-4: "Speciality Type" at a specific index
|
ID |
insertValidPatientClasses(int rep)
Inserts a repetition of
LDP-5: "Valid Patient Classes" at a specific index
|
VH |
insertVisitingHours(int rep)
Inserts a repetition of
LDP-10: "Visiting Hours" at a specific index
|
VH |
removeLdp10_VisitingHours(int rep)
Removes a repetition of
LDP-10: "Visiting Hours" at a specific index
|
IS |
removeLdp3_LocationService(int rep)
Removes a repetition of
LDP-3: "Location Service" at a specific index
|
CE |
removeLdp4_SpecialityType(int rep)
Removes a repetition of
LDP-4: "Speciality Type" at a specific index
|
ID |
removeLdp5_ValidPatientClasses(int rep)
Removes a repetition of
LDP-5: "Valid Patient Classes" at a specific index
|
IS |
removeLocationService(int rep)
Removes a repetition of
LDP-3: "Location Service" at a specific index
|
CE |
removeSpecialityType(int rep)
Removes a repetition of
LDP-4: "Speciality Type" at a specific index
|
ID |
removeValidPatientClasses(int rep)
Removes a repetition of
LDP-5: "Valid Patient Classes" at a specific index
|
VH |
removeVisitingHours(int rep)
Removes a repetition of
LDP-10: "Visiting Hours" 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 LDP(Group parent, ModelClassFactory factory)
public PL getLDPPrimaryKeyValue()
public PL getLdp1_LDPPrimaryKeyValue()
public IS getLocationDepartment()
public IS getLdp2_LocationDepartment()
public IS[] getLocationService()
public IS[] getLdp3_LocationService()
public int getLocationServiceReps()
public IS getLocationService(int rep)
rep
- The repetition index (0-indexed)public IS getLdp3_LocationService(int rep)
rep
- The repetition index (0-indexed)public int getLdp3_LocationServiceReps()
public IS insertLocationService(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 insertLdp3_LocationService(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 removeLocationService(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 removeLdp3_LocationService(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[] getSpecialityType()
public CE[] getLdp4_SpecialityType()
public int getSpecialityTypeReps()
public CE getSpecialityType(int rep)
rep
- The repetition index (0-indexed)public CE getLdp4_SpecialityType(int rep)
rep
- The repetition index (0-indexed)public int getLdp4_SpecialityTypeReps()
public CE insertSpecialityType(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 insertLdp4_SpecialityType(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 removeSpecialityType(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 removeLdp4_SpecialityType(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[] getValidPatientClasses()
public ID[] getLdp5_ValidPatientClasses()
public int getValidPatientClassesReps()
public ID getValidPatientClasses(int rep)
rep
- The repetition index (0-indexed)public ID getLdp5_ValidPatientClasses(int rep)
rep
- The repetition index (0-indexed)public int getLdp5_ValidPatientClassesReps()
public ID insertValidPatientClasses(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 insertLdp5_ValidPatientClasses(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 removeValidPatientClasses(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 removeLdp5_ValidPatientClasses(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 getActiveInactiveFlag()
public ID getLdp6_ActiveInactiveFlag()
public TS getActivationDate()
public TS getLdp7_ActivationDate()
public TS getInactivationDateLDP()
public TS getLdp8_InactivationDateLDP()
public ST getInactivatedReason()
public ST getLdp9_InactivatedReason()
public VH[] getVisitingHours()
public VH[] getLdp10_VisitingHours()
public int getVisitingHoursReps()
public VH getVisitingHours(int rep)
rep
- The repetition index (0-indexed)public VH getLdp10_VisitingHours(int rep)
rep
- The repetition index (0-indexed)public int getLdp10_VisitingHoursReps()
public VH insertVisitingHours(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 VH insertLdp10_VisitingHours(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 VH removeVisitingHours(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 VH removeLdp10_VisitingHours(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 getContactPhone()
public XTN getLdp11_ContactPhone()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.