calculate URL when possible

This commit is contained in:
Grahame Grieve 2020-02-25 08:10:57 +11:00
parent 99a266b0d6
commit 2edc09d297
1 changed files with 3 additions and 0 deletions

View File

@ -38,6 +38,9 @@ public class PackageClient {
this.fhirVersion = fhirVersion;
this.description = description;
this.url = url;
if (url == null && id != null && version != null) {
url = Utilities.pathURL(address, id, version);
}
this.canonical = canonical;
}
public String getId() {