Merge pull request #744 from hapifhir/gg-202202-ns-exp

Fix error accessing experimental on NamingSystem
This commit is contained in:
Grahame Grieve 2022-02-15 20:35:23 +11:00 committed by GitHub
commit 15b168d819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 1 deletions

View File

@ -4,4 +4,4 @@
## Other code changes ## Other code changes
* no changes * Fix error access experimental on canonical

View File

@ -554,6 +554,10 @@ public abstract class CanonicalResource extends DomainResource {
return true; return true;
} }
public boolean supportsExperimental() {
return true;
}
public String getVersionedUrl() { public String getVersionedUrl() {
return hasVersion() ? getUrl()+"|"+getVersion() : getUrl(); return hasVersion() ? getUrl()+"|"+getVersion() : getUrl();
} }

View File

@ -3044,6 +3044,10 @@ public class NamingSystem extends CanonicalResource {
return false; return false;
} }
public boolean supportsExperimental() {
return false;
}
// end addition // end addition
} }