diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java index f01f05a4e..a9c0caf61 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/CanonicalResource.java @@ -533,11 +533,11 @@ public abstract class CanonicalResource extends DomainResource { } // Manual code (from Configuration.txt)t: - @Override + @Override public String toString() { return fhirType()+"["+getUrl()+"]"; } - + public String present() { if (hasTitle()) return getTitle(); @@ -545,10 +545,14 @@ public abstract class CanonicalResource extends DomainResource { return getName(); return toString(); } - - public String getVUrl() { + + public String getVUrl() { return getUrl() + (hasVersion() ? "|"+getVersion() : ""); - } + } + + public boolean supportsCopyright() { + return true; + } // end addition } diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java index dcbe4e26b..a262565d7 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/model/OperationDefinition.java @@ -4779,5 +4779,11 @@ public class OperationDefinition extends CanonicalResource { public static final ca.uhn.fhir.rest.gclient.TokenClientParam VERSION = new ca.uhn.fhir.rest.gclient.TokenClientParam(SP_VERSION); + +//Manual code (from Configuration.txt)t: + public boolean supportsCopyright() { + return false; + } + // end }