public org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent convertTestScriptMetadataCapabilityComponent(org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent tgt = new org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent(); copyElement(src, tgt); tgt.setRequired(src.getRequired()); tgt.setValidated(src.getValidated()); tgt.setDescription(src.getDescription()); tgt.setDestination(src.getDestination()); for (org.hl7.fhir.r4.model.UriType t : src.getLink()) tgt.addLink(t.getValue()); tgt.setConformance(convertCanonicalToReference(src.getCapabilitiesElement())); return tgt; }
public boolean hasCapability() { if (this.capability == null) return false; for (TestScriptMetadataCapabilityComponent item : this.capability) if (!item.isEmpty()) return true; return false; }
public org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent convertTestScriptMetadataCapabilityComponent(org.hl7.fhir.r4.model.TestScript.TestScriptMetadataCapabilityComponent src) throws FHIRException { if (src == null || src.isEmpty()) return null; org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent tgt = new org.hl7.fhir.instance.model.TestScript.TestScriptMetadataCapabilityComponent(); copyElement(src, tgt); tgt.setRequired(src.getRequired()); tgt.setValidated(src.getValidated()); tgt.setDescription(src.getDescription()); tgt.setDestination(src.getDestination()); for (org.hl7.fhir.r4.model.UriType t : src.getLink()) tgt.addLink(t.getValue()); tgt.setConformance(convertCanonicalToReference(src.getCapabilitiesElement())); return tgt; }
public boolean hasCapability() { if (this.capability == null) return false; for (TestScriptMetadataCapabilityComponent item : this.capability) if (!item.isEmpty()) return true; return false; }