public class TimeQuantity extends RealQuantity
| Constructor and Description |
|---|
TimeQuantity(double value,
TimeUnitOfMeasure unit)
Create a width for the measurement of time.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNarrative() |
void |
setNarrative(String narrativeOverride) |
formatpublic TimeQuantity(double value,
TimeUnitOfMeasure unit)
example:
Width width = new Width(2, TimeUnitOfMeasure.Week);will generate the CDA model of the IVL_TS element
indicating a 2 week interval<effectiveTime> <width unit='wk' value='2' / >...
unit - a unit of time, eg weeksvalue - the amount of time int the width eg 2 weeksCopyright © 2021. All rights reserved.