Package ca.uhn.hl7v2.model.v24.segment
Class PRD
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.PRD
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 PRD message segment (Provider Data). This segment has the following fields:
- PRD-1: Provider Role (CE) repeating
- PRD-2: Provider Name (XPN) optional repeating
- PRD-3: Provider Address (XAD) optional repeating
- PRD-4: Provider Location (PL) optional
- PRD-5: Provider Communication Information (XTN) optional repeating
- PRD-6: Preferred Method of Contact (CE) optional
- PRD-7: Provider Identifiers (PI) optional repeating
- PRD-8: Effective Start Date of Provider Role (TS) optional
- PRD-9: Effective End Date of Provider Role (TS) 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 PRD-9: "Effective End Date of Provider Role" - creates it if necessaryReturns PRD-8: "Effective Start Date of Provider Role" - creates it if necessaryCE[]Returns all repetitions of Provider Role (PRD-1).getPrd1_ProviderRole(int rep) Returns a specific repetition of PRD-1: "Provider Role" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Role (PRD-1).XPN[]Returns all repetitions of Provider Name (PRD-2).getPrd2_ProviderName(int rep) Returns a specific repetition of PRD-2: "Provider Name" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Name (PRD-2).XAD[]Returns all repetitions of Provider Address (PRD-3).getPrd3_ProviderAddress(int rep) Returns a specific repetition of PRD-3: "Provider Address" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Address (PRD-3).Returns PRD-4: "Provider Location" - creates it if necessaryXTN[]Returns all repetitions of Provider Communication Information (PRD-5).Returns a specific repetition of PRD-5: "Provider Communication Information" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Communication Information (PRD-5).Returns PRD-6: "Preferred Method of Contact" - creates it if necessaryPI[]Returns all repetitions of Provider Identifiers (PRD-7).getPrd7_ProviderIdentifiers(int rep) Returns a specific repetition of PRD-7: "Provider Identifiers" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Identifiers (PRD-7).Returns PRD-8: "Effective Start Date of Provider Role" - creates it if necessaryReturns PRD-9: "Effective End Date of Provider Role" - creates it if necessaryReturns PRD-6: "Preferred Method of Contact" - creates it if necessaryXAD[]Returns all repetitions of Provider Address (PRD-3).getProviderAddress(int rep) Returns a specific repetition of PRD-3: "Provider Address" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Address (PRD-3).XTN[]Returns all repetitions of Provider Communication Information (PRD-5).getProviderCommunicationInformation(int rep) Returns a specific repetition of PRD-5: "Provider Communication Information" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Communication Information (PRD-5).PI[]Returns all repetitions of Provider Identifiers (PRD-7).getProviderIdentifiers(int rep) Returns a specific repetition of PRD-7: "Provider Identifiers" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Identifiers (PRD-7).Returns PRD-4: "Provider Location" - creates it if necessaryXPN[]Returns all repetitions of Provider Name (PRD-2).getProviderName(int rep) Returns a specific repetition of PRD-2: "Provider Name" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Name (PRD-2).CE[]Returns all repetitions of Provider Role (PRD-1).getProviderRole(int rep) Returns a specific repetition of PRD-1: "Provider Role" - creates it if necessaryintReturns a count of the current number of repetitions of Provider Role (PRD-1).insertPrd1_ProviderRole(int rep) Inserts a repetition of PRD-1: "Provider Role" at a specific indexinsertPrd2_ProviderName(int rep) Inserts a repetition of PRD-2: "Provider Name" at a specific indexinsertPrd3_ProviderAddress(int rep) Inserts a repetition of PRD-3: "Provider Address" at a specific indexInserts a repetition of PRD-5: "Provider Communication Information" at a specific indexinsertPrd7_ProviderIdentifiers(int rep) Inserts a repetition of PRD-7: "Provider Identifiers" at a specific indexinsertProviderAddress(int rep) Inserts a repetition of PRD-3: "Provider Address" at a specific indexInserts a repetition of PRD-5: "Provider Communication Information" at a specific indexinsertProviderIdentifiers(int rep) Inserts a repetition of PRD-7: "Provider Identifiers" at a specific indexinsertProviderName(int rep) Inserts a repetition of PRD-2: "Provider Name" at a specific indexinsertProviderRole(int rep) Inserts a repetition of PRD-1: "Provider Role" at a specific indexremovePrd1_ProviderRole(int rep) Removes a repetition of PRD-1: "Provider Role" at a specific indexremovePrd2_ProviderName(int rep) Removes a repetition of PRD-2: "Provider Name" at a specific indexremovePrd3_ProviderAddress(int rep) Removes a repetition of PRD-3: "Provider Address" at a specific indexRemoves a repetition of PRD-5: "Provider Communication Information" at a specific indexremovePrd7_ProviderIdentifiers(int rep) Removes a repetition of PRD-7: "Provider Identifiers" at a specific indexremoveProviderAddress(int rep) Removes a repetition of PRD-3: "Provider Address" at a specific indexRemoves a repetition of PRD-5: "Provider Communication Information" at a specific indexremoveProviderIdentifiers(int rep) Removes a repetition of PRD-7: "Provider Identifiers" at a specific indexremoveProviderName(int rep) Removes a repetition of PRD-2: "Provider Name" at a specific indexremoveProviderRole(int rep) Removes a repetition of PRD-1: "Provider Role" 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
-
PRD
Creates a new PRD segment
-
-
Method Details
-
getProviderRole
Returns all repetitions of Provider Role (PRD-1). -
getPrd1_ProviderRole
Returns all repetitions of Provider Role (PRD-1). -
getProviderRoleReps
Returns a count of the current number of repetitions of Provider Role (PRD-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProviderRole
Returns a specific repetition of PRD-1: "Provider Role" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd1_ProviderRole
Returns a specific repetition of PRD-1: "Provider Role" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd1_ProviderRoleReps
Returns a count of the current number of repetitions of Provider Role (PRD-1). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProviderRole
Inserts a repetition of PRD-1: "Provider Role" 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)
-
insertPrd1_ProviderRole
Inserts a repetition of PRD-1: "Provider Role" 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)
-
removeProviderRole
Removes a repetition of PRD-1: "Provider Role" 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)
-
removePrd1_ProviderRole
Removes a repetition of PRD-1: "Provider Role" 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)
-
getProviderName
Returns all repetitions of Provider Name (PRD-2). -
getPrd2_ProviderName
Returns all repetitions of Provider Name (PRD-2). -
getProviderNameReps
Returns a count of the current number of repetitions of Provider Name (PRD-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProviderName
Returns a specific repetition of PRD-2: "Provider Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd2_ProviderName
Returns a specific repetition of PRD-2: "Provider Name" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd2_ProviderNameReps
Returns a count of the current number of repetitions of Provider Name (PRD-2). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProviderName
Inserts a repetition of PRD-2: "Provider Name" 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)
-
insertPrd2_ProviderName
Inserts a repetition of PRD-2: "Provider Name" 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)
-
removeProviderName
Removes a repetition of PRD-2: "Provider Name" 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)
-
removePrd2_ProviderName
Removes a repetition of PRD-2: "Provider Name" 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)
-
getProviderAddress
Returns all repetitions of Provider Address (PRD-3). -
getPrd3_ProviderAddress
Returns all repetitions of Provider Address (PRD-3). -
getProviderAddressReps
Returns a count of the current number of repetitions of Provider Address (PRD-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProviderAddress
Returns a specific repetition of PRD-3: "Provider Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd3_ProviderAddress
Returns a specific repetition of PRD-3: "Provider Address" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd3_ProviderAddressReps
Returns a count of the current number of repetitions of Provider Address (PRD-3). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProviderAddress
Inserts a repetition of PRD-3: "Provider Address" 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)
-
insertPrd3_ProviderAddress
Inserts a repetition of PRD-3: "Provider Address" 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)
-
removeProviderAddress
Removes a repetition of PRD-3: "Provider Address" 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)
-
removePrd3_ProviderAddress
Removes a repetition of PRD-3: "Provider Address" 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)
-
getProviderLocation
Returns PRD-4: "Provider Location" - creates it if necessary -
getPrd4_ProviderLocation
Returns PRD-4: "Provider Location" - creates it if necessary -
getProviderCommunicationInformation
Returns all repetitions of Provider Communication Information (PRD-5). -
getPrd5_ProviderCommunicationInformation
Returns all repetitions of Provider Communication Information (PRD-5). -
getProviderCommunicationInformationReps
Returns a count of the current number of repetitions of Provider Communication Information (PRD-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProviderCommunicationInformation
Returns a specific repetition of PRD-5: "Provider Communication Information" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd5_ProviderCommunicationInformation
Returns a specific repetition of PRD-5: "Provider Communication Information" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd5_ProviderCommunicationInformationReps
Returns a count of the current number of repetitions of Provider Communication Information (PRD-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProviderCommunicationInformation
Inserts a repetition of PRD-5: "Provider Communication Information" 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)
-
insertPrd5_ProviderCommunicationInformation
Inserts a repetition of PRD-5: "Provider Communication Information" 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)
-
removeProviderCommunicationInformation
Removes a repetition of PRD-5: "Provider Communication Information" 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)
-
removePrd5_ProviderCommunicationInformation
Removes a repetition of PRD-5: "Provider Communication Information" 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)
-
getPreferredMethodOfContact
Returns PRD-6: "Preferred Method of Contact" - creates it if necessary -
getPrd6_PreferredMethodOfContact
Returns PRD-6: "Preferred Method of Contact" - creates it if necessary -
getProviderIdentifiers
Returns all repetitions of Provider Identifiers (PRD-7). -
getPrd7_ProviderIdentifiers
Returns all repetitions of Provider Identifiers (PRD-7). -
getProviderIdentifiersReps
Returns a count of the current number of repetitions of Provider Identifiers (PRD-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getProviderIdentifiers
Returns a specific repetition of PRD-7: "Provider Identifiers" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd7_ProviderIdentifiers
Returns a specific repetition of PRD-7: "Provider Identifiers" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getPrd7_ProviderIdentifiersReps
Returns a count of the current number of repetitions of Provider Identifiers (PRD-7). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertProviderIdentifiers
Inserts a repetition of PRD-7: "Provider Identifiers" 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)
-
insertPrd7_ProviderIdentifiers
Inserts a repetition of PRD-7: "Provider Identifiers" 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)
-
removeProviderIdentifiers
Removes a repetition of PRD-7: "Provider Identifiers" 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)
-
removePrd7_ProviderIdentifiers
Removes a repetition of PRD-7: "Provider Identifiers" 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)
-
getEffectiveStartDateOfProviderRole
Returns PRD-8: "Effective Start Date of Provider Role" - creates it if necessary -
getPrd8_EffectiveStartDateOfProviderRole
Returns PRD-8: "Effective Start Date of Provider Role" - creates it if necessary -
getEffectiveEndDateOfProviderRole
Returns PRD-9: "Effective End Date of Provider Role" - creates it if necessary -
getPrd9_EffectiveEndDateOfProviderRole
Returns PRD-9: "Effective End Date of Provider Role" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-