calculate URL when possible
This commit is contained in:
parent
99a266b0d6
commit
2edc09d297
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue