Stream: implementers
Topic: Custom Resources, Basic-derived resources and Logical Models
Ward Weistra (Nov 19 2020 at 15:13):
This is a reminder for @Grahame Grieve to look up whether it is OK to refer from an extension to a Custom Resource. Some resources I found:
- I found this old Wiki page describing Custom Resources, but can't find the Confluence equivalent
- The Basic resource has a nice section on 'Why not custom resources?'
- The FHIR Mapper docs have a nice overview of how to transform a Logical Model to a Custom Resource
Grahame Grieve (Nov 19 2020 at 15:46):
The most relevant language is:
References SHALL be a reference to an actual FHIR resource
So what this means is that you cannot refer to a non-FHIR resource using a reference.
It's valid, then, to add an extension of type uri
to a resource where the target of the URI is a some resource that is not a FHIR resource but it's not valid to add an extension of type `Reference
.
What I think we should clarify somewhere is that in a custom resource, you can use a Reference
to refer to other custom resources. That's what people are doing, but it would be good to be clear about that
Last updated: Apr 12 2022 at 19:14 UTC