Stream: implementers
Topic: Timing Example
 Melva Peters (Dec 08 2016 at 17:55):
I'm trying to create an example that includes a dosageInstruction for the following:  "Take one tablet four times daily on Monday of each week."  The following is invalid because of an invariant that exists.   <timing>
            <repeat>
                <frequency value="4"/>
                <period value="1"/>
                <periodUnit value="d"/>
                <dayOfWeek value="Mon"></dayOfWeek>
            </repeat>
        </timing>
Invariant:   If there's a dayOfWeek, there cannot be be a frequency, or a period [dayOfWeek.exists() implies (frequency.empty() and period.empty())] (src = InstanceValidator)
What is the correct way to say this? or is the invariant incorrect?
 Grahame Grieve (Dec 08 2016 at 19:12):
well, when we talked about this, we wanted to avoid conflict. Conflicts like
- once every 3 days on Tuesdays
 - twice a week on Monday and Friday
 
 Grahame Grieve (Dec 08 2016 at 19:13):
so we said, can't mix them.
 Grahame Grieve (Dec 08 2016 at 19:13):
it's not clear to me what a more refined set of rules would be that would allow you to mix them, and still have certainty of meaning
 Melva Peters (Dec 08 2016 at 21:31):
I think the Timing example is incorrect: Mon, Wed, Fri Morning 2 1 d mon | wed | fri MORN Period, low = 2015-07-01T13:00:00
 Richard Townley-O'Neill (Dec 14 2016 at 02:02):
deleted
 Lloyd McKenzie (Jan 18 2017 at 20:53):
GF#12460 resolution was approved with modifications
Last updated: Apr 12 2022 at 19:14 UTC