FHIR Chat · Profiling - recursive profile dependency · implementers

Stream: implementers

Topic: Profiling - recursive profile dependency


view this post on Zulip Stine Johansen (Sep 11 2020 at 06:23):

Hi, I'm working on a set of profiles in the medication module, when adding profiles for references, I'm getting a "Recursive profile dependency detected" when opening the profiles in Forge, and the profiles wont render on Simplifier.

The resources are MedicinalProduct and MedicinalProductPackaged, in R4, they are both referncing each other, and I wanted to specify my profiles on the reference.

https://simplifier.net/safest/safest-medicinalproductpackaged
https://simplifier.net/safest/safest-medicinalproduct

Can anyone help on this issue?

view this post on Zulip ryan moehrke (Sep 11 2020 at 13:53):

not sure if this is the issue, but try using targetProfile instead of profile to specify the required profiles on the references, targetProfile is used when the reference needs to be resolved first.
So by not using it and using profile instead Forge might think you want an inline resource, which assuming they are required elements would make an infinite resource instance

view this post on Zulip Stine Johansen (Sep 11 2020 at 14:18):

This was definitely the issue, thank you!


Last updated: Apr 12 2022 at 19:14 UTC