public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (status == null || status.isEmpty()) && (patient == null || patient.isEmpty()) && (practitioner == null || practitioner.isEmpty()) && (encounter == null || encounter.isEmpty()) && (prescription == null || prescription.isEmpty()) && (wasNotGiven == null || wasNotGiven.isEmpty()) && (reasonNotGiven == null || reasonNotGiven.isEmpty()) && (reasonGiven == null || reasonGiven.isEmpty()) && (effectiveTime == null || effectiveTime.isEmpty()) && (medication == null || medication.isEmpty()) && (device == null || device.isEmpty()) && (note == null || note.isEmpty()) && (dosage == null || dosage.isEmpty()); }
public boolean isEmpty() { return super.isEmpty() && (identifier == null || identifier.isEmpty()) && (status == null || status.isEmpty()) && (patient == null || patient.isEmpty()) && (practitioner == null || practitioner.isEmpty()) && (encounter == null || encounter.isEmpty()) && (prescription == null || prescription.isEmpty()) && (wasNotGiven == null || wasNotGiven.isEmpty()) && (reasonNotGiven == null || reasonNotGiven.isEmpty()) && (reasonGiven == null || reasonGiven.isEmpty()) && (effectiveTime == null || effectiveTime.isEmpty()) && (medication == null || medication.isEmpty()) && (device == null || device.isEmpty()) && (note == null || note.isEmpty()) && (dosage == null || dosage.isEmpty()); }
public boolean hasDosage() { return this.dosage != null && !this.dosage.isEmpty(); }
public boolean hasDosage() { return this.dosage != null && !this.dosage.isEmpty(); }