public class PRD extends AbstractSegment
Represents an HL7 PRD message segment (Provider Data). This segment has the following fields:
log
Constructor and Description |
---|
PRD(Group parent,
ModelClassFactory factory)
Creates a new PRD segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
TS |
getEffectiveEndDateOfProviderRole()
Returns
PRD-9: "Effective End Date of Provider Role" - creates it if necessary
|
TS |
getEffectiveStartDateOfProviderRole()
Returns
PRD-8: "Effective Start Date of Provider Role" - creates it if necessary
|
CE[] |
getPrd1_ProviderRole()
Returns all repetitions of Provider Role (PRD-1).
|
CE |
getPrd1_ProviderRole(int rep)
Returns a specific repetition of
PRD-1: "Provider Role" - creates it if necessary
|
int |
getPrd1_ProviderRoleReps()
Returns a count of the current number of repetitions of Provider Role (PRD-1).
|
XPN[] |
getPrd2_ProviderName()
Returns all repetitions of Provider Name (PRD-2).
|
XPN |
getPrd2_ProviderName(int rep)
Returns a specific repetition of
PRD-2: "Provider Name" - creates it if necessary
|
int |
getPrd2_ProviderNameReps()
Returns a count of the current number of repetitions of Provider Name (PRD-2).
|
XAD[] |
getPrd3_ProviderAddress()
Returns all repetitions of Provider Address (PRD-3).
|
XAD |
getPrd3_ProviderAddress(int rep)
Returns a specific repetition of
PRD-3: "Provider Address" - creates it if necessary
|
int |
getPrd3_ProviderAddressReps()
Returns a count of the current number of repetitions of Provider Address (PRD-3).
|
PL |
getPrd4_ProviderLocation()
Returns
PRD-4: "Provider Location" - creates it if necessary
|
XTN[] |
getPrd5_ProviderCommunicationInformation()
Returns all repetitions of Provider Communication Information (PRD-5).
|
XTN |
getPrd5_ProviderCommunicationInformation(int rep)
Returns a specific repetition of
PRD-5: "Provider Communication Information" - creates it if necessary
|
int |
getPrd5_ProviderCommunicationInformationReps()
Returns a count of the current number of repetitions of Provider Communication Information (PRD-5).
|
CE |
getPrd6_PreferredMethodOfContact()
Returns
PRD-6: "Preferred Method Of Contact" - creates it if necessary
|
PI[] |
getPrd7_ProviderIdentifiers()
Returns all repetitions of Provider Identifiers (PRD-7).
|
PI |
getPrd7_ProviderIdentifiers(int rep)
Returns a specific repetition of
PRD-7: "Provider Identifiers" - creates it if necessary
|
int |
getPrd7_ProviderIdentifiersReps()
Returns a count of the current number of repetitions of Provider Identifiers (PRD-7).
|
TS |
getPrd8_EffectiveStartDateOfProviderRole()
Returns
PRD-8: "Effective Start Date of Provider Role" - creates it if necessary
|
TS |
getPrd9_EffectiveEndDateOfProviderRole()
Returns
PRD-9: "Effective End Date of Provider Role" - creates it if necessary
|
CE |
getPreferredMethodOfContact()
Returns
PRD-6: "Preferred Method Of Contact" - creates it if necessary
|
XAD[] |
getProviderAddress()
Returns all repetitions of Provider Address (PRD-3).
|
XAD |
getProviderAddress(int rep)
Returns a specific repetition of
PRD-3: "Provider Address" - creates it if necessary
|
int |
getProviderAddressReps()
Returns a count of the current number of repetitions of Provider Address (PRD-3).
|
XTN[] |
getProviderCommunicationInformation()
Returns all repetitions of Provider Communication Information (PRD-5).
|
XTN |
getProviderCommunicationInformation(int rep)
Returns a specific repetition of
PRD-5: "Provider Communication Information" - creates it if necessary
|
int |
getProviderCommunicationInformationReps()
Returns a count of the current number of repetitions of Provider Communication Information (PRD-5).
|
PI[] |
getProviderIdentifiers()
Returns all repetitions of Provider Identifiers (PRD-7).
|
PI |
getProviderIdentifiers(int rep)
Returns a specific repetition of
PRD-7: "Provider Identifiers" - creates it if necessary
|
int |
getProviderIdentifiersReps()
Returns a count of the current number of repetitions of Provider Identifiers (PRD-7).
|
PL |
getProviderLocation()
Returns
PRD-4: "Provider Location" - creates it if necessary
|
XPN[] |
getProviderName()
Returns all repetitions of Provider Name (PRD-2).
|
XPN |
getProviderName(int rep)
Returns a specific repetition of
PRD-2: "Provider Name" - creates it if necessary
|
int |
getProviderNameReps()
Returns a count of the current number of repetitions of Provider Name (PRD-2).
|
CE[] |
getProviderRole()
Returns all repetitions of Provider Role (PRD-1).
|
CE |
getProviderRole(int rep)
Returns a specific repetition of
PRD-1: "Provider Role" - creates it if necessary
|
int |
getProviderRoleReps()
Returns a count of the current number of repetitions of Provider Role (PRD-1).
|
CE |
insertPrd1_ProviderRole(int rep)
Inserts a repetition of
PRD-1: "Provider Role" at a specific index
|
XPN |
insertPrd2_ProviderName(int rep)
Inserts a repetition of
PRD-2: "Provider Name" at a specific index
|
XAD |
insertPrd3_ProviderAddress(int rep)
Inserts a repetition of
PRD-3: "Provider Address" at a specific index
|
XTN |
insertPrd5_ProviderCommunicationInformation(int rep)
Inserts a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
PI |
insertPrd7_ProviderIdentifiers(int rep)
Inserts a repetition of
PRD-7: "Provider Identifiers" at a specific index
|
XAD |
insertProviderAddress(int rep)
Inserts a repetition of
PRD-3: "Provider Address" at a specific index
|
XTN |
insertProviderCommunicationInformation(int rep)
Inserts a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
PI |
insertProviderIdentifiers(int rep)
Inserts a repetition of
PRD-7: "Provider Identifiers" at a specific index
|
XPN |
insertProviderName(int rep)
Inserts a repetition of
PRD-2: "Provider Name" at a specific index
|
CE |
insertProviderRole(int rep)
Inserts a repetition of
PRD-1: "Provider Role" at a specific index
|
CE |
removePrd1_ProviderRole(int rep)
Removes a repetition of
PRD-1: "Provider Role" at a specific index
|
XPN |
removePrd2_ProviderName(int rep)
Removes a repetition of
PRD-2: "Provider Name" at a specific index
|
XAD |
removePrd3_ProviderAddress(int rep)
Removes a repetition of
PRD-3: "Provider Address" at a specific index
|
XTN |
removePrd5_ProviderCommunicationInformation(int rep)
Removes a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
PI |
removePrd7_ProviderIdentifiers(int rep)
Removes a repetition of
PRD-7: "Provider Identifiers" at a specific index
|
XAD |
removeProviderAddress(int rep)
Removes a repetition of
PRD-3: "Provider Address" at a specific index
|
XTN |
removeProviderCommunicationInformation(int rep)
Removes a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
PI |
removeProviderIdentifiers(int rep)
Removes a repetition of
PRD-7: "Provider Identifiers" at a specific index
|
XPN |
removeProviderName(int rep)
Removes a repetition of
PRD-2: "Provider Name" at a specific index
|
CE |
removeProviderRole(int rep)
Removes a repetition of
PRD-1: "Provider Role" 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 PRD(Group parent, ModelClassFactory factory)
public CE[] getProviderRole()
public CE[] getPrd1_ProviderRole()
public int getProviderRoleReps()
public CE getProviderRole(int rep)
rep
- The repetition index (0-indexed)public CE getPrd1_ProviderRole(int rep)
rep
- The repetition index (0-indexed)public int getPrd1_ProviderRoleReps()
public CE insertProviderRole(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 insertPrd1_ProviderRole(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 removeProviderRole(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 removePrd1_ProviderRole(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 XPN[] getProviderName()
public XPN[] getPrd2_ProviderName()
public int getProviderNameReps()
public XPN getProviderName(int rep)
rep
- The repetition index (0-indexed)public XPN getPrd2_ProviderName(int rep)
rep
- The repetition index (0-indexed)public int getPrd2_ProviderNameReps()
public XPN insertProviderName(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 XPN insertPrd2_ProviderName(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 XPN removeProviderName(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 XPN removePrd2_ProviderName(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[] getProviderAddress()
public XAD[] getPrd3_ProviderAddress()
public int getProviderAddressReps()
public XAD getProviderAddress(int rep)
rep
- The repetition index (0-indexed)public XAD getPrd3_ProviderAddress(int rep)
rep
- The repetition index (0-indexed)public int getPrd3_ProviderAddressReps()
public XAD insertProviderAddress(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 insertPrd3_ProviderAddress(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 removeProviderAddress(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 removePrd3_ProviderAddress(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 getProviderLocation()
public PL getPrd4_ProviderLocation()
public XTN[] getProviderCommunicationInformation()
public XTN[] getPrd5_ProviderCommunicationInformation()
public int getProviderCommunicationInformationReps()
public XTN getProviderCommunicationInformation(int rep)
rep
- The repetition index (0-indexed)public XTN getPrd5_ProviderCommunicationInformation(int rep)
rep
- The repetition index (0-indexed)public int getPrd5_ProviderCommunicationInformationReps()
public XTN insertProviderCommunicationInformation(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 insertPrd5_ProviderCommunicationInformation(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 removeProviderCommunicationInformation(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 removePrd5_ProviderCommunicationInformation(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 getPreferredMethodOfContact()
public CE getPrd6_PreferredMethodOfContact()
public PI[] getProviderIdentifiers()
public PI[] getPrd7_ProviderIdentifiers()
public int getProviderIdentifiersReps()
public PI getProviderIdentifiers(int rep)
rep
- The repetition index (0-indexed)public PI getPrd7_ProviderIdentifiers(int rep)
rep
- The repetition index (0-indexed)public int getPrd7_ProviderIdentifiersReps()
public PI insertProviderIdentifiers(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 PI insertPrd7_ProviderIdentifiers(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 PI removeProviderIdentifiers(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 PI removePrd7_ProviderIdentifiers(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 TS getEffectiveStartDateOfProviderRole()
public TS getPrd8_EffectiveStartDateOfProviderRole()
public TS getEffectiveEndDateOfProviderRole()
public TS getPrd9_EffectiveEndDateOfProviderRole()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.