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 |
getEffectiveEndDateOfRole()
Returns
PRD-9: "Effective End Date of Role" - creates it if necessary
|
TS |
getEffectiveStartDateOfRole()
Returns
PRD-8: "Effective Start Date of Role" - creates it if necessary
|
CE[] |
getPrd1_Role()
Returns all repetitions of Role (PRD-1).
|
CE |
getPrd1_Role(int rep)
Returns a specific repetition of
PRD-1: "Role" - creates it if necessary
|
int |
getPrd1_RoleReps()
Returns a count of the current number of repetitions of 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
PRD-3: "Provider Address" - creates it if necessary
|
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
|
CM_PI[] |
getPrd7_ProviderIdentifiers()
Returns all repetitions of Provider Identifiers (PRD-7).
|
CM_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_EffectiveStartDateOfRole()
Returns
PRD-8: "Effective Start Date of Role" - creates it if necessary
|
TS |
getPrd9_EffectiveEndDateOfRole()
Returns
PRD-9: "Effective End Date of Role" - creates it if necessary
|
CE |
getPreferredMethodOfContact()
Returns
PRD-6: "Preferred Method of Contact" - creates it if necessary
|
XAD |
getProviderAddress()
Returns
PRD-3: "Provider Address" - creates it if necessary
|
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).
|
CM_PI[] |
getProviderIdentifiers()
Returns all repetitions of Provider Identifiers (PRD-7).
|
CM_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[] |
getRole()
Returns all repetitions of Role (PRD-1).
|
CE |
getRole(int rep)
Returns a specific repetition of
PRD-1: "Role" - creates it if necessary
|
int |
getRoleReps()
Returns a count of the current number of repetitions of Role (PRD-1).
|
CE |
insertPrd1_Role(int rep)
Inserts a repetition of
PRD-1: "Role" at a specific index
|
XPN |
insertPrd2_ProviderName(int rep)
Inserts a repetition of
PRD-2: "Provider Name" at a specific index
|
XTN |
insertPrd5_ProviderCommunicationInformation(int rep)
Inserts a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
CM_PI |
insertPrd7_ProviderIdentifiers(int rep)
Inserts a repetition of
PRD-7: "Provider Identifiers" at a specific index
|
XTN |
insertProviderCommunicationInformation(int rep)
Inserts a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
CM_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 |
insertRole(int rep)
Inserts a repetition of
PRD-1: "Role" at a specific index
|
CE |
removePrd1_Role(int rep)
Removes a repetition of
PRD-1: "Role" at a specific index
|
XPN |
removePrd2_ProviderName(int rep)
Removes a repetition of
PRD-2: "Provider Name" at a specific index
|
XTN |
removePrd5_ProviderCommunicationInformation(int rep)
Removes a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
CM_PI |
removePrd7_ProviderIdentifiers(int rep)
Removes a repetition of
PRD-7: "Provider Identifiers" at a specific index
|
XTN |
removeProviderCommunicationInformation(int rep)
Removes a repetition of
PRD-5: "Provider Communication Information" at a specific index
|
CM_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 |
removeRole(int rep)
Removes a repetition of
PRD-1: "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[] getPrd1_Role()
public int getRoleReps()
public CE getRole(int rep)
rep
- The repetition index (0-indexed)public CE getPrd1_Role(int rep)
rep
- The repetition index (0-indexed)public int getPrd1_RoleReps()
public CE insertRole(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_Role(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 removeRole(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_Role(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 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 CM_PI[] getProviderIdentifiers()
public CM_PI[] getPrd7_ProviderIdentifiers()
public int getProviderIdentifiersReps()
public CM_PI getProviderIdentifiers(int rep)
rep
- The repetition index (0-indexed)public CM_PI getPrd7_ProviderIdentifiers(int rep)
rep
- The repetition index (0-indexed)public int getPrd7_ProviderIdentifiersReps()
public CM_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 CM_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 CM_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 CM_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 getEffectiveStartDateOfRole()
public TS getPrd8_EffectiveStartDateOfRole()
public TS getEffectiveEndDateOfRole()
public TS getPrd9_EffectiveEndDateOfRole()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.