public class NK1 extends AbstractSegment
Represents an HL7 NK1 message segment (NEXT OF KIN). This segment has the following fields:
log
Constructor and Description |
---|
NK1(Group parent,
ModelClassFactory factory)
Creates a new NK1 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
AD |
getAddress()
Returns
NK1-4: "Address" - creates it if necessary
|
TN |
getBusinessPhoneNumber()
Returns
NK1-6: "Business Phone Number" - creates it if necessary
|
CE |
getContactRole()
Returns
NK1-7: "Contact Role" - creates it if necessary
|
DT |
getEndDate()
Returns
NK1-9: "End Date" - creates it if necessary
|
ST |
getNextOfKin()
Returns
NK1-10: "Next of Kin" - creates it if necessary
|
ST |
getNextOfKinEmployeeNumber()
Returns
NK1-12: "Next of Kin Employee Number" - creates it if necessary
|
CM_JOB_CODE |
getNextOfKinJobCodeClass()
Returns
NK1-11: "Next of kin job code / class" - creates it if necessary
|
SI |
getNk11_SetIDNextOfKin()
Returns
NK1-1: "Set ID - Next of Kin" - creates it if necessary
|
ST |
getNk110_NextOfKin()
Returns
NK1-10: "Next of Kin" - creates it if necessary
|
CM_JOB_CODE |
getNk111_NextOfKinJobCodeClass()
Returns
NK1-11: "Next of kin job code / class" - creates it if necessary
|
ST |
getNk112_NextOfKinEmployeeNumber()
Returns
NK1-12: "Next of Kin Employee Number" - creates it if necessary
|
ST |
getNk113_OrganizationName()
Returns
NK1-13: "Organization Name" - creates it if necessary
|
PN |
getNk12_NKName()
Returns
NK1-2: "NK Name" - creates it if necessary
|
CE |
getNk13_Relationship()
Returns
NK1-3: "Relationship" - creates it if necessary
|
AD |
getNk14_Address()
Returns
NK1-4: "Address" - creates it if necessary
|
TN[] |
getNk15_PhoneNumber()
Returns all repetitions of Phone Number (NK1-5).
|
TN |
getNk15_PhoneNumber(int rep)
Returns a specific repetition of
NK1-5: "Phone Number" - creates it if necessary
|
int |
getNk15_PhoneNumberReps()
Returns a count of the current number of repetitions of Phone Number (NK1-5).
|
TN |
getNk16_BusinessPhoneNumber()
Returns
NK1-6: "Business Phone Number" - creates it if necessary
|
CE |
getNk17_ContactRole()
Returns
NK1-7: "Contact Role" - creates it if necessary
|
DT |
getNk18_StartDate()
Returns
NK1-8: "Start Date" - creates it if necessary
|
DT |
getNk19_EndDate()
Returns
NK1-9: "End Date" - creates it if necessary
|
PN |
getNKName()
Returns
NK1-2: "NK Name" - creates it if necessary
|
ST |
getOrganizationName()
Returns
NK1-13: "Organization Name" - creates it if necessary
|
TN[] |
getPhoneNumber()
Returns all repetitions of Phone Number (NK1-5).
|
TN |
getPhoneNumber(int rep)
Returns a specific repetition of
NK1-5: "Phone Number" - creates it if necessary
|
int |
getPhoneNumberReps()
Returns a count of the current number of repetitions of Phone Number (NK1-5).
|
CE |
getRelationship()
Returns
NK1-3: "Relationship" - creates it if necessary
|
SI |
getSetIDNextOfKin()
Returns
NK1-1: "Set ID - Next of Kin" - creates it if necessary
|
DT |
getStartDate()
Returns
NK1-8: "Start Date" - creates it if necessary
|
TN |
insertNk15_PhoneNumber(int rep)
Inserts a repetition of
NK1-5: "Phone Number" at a specific index
|
TN |
insertPhoneNumber(int rep)
Inserts a repetition of
NK1-5: "Phone Number" at a specific index
|
TN |
removeNk15_PhoneNumber(int rep)
Removes a repetition of
NK1-5: "Phone Number" at a specific index
|
TN |
removePhoneNumber(int rep)
Removes a repetition of
NK1-5: "Phone Number" 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 NK1(Group parent, ModelClassFactory factory)
public SI getSetIDNextOfKin()
public SI getNk11_SetIDNextOfKin()
public PN getNk12_NKName()
public CE getRelationship()
public CE getNk13_Relationship()
public AD getAddress()
public AD getNk14_Address()
public TN[] getPhoneNumber()
public TN[] getNk15_PhoneNumber()
public int getPhoneNumberReps()
public TN getPhoneNumber(int rep)
rep
- The repetition index (0-indexed)public TN getNk15_PhoneNumber(int rep)
rep
- The repetition index (0-indexed)public int getNk15_PhoneNumberReps()
public TN insertPhoneNumber(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 TN insertNk15_PhoneNumber(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 TN removePhoneNumber(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 TN removeNk15_PhoneNumber(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 TN getBusinessPhoneNumber()
public TN getNk16_BusinessPhoneNumber()
public CE getContactRole()
public CE getNk17_ContactRole()
public DT getStartDate()
public DT getNk18_StartDate()
public DT getEndDate()
public DT getNk19_EndDate()
public ST getNextOfKin()
public ST getNk110_NextOfKin()
public CM_JOB_CODE getNextOfKinJobCodeClass()
public CM_JOB_CODE getNk111_NextOfKinJobCodeClass()
public ST getNextOfKinEmployeeNumber()
public ST getNk112_NextOfKinEmployeeNumber()
public ST getOrganizationName()
public ST getNk113_OrganizationName()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.