Stream: Medication
Topic: Compound Medication Orders
James Agnew (Feb 05 2019 at 19:11):
I'm pondering how to model an IV solution order in FHIR.
In v2, we would have orders like the following:
RXE|^Continuous^^20180731170000^^STAT^^|^PANTOPRAZOLE INFUSION^ADS^^^^^^pantoprazole (use for PROTONIX) 80 mg in sodium chloride 0.9 % 100 mL (0.8 mg/mL) infusion|8||43^mg/hr|||||2|Each||AA000001^TESTDOCTOR^JOHN^Q^||||||||||10|mL/hr|0.8|3^mg||||STANDARD|^use for PROTONIX||1|1^mL||||||main^CENTRAL PHARMACY RXR|IV^Intravenous RXC|A|05613^PANTOPRAZOLE 40 MG INTRAVENOUS SOLUTION^ADS|80|mg|2|Each|^use for PROTONIX RXC|B|00407^100 ML BAG : SODIUM CHLORIDE 0.9 % INTRAVENOUS SOLUTION^ADS|80|mL|1|FCzZ
In this example (assuming I'm understanding it correctly), we have an order for an uncoded medication (PANTOPRAZOLE INFUSION) that consists of two order-specific amounts of things. In this case it's 2x40mg bags of pantoprazole, and 0.8x100mL bag of saline.
I may be missing something, but the medication model seems too simplistic to model this. We have MedicationRequest.medication[x] which is 1..1 and probably has to be just the text of "PANTOPRAZOLE INFUSION". We then have the two components, each of which are coded and have different amounts. My initial gut feeling (pardon the pantoprazole pun!) was to put them into MedicationRequest.dosageInstruction but there is no spot of a medication code in there.
This problem gets seems to only get worse for orders where there are two medicinal components and not just medicine+saline.
Jose Costa Teixeira (Feb 05 2019 at 19:17):
in the above order, you have a MedicationRequest with one medication, which is Pantoprazole Infusion.
Jose Costa Teixeira (Feb 05 2019 at 19:17):
if "Pantoprazole infusion" is a well-known product or preparation in your site, you could stop at that.
Jose Costa Teixeira (Feb 05 2019 at 19:19):
if, from what I read, you want to capture the composition, you would point to a Medication resource (contained or not, depends if your formulation is in a catalog or not)
Jose Costa Teixeira (Feb 05 2019 at 19:19):
and that Medication called Pantoprazole Infusion has 2 ingredients, pantoprazole and saline.
Jose Costa Teixeira (Feb 05 2019 at 19:20):
of course saline has also several ingredients as well as the pantoprazole you are using, but I believe the idea is to stop at whatever level you know that the other party will recognize that medicinal product
Jose Costa Teixeira (Feb 05 2019 at 19:22):
possible the name medication.ingredient is not the best for this use. and also not "strength" which for this case should be amount or something.
Jose Costa Teixeira (Feb 05 2019 at 19:23):
But my suggestion above is what I recall being told by @Scott Robertson in a recent WGM, after having the same question in IHE.
Jose Costa Teixeira (Feb 05 2019 at 19:24):
perhaps things have changed, in which case @Melva Peters can bring some insight. I would say technically the requirement can be met - but perhaps we could review the naming of the elements, leaving the medication ingredient to express formulations, and putting medication chemical composition to medicationKnowledge.
James Agnew (Feb 06 2019 at 01:45):
The contained resource is actually the exact solution we arrived at, but I have to say that this feels like a bit of a hack. Ultimately we have two well-known and coded items being delivered as a single order (without a "master code
" to convey the overall product and we can't convey any of this without resorting to contained. My gut feeling is that the amounts of the two ingredients are properties of the order and not properties of the medication, so shoehorning them into the medication feels like the wrong spot.
I should probably qualify this with a disclaimer that I'm a techie and certainly have no pharmacy training so maybe this is just the way things are done. The use case here incidentally is creating a multi-organization research database, so locking valuable information up in contained resources also dramatically decreases its utility.
Lloyd McKenzie (Feb 06 2019 at 03:39):
It's not a hack. You're defining an on-the-fly medication compound. You represent it the same way whether it's a standard product or something specific to a particular order or dispense - as a Medication. You have a form, you have ingredients, you might have mixing instructions, etc.
Lloyd McKenzie (Feb 06 2019 at 03:40):
If the medication is defined "on the fly" then it'll be contained. If it's a standard recipe sitting in a formulary, it'll be by reference. The structure and processing will be identical.
Melva Peters (Feb 06 2019 at 15:55):
@James Agnew Medication can handle your use case easily as well as more complex compounds. Within Medication there are 0..* ingredients that are used to include the different ingredients within the compound solution. There are a series of examples on how to represent including this one http://build.fhir.org/medicationexample0317.xml.html. There may be situations where a compounded product is given an identifier as it is prepared often, but in many cases it is defined on the fly as @Lloyd McKenzie says based on the order at the time.
Check out the examples and see if they work. Also check out the medicationRequest examples that include contained medications.
James Agnew (Feb 06 2019 at 18:56):
Thanks for the input all. Perhaps I need to get over my hangup about contained resources. I've seen them misused so many times that I have a gut reaction of "you're doing this wrong" when I need to use one.
Lloyd McKenzie (Feb 06 2019 at 19:33):
It's not a bad gut reaction. :) In this case, the medication description really does live in the prescription or dispense and isn't independently searchable.
Last updated: Apr 12 2022 at 19:14 UTC