Package ca.uhn.hl7v2.model.v23.segment
Class LDP
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v23.segment.LDP
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 LDP message segment (Location Department). This segment has the following fields:
- LDP-1: LDP Primary Key Value (PL)
- LDP-2: Location Department (IS)
- LDP-3: Location Service (IS) optional repeating
- LDP-4: Speciality Type (CE) optional repeating
- LDP-5: Valid Patient Classes (ID) optional repeating
- LDP-6: Active/Inactive Flag (ID) optional
- LDP-7: Activation Date (TS) optional
- LDP-8: Inactivation Date - LDP (TS) optional
- LDP-9: Inactivated Reason (ST) optional
- LDP-10: Visiting Hours (VH) optional repeating
- LDP-11: Contact Phone (XTN) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns LDP-7: "Activation Date" - creates it if necessaryReturns LDP-6: "Active/Inactive Flag" - creates it if necessaryReturns LDP-11: "Contact Phone" - creates it if necessaryReturns LDP-9: "Inactivated Reason" - creates it if necessaryReturns LDP-8: "Inactivation Date - LDP" - creates it if necessaryReturns LDP-1: "LDP Primary Key Value" - creates it if necessaryVH[]Returns all repetitions of Visiting Hours (LDP-10).getLdp10_VisitingHours(int rep) Returns a specific repetition of LDP-10: "Visiting Hours" - creates it if necessaryintReturns a count of the current number of repetitions of Visiting Hours (LDP-10).Returns LDP-11: "Contact Phone" - creates it if necessaryReturns LDP-2: "Location Department" - creates it if necessaryIS[]Returns all repetitions of Location Service (LDP-3).getLdp3_LocationService(int rep) Returns a specific repetition of LDP-3: "Location Service" - creates it if necessaryintReturns a count of the current number of repetitions of Location Service (LDP-3).CE[]Returns all repetitions of Speciality Type (LDP-4).getLdp4_SpecialityType(int rep) Returns a specific repetition of LDP-4: "Speciality Type" - creates it if necessaryintReturns a count of the current number of repetitions of Speciality Type (LDP-4).ID[]Returns all repetitions of Valid Patient Classes (LDP-5).getLdp5_ValidPatientClasses(int rep) Returns a specific repetition of LDP-5: "Valid Patient Classes" - creates it if necessaryintReturns a count of the current number of repetitions of Valid Patient Classes (LDP-5).Returns LDP-6: "Active/Inactive Flag" - creates it if necessaryReturns LDP-7: "Activation Date" - creates it if necessaryReturns LDP-8: "Inactivation Date - LDP" - creates it if necessaryReturns LDP-9: "Inactivated Reason" - creates it if necessaryReturns LDP-1: "LDP Primary Key Value" - creates it if necessaryReturns LDP-2: "Location Department" - creates it if necessaryIS[]Returns all repetitions of Location Service (LDP-3).getLocationService(int rep) Returns a specific repetition of LDP-3: "Location Service" - creates it if necessaryintReturns a count of the current number of repetitions of Location Service (LDP-3).CE[]Returns all repetitions of Speciality Type (LDP-4).getSpecialityType(int rep) Returns a specific repetition of LDP-4: "Speciality Type" - creates it if necessaryintReturns a count of the current number of repetitions of Speciality Type (LDP-4).ID[]Returns all repetitions of Valid Patient Classes (LDP-5).getValidPatientClasses(int rep) Returns a specific repetition of LDP-5: "Valid Patient Classes" - creates it if necessaryintReturns a count of the current number of repetitions of Valid Patient Classes (LDP-5).VH[]Returns all repetitions of Visiting Hours (LDP-10).getVisitingHours(int rep) Returns a specific repetition of LDP-10: "Visiting Hours" - creates it if necessaryintReturns a count of the current number of repetitions of Visiting Hours (LDP-10).insertLdp10_VisitingHours(int rep) Inserts a repetition of LDP-10: "Visiting Hours" at a specific indexinsertLdp3_LocationService(int rep) Inserts a repetition of LDP-3: "Location Service" at a specific indexinsertLdp4_SpecialityType(int rep) Inserts a repetition of LDP-4: "Speciality Type" at a specific indexinsertLdp5_ValidPatientClasses(int rep) Inserts a repetition of LDP-5: "Valid Patient Classes" at a specific indexinsertLocationService(int rep) Inserts a repetition of LDP-3: "Location Service" at a specific indexinsertSpecialityType(int rep) Inserts a repetition of LDP-4: "Speciality Type" at a specific indexinsertValidPatientClasses(int rep) Inserts a repetition of LDP-5: "Valid Patient Classes" at a specific indexinsertVisitingHours(int rep) Inserts a repetition of LDP-10: "Visiting Hours" at a specific indexremoveLdp10_VisitingHours(int rep) Removes a repetition of LDP-10: "Visiting Hours" at a specific indexremoveLdp3_LocationService(int rep) Removes a repetition of LDP-3: "Location Service" at a specific indexremoveLdp4_SpecialityType(int rep) Removes a repetition of LDP-4: "Speciality Type" at a specific indexremoveLdp5_ValidPatientClasses(int rep) Removes a repetition of LDP-5: "Valid Patient Classes" at a specific indexremoveLocationService(int rep) Removes a repetition of LDP-3: "Location Service" at a specific indexremoveSpecialityType(int rep) Removes a repetition of LDP-4: "Speciality Type" at a specific indexremoveValidPatientClasses(int rep) Removes a repetition of LDP-5: "Valid Patient Classes" at a specific indexremoveVisitingHours(int rep) Removes a repetition of LDP-10: "Visiting Hours" at a specific indexMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
LDP
Creates a new LDP segment
-
-
Method Details
-
getLDPPrimaryKeyValue
Returns LDP-1: "LDP Primary Key Value" - creates it if necessary -
getLdp1_LDPPrimaryKeyValue
Returns LDP-1: "LDP Primary Key Value" - creates it if necessary -
getLocationDepartment
Returns LDP-2: "Location Department" - creates it if necessary -
getLdp2_LocationDepartment
Returns LDP-2: "Location Department" - creates it if necessary -
getLocationService
Returns all repetitions of Location Service (LDP-3). -
getLdp3_LocationService
Returns all repetitions of Location Service (LDP-3). -
getLocationServiceReps
Returns a count of the current number of repetitions of Location Service (LDP-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getLocationService
Returns a specific repetition of LDP-3: "Location Service" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp3_LocationService
Returns a specific repetition of LDP-3: "Location Service" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp3_LocationServiceReps
Returns a count of the current number of repetitions of Location Service (LDP-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertLocationService
Inserts a repetition of LDP-3: "Location Service" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertLdp3_LocationService
Inserts a repetition of LDP-3: "Location Service" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeLocationService
Removes a repetition of LDP-3: "Location Service" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeLdp3_LocationService
Removes a repetition of LDP-3: "Location Service" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getSpecialityType
Returns all repetitions of Speciality Type (LDP-4). -
getLdp4_SpecialityType
Returns all repetitions of Speciality Type (LDP-4). -
getSpecialityTypeReps
Returns a count of the current number of repetitions of Speciality Type (LDP-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getSpecialityType
Returns a specific repetition of LDP-4: "Speciality Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp4_SpecialityType
Returns a specific repetition of LDP-4: "Speciality Type" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp4_SpecialityTypeReps
Returns a count of the current number of repetitions of Speciality Type (LDP-4). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertSpecialityType
Inserts a repetition of LDP-4: "Speciality Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertLdp4_SpecialityType
Inserts a repetition of LDP-4: "Speciality Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeSpecialityType
Removes a repetition of LDP-4: "Speciality Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeLdp4_SpecialityType
Removes a repetition of LDP-4: "Speciality Type" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getValidPatientClasses
Returns all repetitions of Valid Patient Classes (LDP-5). -
getLdp5_ValidPatientClasses
Returns all repetitions of Valid Patient Classes (LDP-5). -
getValidPatientClassesReps
Returns a count of the current number of repetitions of Valid Patient Classes (LDP-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getValidPatientClasses
Returns a specific repetition of LDP-5: "Valid Patient Classes" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp5_ValidPatientClasses
Returns a specific repetition of LDP-5: "Valid Patient Classes" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp5_ValidPatientClassesReps
Returns a count of the current number of repetitions of Valid Patient Classes (LDP-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertValidPatientClasses
Inserts a repetition of LDP-5: "Valid Patient Classes" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertLdp5_ValidPatientClasses
Inserts a repetition of LDP-5: "Valid Patient Classes" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeValidPatientClasses
Removes a repetition of LDP-5: "Valid Patient Classes" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeLdp5_ValidPatientClasses
Removes a repetition of LDP-5: "Valid Patient Classes" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getActiveInactiveFlag
Returns LDP-6: "Active/Inactive Flag" - creates it if necessary -
getLdp6_ActiveInactiveFlag
Returns LDP-6: "Active/Inactive Flag" - creates it if necessary -
getActivationDate
Returns LDP-7: "Activation Date" - creates it if necessary -
getLdp7_ActivationDate
Returns LDP-7: "Activation Date" - creates it if necessary -
getInactivationDateLDP
Returns LDP-8: "Inactivation Date - LDP" - creates it if necessary -
getLdp8_InactivationDateLDP
Returns LDP-8: "Inactivation Date - LDP" - creates it if necessary -
getInactivatedReason
Returns LDP-9: "Inactivated Reason" - creates it if necessary -
getLdp9_InactivatedReason
Returns LDP-9: "Inactivated Reason" - creates it if necessary -
getVisitingHours
Returns all repetitions of Visiting Hours (LDP-10). -
getLdp10_VisitingHours
Returns all repetitions of Visiting Hours (LDP-10). -
getVisitingHoursReps
Returns a count of the current number of repetitions of Visiting Hours (LDP-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getVisitingHours
Returns a specific repetition of LDP-10: "Visiting Hours" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp10_VisitingHours
Returns a specific repetition of LDP-10: "Visiting Hours" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getLdp10_VisitingHoursReps
Returns a count of the current number of repetitions of Visiting Hours (LDP-10). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertVisitingHours
Inserts a repetition of LDP-10: "Visiting Hours" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertLdp10_VisitingHours
Inserts a repetition of LDP-10: "Visiting Hours" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeVisitingHours
Removes a repetition of LDP-10: "Visiting Hours" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeLdp10_VisitingHours
Removes a repetition of LDP-10: "Visiting Hours" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getContactPhone
Returns LDP-11: "Contact Phone" - creates it if necessary -
getLdp11_ContactPhone
Returns LDP-11: "Contact Phone" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-