Drug label into document (without drug name)
Hi,
We are trying to reduce prescriptions, so I have linked our Prescription document to a Prescription Fee.
This is a bit long winded, but I'm wondering if there is a merge field for drug labels instructions, without printing the drug name itself.
What I've done so far is:
Created a product (medication) called 'Prescription Fee'
This has a document attached within the product set up - 'Prescription.odt"
The product also has a drug label:
"Drug Name:
Formulation:
Quantity:
Number of repeats:
Dosage Instructions:"
So, a clinician must invoice the product 'Prescription Fee' in order to create the document (I've made the document Inactive so they can't find it easily)
When they invoice it, the drug label will pop-up and they can fill in the prescription required.
Then they go to the patient documents and the Prescription.odt document will be there.
I'd like the drug label instructions (but without the drug name 'Prescription Fee') - to be in this document so they can just press Print.
It will also save the prescription information (by ways of drug label) into the patient medical records to the clinician doesn't need to go and put a note on manually.
Hope that makes sense.
Greta
Re: Drug label into document (without drug name)
Greta - the drug label itself uses a jrxml template.
Hence you could tweak the jrxml to functionally do "if product name = 'Prescription Fee' then do not print the product name (or its label)".
If you want to be a little more sexy, then you could adopt the convention that if the Printed Name of the product is say 'NO PRINT' then you don't print the product name. This would mean that you could have other products like your Prescription Fee that behave in the same way.
Regards, Tim G
Re: Drug label into document (without drug name)
Having written the above and posted it, I went back and re-read your post, and I suspect that I may not have understood exactly what you are trying to accomplish. If not, please yell.
Regards, Tim G
Re: Drug label into document (without drug name)
Hi Tim,
You've kind of answered, but what I am after is the function to get $F{label} into a .odt document.
You helped me get [macro:eval('@dischargesummary', .)] into a .odt document before, which is a Report Macro (I think) party:getPatientVisit(openvpms:get(.,'patient.entity'))
So, is it something like that?
Re: Drug label into document (without drug name)
Greta - I think that I am suffering from 'not being a vet' syndrome.
The system already has a prescription mechanism that supports dose repeat counting. Your setup does not include this so I assume that your use of 'prescription' may refer to the piece of paper you get from the vet to take to a dispensing organisation. This is already provided by the system via the Print button on the Perscriptions tab - which outputs (for the standard version)
In addition when I played with your approach it generates medical record entries like:
where 1 is a standard medication entry; 2 is your 'Prescription Fee' and its auto generated document; and the top blue one is from the dispensing of a prescription.
So - what is the problem with the standard prescription facility - or have I mis-understood the problem.
Regards, Tim G
Re: Drug label into document (without drug name)
Hi Tim,
I did not even know this tab existed. I don't seem to have a document attached to the report.
You are right that this is for medications that we don't stock and write a prescription for the client to go to a chemist.
These are for very unusual medications so I'm wondering how I can use this prescription tab (do the medications need to be added into OpenVPMS before they can use this tab - ie not hand write the drug name)?
The client gets charged a prescription writing fee - which is the same price regardless of the cost of the medication at the chemist.
I like how the information is saved in the Medical records, but I'm confused about how to write prescriptions for medications that I don't have set up in OpenVPMS and how to charge just the one price.
Greta
Re: Drug label into document (without drug name)
Arrrrggghhh - the idiot who did your 1.8 upgrade (ie me) evidently did not load the (new in 1.8) Prescription template. I have now done so [from the master in F:\OpenVPMS\openvpms-release-1.8\reports\Patient\Medical Records\A4\Prescription.odt ].
It is probably also worth you reading http://www.openvpms.org/documentation/csh/1.8/concepts/prescriptions
To play with it - see ZZ Test/ZZ Dog - who I created a prescription for. I have not yet done a Dispense - so there is nothing yet in ZZ Dog's medical records.
Rare medications: the kosher thing to do would be to have a product entry for these. However, I suppose that you could get away with having a general medication 'External Prescription' and put the actual medication in the label itself - but this feels wrong to me - in part because it is going to be difficult to track usage of individual rare medications.
Pricing: if you are going to use the 'External Prescription' approach then you can just set the prescription fee as the fixed price. If you are going to create product entries then the logical approach is to use the Linked facility (see http://www.openvpms.org/documentation/csh/1.8/product/tabs#linked ) to link to a 'Prescription fee' product price template.
Regards, Tim G
Re: Drug label into document (without drug name)
Hi,
I didn't realise there was a prescription template for this either. I will go load this.
However I can't really see us using this. Ideally we want to enter Rare Medications in the "Medications" field of the prescription and the other information as required so we get a legal prescription.
I don't really want to add in every rare medication we write prescriptions for as we will clutter up the product list AND every time someone wants a new medication I am going to get a call to add it to the product list.
I would suggest the prescription system needs some tweaking/expansion to allow prescriptions to be written for products not within OVPMS.
I like Greta's solution though to deactivate the product template so it has to be charged to generate the prescription template/ open office document. Very sneaky! I like it!
Re: Drug label into document (without drug name)
I have been using this for around 18mths
To be honest Adrian and Greta concerns regarding loading Drugs we dont actually sell into the system was also mine, however, I have flip flopped . I load in all our rare drugs now. We often order from Bova in Sydney or the New Compounding Lab(which is cheaper) here in Brisbane. These are a life saver.
A word of warning - you must know your prescribing laws - for example here in Qld you cannot write a prescription with repeats. Well atleast not one that you give to a client to fill at a pharmacy. Technically I think we could write one that goes to Bova for example that they hold and fill for us as required as long as the drugs come back to the practice and are handed to the client by a vet.
Because we can record sooo much infomation associate with medications its a god send particular for rare drugs I actually copy and paste an extract from Plumb into the products dispensing notes. We can also record dosage and dose number - I would love to know how to get those entries onto a label or prescription Letter.
I think placing product in the database ensures that spelling is correct - that dosage is checked and that dispensing notes are reviewed each time.
Addendum - The reality is how many rare meds are you using - I mean I cant imagine its in the 100's
Re: Drug label with prescription data
Ben - see attached. No guanantees - this is somethiung I built but we never put into production. Regards, Tim G
Re: Drug label with prescription data
Thanks Tim, nice tweak to bring the remaining scripts onto the label - however what I was referring too (which at this stage probably isnt possible is
On the product we can set a dose ie it might work out at 1.5 tablets and then we can set a dose number lets say its 10
So the qty dispensed will automatically update to 15. Which is great
but It might also be helpful to default the label to show that the dose is 1.5 tablets
Obviously the system cant know that the dose is twice or once daily and macros in the default label dont currently expand on dispensing.
Wish list this one I think
Re: Drug label into document (without drug name)
Rare meds - I would say in our practice we write a weird and wacky prescription once every week or two. Some of these are repeats I guess.
The issue is more that every time a new med needs to be added this needs an admin - and one with vet knowledge to add the product in. Sometimes these are "rush" meds...
At this stage I am going to use greta's solution.