FHIR Chat · constraining type with custom profiles · implementers

Stream: implementers

Topic: constraining type with custom profiles


view this post on Zulip Georg Fette (Dec 09 2018 at 15:20):

Hello, I created some custom profiles by writing StructureDefinitions. In the type definitions of References I am looking for a way to to constrain the references to a set of my own custom profiles. I have seen in the StructureDefinitions of the official profiles that the type constraining is done by using a targetProfile-tag containing the URL of the allowed profiles. But in my case I do not yet have valid URLs that could be used. Or do I have to construct similar URLs describing my custom profiles to accomplish my task ?

view this post on Zulip Richard Townley-O'Neill (Dec 09 2018 at 23:22):

I sometimes use http://www.example.org as the start of URIs which have yet to be decided. It will pass some validations as it is a real URL. And it is easy to see that it is not a correct URI.

view this post on Zulip Lloyd McKenzie (Dec 11 2018 at 00:00):

Eventually you'll need to convert it to a real URL so all the validation will work


Last updated: Apr 12 2022 at 19:14 UTC