public class EVN extends AbstractSegment
Represents an HL7 EVN message segment (Event Type). This segment has the following fields:
log
Constructor and Description |
---|
EVN(Group parent,
ModelClassFactory factory)
Creates a new EVN segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
TS |
getDateTimePlannedEvent()
Returns
EVN-3: "Date/Time Planned Event" - creates it if necessary
|
HD |
getEventFacility()
Returns
EVN-7: "Event Facility" - creates it if necessary
|
TS |
getEventOccurred()
Returns
EVN-6: "Event Occurred" - creates it if necessary
|
IS |
getEventReasonCode()
Returns
EVN-4: "Event Reason Code" - creates it if necessary
|
ID |
getEventTypeCode()
Returns
EVN-1: "Event Type Code" - creates it if necessary
|
ID |
getEvn1_EventTypeCode()
Returns
EVN-1: "Event Type Code" - creates it if necessary
|
TS |
getEvn2_RecordedDateTime()
Returns
EVN-2: "Recorded Date/Time" - creates it if necessary
|
TS |
getEvn3_DateTimePlannedEvent()
Returns
EVN-3: "Date/Time Planned Event" - creates it if necessary
|
IS |
getEvn4_EventReasonCode()
Returns
EVN-4: "Event Reason Code" - creates it if necessary
|
XCN[] |
getEvn5_OperatorID()
Returns all repetitions of Operator ID (EVN-5).
|
XCN |
getEvn5_OperatorID(int rep)
Returns a specific repetition of
EVN-5: "Operator ID" - creates it if necessary
|
int |
getEvn5_OperatorIDReps()
Returns a count of the current number of repetitions of Operator ID (EVN-5).
|
TS |
getEvn6_EventOccurred()
Returns
EVN-6: "Event Occurred" - creates it if necessary
|
HD |
getEvn7_EventFacility()
Returns
EVN-7: "Event Facility" - creates it if necessary
|
XCN[] |
getOperatorID()
Returns all repetitions of Operator ID (EVN-5).
|
XCN |
getOperatorID(int rep)
Returns a specific repetition of
EVN-5: "Operator ID" - creates it if necessary
|
int |
getOperatorIDReps()
Returns a count of the current number of repetitions of Operator ID (EVN-5).
|
TS |
getRecordedDateTime()
Returns
EVN-2: "Recorded Date/Time" - creates it if necessary
|
XCN |
insertEvn5_OperatorID(int rep)
Inserts a repetition of
EVN-5: "Operator ID" at a specific index
|
XCN |
insertOperatorID(int rep)
Inserts a repetition of
EVN-5: "Operator ID" at a specific index
|
XCN |
removeEvn5_OperatorID(int rep)
Removes a repetition of
EVN-5: "Operator ID" at a specific index
|
XCN |
removeOperatorID(int rep)
Removes a repetition of
EVN-5: "Operator ID" 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 EVN(Group parent, ModelClassFactory factory)
public ID getEventTypeCode()
public ID getEvn1_EventTypeCode()
public TS getRecordedDateTime()
public TS getEvn2_RecordedDateTime()
public TS getDateTimePlannedEvent()
public TS getEvn3_DateTimePlannedEvent()
public IS getEventReasonCode()
public IS getEvn4_EventReasonCode()
public XCN[] getOperatorID()
public XCN[] getEvn5_OperatorID()
public int getOperatorIDReps()
public XCN getOperatorID(int rep)
rep
- The repetition index (0-indexed)public XCN getEvn5_OperatorID(int rep)
rep
- The repetition index (0-indexed)public int getEvn5_OperatorIDReps()
public XCN insertOperatorID(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 XCN insertEvn5_OperatorID(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 XCN removeOperatorID(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 XCN removeEvn5_OperatorID(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 TS getEventOccurred()
public TS getEvn6_EventOccurred()
public HD getEventFacility()
public HD getEvn7_EventFacility()
protected Type createNewTypeWithoutReflection(int field)
createNewTypeWithoutReflection
in class AbstractSegment
Copyright © 2001–2017 University Health Network. All rights reserved.