@Override public Base addChild(String name) throws FHIRException { if (name.equals("parameter")) { return addParameter(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("text")) { this.text = new Narrative(); return this.text; } else if (name.equals("contained")) { throw new FHIRException("Cannot call addChild on an abstract type DomainResource.contained"); } else if (name.equals("extension")) { return addExtension(); } else if (name.equals("modifierExtension")) { return addModifierExtension(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { this.identifier = new Identifier(); return this.identifier; } else if (name.equals("type")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.type"); } else if (name.equals("timestamp")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.timestamp"); } else if (name.equals("total")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.total"); } else if (name.equals("link")) { return addLink(); } else if (name.equals("entry")) { return addEntry(); } else if (name.equals("signature")) { this.signature = new Signature(); return this.signature; } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("parameter")) { return addParameter(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("text")) { this.text = new Narrative(); return this.text; } else if (name.equals("contained")) { throw new FHIRException("Cannot call addChild on an abstract type DomainResource.contained"); } else if (name.equals("extension")) { return addExtension(); } else if (name.equals("modifierExtension")) { return addModifierExtension(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { this.identifier = new Identifier(); return this.identifier; } else if (name.equals("type")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.type"); } else if (name.equals("timestamp")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.timestamp"); } else if (name.equals("total")) { throw new FHIRException("Cannot call addChild on a primitive type Bundle.total"); } else if (name.equals("link")) { return addLink(); } else if (name.equals("entry")) { return addEntry(); } else if (name.equals("signature")) { this.signature = new Signature(); return this.signature; } else return super.addChild(name); }