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 |
getNEXTOFKINADDRESS()
Returns
NK1-4: "NEXT OF KIN - ADDRESS" - creates it if necessary
|
PN |
getNEXTOFKINNAME()
Returns
NK1-2: "NEXT OF KIN NAME" - creates it if necessary
|
TN[] |
getNEXTOFKINPHONENUMBER()
Returns all repetitions of NEXT OF KIN - PHONE NUMBER (NK1-5).
|
TN |
getNEXTOFKINPHONENUMBER(int rep)
Returns a specific repetition of
NK1-5: "NEXT OF KIN - PHONE NUMBER" - creates it if necessary
|
int |
getNEXTOFKINPHONENUMBERReps()
Returns a count of the current number of repetitions of NEXT OF KIN - PHONE NUMBER (NK1-5).
|
ST |
getNEXTOFKINRELATIONSHIP()
Returns
NK1-3: "NEXT OF KIN RELATIONSHIP" - creates it if necessary
|
SI |
getNk11_SETIDNEXTOFKIN()
Returns
NK1-1: "SET ID - NEXT OF KIN" - creates it if necessary
|
PN |
getNk12_NEXTOFKINNAME()
Returns
NK1-2: "NEXT OF KIN NAME" - creates it if necessary
|
ST |
getNk13_NEXTOFKINRELATIONSHIP()
Returns
NK1-3: "NEXT OF KIN RELATIONSHIP" - creates it if necessary
|
AD |
getNk14_NEXTOFKINADDRESS()
Returns
NK1-4: "NEXT OF KIN - ADDRESS" - creates it if necessary
|
TN[] |
getNk15_NEXTOFKINPHONENUMBER()
Returns all repetitions of NEXT OF KIN - PHONE NUMBER (NK1-5).
|
TN |
getNk15_NEXTOFKINPHONENUMBER(int rep)
Returns a specific repetition of
NK1-5: "NEXT OF KIN - PHONE NUMBER" - creates it if necessary
|
int |
getNk15_NEXTOFKINPHONENUMBERReps()
Returns a count of the current number of repetitions of NEXT OF KIN - PHONE NUMBER (NK1-5).
|
SI |
getSETIDNEXTOFKIN()
Returns
NK1-1: "SET ID - NEXT OF KIN" - creates it if necessary
|
TN |
insertNEXTOFKINPHONENUMBER(int rep)
Inserts a repetition of
NK1-5: "NEXT OF KIN - PHONE NUMBER" at a specific index
|
TN |
insertNk15_NEXTOFKINPHONENUMBER(int rep)
Inserts a repetition of
NK1-5: "NEXT OF KIN - PHONE NUMBER" at a specific index
|
TN |
removeNEXTOFKINPHONENUMBER(int rep)
Removes a repetition of
NK1-5: "NEXT OF KIN - PHONE NUMBER" at a specific index
|
TN |
removeNk15_NEXTOFKINPHONENUMBER(int rep)
Removes a repetition of
NK1-5: "NEXT OF KIN - 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 getNEXTOFKINNAME()
public PN getNk12_NEXTOFKINNAME()
public ST getNEXTOFKINRELATIONSHIP()
public ST getNk13_NEXTOFKINRELATIONSHIP()
public AD getNEXTOFKINADDRESS()
public AD getNk14_NEXTOFKINADDRESS()
public TN[] getNEXTOFKINPHONENUMBER()
public TN[] getNk15_NEXTOFKINPHONENUMBER()
public int getNEXTOFKINPHONENUMBERReps()
public TN getNEXTOFKINPHONENUMBER(int rep)
rep
- The repetition index (0-indexed)public TN getNk15_NEXTOFKINPHONENUMBER(int rep)
rep
- The repetition index (0-indexed)public int getNk15_NEXTOFKINPHONENUMBERReps()
public TN insertNEXTOFKINPHONENUMBER(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_NEXTOFKINPHONENUMBER(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 removeNEXTOFKINPHONENUMBER(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_NEXTOFKINPHONENUMBER(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
Copyright © 2001–2017 University Health Network. All rights reserved.