Stream: implementers
Topic: Referencing ServiceRequest & RequestGroup
Henrik Blau (May 07 2021 at 06:28):
I have a question about a change from STU3 to R4. In the previous version there was still the ProcedureRequest, which could refer to Any via basedOn. We used this to bundle multiple requests via RequestGroup. With R4 and the conversion to ServiceRequest a restriction to basedOn has come, so that this referencing is no longer possible. Is it still possible to extend basedOn or do I need an extension for my ServiceRequest?
Lloyd McKenzie (May 07 2021 at 13:13):
RequestGroup wouldn't generally link to ServiceRequest via 'basedOn'. Normally RequestGroup would point to the ServiceRequest. Can you explain your use-case a bit more?
Henrik Blau (May 10 2021 at 06:21):
Yes, with pleasure. I create a request for different domains (laboratory, ECG, radiology...) and want to group them via the RequestGroup. I represent the individual orders as a ServiceRequest and would now like to refer back to the RequestGroup from the ServiceRequest.
Lloyd McKenzie (May 10 2021 at 14:51):
The RequestGroup points to the ServiceRequest. The ServiceRequest won't point to the RequestGroup. In FHIR, links always exist in only one direction. However, you can use _has or _revinclude to navigate across reverse links.
Last updated: Apr 12 2022 at 19:14 UTC