Stream: implementers
Topic: Reference to non-fhir entity/resource
Matthew Koch (Dec 30 2019 at 13:46):
In many resources, there is a subject attribute that allows adding a reference to another resource (often to describe what the resource is "about".) Is this attribute usable for entities that are not resolvable to a FHIR resource? For example, we have a system that houses protocol information that has no FHIR capabilities, but I want to reference things in this system. Could I use the following, even though "ABCD-123" isn't a FHIR resource?
"subject": {
"type": "ResearchStudy",
"reference": "ResearchStudy/ABCD-123",
"identifier": {
"system": "ProtocolSystem",
"value": "urn:uuid:0c3151bd-1cbf-4d64-b04d-cd9187a4c6e0"
},
"display": "Protocol ABCD-123"
},
John Moehrke (Dec 30 2019 at 13:58):
In that case you fill out the reference.identifier alone, don't fill out the reference.reference unless it is a FHIR resource id. Your is the reason that the datatype Reference was updated at STU3
Last updated: Apr 12 2022 at 19:14 UTC