Stream: implementers
Topic: Linking to custom resource types
Deepak Manglani (Apr 27 2021 at 16:27):
Hi Everyone - i want to add a extension to the Careplan.Activity.Details - but i would like the extension to point to a custom resourcetype - is that possible ? and how would i go about doing that if it is
Lloyd McKenzie (Apr 27 2021 at 17:20):
There's no way to use custom resources and remain compliant to the FHIR standard. No reference implementations will work without customization, no public test servers will support the content, the validator and IG publisher tools won't work with your content, etc.
FHIR's solution for 'custom' resources is to profile Basic with a lot of use-case-specific extensions. It's a somewhat cumbersome approach, but it's 'standard' and will give you much more interoperability.
You're certainly free to break from the FHIR standard if you choose to, but we won't be able to give you guidance as to "how" because the answer is essentially "however you like" - because you're now outside the standard. If you do deviate from the FHIR standard, you won't be able to call your system FHIR conformant.
Deepak Manglani (Apr 27 2021 at 19:27):
Thanks @Lloyd McKenzie
Martin Höcker (Apr 28 2021 at 15:23):
Also see this thread with a reply from Grahame Grieve: don't use valueReference
, but use valueUri
instead.
Last updated: Apr 12 2022 at 19:14 UTC