FHIR Chat · specify only one targetProfile of type canonical · implementers

Stream: implementers

Topic: specify only one targetProfile of type canonical


view this post on Zulip Michaela Ziegler (Jul 22 2021 at 08:54):

core spec for Procedure.instantiatesCanonical
canonical(PlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire)

How can I specify in my Procedure profile that only my own profile for the PlanDefinition is valid?

I set my targetProfile (fsh: * instantiatesCanonical ^type.targetProfile = "http://example.com/StructureDefinition/cof-plandefinition") and this is the outcome:
canonical(CoFPlanDefinition | ActivityDefinition | Measure | OperationDefinition | Questionnaire)

Is there a way to say, that I won't allow the other profiles (ActivityDefinition etc.)?

view this post on Zulip Lloyd McKenzie (Jul 22 2021 at 19:24):

This seems like something that should be asked on #shorthand

view this post on Zulip Michaela Ziegler (Jul 23 2021 at 07:15):

moved to #shorthand : https://chat.fhir.org/#narrow/stream/215610-shorthand/topic/specify.20only.20one.20targetProfile.20of.20type.20canonical/near/246946797


Last updated: Apr 12 2022 at 19:14 UTC