Exemple #1
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (code == null || code.isEmpty())
       && (subject == null || subject.isEmpty())
       && (author == null || author.isEmpty())
       && (created == null || created.isEmpty());
 }
Exemple #2
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (category == null || category.isEmpty())
       && (code == null || code.isEmpty())
       && (description == null || description.isEmpty())
       && (instance == null || instance.isEmpty())
       && (ingredient == null || ingredient.isEmpty());
 }
Exemple #3
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (identifier == null || identifier.isEmpty())
       && (status == null || status.isEmpty())
       && (type == null || type.isEmpty())
       && (name == null || name.isEmpty())
       && (subject == null || subject.isEmpty())
       && (period == null || period.isEmpty())
       && (participant == null || participant.isEmpty())
       && (managingOrganization == null || managingOrganization.isEmpty());
 }
Exemple #4
0
 public boolean hasCategory() {
   if (this.category == null) return false;
   for (CodeableConcept item : this.category) if (!item.isEmpty()) return true;
   return false;
 }
Exemple #5
0
 public boolean hasType() {
   if (this.type == null) return false;
   for (CodeableConcept item : this.type) if (!item.isEmpty()) return true;
   return false;
 }
Exemple #6
0
 public boolean isEmpty() {
   return super.isEmpty()
       && (role == null || role.isEmpty())
       && (member == null || member.isEmpty())
       && (period == null || period.isEmpty());
 }