public boolean hasQuantity() { return this.quantity != null && !this.quantity.isEmpty(); }
public boolean hasMaxDosePerPeriod() { return this.maxDosePerPeriod != null && !this.maxDosePerPeriod.isEmpty(); }
public boolean hasAmount() { return this.amount != null && !this.amount.isEmpty(); }
public boolean hasMaxDosePerPeriod() { return this.maxDosePerPeriod != null && !this.maxDosePerPeriod.isEmpty(); }
public boolean isEmpty() { return super.isEmpty() && (quantity == null || quantity.isEmpty()) && (substance == null || substance.isEmpty()) ; }
public boolean isEmpty() { return super.isEmpty() && (item == null || item.isEmpty()) && (amount == null || amount.isEmpty()) ; }
public org.hl7.fhir.dstu3.model.Ratio convertRatio(org.hl7.fhir.instance.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Ratio tgt = new org.hl7.fhir.dstu3.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }
public org.hl7.fhir.r4.model.Ratio convertRatio(org.hl7.fhir.instance.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.Ratio tgt = new org.hl7.fhir.r4.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }
&& (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 hasMaxDosePerPeriod() { return this.maxDosePerPeriod != null && !this.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 boolean isEmpty() { return super.isEmpty() && (item == null || item.isEmpty()) && (amount == null || amount.isEmpty()) ; }
public boolean isEmpty() { return super.isEmpty() && (quantity == null || quantity.isEmpty()) && (substance == null || substance.isEmpty()) ; }
public org.hl7.fhir.r4.model.Ratio convertRatio(org.hl7.fhir.instance.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.r4.model.Ratio tgt = new org.hl7.fhir.r4.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }
public org.hl7.fhir.dstu3.model.Ratio convertRatio(org.hl7.fhir.instance.model.Ratio src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.dstu3.model.Ratio tgt = new org.hl7.fhir.dstu3.model.Ratio(); copyElement(src, tgt); tgt.setNumerator(convertQuantity(src.getNumerator())); tgt.setDenominator(convertQuantity(src.getDenominator())); return tgt; }
&& (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()) ; }