FHIR Chat · Rename RequestGroup to RequestOrchestration · implementers

Stream: implementers

Topic: Rename RequestGroup to RequestOrchestration


view this post on Zulip Bryn Rhodes (Oct 03 2019 at 16:44):

The CDS WG is considering changing the name of the RequestGroup resource to RequestOrchestration, and is seeking feedback on this change. GF#24619

view this post on Zulip Grahame Grieve (Oct 03 2019 at 19:51):

I think this much better

view this post on Zulip Jose Costa Teixeira (Oct 03 2019 at 23:14):

Isn't RequestGroup the resource we must use for simple composite orders, e.g. "take these 2 medications" - since MedRequest onylhas one product..

view this post on Zulip Jose Costa Teixeira (Oct 03 2019 at 23:15):

If so, we would need a thing called RequestOrchestration to issue a simple 2-line prescription. Sounds grand & scary.

view this post on Zulip Lloyd McKenzie (Oct 04 2019 at 00:02):

Orchestrations aren't necessarily that complex

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 00:10):

Sure. it's the name that is scary and gives the feeling that something smaller may be missing - if we need to do orchestration, if "group" seems way more common..

view this post on Zulip Lloyd McKenzie (Oct 04 2019 at 02:27):

Grahame wasn't a fan of Group. I can live with either

view this post on Zulip Bryn Rhodes (Oct 04 2019 at 02:51):

I think Orchestration sounds harmonious :) And after many rounds of discussion and lots of thought about it, I think it really is the best name I've heard so far of what the resource is really representing.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:02):

I agree it sounds grand. As an implementer, when I want something simple like making a basic prescription with 2 drugs, I would not think of looking at a resource called Orchestration.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:05):

How do make sure that people that don't need orchestration, just grouping, find the right resource?

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:06):

Note that I presume that presume that prescription of 2 items will be handled with RequestGroup. It could be handled with something else (CarePlan? that would be strange).

view this post on Zulip Lloyd McKenzie (Oct 04 2019 at 16:13):

It'd probably be good to have pointers in the notes for most Request resources to the grouping resource (whatever we call it)

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:15):

@Jose Costa Teixeira are you trying to represent one prescription that is for two drugs? Or two different prescriptions, each for one drug? It seems that RequestGroup/Orchestration would be for the 2nd but not for the 1st.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:19):

Prescription:
- Drug 1, 2x day, for 7 days
- Drug 2, 3x day, for 7 days or keep taking until you run out
- Drug 3 in case you have pain from taking drug 2

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:20):

and you consider those as one prescription? Most systems in North America would consider those three separate prescriptions.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:26):

one doctor makes this, and they are legally / clinically responsible for the combination.

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:28):

Sure, but we consider this three different prescriptions and not one. If it was represented as three different prescriptions, then you could use RequestGroup/Orchestration to hold all three of these together if needed.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:28):

so yes, this is one prescription, which is a request for one or more drugs.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:29):

in v2 this is ORC-4. Just a grouper ID.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:30):

ok, i can tell a physician that he makes one prescription and this gets "technically" split in 3 prescriptions, but from their perspective, and until the treatment is over, this is one prescription.

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:31):

you are redefining the term 'prescription' :) As I said above, in North america (US/Canada), that would not be considered one prescription but three separate prescriptions.

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:31):

what happens if the patient has an adverse reaction to drug 1? How do you abort one part of your "prescription"?

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:34):

(that last thing is exactly why I think it is a good idea to have this as one prescription. someone has to look at it from a whole perspective, not cancel the drug that is making me dizzy...)

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:36):

anyway, do a quick google image search for a few translations of "prescription":
receita medica, receta medica, prescription medicale, voorschrift - they easily show many drugs in one paper

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:37):

a prescription can contain a set of drugs. Is this under debate?

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:37):

okay, i'm not sure that I fully understand your use case as there seems to be some problems with it. Leaving that aside, it doesn't seem to me like RequestGroup/Orchestration is what you're looking for. Here is the scope of the resource: "The RequestGroup resource is used to represent a group of optional activities that may be performed for a specific patient or context." That doesn't seem to fit your use case.

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:37):

a prescription can contain a set of drugs. Is this under debate?

Yes. Because that is not how we've modeled a Prescription in FHIR.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:38):

We haven't modeled a prescription in FHIR. We have modeled a medication Request, which is for one drug only.

view this post on Zulip Lloyd McKenzie (Oct 04 2019 at 16:38):

The key thing is that with RequestGroup you cannot cancel just one of the pieces. You have to cancel/suspend/resume the whole thing.

view this post on Zulip Bryn Rhodes (Oct 04 2019 at 16:38):

You'd have to model that as different MedicationRequest resources, since they talk about different drugs, so what I hear you saying @Jose Costa Teixeira , is that having a "grouper" to keep them related is important, and that's the function of the RequestOrchestration resource.

view this post on Zulip Lloyd McKenzie (Oct 04 2019 at 16:38):

If you just want to say "these were created as a group", you should just use the requisitionId

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:41):

now, seems we have unearthed one of 2 things:

  1. we did not yet say what to do for grouping which IMO is more than common and actually required in many places. - which is ok, implementers can handle it
  2. we don't think that medication prescriptions can have more than one drug - which is not something I can defend as such

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:41):

@Lloyd McKenzie where is requisitionId?

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:42):

Lloyd McKenzie where is requisitionId?

It is the groupIdentifier

view this post on Zulip Bryn Rhodes (Oct 04 2019 at 16:42):

MedicationRequest.medication is 1..1

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:43):

ok groupIdentifier should work. I will see if there is anything that could break that but it would not be in the 80%, i hope.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:44):

@Bryn Rhodes yes, and I agree. My reaction was to say that if we rename something relatable as "grouping" to something more comprehensive, we may want to give some guidance so that people are not scared

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:48):

I was afraid that we would assert prescriptions as only for one drug (which would be us redefining the concept of prescription in several jurisdictions). groupingID at least keeps things relinkable.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 16:50):

background: several years ago, we had a challenge - when a prescription had 5 entries, and only 3 of those were dispensable, someone would have to decide whether those 3 should be dispensed at all...

view this post on Zulip Bryn Rhodes (Oct 04 2019 at 16:51):

@Jose Costa Teixeira , agreed, that's definitely good feedback.

view this post on Zulip Jean Duteau (Oct 04 2019 at 16:51):

I was afraid that we would assert prescriptions as only for one drug (which would be us redefining the concept of prescription in several jurisdictions). groupingID at least keeps things relinkable.

To be clear, our MedicationRequest - which is intended to model a real-life prescription - is for one drug only. When I hear people talk about a FHIR Prescription, I tend to substitute MedicationRequest for Prescription.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 17:05):

To be clear, our MedicationRequest - which is intended to model a real-life prescription - is for one drug only. When I hear people talk about a FHIR Prescription, I tend to substitute MedicationRequest for Prescription.

I'd agree that our medicationRequest is intended to support a real-life prescription. I disagree and would be concerned if we try to say it models one - that would affirm that we managed to make a good resource but we did not look at what Prescription means in many places in Europe.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 17:07):

  1. point is made on Orchestration,
  2. glad we uncovered this, do we need to move this prescription issue to another stream? I am really worried if we introduce unnecessary definition constraints which clash with the legal reality

view this post on Zulip Peter Jordan (Oct 04 2019 at 19:30):

Interesting debate! In many parts of the world, 'real life' paper prescriptions - whether generated electronically, or by hand - contain one or many items (i.e. medications). Furthermore, in some countries those items can be filled (dispensed) by different pharmacies. In legal terms, in NZ anyway, a Prescription is an order and those of us with extensive IT experience outside of healthcare are fully aware that an order for the sale or purchase of goods can contain many items....BUT - in terms of modelling prescriptions for the purposes of health information exchange and persistence of prescription data, my firm view (based on my 8 years working on the NZ e-Prescription Service) is that the FHIR Resource Model - of a one-to-one relationship between request and medication - is the best approach. In NZ, this is how our CDA-based system is implemented (one CDA per item) and fitting our use case - in addition to the North American ones articulated by Jean - is, I believe, evidence of its robustness. Grouping items by a common order identifier shouldn't be a challenge for endpoint systems - in our national system, the items relating to a common physical prescription always move together across the wire.

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 20:05):

Technically we can do either. For example IIRC I think the IHE approach is several items in one document. I find this better as it does not introduce any divergence to the concepts used in clinical practice, and therefore at least we do not add any risk there. Legally, a Prescription can contain several items. So we do not really have to define what a prescription is.

view this post on Zulip Grahame Grieve (Oct 04 2019 at 20:43):

I think this discussion shows why the current name is a problem - because people naturally think that Request group is a group of requests. Which it actually isn't (it is, but only in a very specific context, and that other context is not in the name).

Also, we firmly need a good documented story in the spec about the 1 item / multiple items per prescription. @Jose Costa Teixeira can you make a task asking for the base spec to document the committee's thinking on this matter?

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 20:46):

sure. Is this a medication-specific question or a broader one?
in other words, which committee(s)?

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 20:46):

we start with medication and see where that takes us?

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 21:36):

added GF#24905
(had to do some research in the meanwhile. amazing to see so many examples and photos but not one model)

view this post on Zulip Jean Duteau (Oct 04 2019 at 22:00):

added GF#24905
(had to do some research in the meanwhile. amazing to see so many examples and photos but not one model)

We actually do point implementers on handling this:

The MedicationRequest resource allows requesting only a single medication. If a workflow requires requesting multiple items simultaneously, this is done using multiple instances of this resource. These instances can be linked in different ways, depending on the needs of the workflow. For guidance, refer to the Request pattern

view this post on Zulip Jean Duteau (Oct 04 2019 at 22:02):

I'm not sure that we would have much to say other than what the Request Pattern link says. (Section 12.3.10 for those following at home)

view this post on Zulip Grahame Grieve (Oct 04 2019 at 22:03):

oh you are right - I should have checked. So actually, my issue is the conflict of the descriptions of request group on the request page and the request group page

view this post on Zulip Jose Costa Teixeira (Oct 04 2019 at 22:07):

I'm not sure that we would have much to say other than what the Request Pattern link says. (Section 12.3.10 for those following at home)

that is good, since we don't need to define that a prescription contains only one medication. I think the options in the Request pattern will cover it. S
Sorry, I had assumed requestGroup was the "preferred" way. But if that one is only used for more "orchestrated" requests, then it would work even with the name change.


Last updated: Apr 12 2022 at 19:14 UTC