FHIR Chat · trigger · implementers

Stream: implementers

Topic: trigger


view this post on Zulip Jugal Prasad Sahu (Dec 10 2018 at 13:42):

hello everyone,
I hope you all are doing good.Actually I am working on PlanDefinition resource,Cleanical Resoning module and Workflow module.In this,There is a concept called trigger.I have gone through this but did not able to find proper example like how to write a trigger.There are only named-event type trigger examples.

But what I really looking for is,how to write a trigger(like how to set the triggering time,how to set the condition etc..).so please let me know if you have any idea regarding trigger.
Thank you in Advance

view this post on Zulip Yunwei Wang (Dec 10 2018 at 15:56):

Have you looked at TriggerDefinition? http://build.fhir.org/metadatatypes.html#TriggerDefinition

view this post on Zulip Jugal Prasad Sahu (Dec 11 2018 at 05:34):

thank you for the reply Yunwei Wang...Yes I have gone through this earlier but this is nothing but structure defination.Is there any example of scheduled event or data event type trigger ?? and yes,most of the time in the PlanDefinition example(http://build.fhir.org/plandefinition-examples.html) for trigger field they are using named-event type trigger , so how to write a named event type trigger because in case of named-event we have just need to metioned the name or URI of the event as trigger in PlanDefinition ??

view this post on Zulip Yunwei Wang (Dec 14 2018 at 16:31):

@Jugal Prasad Sahu something like this:

<trigger>
    <type value="data-modified"/>
    <data>
        <type value="Procedure"/>
        <codeFilter>
            <path value="code"/>
            <valueSetString value="Total Colectomy Value Set"/>
        </codeFilter>
        <dateFilter>
            <path value="performedPeriod"/>
            <valuePeriod>
                <start value="2016-01-01"/>
                <end value="2016-12-31"/>
            </valuePeriod>
        </dateFilter>
    </data>
</trigger>

view this post on Zulip Jugal Prasad Sahu (Dec 15 2018 at 06:58):

thank you yunwei wang...This will definitely be helpful..could you please let me know,which is good for timing of the event(either timingTiming or timingReference)??because what i found was there are lot more flexibility if we go for timingTiming type.

view this post on Zulip Yunwei Wang (Dec 17 2018 at 15:12):

That is totally depends on your use case.


Last updated: Apr 12 2022 at 19:14 UTC