public boolean hasCode() { if (this.code == null) return false; for (Coding item : this.code) if (!item.isEmpty()) return true; return false; }
public boolean hasSecurityLabel() { if (this.securityLabel == null) return false; for (Coding item : this.securityLabel) if (!item.isEmpty()) return true; return false; }
public boolean hasCoding() { if (this.coding == null) return false; for (Coding item : this.coding) if (!item.isEmpty()) return true; return false; }
public boolean hasClass_() { if (this.class_ == null) return false; for (Coding item : this.class_) if (!item.isEmpty()) return true; return false; }
public boolean hasSubtype() { if (this.subtype == null) return false; for (Coding item : this.subtype) if (!item.isEmpty()) return true; return false; }
public boolean hasCode() { if (this.code == null) return false; for (Coding item : this.code) if (!item.isEmpty()) return true; return false; }
public boolean hasSecurityLabel() { if (this.securityLabel == null) return false; for (Coding item : this.securityLabel) if (!item.isEmpty()) return true; return false; }
public boolean hasKeyword() { if (this.keyword == null) return false; for (Coding item : this.keyword) if (!item.isEmpty()) return true; return false; }
public boolean hasCode() { if (this.code == null) return false; for (Coding item : this.code) if (!item.isEmpty()) return true; return false; }
/** * @param value {@link #class_} (inpatient | outpatient | ambulatory | emergency +.) */ public ClassHistoryComponent setClass_(Coding value) {
public boolean hasType() { if (this.type == null) return false; for (Coding item : this.type) if (!item.isEmpty()) return true; return false; }
public boolean hasSecurity() { if (this.security == null) return false; for (Coding item : this.security) if (!item.isEmpty()) return true; return false; }
public boolean hasModality() { if (this.modality == null) return false; for (Coding item : this.modality) if (!item.isEmpty()) return true; return false; }
public boolean hasControl() { if (this.control == null) return false; for (Coding item : this.control) if (!item.isEmpty()) return true; return false; }
public boolean hasPurpose() { if (this.purpose == null) return false; for (Coding item : this.purpose) if (!item.isEmpty()) return true; return false; }
public boolean hasTag() { if (this.tag == null) return false; for (Coding item : this.tag) if (!item.isEmpty()) return true; return false; }
public boolean hasType() { if (this.type == null) return false; for (Coding item : this.type) if (!item.isEmpty()) return true; return false; }
public boolean hasCategory() { if (this.category == null) return false; for (Coding item : this.category) if (!item.isEmpty()) return true; return false; }
public boolean hasCode() { if (this.code == null) return false; for (Coding item : this.code) if (!item.isEmpty()) return true; return false; }
public org.hl7.fhir.instance.model.Coding convertCoding(org.hl7.fhir.r4.model.Coding src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.Coding tgt = new org.hl7.fhir.instance.model.Coding(); copyElement(src, tgt); tgt.setSystem(src.getSystem()); tgt.setVersion(src.getVersion()); tgt.setCode(src.getCode()); tgt.setDisplay(src.getDisplay()); tgt.setUserSelected(src.getUserSelected()); return tgt; }