public class CM2 extends AbstractSegment
Represents an HL7 CM2 message segment (Clinical Study Schedule Master). This segment has the following fields:
log
Constructor and Description |
---|
CM2(Group parent,
ModelClassFactory factory)
Creates a new CM2 segment
|
Modifier and Type | Method and Description |
---|---|
protected Type |
createNewTypeWithoutReflection(int field) |
SI |
getCm21_CM2SetID()
Returns
CM2-1: "CM2 - Set ID" - creates it if necessary
|
CE |
getCm22_ScheduledTimePoint()
Returns
CM2-2: "Scheduled Time Point" - creates it if necessary
|
ST |
getCm23_DescriptionOfTimePoint()
Returns
CM2-3: "Description of Time Point" - creates it if necessary
|
CE[] |
getCm24_EventsScheduledThisTimePoint()
Returns all repetitions of Events Scheduled This Time Point (CM2-4).
|
CE |
getCm24_EventsScheduledThisTimePoint(int rep)
Returns a specific repetition of
CM2-4: "Events Scheduled This Time Point" - creates it if necessary
|
int |
getCm24_EventsScheduledThisTimePointReps()
Returns a count of the current number of repetitions of Events Scheduled This Time Point (CM2-4).
|
SI |
getCM2SetID()
Returns
CM2-1: "CM2 - Set ID" - creates it if necessary
|
ST |
getDescriptionOfTimePoint()
Returns
CM2-3: "Description of Time Point" - creates it if necessary
|
CE[] |
getEventsScheduledThisTimePoint()
Returns all repetitions of Events Scheduled This Time Point (CM2-4).
|
CE |
getEventsScheduledThisTimePoint(int rep)
Returns a specific repetition of
CM2-4: "Events Scheduled This Time Point" - creates it if necessary
|
int |
getEventsScheduledThisTimePointReps()
Returns a count of the current number of repetitions of Events Scheduled This Time Point (CM2-4).
|
CE |
getScheduledTimePoint()
Returns
CM2-2: "Scheduled Time Point" - creates it if necessary
|
CE |
insertCm24_EventsScheduledThisTimePoint(int rep)
Inserts a repetition of
CM2-4: "Events Scheduled This Time Point" at a specific index
|
CE |
insertEventsScheduledThisTimePoint(int rep)
Inserts a repetition of
CM2-4: "Events Scheduled This Time Point" at a specific index
|
CE |
removeCm24_EventsScheduledThisTimePoint(int rep)
Removes a repetition of
CM2-4: "Events Scheduled This Time Point" at a specific index
|
CE |
removeEventsScheduledThisTimePoint(int rep)
Removes a repetition of
CM2-4: "Events Scheduled This Time Point" 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 CM2(Group parent, ModelClassFactory factory)
public SI getCM2SetID()
public SI getCm21_CM2SetID()
public CE getScheduledTimePoint()
public CE getCm22_ScheduledTimePoint()
public ST getDescriptionOfTimePoint()
public ST getCm23_DescriptionOfTimePoint()
public CE[] getEventsScheduledThisTimePoint()
public CE[] getCm24_EventsScheduledThisTimePoint()
public int getEventsScheduledThisTimePointReps()
public CE getEventsScheduledThisTimePoint(int rep)
rep
- The repetition index (0-indexed)public CE getCm24_EventsScheduledThisTimePoint(int rep)
rep
- The repetition index (0-indexed)public int getCm24_EventsScheduledThisTimePointReps()
public CE insertEventsScheduledThisTimePoint(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 CE insertCm24_EventsScheduledThisTimePoint(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 CE removeEventsScheduledThisTimePoint(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 CE removeCm24_EventsScheduledThisTimePoint(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.