Stream: implementers
Topic: Medication order 3 times a day, varying dose
Torbjörn Dahlin (Dec 06 2017 at 11:26):
What would be the best way to model a dosage in this example:
2 tablets in the morning, 1 at noon and 1 in the evening, or any other dosage where the dose vary during the day.
Kind Regards
Torbjörn Dahlin
Jose Costa Teixeira (Dec 06 2017 at 11:34):
Simple answer: medicationRequest.DosageInstructions can repeat, so you can have
...
dosageInstructions: [
{2 in the morning},
{1 at noon},
{1 in the evening},
]
...
Jose Costa Teixeira (Dec 06 2017 at 11:35):
of course, "2 in the morning" should be structured using .timing... and .doseQuantity
Torbjörn Dahlin (Dec 06 2017 at 11:52):
Thanks Jose. Could this solution cover a repeat of these instructions over a period of days, say 2 + 1 + 1 for 7 days? What are the semantics of repeating dosageinstructions, should they be considered consecutive or parallel?
Jose Costa Teixeira (Dec 06 2017 at 11:55):
it seems you want to cover things like "2+1+1 for 7 days (week #1), then 1+1 for week #2, then 1 for week #3"
Jose Costa Teixeira (Dec 06 2017 at 11:55):
right?
Torbjörn Dahlin (Dec 06 2017 at 11:58):
That would be an excellent example of complex dosageinstructions, and as I understand something that occurs in the wild so to speek.
Jose Costa Teixeira (Dec 06 2017 at 11:58):
ok challenge accepted. Let me get back to this later :)
Jose Costa Teixeira (Dec 06 2017 at 11:59):
i don't understand "consecutive or parallel"
Jose Costa Teixeira (Dec 06 2017 at 11:59):
example please?
Torbjörn Dahlin (Dec 06 2017 at 12:05):
If I have one instruction that says "2 tablets in the morning for 7 days" and one that says "1 tablet at noon for 7 days", they could either combine as "2 tablets in the morning and 1 at noon for 7 days" or "2 tablets in the morning week #1 and 1 tablet at noon week #2"
Torbjörn Dahlin (Dec 06 2017 at 12:08):
I wasn't sure how to tell cases apart
Jose Costa Teixeira (Dec 06 2017 at 12:21):
If I have one instruction that says "2 tablets in the morning for 7 days" and one that says "1 tablet at noon for 7 days", they could either combine as "2 tablets in the morning and 1 at noon for 7 days" or "2 tablets in the morning week #1 and 1 tablet at noon week #2"
Now that is a fine example. I don't think there is an answer for this. If not, then this could actually come from a "definition" resource, or could be a good rationale for us to add some nesting to instructions, or ...
Jose Costa Teixeira (Dec 06 2017 at 12:22):
pinging @Lloyd McKenzie @Melva Peters and @Bryn Rhodes
Torbjörn Dahlin (Dec 06 2017 at 17:17):
Ahh. Should have read more carefully. There is a concurrent/consecutive solution in the dosage.sequence:
If the sequence number of multiple Dosages is the same, then it is implied that the instructions are to be treated as concurrent. If the sequence number is different, then the Dosages are intended to be sequential.
Melva Peters (Dec 27 2017 at 19:26):
@Torbjörn Dahlin did you resolve your question? It would be great to get the specific example you were trying to include so that we can include an example in the specification that would help clarify. Can you create a tracker item with the details?
Last updated: Apr 12 2022 at 19:14 UTC