FHIR Chat · When should backbone elements be marked isModifier? · committers

Stream: committers

Topic: When should backbone elements be marked isModifier?


view this post on Zulip Lloyd McKenzie (Oct 14 2016 at 02:56):

In MedicationPrescription, there's an element called "substution" which has an element called "allowed" of type boolean. The boolean is a modifier for MedicationOrder.medication (it changes the meaning from "must be this medication" to "must be considered equivalent to this medicaiton"). The question is - should the "substitution" element that contains "allowed" also be marked as a modifier?

view this post on Zulip Grahame Grieve (Oct 14 2016 at 19:09):

I think in this case the substutition element itself is the modifier, not the allowed element

view this post on Zulip Lloyd McKenzie (Oct 14 2016 at 20:48):

@Grahame Grieve Well, the substitution element contains "allowed" and "reason". I.e. "Why is substution not allowed?". That bit isn't a modifier

view this post on Zulip Melva Peters (Oct 24 2016 at 18:31):

Is there consensus on this discussion? I agree with Lloyd that the modifier is the allowed element. Pharmacy has proposed that we add the modifier to Substution.allowed. Can you explain why we would add it to the backbone?

view this post on Zulip Grahame Grieve (Oct 24 2016 at 18:32):

I think it's a matter of perspective. Does 'allowed' modify the substution, or does the substitution modify the prescription?

view this post on Zulip Lloyd McKenzie (Oct 24 2016 at 18:36):

MedicationOrder.substitution describes the substitution guidelines. substitution.allowed is what actually changes the meaning of the medication

view this post on Zulip Melva Peters (Oct 24 2016 at 22:28):

Agree @Lloyd McKenzie


Last updated: Apr 12 2022 at 19:14 UTC