Package | Description |
---|---|
ca.uhn.hl7v2.model | |
ca.uhn.hl7v2.model.primitive | |
ca.uhn.hl7v2.util |
Modifier and Type | Method and Description |
---|---|
Type |
GenericComposite.getComponent(int number)
Returns the single component of this composite at the specified position (starting at 0) -
Creates it (and any nonexistent components before it) if necessary.
|
Type |
Composite.getComponent(int number)
Returns the single component of this composite at the specified position (starting at 0).
|
void |
Varies.setData(Type data)
Sets the data contained by this instance of Varies.
|
void |
Variable.setData(Type data)
Sets the data contained by this instance of Variable.
|
void |
AbstractPrimitive.setValue(String theValue)
Sets the value of this Primitive, first performing validation as specified
by
getMessage().getValidationContext() . |
void |
Primitive.setValue(String value)
Sets the value of this field if the given value is legal in the context of the
implementing class.
|
Modifier and Type | Method and Description |
---|---|
int |
TSComponentOne.getDay()
Returns the day as an integer.
|
int |
DT.getDay()
Returns the day as an integer.
|
float |
TSComponentOne.getFractSecond()
Returns the fractional second value as a float.
|
float |
TM.getFractSecond()
Returns the fractional second value as a float.
|
int |
TSComponentOne.getGMTOffset()
Returns the GMT offset value as an integer.
|
int |
TM.getGMTOffset()
Returns the GMT offset value as an integer.
|
int |
TSComponentOne.getHour()
Returns the hour as an integer.
|
int |
TM.getHour()
Returns the hour as an integer.
|
int |
TSComponentOne.getMinute()
Returns the minute as an integer.
|
int |
TM.getMinute()
Returns the minute as an integer.
|
int |
TSComponentOne.getMonth()
Returns the month as an integer.
|
int |
DT.getMonth()
Returns the month as an integer.
|
int |
TSComponentOne.getSecond()
Returns the second as an integer.
|
int |
TM.getSecond()
Returns the second as an integer.
|
Calendar |
TSComponentOne.getValueAsCalendar()
Return the value as a calendar object
|
Date |
TSComponentOne.getValueAsDate()
Return the value as a date object
Note: Sets fields using precision up to the second
|
int |
TSComponentOne.getYear()
Returns the year as an integer.
|
int |
DT.getYear()
Returns the year as an integer.
|
static void |
CommonTS.main(String[] args) |
void |
CommonTS.setDateMinutePrecision(int yr,
int mnth,
int dy,
int hr,
int min)
This method takes in integer values for the year, month, day, hour
and minute and performs validations, it then sets the value in the object
formatted as an HL7 Time Stamp value with year&month&day&hour&minute precision (YYYYMMDDHHMM).
|
void |
TSComponentOne.setDateMinutePrecision(int yr,
int mnth,
int dy,
int hr,
int min) |
void |
CommonTS.setDatePrecision(int yr,
int mnth,
int dy)
This method takes in integer values for the year and month and day
and performs validations, it then sets the value in the object
formatted as an HL7 Time Stamp value with year&month&day precision (YYYYMMDD).
|
void |
TSComponentOne.setDatePrecision(int yr,
int mnth,
int dy) |
void |
CommonTS.setDateSecondPrecision(int yr,
int mnth,
int dy,
int hr,
int min,
float sec)
This method takes in integer values for the year, month, day, hour, minute, seconds,
and fractional seconds (going to the tenthousandths precision).
|
void |
TSComponentOne.setDateSecondPrecision(int yr,
int mnth,
int dy,
int hr,
int min,
float sec) |
void |
CommonTM.setHourMinSecondPrecision(int hr,
int min,
float sec)
This method takes in integer values for the hour, minute, seconds, and fractional seconds
(going to the tenthousandths precision).
|
void |
TM.setHourMinSecondPrecision(int hr,
int min,
float sec) |
void |
CommonTM.setHourMinutePrecision(int hr,
int min)
This method takes in integer values for the hour and minute and performs validations,
it then sets the value field formatted as an HL7 time value
with hour&minute precision (HHMM).
|
void |
TM.setHourMinutePrecision(int hr,
int min) |
void |
CommonTM.setHourPrecision(int hr)
This method takes in an integer value for the hour and performs validations,
it then sets the value field formatted as an HL7 time
value with hour precision (HH).
|
void |
TM.setHourPrecision(int hr) |
void |
CommonTS.setOffset(int signedOffset)
This method takes in the four digit (signed) GMT offset and sets the offset
field
|
void |
CommonTM.setOffset(int signedOffset)
This method takes in the four digit (signed) GMT offset and sets the offset
field
|
void |
TSComponentOne.setOffset(int signedOffset) |
void |
TM.setOffset(int signedOffset) |
void |
CommonTS.setValue(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonTM.setValue(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
TSComponentOne.setValue(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonDT.setValue(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonTS.setValue(Date theDate)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonTM.setValue(Date theDate)
Convenience setter which sets the value using a
Calendar object. |
void |
TSComponentOne.setValue(Date theDate)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonDT.setValue(Date theDate)
Convenience setter which sets the value using a
Date object. |
void |
CommonTS.setValue(String val)
This method takes in a string HL7 Time Stamp value and performs validations.
|
void |
CommonTM.setValue(String val)
This method takes in a string HL7 Time value and performs validations
then sets the value field.
|
void |
TSComponentOne.setValue(String theValue) |
void |
TM.setValue(String theValue) |
void |
DT.setValue(String theValue) |
void |
CommonDT.setValue(String val)
This method takes in a string HL7 date value and performs validations
then sets the value field.
|
void |
CommonTS.setValueToMinute(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonTM.setValueToMinute(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
TSComponentOne.setValueToMinute(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonTS.setValueToMinute(Date theDate)
Convenience setter which sets the value using a
Date object. |
void |
CommonTM.setValueToMinute(Date theDate)
Convenience setter which sets the value using a
Date object. |
void |
TSComponentOne.setValueToMinute(Date theDate)
Convenience setter which sets the value using a
Date object. |
void |
CommonTS.setValueToSecond(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonTM.setValueToSecond(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
TSComponentOne.setValueToSecond(Calendar theCalendar)
Convenience setter which sets the value using a
Calendar object. |
void |
CommonTS.setValueToSecond(Date theDate)
Convenience setter which sets the value using a
Date object. |
void |
CommonTM.setValueToSecond(Date theDate)
Convenience setter which sets the value using a
Date object. |
void |
TSComponentOne.setValueToSecond(Date theDate)
Convenience setter which sets the value using a
Date object. |
void |
DT.setYearMonthDayPrecision(int yr,
int mnth,
int dy) |
void |
CommonDT.setYearMonthDayPrecision(int yr,
int mnth,
int dy)
This method takes in integer values for the year and month and day
and performs validations, it then sets the value in the object
formatted as an HL7 date value with year&month&day precision (YYYYMMDD).
|
void |
DT.setYearMonthPrecision(int yr,
int mnth) |
void |
CommonDT.setYearMonthPrecision(int yr,
int mnth)
This method takes in integer values for the year and month and performs validations,
it then sets the value field formatted as an HL7 date
value with year&month precision (YYYYMM).
|
void |
DT.setYearPrecision(int yr) |
void |
CommonDT.setYearPrecision(int yr)
This method takes in an integer value for the year and performs validations,
it then sets the value field formatted as an HL7 date.
|
static String |
CommonDT.toHl7DTFormat(GregorianCalendar cal)
Returns a string value representing the input Gregorian Calendar object in
an Hl7 Date Format.
|
static String |
CommonTM.toHl7TMFormat(GregorianCalendar cal)
Returns a string value representing the input Gregorian Calendar object in
an Hl7 Time Format.
|
static String |
CommonTS.toHl7TSFormat(GregorianCalendar cal)
Returns a string value representing the input Gregorian Calendar object in
an Hl7 TimeStamp Format.
|
Constructor and Description |
---|
CommonDT(String val)
Constructs a DT object with the given value.
|
CommonTM(String val)
Constructs a TM object with the given value.
|
CommonTS(String val)
Constructs a TS object with the given value.
|
Modifier and Type | Method and Description |
---|---|
static void |
DeepCopy.copy(Type from,
Type to)
Copies data from the "from" Type into the "to" Type.
|
Copyright © 2001–2017 University Health Network. All rights reserved.