Stream: IG creation
Topic: QA Report errors: how to find rules ?
Janaka Peiris (Nov 04 2021 at 12:30):
I've generated the IG and its QA report has many errors. I'm wondering where can I find those rules on the FHIR spec
for eg: Resource id/url mismatch
image.png
I've checked the Constraints in FHIR StructureDefinition and could not find a rule that maps to this error. Can someone give a hint ?
Grahame Grieve (Nov 04 2021 at 12:38):
so there's no rule in the specification itself that these have to match. but the way that IG publishing works, it's very strongly recommended that they do. And early experience was that mostly, when the didn't, it was accidental. So now, that's an error from the validation, unless you specifically say that you want them to be different. See https://confluence.hl7.org/display/FHIR/Implementation+Guide+Parameters and look for special-url
Grahame Grieve (Nov 04 2021 at 12:39):
are you sure you want them to be different?
Janaka Peiris (Nov 05 2021 at 04:59):
Thanks Grahame. No I actually wanted to know how these url/Ids should be set. I'll check the link
Grahame Grieve (Nov 05 2021 at 06:40):
the general pattern is that there's <url> which is the base actual url at which the IG will be published, and then every resource in it has <url>/<type>/<id>, and those URLs will actually work in the browser (server side redirects)
Last updated: Apr 12 2022 at 19:14 UTC