Stream: IG creation
Topic: Unable to resolve reference to bundle.entry
Torben M. Hagensen (Mar 16 2021 at 15:15):
IG Publisher reports the following QA error when I reference a version specific resource in bundle.entry:
- Unable to resolve resource 'Patient/eec9e8e9-221d-4eae-a54d-cdd403661def/_history/1' (see the error here: http://build.fhir.org/ig/hl7dk/kl-gateway-care-data/qa.html#_scratch_ig-build-temp-PXEU96_repo_fsh-generated_resources_Bundle-3304e5f8-4b3f-4c19-8c68-e36c573f3f98)
It seems that it should be legal to have multiple versions of a resource in the entries and reference one using the _history url (I found an example here: https://www.hl7.org/fhir/bundle-references.json.html)
Is this not legal/not supported by IG publisher or am I doing it incorrectly?
Lloyd McKenzie (Mar 16 2021 at 15:37):
Your fullUrls aren't. fullUrl, if present, must be an absolute URL, not a relative URL.
Torben M. Hagensen (Mar 16 2021 at 15:55):
Lloyd McKenzie said:
Your fullUrls aren't. fullUrl, if present, must be an absolute URL, not a relative URL.
It doesn't help making it a full url (same error), and normally a [type]/[id] reference is sufficient in a bundle. The [type]/[id] reference works fine as long as I do not have mulitiple versions and use _history.
Lloyd McKenzie (Mar 16 2021 at 15:57):
type/id is not legal as a fullUrl. It may be that there are validation issues beyond that.
Lloyd McKenzie (Mar 16 2021 at 15:57):
Are you using the HL7 validator?
Torben M. Hagensen (Mar 16 2021 at 15:59):
Lloyd McKenzie said:
Are you using the HL7 validator?
So far I has only built the IG and get this QA error
Lloyd McKenzie (Mar 16 2021 at 16:08):
Ok. Can you create a Git issue against the validator? (For both not resolving the history reference as well as not yelling about a non complete url)
Torben M. Hagensen (Mar 16 2021 at 16:14):
ok
BTW updated the url to a full url - same issue : http://build.fhir.org/ig/hl7dk/kl-gateway-care-data/qa.html#_scratch_ig-build-temp-SQ3TQ7_repo_fsh-generated_resources_Bundle-3304e5f8-4b3f-4c19-8c68-e36c573f3f98
Last updated: Apr 12 2022 at 19:14 UTC