Stream: implementers
Topic: Full-URL Resource.id Validation Warning
Maximilian Reith (Mar 23 2020 at 08:02):
Hey,
i created an document-bundle having some Resources in it. A few resources are referencing to others in that bundle. Each Resource has a FULL-URL but no Resource.id. The Validator(hl7.org) is giving me some Warnings (simplifier even errors), when the corresponding resource.id is not available.
Could somebody show me the term in the spec, where resource.id is compulsory? I thought FULL-URL is the identificator in a bundle?
greetings Max
Abel Stolz (Mar 23 2020 at 08:44):
Is this what you are looking for: http://hl7.org/fhir/resource.html#id ?
Maximilian Reith (Mar 23 2020 at 09:09):
I know this page, but .id is just one possiblity to identify a resource...so my attempt shouldn't fail...
Jose Costa Teixeira (Mar 23 2020 at 09:24):
are you looking at the id of the contained resources?
Jose Costa Teixeira (Mar 23 2020 at 09:28):
I don't find an explicit rule, but here:
http://build.fhir.org/references.html#contained
http://build.fhir.org/references.html#bundle-refs
Jose Costa Teixeira (Mar 23 2020 at 09:29):
these mention the contained.id
Maximilian Reith (Mar 23 2020 at 10:16):
i added no contained resources. Every resource is in an entry...
Abel Stolz (Mar 23 2020 at 10:21):
When I take a valid Bundle, remove all .ids, and try to validate that bundle with simplifier, I get no errors. Maybe there is something else wrong? Can you post the Bundle (or a relevant part of it) you are using?
Maximilian Reith (Mar 23 2020 at 13:38):
Thanks... It was my fault. The beginning of some FULL-Urls were not exactly equal.
Alexander Zautke (Mar 23 2020 at 18:10):
@Maximilian Reith Could you maybe share the resource with us so we can make sure that the Simplifier provides a meaningful error?
Last updated: Apr 12 2022 at 19:14 UTC