Package ca.uhn.hl7v2.model.v251.segment
Class CNS
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v251.segment.CNS
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 CNS message segment (Clear Notification). This segment has the following fields:
- CNS-1: Starting Notification Reference Number (NM) optional
- CNS-2: Ending Notification Reference Number (NM) optional
- CNS-3: Starting Notification Date/Time (TS) optional
- CNS-4: Ending Notification Date/Time (TS) optional
- CNS-5: Starting Notification Code (CE) optional
- CNS-6: Ending Notification Code (CE) optional
- See Also:
-
Field Summary
Fields inherited from class ca.uhn.hl7v2.model.AbstractStructure
log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected TypecreateNewTypeWithoutReflection(int field) Returns CNS-1: "Starting Notification Reference Number" - creates it if necessaryReturns CNS-2: "Ending Notification Reference Number" - creates it if necessaryReturns CNS-3: "Starting Notification Date/Time" - creates it if necessaryReturns CNS-4: "Ending Notification Date/Time" - creates it if necessaryReturns CNS-5: "Starting Notification Code" - creates it if necessaryReturns CNS-6: "Ending Notification Code" - creates it if necessaryReturns CNS-6: "Ending Notification Code" - creates it if necessaryReturns CNS-4: "Ending Notification Date/Time" - creates it if necessaryReturns CNS-2: "Ending Notification Reference Number" - creates it if necessaryReturns CNS-5: "Starting Notification Code" - creates it if necessaryReturns CNS-3: "Starting Notification Date/Time" - creates it if necessaryReturns CNS-1: "Starting Notification Reference Number" - creates it if necessaryMethods inherited from class ca.uhn.hl7v2.model.AbstractSegment
accept, add, add, clear, encode, getField, getField, getLength, getMaxCardinality, getName, getNames, getReps, getTypedField, getTypedField, insertRepetition, isEmpty, isRequired, main, numFields, parse, provideLocation, removeRepetitionMethods inherited from class ca.uhn.hl7v2.model.AbstractStructure
getMessage, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ca.uhn.hl7v2.model.Structure
getMessage, getParent
-
Constructor Details
-
CNS
Creates a new CNS segment
-
-
Method Details
-
getStartingNotificationReferenceNumber
Returns CNS-1: "Starting Notification Reference Number" - creates it if necessary -
getCns1_StartingNotificationReferenceNumber
Returns CNS-1: "Starting Notification Reference Number" - creates it if necessary -
getEndingNotificationReferenceNumber
Returns CNS-2: "Ending Notification Reference Number" - creates it if necessary -
getCns2_EndingNotificationReferenceNumber
Returns CNS-2: "Ending Notification Reference Number" - creates it if necessary -
getStartingNotificationDateTime
Returns CNS-3: "Starting Notification Date/Time" - creates it if necessary -
getCns3_StartingNotificationDateTime
Returns CNS-3: "Starting Notification Date/Time" - creates it if necessary -
getEndingNotificationDateTime
Returns CNS-4: "Ending Notification Date/Time" - creates it if necessary -
getCns4_EndingNotificationDateTime
Returns CNS-4: "Ending Notification Date/Time" - creates it if necessary -
getStartingNotificationCode
Returns CNS-5: "Starting Notification Code" - creates it if necessary -
getCns5_StartingNotificationCode
Returns CNS-5: "Starting Notification Code" - creates it if necessary -
getEndingNotificationCode
Returns CNS-6: "Ending Notification Code" - creates it if necessary -
getCns6_EndingNotificationCode
Returns CNS-6: "Ending Notification Code" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-