public boolean hasSchedule() { if (this.schedule == null) return false; for (Timing item : this.schedule) if (!item.isEmpty()) return true; return false; }
public boolean hasSchedule() { if (this.schedule == null) return false; for (Timing item : this.schedule) if (!item.isEmpty()) return true; return false; }
public boolean hasTiming() { return this.timing != null && !this.timing.isEmpty(); }
} /** * @param value {@link #timing} (The timing schedule for giving the medication to the patient. The Schedule data type allows many different expressions, for example. "Every 8 hours"; "Three times a day"; "1/2 an hour before breakfast for 10 days from 23-Dec 2011:"; "15 Oct 2013, 17 Oct 2013 and 1 Nov 2013".)
public boolean hasSchedule() { return this.schedule != null && !this.schedule.isEmpty(); }
public boolean hasMeasurementPeriod() { return this.measurementPeriod != null && !this.measurementPeriod.isEmpty(); }
public boolean hasSchedule() { return this.schedule != null && !this.schedule.isEmpty(); }
public boolean hasSchedule() { return this.schedule != null && !this.schedule.isEmpty(); }
public boolean hasTiming() { return this.timing != null && !this.timing.isEmpty(); }
public boolean isEmpty() { return super.isEmpty() && (code == null || code.isEmpty()) && (schedule == null || schedule.isEmpty()) ; }
public boolean isEmpty() { return super.isEmpty() && (code == null || code.isEmpty()) && (schedule == null || schedule.isEmpty()) ; }
public boolean isEmpty() { return super.isEmpty() && (schedule == null || schedule.isEmpty()) && (quantity == null || quantity.isEmpty()) && (rate == null || rate.isEmpty()); }
public boolean isEmpty() { return super.isEmpty() && (type == null || type.isEmpty()) && (identifier == null || identifier.isEmpty()) && (unit == null || unit.isEmpty()) && (source == null || source.isEmpty()) && (parent == null || parent.isEmpty()) && (operationalStatus == null || operationalStatus.isEmpty()) && (color == null || color.isEmpty()) && (category == null || category.isEmpty()) && (measurementPeriod == null || measurementPeriod.isEmpty()) && (calibration == null || calibration.isEmpty()); }
&& (asNeeded == null || asNeeded.isEmpty()) && (site == null || site.isEmpty()) && (route == null || route.isEmpty()) && (method == null || method.isEmpty()) && (quantity == null || quantity.isEmpty()) && (rate == null || rate.isEmpty()) && (maxDosePerPeriod == null || maxDosePerPeriod.isEmpty()); } public String fhirType() { return "MedicationStatement.dosage";
public boolean isEmpty() { return super.isEmpty() && (text == null || text.isEmpty()) && (additionalInstructions == null || additionalInstructions.isEmpty()) && (timing == null || timing.isEmpty()) && (asNeeded == null || asNeeded.isEmpty()) && (site == null || site.isEmpty()) && (route == null || route.isEmpty()) && (method == null || method.isEmpty()) && (dose == null || dose.isEmpty()) && (rate == null || rate.isEmpty()) && (maxDosePerPeriod == null || maxDosePerPeriod.isEmpty()) ; }
public boolean isEmpty() { return super.isEmpty() && (text == null || text.isEmpty()) && (additionalInstructions == null || additionalInstructions.isEmpty()) && (timing == null || timing.isEmpty()) && (asNeeded == null || asNeeded.isEmpty()) && (site == null || site.isEmpty()) && (route == null || route.isEmpty()) && (method == null || method.isEmpty()) && (dose == null || dose.isEmpty()) && (rate == null || rate.isEmpty()) && (maxDosePerPeriod == null || maxDosePerPeriod.isEmpty()) ; }
public org.hl7.fhir.r4.model.Timing convertTiming(org.hl7.fhir.instance.model.Timing src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.Timing tgt = new org.hl7.fhir.r4.model.Timing(); copyElement(src, tgt); for (org.hl7.fhir.instance.model.DateTimeType t : src.getEvent()) tgt.addEvent(t.getValue()); tgt.setRepeat(convertTimingRepeatComponent(src.getRepeat())); tgt.setCode(convertCodeableConcept(src.getCode())); return tgt; }
public org.hl7.fhir.dstu3.model.Timing convertTiming(org.hl7.fhir.instance.model.Timing src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Timing tgt = new org.hl7.fhir.dstu3.model.Timing(); copyElement(src, tgt); for (org.hl7.fhir.instance.model.DateTimeType t : src.getEvent()) tgt.addEvent(t.getValue()); tgt.setRepeat(convertTimingRepeatComponent(src.getRepeat())); tgt.setCode(convertCodeableConcept(src.getCode())); return tgt; }
public boolean isEmpty() { return super.isEmpty() && (code == null || code.isEmpty()) && (schedule == null || schedule.isEmpty()) ; }
public boolean isEmpty() { return super.isEmpty() && (text == null || text.isEmpty()) && (additionalInstructions == null || additionalInstructions.isEmpty()) && (timing == null || timing.isEmpty()) && (asNeeded == null || asNeeded.isEmpty()) && (site == null || site.isEmpty()) && (route == null || route.isEmpty()) && (method == null || method.isEmpty()) && (dose == null || dose.isEmpty()) && (rate == null || rate.isEmpty()) && (maxDosePerPeriod == null || maxDosePerPeriod.isEmpty()) ; }