@Override public Base addChild(String name) throws FHIRException { if (name.equals("issue")) { return addIssue(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { return addIdentifier(); } else if (name.equals("patient")) { this.patient = new Reference(); return this.patient; } else if (name.equals("recommendation")) { return addRecommendation(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("active")) { throw new FHIRException("Cannot call addChild on a primitive type Linkage.active"); } else if (name.equals("author")) { this.author = new Reference(); return this.author; } else if (name.equals("item")) { return addItem(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { return addIdentifier(); } else if (name.equals("code")) { this.code = new CodeableConcept(); return this.code; } else if (name.equals("subject")) { this.subject = new Reference(); return this.subject; } else if (name.equals("created")) { throw new FHIRException("Cannot call addChild on a primitive type Basic.created"); } else if (name.equals("author")) { this.author = new Reference(); return this.author; } 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("patient")) { this.patient = new Reference(); return this.patient; } else if (name.equals("authoringTime")) { throw new FHIRException("Cannot call addChild on a primitive type ImagingManifest.authoringTime"); } else if (name.equals("author")) { this.author = new Reference(); return this.author; } else if (name.equals("description")) { throw new FHIRException("Cannot call addChild on a primitive type ImagingManifest.description"); } else if (name.equals("study")) { return addStudy(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { return addIdentifier(); } else if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type Substance.status"); } else if (name.equals("category")) { return addCategory(); } else if (name.equals("code")) { this.code = new CodeableConcept(); return this.code; } else if (name.equals("description")) { throw new FHIRException("Cannot call addChild on a primitive type Substance.description"); } else if (name.equals("instance")) { return addInstance(); } else if (name.equals("ingredient")) { return addIngredient(); } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("status")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.status"); } else if (name.equals("contact")) { return addContact(); } else if (name.equals("end")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.end"); } else if (name.equals("reason")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.reason"); } else if (name.equals("criteria")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.criteria"); } else if (name.equals("error")) { throw new FHIRException("Cannot call addChild on a primitive type Subscription.error"); } else if (name.equals("channel")) { this.channel = new SubscriptionChannelComponent(); return this.channel; } else if (name.equals("tag")) { return addTag(); } else return super.addChild(name); }
return super.addChild(name);
@Override public Base addChild(String name) throws FHIRException { if (name.equals("identifier")) { return addIdentifier(); } else if (name.equals("active")) { throw new FHIRException("Cannot call addChild on a primitive type BodySite.active"); } else if (name.equals("code")) { this.code = new CodeableConcept(); return this.code; } else if (name.equals("qualifier")) { return addQualifier(); } else if (name.equals("description")) { throw new FHIRException("Cannot call addChild on a primitive type BodySite.description"); } else if (name.equals("image")) { return addImage(); } else if (name.equals("patient")) { this.patient = new Reference(); return this.patient; } else return super.addChild(name); }
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);
return super.addChild(name);