Package ca.uhn.hl7v2.model.v24.segment
Class EVN
java.lang.Object
ca.uhn.hl7v2.model.AbstractStructure
ca.uhn.hl7v2.model.AbstractSegment
ca.uhn.hl7v2.model.v24.segment.EVN
- All Implemented Interfaces:
Segment,Structure,Visitable,Serializable
Represents an HL7 EVN message segment (Event Type). This segment has the following fields:
- EVN-1: Event Type Code (ID) optional
- EVN-2: Recorded Date/Time (TS)
- EVN-3: Date/Time Planned Event (TS) optional
- EVN-4: Event Reason Code (IS) optional
- EVN-5: Operator ID (XCN) optional repeating
- EVN-6: Event Occurred (TS) optional
- EVN-7: Event Facility (HD) 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 EVN-3: "Date/Time Planned Event" - creates it if necessaryReturns EVN-7: "Event Facility" - creates it if necessaryReturns EVN-6: "Event Occurred" - creates it if necessaryReturns EVN-4: "Event Reason Code" - creates it if necessaryReturns EVN-1: "Event Type Code" - creates it if necessaryReturns EVN-1: "Event Type Code" - creates it if necessaryReturns EVN-2: "Recorded Date/Time" - creates it if necessaryReturns EVN-3: "Date/Time Planned Event" - creates it if necessaryReturns EVN-4: "Event Reason Code" - creates it if necessaryXCN[]Returns all repetitions of Operator ID (EVN-5).getEvn5_OperatorID(int rep) Returns a specific repetition of EVN-5: "Operator ID" - creates it if necessaryintReturns a count of the current number of repetitions of Operator ID (EVN-5).Returns EVN-6: "Event Occurred" - creates it if necessaryReturns EVN-7: "Event Facility" - creates it if necessaryXCN[]Returns all repetitions of Operator ID (EVN-5).getOperatorID(int rep) Returns a specific repetition of EVN-5: "Operator ID" - creates it if necessaryintReturns a count of the current number of repetitions of Operator ID (EVN-5).Returns EVN-2: "Recorded Date/Time" - creates it if necessaryinsertEvn5_OperatorID(int rep) Inserts a repetition of EVN-5: "Operator ID" at a specific indexinsertOperatorID(int rep) Inserts a repetition of EVN-5: "Operator ID" at a specific indexremoveEvn5_OperatorID(int rep) Removes a repetition of EVN-5: "Operator ID" at a specific indexremoveOperatorID(int rep) Removes a repetition of EVN-5: "Operator ID" at a specific indexMethods 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
-
EVN
Creates a new EVN segment
-
-
Method Details
-
getEventTypeCode
Returns EVN-1: "Event Type Code" - creates it if necessary -
getEvn1_EventTypeCode
Returns EVN-1: "Event Type Code" - creates it if necessary -
getRecordedDateTime
Returns EVN-2: "Recorded Date/Time" - creates it if necessary -
getEvn2_RecordedDateTime
Returns EVN-2: "Recorded Date/Time" - creates it if necessary -
getDateTimePlannedEvent
Returns EVN-3: "Date/Time Planned Event" - creates it if necessary -
getEvn3_DateTimePlannedEvent
Returns EVN-3: "Date/Time Planned Event" - creates it if necessary -
getEventReasonCode
Returns EVN-4: "Event Reason Code" - creates it if necessary -
getEvn4_EventReasonCode
Returns EVN-4: "Event Reason Code" - creates it if necessary -
getOperatorID
Returns all repetitions of Operator ID (EVN-5). -
getEvn5_OperatorID
Returns all repetitions of Operator ID (EVN-5). -
getOperatorIDReps
Returns a count of the current number of repetitions of Operator ID (EVN-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
getOperatorID
Returns a specific repetition of EVN-5: "Operator ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getEvn5_OperatorID
Returns a specific repetition of EVN-5: "Operator ID" - creates it if necessary- Parameters:
rep- The repetition index (0-indexed)
-
getEvn5_OperatorIDReps
Returns a count of the current number of repetitions of Operator ID (EVN-5). This method does not create a repetition, so if no repetitions have currently been defined or accessed, it will return zero. -
insertOperatorID
Inserts a repetition of EVN-5: "Operator ID" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
insertEvn5_OperatorID
Inserts a repetition of EVN-5: "Operator ID" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeOperatorID
Removes a repetition of EVN-5: "Operator ID" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
removeEvn5_OperatorID
Removes a repetition of EVN-5: "Operator ID" at a specific index- Parameters:
rep- The repetition index (0-indexed)- Throws:
HL7Exception- If the rep is invalid (below 0, or too high for the allowable repetitions)
-
getEventOccurred
Returns EVN-6: "Event Occurred" - creates it if necessary -
getEvn6_EventOccurred
Returns EVN-6: "Event Occurred" - creates it if necessary -
getEventFacility
Returns EVN-7: "Event Facility" - creates it if necessary -
getEvn7_EventFacility
Returns EVN-7: "Event Facility" - creates it if necessary -
createNewTypeWithoutReflection
- Overrides:
createNewTypeWithoutReflectionin classAbstractSegment
-