diff --git a/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/profilemodel/gen/PECodeGenerator.java b/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/profilemodel/gen/PECodeGenerator.java index 4ba15d961..0ed004617 100644 --- a/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/profilemodel/gen/PECodeGenerator.java +++ b/org.hl7.fhir.r4/src/main/java/org/hl7/fhir/r4/profilemodel/gen/PECodeGenerator.java @@ -158,7 +158,7 @@ public class PECodeGenerator { w(b, " return theThing;"); w(b, " }"); w(b); - jdoc(b, "Save this profile class into an existing resource (overwriting enything that exists in the profile) ", 2, true); + jdoc(b, "Save this profile class into an existing resource (overwriting anything that exists in the profile) ", 2, true); w(b, " public void save(IWorkerContext context, "+base+" dest, boolean nulls) {"); w(b, " workerContext = context;"); w(b, " PEBuilder builder = new PEBuilder(context, PEElementPropertiesPolicy.EXTENSION, true);"); diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/profilemodel/gen/PECodeGenerator.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/profilemodel/gen/PECodeGenerator.java index f7ee1744e..8c0e2f224 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/profilemodel/gen/PECodeGenerator.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/profilemodel/gen/PECodeGenerator.java @@ -158,7 +158,7 @@ public class PECodeGenerator { w(b, " return theThing;"); w(b, " }"); w(b); - jdoc(b, "Save this profile class into an existing resource (overwriting enything that exists in the profile) ", 2, true); + jdoc(b, "Save this profile class into an existing resource (overwriting anything that exists in the profile) ", 2, true); w(b, " public void save(IWorkerContext context, "+base+" dest, boolean nulls) {"); w(b, " workerContext = context;"); w(b, " PEBuilder builder = new PEBuilder(context, PEElementPropertiesPolicy.EXTENSION, true);"); diff --git a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/profiles/TestProfile.java b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/profiles/TestProfile.java index 129bf97a4..996cb0d07 100644 --- a/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/profiles/TestProfile.java +++ b/org.hl7.fhir.r5/src/test/java/org/hl7/fhir/r5/profiles/TestProfile.java @@ -39,6 +39,7 @@ public class TestProfile extends PEGeneratedBase { private String id; // private List extensions = new ArrayList<>(); // Extension private String simple; // A simple extension +// @ProfileAnnotation(max = 1, min=1, path="Observation.extension('url')", doco = "blah", type="") private TestComplexExtension complex; // A complex extension private Identifier identifier; // Business Identifier for observation private String status;// @NotNull // registered | preliminary | final | amended + @@ -139,7 +140,7 @@ public class TestProfile extends PEGeneratedBase { } /** - * Save this profile class into an existing resource (overwriting enything that + * Save this profile class into an existing resource (overwriting anything that * exists in the profile) * */