/** * Constructor which accepts a date value and uses the {@link #DEFAULT_PRECISION} for this type. * <b>Please see the note on timezones</b> on the {@link DateDt class documentation} for considerations * when using this constructor! */ @SimpleSetter(suffix = "WithDayPrecision") public DateDt(@SimpleSetter.Parameter(name = "theDate") Date theDate) { super(theDate, DEFAULT_PRECISION); }
@ResourceDef(name = "Observation", profile = CustomObservationDstu3.PROFILE) public class CustomObservationDstu3 extends Observation { public static final String PROFILE = "http://custom_ObservationDstu3"; private static final long serialVersionUID = 1L; @Extension(definedLocally = false, isModifier = false, url = "http://eyeColour") @Child(name = "eyeColour") private StringType myEyeColour; public StringType getEyeColour() { return myEyeColour; } public void setEyeColour(StringType theEyeColour) { myEyeColour = theEyeColour; } }
/** * Constructor */ @SimpleSetter public UnsignedIntDt(@SimpleSetter.Parameter(name = "theInteger") int theInteger) { setValue(theInteger); }
@ResourceDef(name = "Observation", profile = CustomObservationR4.PROFILE) public class CustomObservationR4 extends Observation { public static final String PROFILE = "http://custom_ObservationR4"; private static final long serialVersionUID = 1L; @Extension(definedLocally = false, isModifier = false, url = "http://eyeColour") @Child(name = "eyeColour") private StringType myEyeColour; public StringType getEyeColour() { return myEyeColour; } public void setEyeColour(StringType theEyeColour) { myEyeColour = theEyeColour; } }
/** * Create a new String */ @SimpleSetter public TimeDt(@SimpleSetter.Parameter(name = "theString") String theValue) { this(); setValue(theValue); }
/** * Constructor */ @SimpleSetter public BooleanDt(@SimpleSetter.Parameter(name = "theBoolean") boolean theBoolean) { setValue(theBoolean); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name="theValue") double theValue) { setValue(theValue); }
/** * Constructor */ @SimpleSetter public PositiveIntDt(@SimpleSetter.Parameter(name = "theInteger") int theInteger) { setValue(theInteger); }
/** * Constructor which accepts a string code * * @see #setValueAsString(String) for a description of how this value is applied */ @SimpleSetter() public XhtmlDt(@SimpleSetter.Parameter(name = "theTextDiv") String theTextDiv) { setValueAsString(theTextDiv); }
/** * Constructor */ @SimpleSetter public Base64BinaryDt(@SimpleSetter.Parameter(name = "theBytes") byte[] theBytes) { setValue(theBytes); }
/** * Create a new String */ @SimpleSetter public StringDt(@SimpleSetter.Parameter(name = "theString") String theValue) { setValue(theValue); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name="theValue") long theValue) { setValue(theValue); }
/** * Creates a new identifier with the given system and value */ @SimpleSetter public IdentifierDt(@SimpleSetter.Parameter(name="theSystem") String theSystem, @SimpleSetter.Parameter(name="theValue") String theValue) { setSystem(theSystem); setValue(theValue); }
/** * Constructor */ @SimpleSetter public SimpleQuantityDt(@SimpleSetter.Parameter(name = "theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name = "theValue") double theValue, @SimpleSetter.Parameter(name = "theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setUnits(theUnits); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name = "theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name = "theValue") long theValue, @SimpleSetter.Parameter(name = "theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setUnits(theUnits); }
/** * Constructor */ @SimpleSetter public SimpleQuantityDt(@SimpleSetter.Parameter(name="theValue") double theValue, @SimpleSetter.Parameter(name="theSystem") String theSystem, @SimpleSetter.Parameter(name="theUnits") String theUnits) { setValue(theValue); setSystem(theSystem); setUnit(theUnits); }
/** * Constructor */ @SimpleSetter public SimpleQuantityDt(@SimpleSetter.Parameter(name="theValue") long theValue, @SimpleSetter.Parameter(name="theSystem") String theSystem, @SimpleSetter.Parameter(name="theUnits") String theUnits) { setValue(theValue); setSystem(theSystem); setUnit(theUnits); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name = "theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name = "theValue") long theValue, @SimpleSetter.Parameter(name = "theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setUnits(theUnits); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name="theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name="theValue") double theValue, @SimpleSetter.Parameter(name="theSystem") String theSystem, @SimpleSetter.Parameter(name="theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setSystem(theSystem); setUnits(theUnits); }
/** * Constructor */ @SimpleSetter public QuantityDt(@SimpleSetter.Parameter(name="theComparator") QuantityComparatorEnum theComparator, @SimpleSetter.Parameter(name="theValue") long theValue, @SimpleSetter.Parameter(name="theSystem") String theSystem, @SimpleSetter.Parameter(name="theUnits") String theUnits) { setValue(theValue); setComparator(theComparator); setSystem(theSystem); setUnits(theUnits); }