/** * @return Date of the initial placement. */ public Date getPriorDate() { return this.priorDate == null ? null : this.priorDate.getValue(); }
/** * @param value 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. */ public ValueSet setLockedDate(Date value) { if (value == null) this.lockedDate = null; else { if (this.lockedDate == null) this.lockedDate = new DateType(); this.lockedDate.setValue(value); } return this; }
public boolean hasStatusDate() { return this.statusDate != null && !this.statusDate.isEmpty(); }
/** * Creates a new instance by parsing an HL7 v3 format date time string */ public static DateType parseV3(String theV3String) { DateType retVal = new DateType(); retVal.setValueAsV3String(theV3String); return retVal; }
public static DateType newDate(String value) throws ParseException { if (value == null) return null; return new DateType(value); }
public Basic copy() { Basic dst = new Basic(); copyValues(dst); if (identifier != null) { dst.identifier = new ArrayList<Identifier>(); for (Identifier i : identifier) dst.identifier.add(i.copy()); }; dst.code = code == null ? null : code.copy(); dst.subject = subject == null ? null : subject.copy(); dst.author = author == null ? null : author.copy(); dst.created = created == null ? null : created.copy(); return dst; }
public org.hl7.fhir.r4.model.DateType convertDate(org.hl7.fhir.instance.model.DateType src) throws FHIRException { org.hl7.fhir.r4.model.DateType tgt = new org.hl7.fhir.r4.model.DateType(src.getValueAsString()); copyElement(src, tgt); return tgt; }
private List<Base> funcToday(ExecutionContext context, List<Base> focus, ExpressionNode exp) { List<Base> result = new ArrayList<Base>(); result.add(new DateType(new Date(), TemporalPrecisionEnum.DAY)); return result; }
public ProsthesisComponent copy() { ProsthesisComponent dst = new ProsthesisComponent(); copyValues(dst); dst.initial = initial == null ? null : initial.copy(); dst.priorDate = priorDate == null ? null : priorDate.copy(); dst.priorMaterial = priorMaterial == null ? null : priorMaterial.copy(); return dst; }
/** * Creates a new instance by parsing an HL7 v3 format date time string */ public static DateType parseV3(String theV3String) { DateType retVal = new DateType(); retVal.setValueAsV3String(theV3String); return retVal; }
public org.hl7.fhir.r4.model.DateTimeType convertDateToDateTime(org.hl7.fhir.instance.model.DateType src) throws FHIRException { org.hl7.fhir.r4.model.DateTimeType tgt = new org.hl7.fhir.r4.model.DateTimeType(src.getValueAsString()); copyElement(src, tgt); return tgt; }
/** * @return Date of an accident which these services are addressing. */ public Date getAccident() { return this.accident == null ? null : this.accident.getValue(); }
/** * @param value The date of the extraction either known from records or patient reported estimate. */ public MissingTeethComponent setExtractionDate(Date value) { if (value == null) this.extractionDate = null; else { if (this.extractionDate == null) this.extractionDate = new DateType(); this.extractionDate.setValue(value); } return this; }
/** * @return {@link #birthDate} (The date of birth for the individual.). This is the underlying object with id, value and extensions. The accessor "getBirthDate" gives direct access to the value */ public DateType getBirthDateElement() { if (this.birthDate == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create Patient.birthDate"); else if (Configuration.doAutoCreate()) this.birthDate = new DateType(); // bb return this.birthDate; }
public MissingTeethComponent copy() { MissingTeethComponent dst = new MissingTeethComponent(); copyValues(dst); dst.tooth = tooth == null ? null : tooth.copy(); dst.reason = reason == null ? null : reason.copy(); dst.extractionDate = extractionDate == null ? null : extractionDate.copy(); return dst; }
public boolean hasAccidentElement() { return this.accident != null && !this.accident.isEmpty(); }
public org.hl7.fhir.r4.model.DateType convertDate(org.hl7.fhir.instance.model.DateType src) throws FHIRException { org.hl7.fhir.r4.model.DateType tgt = new org.hl7.fhir.r4.model.DateType(src.getValueAsString()); copyElement(src, tgt); return tgt; }
/** * @return The date on which the related person was born. */ public Date getBirthDate() { return this.birthDate == null ? null : this.birthDate.getValue(); }