/** * @return The first repetition of repeating field {@link #profile}, creating it if it does not already exist */ public Reference getProfileFirstRep() { if (getProfile().isEmpty()) { addProfile(); } return getProfile().get(0); }
this.getFixture().add((TestScriptFixtureComponent) value); } else if (name.equals("profile")) { this.getProfile().add(castToReference(value)); } else if (name.equals("variable")) { this.getVariable().add((TestScriptVariableComponent) value);
return value; case -309425751: // profile this.getProfile().add(castToReference(value)); // Reference return value; case -1249586564: // variable
/** * @return The first repetition of repeating field {@link #profile}, creating it if it does not already exist */ public Reference getProfileFirstRep() { if (getProfile().isEmpty()) { addProfile(); } return getProfile().get(0); }
this.getFixture().add((TestScriptFixtureComponent) value); } else if (name.equals("profile")) { this.getProfile().add(castToReference(value)); } else if (name.equals("variable")) { this.getVariable().add((TestScriptVariableComponent) value);
for (org.hl7.fhir.r4.model.TestScript.TestScriptFixtureComponent t : src.getFixture()) tgt.addFixture(convertTestScriptFixtureComponent(t)); for (org.hl7.fhir.r4.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.r4.model.TestScript.TestScriptVariableComponent t : src.getVariable())
return value; case -309425751: // profile this.getProfile().add(castToReference(value)); // Reference return value; case -1249586564: // variable
for (org.hl7.fhir.r4.model.TestScript.TestScriptFixtureComponent t : src.getFixture()) tgt.addFixture(convertTestScriptFixtureComponent(t)); for (org.hl7.fhir.r4.model.Reference t : src.getProfile()) tgt.addProfile(convertReference(t)); for (org.hl7.fhir.r4.model.TestScript.TestScriptVariableComponent t : src.getVariable())