public boolean isEmpty() {
   return super.isEmpty()
       && (type == null || type.isEmpty())
       && (outcome == null || outcome.isEmpty())
       && (onset == null || onset.isEmpty())
       && (note == null || note.isEmpty());
 }
 public FamilyMemberHistoryConditionComponent copy() {
   FamilyMemberHistoryConditionComponent dst = new FamilyMemberHistoryConditionComponent();
   copyValues(dst);
   dst.type = type == null ? null : type.copy();
   dst.outcome = outcome == null ? null : outcome.copy();
   dst.onset = onset == null ? null : onset.copy();
   dst.note = note == null ? null : note.copy();
   return dst;
 }
Exemple #3
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (type == null || type.isEmpty())
       && (subtype == null || subtype.isEmpty())
       && (identifier == null || identifier.isEmpty())
       && (subject == null || subject.isEmpty())
       && (operator == null || operator.isEmpty())
       && (view == null || view.isEmpty())
       && (deviceName == null || deviceName.isEmpty())
       && (height == null || height.isEmpty())
       && (width == null || width.isEmpty())
       && (frames == null || frames.isEmpty())
       && (duration == null || duration.isEmpty())
       && (content == null || content.isEmpty());
 }
 public boolean isEmpty() {
   return super.isEmpty()
       && (severity == null || severity.isEmpty())
       && (code == null || code.isEmpty())
       && (details == null || details.isEmpty())
       && (location == null || location.isEmpty());
 }
Exemple #5
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (code == null || code.isEmpty())
       && (value == null || value.isEmpty())
       && (exclude == null || exclude.isEmpty())
       && (period == null || period.isEmpty());
 }
Exemple #6
0
 public Group copy() {
   Group dst = new Group();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.type = type == null ? null : type.copy();
   dst.actual = actual == null ? null : actual.copy();
   dst.code = code == null ? null : code.copy();
   dst.name = name == null ? null : name.copy();
   dst.quantity = quantity == null ? null : quantity.copy();
   if (characteristic != null) {
     dst.characteristic = new ArrayList<GroupCharacteristicComponent>();
     for (GroupCharacteristicComponent i : characteristic) dst.characteristic.add(i.copy());
   }
   ;
   if (member != null) {
     dst.member = new ArrayList<GroupMemberComponent>();
     for (GroupMemberComponent i : member) dst.member.add(i.copy());
   }
   ;
   return dst;
 }
Exemple #7
0
 public GroupCharacteristicComponent copy() {
   GroupCharacteristicComponent dst = new GroupCharacteristicComponent();
   copyValues(dst);
   dst.code = code == null ? null : code.copy();
   dst.value = value == null ? null : value.copy();
   dst.exclude = exclude == null ? null : exclude.copy();
   dst.period = period == null ? null : period.copy();
   return dst;
 }
Exemple #8
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (type == null || type.isEmpty())
       && (actual == null || actual.isEmpty())
       && (code == null || code.isEmpty())
       && (name == null || name.isEmpty())
       && (quantity == null || quantity.isEmpty())
       && (characteristic == null || characteristic.isEmpty())
       && (member == null || member.isEmpty());
 }
Exemple #9
0
 public Media copy() {
   Media dst = new Media();
   copyValues(dst);
   dst.type = type == null ? null : type.copy();
   dst.subtype = subtype == null ? null : subtype.copy();
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.subject = subject == null ? null : subject.copy();
   dst.operator = operator == null ? null : operator.copy();
   dst.view = view == null ? null : view.copy();
   dst.deviceName = deviceName == null ? null : deviceName.copy();
   dst.height = height == null ? null : height.copy();
   dst.width = width == null ? null : width.copy();
   dst.frames = frames == null ? null : frames.copy();
   dst.duration = duration == null ? null : duration.copy();
   dst.content = content == null ? null : content.copy();
   return dst;
 }
 public OperationOutcomeIssueComponent copy() {
   OperationOutcomeIssueComponent dst = new OperationOutcomeIssueComponent();
   copyValues(dst);
   dst.severity = severity == null ? null : severity.copy();
   dst.code = code == null ? null : code.copy();
   dst.details = details == null ? null : details.copy();
   if (location != null) {
     dst.location = new ArrayList<StringType>();
     for (StringType i : location) dst.location.add(i.copy());
   }
   ;
   return dst;
 }
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (patient == null || patient.isEmpty())
       && (date == null || date.isEmpty())
       && (name == null || name.isEmpty())
       && (relationship == null || relationship.isEmpty())
       && (gender == null || gender.isEmpty())
       && (born == null || born.isEmpty())
       && (age == null || age.isEmpty())
       && (deceased == null || deceased.isEmpty())
       && (note == null || note.isEmpty())
       && (condition == null || condition.isEmpty());
 }
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (name == null || name.isEmpty())
       && (type == null || type.isEmpty())
       && (status == null || status.isEmpty())
       && (activePeriod == null || activePeriod.isEmpty())
       && (currency == null || currency.isEmpty())
       && (balance == null || balance.isEmpty())
       && (coveragePeriod == null || coveragePeriod.isEmpty())
       && (subject == null || subject.isEmpty())
       && (owner == null || owner.isEmpty())
       && (description == null || description.isEmpty());
 }
 public Account copy() {
   Account dst = new Account();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.name = name == null ? null : name.copy();
   dst.type = type == null ? null : type.copy();
   dst.status = status == null ? null : status.copy();
   dst.activePeriod = activePeriod == null ? null : activePeriod.copy();
   dst.currency = currency == null ? null : currency.copy();
   dst.balance = balance == null ? null : balance.copy();
   dst.coveragePeriod = coveragePeriod == null ? null : coveragePeriod.copy();
   dst.subject = subject == null ? null : subject.copy();
   dst.owner = owner == null ? null : owner.copy();
   dst.description = description == null ? null : description.copy();
   return dst;
 }
 public FamilyMemberHistory copy() {
   FamilyMemberHistory dst = new FamilyMemberHistory();
   copyValues(dst);
   if (identifier != null) {
     dst.identifier = new ArrayList<Identifier>();
     for (Identifier i : identifier) dst.identifier.add(i.copy());
   }
   ;
   dst.patient = patient == null ? null : patient.copy();
   dst.date = date == null ? null : date.copy();
   dst.name = name == null ? null : name.copy();
   dst.relationship = relationship == null ? null : relationship.copy();
   dst.gender = gender == null ? null : gender.copy();
   dst.born = born == null ? null : born.copy();
   dst.age = age == null ? null : age.copy();
   dst.deceased = deceased == null ? null : deceased.copy();
   dst.note = note == null ? null : note.copy();
   if (condition != null) {
     dst.condition = new ArrayList<FamilyMemberHistoryConditionComponent>();
     for (FamilyMemberHistoryConditionComponent i : condition) dst.condition.add(i.copy());
   }
   ;
   return dst;
 }