Package ca.uhn.fhir.model.primitive

Examples of ca.uhn.fhir.model.primitive.DateTimeDt


     * The date (and perhaps time) when the prescription was written
     * </p>
   */
  public DateTimeDt getDateWritten() { 
    if (myDateWritten == null) {
      myDateWritten = new DateTimeDt();
    }
    return myDateWritten;
  }
View Full Code Here


     * <b>Definition:</b>
     * The date (and perhaps time) when the prescription was written
     * </p>
   */
  public MedicationPrescription setDateWritten( Date theDate,  TemporalPrecisionEnum thePrecision) {
    myDateWritten = new DateTimeDt(theDate, thePrecision);
    return this;
  }
View Full Code Here

     * <b>Definition:</b>
     * The date (and perhaps time) when the prescription was written
     * </p>
   */
  public MedicationPrescription setDateWrittenWithSecondsPrecision( Date theDate) {
    myDateWritten = new DateTimeDt(theDate);
    return this;
  }
View Full Code Here

     * When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
     * </p>
   */
  public DateTimeDt getExpiry() { 
    if (myExpiry == null) {
      myExpiry = new DateTimeDt();
    }
    return myExpiry;
  }
View Full Code Here

     * <b>Definition:</b>
     * When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
     * </p>
   */
  public Instance setExpiry( Date theDate,  TemporalPrecisionEnum thePrecision) {
    myExpiry = new DateTimeDt(theDate, thePrecision);
    return this;
  }
View Full Code Here

     * <b>Definition:</b>
     * When the substance is no longer valid to use. For some substances, a single arbitrary date is used for expiry.
     * </p>
   */
  public Instance setExpiryWithSecondsPrecision( Date theDate) {
    myExpiry = new DateTimeDt(theDate);
    return this;
  }
View Full Code Here

     * The date/time at which the event occurred
     * </p>
   */
  public DateTimeDt getDateTime() { 
    if (myDateTime == null) {
      myDateTime = new DateTimeDt();
    }
    return myDateTime;
  }
View Full Code Here

     * <b>Definition:</b>
     * The date/time at which the event occurred
     * </p>
   */
  public Event setDateTime( Date theDate,  TemporalPrecisionEnum thePrecision) {
    myDateTime = new DateTimeDt(theDate, thePrecision);
    return this;
  }
View Full Code Here

     * <b>Definition:</b>
     * The date/time at which the event occurred
     * </p>
   */
  public Event setDateTimeWithSecondsPrecision( Date theDate) {
    myDateTime = new DateTimeDt(theDate);
    return this;
  }
View Full Code Here

     * The date the immunization recommendation was created.
     * </p>
   */
  public DateTimeDt getDate() { 
    if (myDate == null) {
      myDate = new DateTimeDt();
    }
    return myDate;
  }
View Full Code Here

TOP

Related Classes of ca.uhn.fhir.model.primitive.DateTimeDt

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.