Stream: implementers
Topic: validate url in an instance
Yunwei Wang (Jul 01 2019 at 19:48):
When validating a FHIR resource, do I need to check if a url (such as DocumentReference.content.attachment.url) is reachable?
John Silva (Jul 01 2019 at 20:25):
Just an opinion -- I would suggest not to -- because the URL might require user authorization that the FHIR server probably doesn't have. Maybe you could check that it is a valid URI/URL syntactically but beyond that, I suggest not. (but I'm just one opinion -- the FHIR gurus here will give you a better answer.)
Lloyd McKenzie (Jul 01 2019 at 21:12):
You don't need to. You could if you wanted. But it should be more than a warning/info message. It's not an error to not resolve. (Or at least not resolve for you right now :>)
Last updated: Apr 12 2022 at 19:14 UTC