/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the individual * </p> */ public Patient setBirthDateWithDayPrecision( Date theDate) { myBirthDate = new DateDt(theDate); return this; }
/** * Gets the value(s) for <b>birthDate</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The date of birth for the practitioner * </p> */ public Date getBirthDate() { return getBirthDateElement().getValue(); }
/** * Constructor which accepts a date value and uses the {@link #DEFAULT_PRECISION} for this type. */ public DateDt(Calendar theCalendar) { super(theCalendar.getTime(), DEFAULT_PRECISION); setTimeZone(theCalendar.getTimeZone()); }
/** * Constructor which accepts a date value and uses the {@link #DEFAULT_PRECISION} for this type. * * @param theYear The year, e.g. 2015 * @param theMonth The month, e.g. 0 for January * @param theDay The day (1 indexed) e.g. 1 for the first day of the month */ public DateDt(int theYear, int theMonth, int theDay) { this(toCalendarZulu(theYear, theMonth, theDay)); }
/** * Constructor which accepts a date value and uses the {@link #DEFAULT_PRECISION} for this type. * * @param theYear The year, e.g. 2015 * @param theMonth The month, e.g. 0 for January * @param theDay The day (1 indexed) e.g. 1 for the first day of the month */ public DateDt(int theYear, int theMonth, int theDay) { this(toCalendarZulu(theYear, theMonth, theDay)); }
/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the individual * </p> */ public Patient setBirthDate( Date theDate, TemporalPrecisionEnum thePrecision) { myBirthDate = new DateDt(theDate, thePrecision); return this; }
/** * Gets the value(s) for <b>lockedDate</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public Date getLockedDate() { return getLockedDateElement().getValue(); }
/** * Constructor which accepts a date value and uses the {@link #DEFAULT_PRECISION} for this type. */ public DateDt(Calendar theCalendar) { super(theCalendar.getTime(), DEFAULT_PRECISION); setTimeZone(theCalendar.getTimeZone()); }
/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the practitioner * </p> */ public Practitioner setBirthDate( Date theDate, TemporalPrecisionEnum thePrecision) { myBirthDate = new DateDt(theDate, thePrecision); return this; }
/** * Gets the value(s) for <b>birthDate</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The date of birth for the individual * </p> */ public Date getBirthDate() { return getBirthDateElement().getValue(); }
/** * Sets the value for <b>lockedDate</b> () * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public ValueSet setLockedDateWithDayPrecision( Date theDate) { myLockedDate = new DateDt(theDate); return this; }
/** * Gets the value(s) for <b>serviceDate</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * The date when the enclosed suite of services were performed or completed * </p> */ public Date getServiceDate() { return getServiceDateElement().getValue(); }
/** * Sets the value for <b>birthDate</b> () * * <p> * <b>Definition:</b> * The date of birth for the practitioner * </p> */ public Practitioner setBirthDateWithDayPrecision( Date theDate) { myBirthDate = new DateDt(theDate); return this; }
/** * Gets the value(s) for <b>priorDate</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Date of the initial placement. * </p> */ public Date getPriorDate() { return getPriorDateElement().getValue(); }
/** * Sets the value for <b>lockedDate</b> () * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public ValueSet setLockedDate( Date theDate, TemporalPrecisionEnum thePrecision) { myLockedDate = new DateDt(theDate, thePrecision); return this; }
/** * Gets the value(s) for <b>statusDate</b> (when.recorded). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies when the current status. I.e. When initially created, when achieved, when cancelled, etc. * </p> */ public Date getStatusDate() { return getStatusDateElement().getValue(); }
/** * Gets the value(s) for <b>lockedDate</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * If a locked date is defined, then the Content Logical Definition must be evaluated using the current version of all referenced code system(s) and value set instances as of the locked date * </p> */ public DateDt getLockedDateElement() { if (myLockedDate == null) { myLockedDate = new DateDt(); } return myLockedDate; }
/** * Gets the value(s) for <b>created</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * Identifies when the resource was first created * </p> */ public Date getCreated() { return getCreatedElement().getValue(); }
/** * Gets the value(s) for <b>birthDate</b> (). * creating it if it does * not exist. Will not return <code>null</code>. * * <p> * <b>Definition:</b> * The date of birth for the individual * </p> */ public DateDt getBirthDateElement() { if (myBirthDate == null) { myBirthDate = new DateDt(); } return myBirthDate; }
/** * Gets the value(s) for <b>dateRecorded</b> (). * creating it if it does * not exist. This method may return <code>null</code>. * * <p> * <b>Definition:</b> * A date, when the Condition statement was documented * </p> */ public Date getDateRecorded() { return getDateRecordedElement().getValue(); }