|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.CTD
public class CTD
Represents an HL7 CTD message segment (Contact Data). This segment has the following fields:
| Constructor Summary | |
|---|---|
CTD(Group parent,
ModelClassFactory factory)
Creates a new CTD segment |
|
| Method Summary | |
|---|---|
protected Type |
createNewTypeWithoutReflection(int field)
|
XAD[] |
getContactAddress()
Returns all repetitions of Contact Address (CTD-3). |
XAD |
getContactAddress(int rep)
Returns a specific repetition of CTD-3: "Contact Address" - creates it if necessary |
int |
getContactAddressReps()
Returns a count of the current number of repetitions of Contact Address (CTD-3). |
XTN[] |
getContactCommunicationInformation()
Returns all repetitions of Contact Communication Information (CTD-5). |
XTN |
getContactCommunicationInformation(int rep)
Returns a specific repetition of CTD-5: "Contact Communication Information" - creates it if necessary |
int |
getContactCommunicationInformationReps()
Returns a count of the current number of repetitions of Contact Communication Information (CTD-5). |
PI[] |
getContactIdentifiers()
Returns all repetitions of Contact Identifiers (CTD-7). |
PI |
getContactIdentifiers(int rep)
Returns a specific repetition of CTD-7: "Contact Identifiers" - creates it if necessary |
int |
getContactIdentifiersReps()
Returns a count of the current number of repetitions of Contact Identifiers (CTD-7). |
PL |
getContactLocation()
Returns CTD-4: "Contact Location" - creates it if necessary |
XPN[] |
getContactName()
Returns all repetitions of Contact Name (CTD-2). |
XPN |
getContactName(int rep)
Returns a specific repetition of CTD-2: "Contact Name" - creates it if necessary |
int |
getContactNameReps()
Returns a count of the current number of repetitions of Contact Name (CTD-2). |
CE[] |
getContactRole()
Returns all repetitions of Contact Role (CTD-1). |
CE |
getContactRole(int rep)
Returns a specific repetition of CTD-1: "Contact Role" - creates it if necessary |
int |
getContactRoleReps()
Returns a count of the current number of repetitions of Contact Role (CTD-1). |
CE |
getCtd1_ContactRole(int rep)
Returns a specific repetition of CTD-1: "Contact Role" - creates it if necessary |
int |
getCtd1_ContactRoleReps()
Returns a count of the current number of repetitions of Contact Role (CTD-1). |
XPN |
getCtd2_ContactName(int rep)
Returns a specific repetition of CTD-2: "Contact Name" - creates it if necessary |
int |
getCtd2_ContactNameReps()
Returns a count of the current number of repetitions of Contact Name (CTD-2). |
XAD |
getCtd3_ContactAddress(int rep)
Returns a specific repetition of CTD-3: "Contact Address" - creates it if necessary |
int |
getCtd3_ContactAddressReps()
Returns a count of the current number of repetitions of Contact Address (CTD-3). |
PL |
getCtd4_ContactLocation()
Returns CTD-4: "Contact Location" - creates it if necessary |
XTN |
getCtd5_ContactCommunicationInformation(int rep)
Returns a specific repetition of CTD-5: "Contact Communication Information" - creates it if necessary |
int |
getCtd5_ContactCommunicationInformationReps()
Returns a count of the current number of repetitions of Contact Communication Information (CTD-5). |
CE |
getCtd6_PreferredMethodOfContact()
Returns CTD-6: "Preferred Method of Contact" - creates it if necessary |
PI |
getCtd7_ContactIdentifiers(int rep)
Returns a specific repetition of CTD-7: "Contact Identifiers" - creates it if necessary |
int |
getCtd7_ContactIdentifiersReps()
Returns a count of the current number of repetitions of Contact Identifiers (CTD-7). |
CE |
getPreferredMethodOfContact()
Returns CTD-6: "Preferred Method of Contact" - creates it if necessary |
XAD |
insertContactAddress(int rep)
Inserts a repetition of CTD-3: "Contact Address" at a specific index |
XTN |
insertContactCommunicationInformation(int rep)
Inserts a repetition of CTD-5: "Contact Communication Information" at a specific index |
PI |
insertContactIdentifiers(int rep)
Inserts a repetition of CTD-7: "Contact Identifiers" at a specific index |
XPN |
insertContactName(int rep)
Inserts a repetition of CTD-2: "Contact Name" at a specific index |
CE |
insertContactRole(int rep)
Inserts a repetition of CTD-1: "Contact Role" at a specific index |
CE |
insertCtd1_ContactRole(int rep)
Inserts a repetition of CTD-1: "Contact Role" at a specific index |
XPN |
insertCtd2_ContactName(int rep)
Inserts a repetition of CTD-2: "Contact Name" at a specific index |
XAD |
insertCtd3_ContactAddress(int rep)
Inserts a repetition of CTD-3: "Contact Address" at a specific index |
XTN |
insertCtd5_ContactCommunicationInformation(int rep)
Inserts a repetition of CTD-5: "Contact Communication Information" at a specific index |
PI |
insertCtd7_ContactIdentifiers(int rep)
Inserts a repetition of CTD-7: "Contact Identifiers" at a specific index |
XAD |
removeContactAddress(int rep)
Removes a repetition of CTD-3: "Contact Address" at a specific index |
XTN |
removeContactCommunicationInformation(int rep)
Removes a repetition of CTD-5: "Contact Communication Information" at a specific index |
PI |
removeContactIdentifiers(int rep)
Removes a repetition of CTD-7: "Contact Identifiers" at a specific index |
XPN |
removeContactName(int rep)
Removes a repetition of CTD-2: "Contact Name" at a specific index |
CE |
removeContactRole(int rep)
Removes a repetition of CTD-1: "Contact Role" at a specific index |
CE |
removeCtd1_ContactRole(int rep)
Removes a repetition of CTD-1: "Contact Role" at a specific index |
XPN |
removeCtd2_ContactName(int rep)
Removes a repetition of CTD-2: "Contact Name" at a specific index |
XAD |
removeCtd3_ContactAddress(int rep)
Removes a repetition of CTD-3: "Contact Address" at a specific index |
XTN |
removeCtd5_ContactCommunicationInformation(int rep)
Removes a repetition of CTD-5: "Contact Communication Information" at a specific index |
PI |
removeCtd7_ContactIdentifiers(int rep)
Removes a repetition of CTD-7: "Contact Identifiers" at a specific index |
| Methods inherited from class ca.uhn.hl7v2.model.AbstractSegment |
|---|
add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getMessage, getName, getNames, getParent, insertRepetition, isRequired, main, numFields, parse, removeRepetition |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CTD(Group parent,
ModelClassFactory factory)
| Method Detail |
|---|
public CE[] getContactRole()
public int getContactRoleReps()
public CE getContactRole(int rep)
rep - The repetition index (0-indexed)public CE getCtd1_ContactRole(int rep)
rep - The repetition index (0-indexed)public int getCtd1_ContactRoleReps()
public CE insertContactRole(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 insertCtd1_ContactRole(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 removeContactRole(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 removeCtd1_ContactRole(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[] getContactName()
public int getContactNameReps()
public XPN getContactName(int rep)
rep - The repetition index (0-indexed)public XPN getCtd2_ContactName(int rep)
rep - The repetition index (0-indexed)public int getCtd2_ContactNameReps()
public XPN insertContactName(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 insertCtd2_ContactName(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 removeContactName(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 removeCtd2_ContactName(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[] getContactAddress()
public int getContactAddressReps()
public XAD getContactAddress(int rep)
rep - The repetition index (0-indexed)public XAD getCtd3_ContactAddress(int rep)
rep - The repetition index (0-indexed)public int getCtd3_ContactAddressReps()
public XAD insertContactAddress(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 insertCtd3_ContactAddress(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 removeContactAddress(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 removeCtd3_ContactAddress(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 getContactLocation()
public PL getCtd4_ContactLocation()
public XTN[] getContactCommunicationInformation()
public int getContactCommunicationInformationReps()
public XTN getContactCommunicationInformation(int rep)
rep - The repetition index (0-indexed)public XTN getCtd5_ContactCommunicationInformation(int rep)
rep - The repetition index (0-indexed)public int getCtd5_ContactCommunicationInformationReps()
public XTN insertContactCommunicationInformation(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 insertCtd5_ContactCommunicationInformation(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 removeContactCommunicationInformation(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 removeCtd5_ContactCommunicationInformation(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 getCtd6_PreferredMethodOfContact()
public PI[] getContactIdentifiers()
public int getContactIdentifiersReps()
public PI getContactIdentifiers(int rep)
rep - The repetition index (0-indexed)public PI getCtd7_ContactIdentifiers(int rep)
rep - The repetition index (0-indexed)public int getCtd7_ContactIdentifiersReps()
public PI insertContactIdentifiers(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 insertCtd7_ContactIdentifiers(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 removeContactIdentifiers(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 removeCtd7_ContactIdentifiers(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)protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection in class AbstractSegment
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||