ca.uhn.hl7v2.model.v24.segment
Class CNS

java.lang.Object
  extended by ca.uhn.hl7v2.model.AbstractSegment
      extended by ca.uhn.hl7v2.model.v24.segment.CNS
All Implemented Interfaces:
Segment, Structure, Serializable

public class CNS
extends AbstractSegment

Represents an HL7 CNS message segment (Clear Notification). This segment has the following fields:

See Also:
Serialized Form

Constructor Summary
CNS(Group parent, ModelClassFactory factory)
          Creates a new CNS segment
 
Method Summary
protected  Type createNewTypeWithoutReflection(int field)
          
 NM getCns1_StartingNotificationReferenceNumber()
          Returns CNS-1: "Starting Notification Reference Number" - creates it if necessary
 NM getCns2_EndingNotificationReferenceNumber()
          Returns CNS-2: "Ending Notification Reference Number" - creates it if necessary
 TS getCns3_StartingNotificationDateTime()
          Returns CNS-3: "Starting Notification Date/Time" - creates it if necessary
 TS getCns4_EndingNotificationDateTime()
          Returns CNS-4: "Ending Notification Date/Time" - creates it if necessary
 CE getCns5_StartingNotificationCode()
          Returns CNS-5: "Starting Notification Code" - creates it if necessary
 CE getCns6_EndingNotificationCode()
          Returns CNS-6: "Ending Notification Code" - creates it if necessary
 CE getEndingNotificationCode()
          Returns CNS-6: "Ending Notification Code" - creates it if necessary
 TS getEndingNotificationDateTime()
          Returns CNS-4: "Ending Notification Date/Time" - creates it if necessary
 NM getEndingNotificationReferenceNumber()
          Returns CNS-2: "Ending Notification Reference Number" - creates it if necessary
 CE getStartingNotificationCode()
          Returns CNS-5: "Starting Notification Code" - creates it if necessary
 TS getStartingNotificationDateTime()
          Returns CNS-3: "Starting Notification Date/Time" - creates it if necessary
 NM getStartingNotificationReferenceNumber()
          Returns CNS-1: "Starting Notification Reference Number" - creates it if necessary
 
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

CNS

public CNS(Group parent,
           ModelClassFactory factory)
Creates a new CNS segment

Method Detail

getStartingNotificationReferenceNumber

public NM getStartingNotificationReferenceNumber()
Returns CNS-1: "Starting Notification Reference Number" - creates it if necessary


getCns1_StartingNotificationReferenceNumber

public NM getCns1_StartingNotificationReferenceNumber()
Returns CNS-1: "Starting Notification Reference Number" - creates it if necessary


getEndingNotificationReferenceNumber

public NM getEndingNotificationReferenceNumber()
Returns CNS-2: "Ending Notification Reference Number" - creates it if necessary


getCns2_EndingNotificationReferenceNumber

public NM getCns2_EndingNotificationReferenceNumber()
Returns CNS-2: "Ending Notification Reference Number" - creates it if necessary


getStartingNotificationDateTime

public TS getStartingNotificationDateTime()
Returns CNS-3: "Starting Notification Date/Time" - creates it if necessary


getCns3_StartingNotificationDateTime

public TS getCns3_StartingNotificationDateTime()
Returns CNS-3: "Starting Notification Date/Time" - creates it if necessary


getEndingNotificationDateTime

public TS getEndingNotificationDateTime()
Returns CNS-4: "Ending Notification Date/Time" - creates it if necessary


getCns4_EndingNotificationDateTime

public TS getCns4_EndingNotificationDateTime()
Returns CNS-4: "Ending Notification Date/Time" - creates it if necessary


getStartingNotificationCode

public CE getStartingNotificationCode()
Returns CNS-5: "Starting Notification Code" - creates it if necessary


getCns5_StartingNotificationCode

public CE getCns5_StartingNotificationCode()
Returns CNS-5: "Starting Notification Code" - creates it if necessary


getEndingNotificationCode

public CE getEndingNotificationCode()
Returns CNS-6: "Ending Notification Code" - creates it if necessary


getCns6_EndingNotificationCode

public CE getCns6_EndingNotificationCode()
Returns CNS-6: "Ending Notification Code" - creates it if necessary


createNewTypeWithoutReflection

protected Type createNewTypeWithoutReflection(int field)

Overrides:
createNewTypeWithoutReflection in class AbstractSegment


Copyright © 2001-2011 University Health Network. All Rights Reserved.