/** * @return {@link #amount} (Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstanceMoiety.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("degree")) { this.degree = new CodeableConcept(); return this.degree; } else if (name.equals("amount")) { this.amount = new SubstanceAmount(); return this.amount; } else return super.addChild(name); }
/** * @return {@link #amount} (Todo.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstancePolymerRepeatRepeatUnitComponent.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
/** * @return {@link #amount} (Todo.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstancePolymerMonomerSetStartingMaterialComponent.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
/** * @return {@link #amount} (Todo.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("material")) { this.material = new CodeableConcept(); return this.material; } else if (name.equals("type")) { this.type = new CodeableConcept(); return this.type; } else if (name.equals("isDefining")) { throw new FHIRException("Cannot call addChild on a primitive type SubstancePolymer.isDefining"); } else if (name.equals("amount")) { this.amount = new SubstanceAmount(); return this.amount; } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("orientationOfPolymerisation")) { this.orientationOfPolymerisation = new CodeableConcept(); return this.orientationOfPolymerisation; } else if (name.equals("repeatUnit")) { throw new FHIRException("Cannot call addChild on a primitive type SubstancePolymer.repeatUnit"); } else if (name.equals("amount")) { this.amount = new SubstanceAmount(); return this.amount; } else if (name.equals("degreeOfPolymerisation")) { return addDegreeOfPolymerisation(); } else if (name.equals("structuralRepresentation")) { return addStructuralRepresentation(); } else return super.addChild(name); }
this.amount = new SubstanceAmount(); return this.amount;
public SubstanceAmount copy() { SubstanceAmount dst = new SubstanceAmount(); copyValues(dst); dst.amount = amount == null ? null : amount.copy(); dst.amountType = amountType == null ? null : amountType.copy(); dst.amountText = amountText == null ? null : amountText.copy(); dst.referenceRange = referenceRange == null ? null : referenceRange.copy(); return dst; }
return new Identifier(); if ("SubstanceAmount".equals(name)) return new SubstanceAmount(); if ("Narrative".equals(name)) return new Narrative();
/** * @return {@link #amount} (Todo.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstancePolymerRepeatRepeatUnitDegreeOfPolymerisationComponent.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("degree")) { this.degree = new CodeableConcept(); return this.degree; } else if (name.equals("amount")) { this.amount = new SubstanceAmount(); return this.amount; } else return super.addChild(name); }
/** * @return {@link #amount} (Todo.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstancePolymerRepeatRepeatUnitComponent.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
/** * @return {@link #amount} (Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstanceMoiety.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
/** * @return {@link #amount} (Todo.) */ public SubstanceAmount getAmount() { if (this.amount == null) if (Configuration.errorOnAutoCreate()) throw new Error("Attempt to auto-create SubstancePolymerMonomerSetStartingMaterialComponent.amount"); else if (Configuration.doAutoCreate()) this.amount = new SubstanceAmount(); // cc return this.amount; }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("material")) { this.material = new CodeableConcept(); return this.material; } else if (name.equals("type")) { this.type = new CodeableConcept(); return this.type; } else if (name.equals("isDefining")) { throw new FHIRException("Cannot call addChild on a primitive type SubstancePolymer.isDefining"); } else if (name.equals("amount")) { this.amount = new SubstanceAmount(); return this.amount; } else return super.addChild(name); }
@Override public Base addChild(String name) throws FHIRException { if (name.equals("orientationOfPolymerisation")) { this.orientationOfPolymerisation = new CodeableConcept(); return this.orientationOfPolymerisation; } else if (name.equals("repeatUnit")) { throw new FHIRException("Cannot call addChild on a primitive type SubstancePolymer.repeatUnit"); } else if (name.equals("amount")) { this.amount = new SubstanceAmount(); return this.amount; } else if (name.equals("degreeOfPolymerisation")) { return addDegreeOfPolymerisation(); } else if (name.equals("structuralRepresentation")) { return addStructuralRepresentation(); } else return super.addChild(name); }
this.amount = new SubstanceAmount(); return this.amount;
public SubstanceAmount copy() { SubstanceAmount dst = new SubstanceAmount(); copyValues(dst); dst.amount = amount == null ? null : amount.copy(); dst.amountType = amountType == null ? null : amountType.copy(); dst.amountText = amountText == null ? null : amountText.copy(); dst.referenceRange = referenceRange == null ? null : referenceRange.copy(); return dst; }
case 505523517: return new Subscription(); case -1760959152: return new Substance(); case 1549526472: return new SubstanceAmount(); case -300807236: return new SubstanceNucleicAcid(); case 1272939294: return new SubstancePolymer();