Stream: IG creation
Topic: Right way to link to US Core R4
Nagesh Bashyam (Mar 15 2019 at 17:38):
Hello,
I am trying to link to the US Core R4 version IG and I am not able to get it to work the proper way.
When I have the following as the dependency in ig.json , the build succeeds but the US Core link that gets generated is "http://hl7.org/fhir/us/core-r4/index.html" which does not exist.
Dependency with no build errors but a bad link to the Spec:
{
"location" : "http://hl7.org/fhir/us/core-r4",
"name" : "uscore",
"source" : "dependencies/us-core-r4",
"version" : "current"
}
On the other hand if i have the dependency as where the R4 version of US Core exists,
{
"name":"uscore",
"version":"current",
"source":"dependencies/us-core-r4",
"location":"http://build.fhir.org/ig/HL7/US-Core-R4/"
}
The build fails with the error :
java.io.FileNotFoundException: http://build.fhir.org/ig/HL7/US-Core-R4/package-list.json?nocache=1552671389358
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1890)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
at org.hl7.fhir.igtools.publisher.Publisher.fetchJson(Publisher.java:1656)
at org.hl7.fhir.igtools.publisher.Publisher.resolveDependency(Publisher.java:1640)
So what should the dependency look like..hoping someone might have solved this correctly .
This has come up a few times but I did not see a resolution that works (at least for me..)
Thoughts/Suggestions ?
John Moehrke (Mar 15 2019 at 18:50):
I understand from Grahame that you link to the current us-core, not to a specific version....
Nagesh Bashyam (Mar 15 2019 at 19:01):
I can do that ..if that is the solution as long as in the published IG for ballot the current US core will be the R4 version and not the older version since the IGs that i am building are based on FHIR 4.
Grahame Grieve (Mar 15 2019 at 19:02):
you have to specify current for the version
Nagesh Bashyam (Mar 15 2019 at 19:14):
That works without errors, thanks @Grahame and @John Moehrke
Last updated: Apr 12 2022 at 19:14 UTC