Introduction: When the Right Medicine Does Not Exist Yet

Most prescriptions are simple. The doctor writes for a tablet or a capsule, the pharmacy has it on the shelf, and the claim is billed with the drug's identification number. But sometimes the medicine a patient needs does not exist in the form they need it in.

A child may need a liquid version of a drug that only comes as a tablet. A patient may be allergic to an ingredient in the commercial product. A skin condition may need a cream mixed to a strength no manufacturer makes. A patient who cannot swallow pills may need their medicine made into a different form.

In these cases, the pharmacist makes the medicine in the pharmacy. This is called compounding, and the result is called an extemporaneous preparation — a preparation made on the spot, according to a prescription, for one specific patient.

Compounding is one of the oldest skills in pharmacy, and it is also one of the most confusing to bill. The claim does not work like a normal prescription claim. There may be no drug identification number to enter. The rules about what is covered are different. The documentation requirements are stricter. And a small mistake in how the claim is put together can mean the pharmacy does not get paid at all.

This guide explains, in plain language, how compound billing works in Ontario and across Canada: what compounds are, how Product Identification Numbers (PINs) fit in, which compounds are generally eligible for coverage, what to document, and how to fix the most common rejections. It is written for pharmacy assistants, technicians and students who are learning third-party billing.

What Is Compounding, in Simple Terms?

Compounding is the preparation of a medicine in the pharmacy, from individual ingredients, according to a prescription for a specific patient. The legal definition used in Ontario describes an extemporaneous preparation as "a drug or combination of drugs prepared or compounded in a pharmacy according to a prescription."

The word "extemporaneous" is worth understanding, because you will see it on official documents. It comes from a Latin word meaning "on the spur of the moment." An extemporaneous preparation is made when it is needed, for one patient, in the quantity prescribed. It is not made in advance and it is not kept on the shelf for the next person.

Common examples of compounded medicines include:

  • A liquid version of a tablet drug for a child or a patient who cannot swallow pills.
  • A cream or ointment mixed to a particular strength, or without an ingredient the patient is allergic to.
  • Capsules made from a drug that is only sold as a tablet or a liquid, in a dose that is not commercially available.
  • A preparation combining two or more ingredients into a single product, when the doctor has prescribed them together for a specific reason.
  • A medicine made without a particular filler, dye or preservative that causes the patient problems.

Compounding is a skilled, regulated activity. The pharmacist must follow professional standards for how the preparation is made, what equipment is used, how it is labelled and how it is stored. The Ontario Drug Benefit program's own policy says that a preparation that meets the general guidelines in the National Association of Pharmacy Regulatory Authorities' Guidance Document for Pharmacy Compounding of Non-Sterile Preparations will be treated as eligible for reimbursement, provided the other conditions are met. That link between good compounding practice and billing eligibility is important: the claim is not just about money, it is also evidence that the preparation was made properly.

How Is a Compound Claim Different from a Normal Claim?

A normal prescription claim is built around one number: the DIN, or Drug Identification Number. Every medicine approved in Canada has an 8-digit DIN. You type the DIN, the computer knows exactly which drug, strength and form you mean, and the plan checks whether it is covered.

A compound claim is different in several ways:

There is often no single DIN. A compound is made from two or more ingredients, and each ingredient may have its own DIN — or may not have one at all. The claim has to describe the preparation in a way the adjudicator's computer can understand, and that usually means listing the ingredients.

The price is built from the ingredients. For a normal prescription, the price is based on the listed price of the product. For a compound, the reimbursement is based on the cost of the quantity of each ingredient actually used to make the preparation. Only the amount used in that specific preparation is eligible — not the whole bottle of ingredient sitting on the shelf.

The documentation requirements are higher. Because the preparation is made for one patient and cannot be checked against a manufacturer's product, the pharmacy needs good records of what was made, from what ingredients, in what quantities, and for whom. The Ontario Drug Benefit program states clearly that claims are subject to post-payment verification, which means the Ministry can ask to see the records after the claim has been paid.

Private plans have their own rules. ODB has a published policy on extemporaneous preparations. Private insurers each have their own rules about which compounds they cover, and some are stricter than ODB. A compound that is covered under ODB may not be covered under a patient's private plan, and the other way around. Always check the specific plan.

What Is a DIN, and What Is a PIN?

To bill a compound, you need to understand two numbers that sound similar but do very different jobs.

A DIN (Drug Identification Number) is an 8-digit number assigned by Health Canada to a specific drug product. It identifies the drug, the strength, the dosage form and the manufacturer. Every approved medicine in Canada has one, and it is printed on the product packaging. When you bill a normal prescription, the DIN is the key that unlocks the claim.

A PIN (Product Identification Number) is a number used in place of a DIN for something that does not have a DIN. PINs are sometimes called "pseudo-DINs," because they look like DINs and are entered in the same field, but they are not issued by Health Canada. They are created by the payer — a provincial drug program, a private insurer or an adjudicator — so that a product or service can be billed electronically.

PINs are used for a wide range of things that have no DIN:

  • Extemporaneous preparations and individual compound ingredients
  • Diabetic supplies such as test strips and sensors
  • Medical supplies and devices
  • Nutrition products
  • Professional pharmacy services, such as medication reviews

Here is a real example of how PINs work. In 2026, the Ontario Ministry of Health published an updated notice about two mifepristone/misoprostol products. Each product was given its own PIN so pharmacies could bill it correctly: one product carries PIN 09858391 and the other carries PIN 09858392. The PIN tells the claim system exactly which product was supplied and what reimbursement applies. Without the PIN, the claim could not distinguish the two products, and neither could be billed electronically.

Another example: medication reviews under the MedsCheck program are billed through the Ontario Drug Benefit Health Network System using a special PIN, because a medication review is a service, not a drug, and has no DIN. The PIN makes the service billable in the same electronic system as a prescription.

The key point for a beginner is this: a PIN is not a lesser DIN. It is a different tool for a different job. When you see a PIN on a claim, it means the thing being billed has no DIN of its own, and the payer has created a number so it can be processed.

What Makes a Compound Eligible for ODB?

The Ontario Drug Benefit program will only pay for a compound if it meets certain conditions. The full policy is set out in Section 6.1 of the Ontario Drug Programs Reference Manual, and the details matter, but the broad principles are straightforward.

The ingredients must be eligible. The drugs used in the mixture must themselves be ODB benefits, or meet the program's rules for that product. If an ingredient is not an ODB benefit, its cost cannot be claimed. A compound made with a non-benefit ingredient does not become eligible simply because it was compounded.

Only the quantity used is eligible. The program pays for the cost of the quantity of each ingredient actually used in the preparation. If the pharmacist uses a small amount from a large container, only that small amount is claimed. This is one of the most common mistakes in compound billing — claiming for the whole container instead of the amount used.

The preparation must be made properly. The compound must meet the general guidelines for compounding set out in the National Association of Pharmacy Regulatory Authorities' guidance document. This covers things like proper procedures, suitable equipment, correct labelling and safe handling. A preparation that does not meet professional compounding standards is not eligible.

There must be a prescription. The compound must be prepared according to a valid prescription for a specific patient. Compounding is not done on speculation, and a preparation made without a prescription cannot be billed.

The patient must be eligible. The patient must be an ODB recipient on the date the compound is dispensed, just as with any other ODB claim.

There are also restrictions. The policy sets out situations where a preparation is not reimbursable, and the details are in the Reference Manual. As a general guide for a beginner, remember this: the program is designed to pay for medicines that patients need and cannot get any other way. It is not designed to pay for preparations that simply repackage a product that is already available, or that add ingredients for convenience rather than clinical need.

If you are unsure whether a particular compound is eligible, do not guess. Ask the pharmacist to check the policy, or to call the ODB Health Network System (HNS) Help Desk at 1-800-668-6641. That number is published in the Reference Manual for exactly these questions.

How a Compound Claim Is Put Together

Billing a compound is slower than billing a normal prescription, because there is more to enter and more to get right. The exact steps depend on your pharmacy software, but the information you need is the same everywhere.

Start with the patient and the prescription. Confirm the patient's eligibility and the prescription details, just as you would for any claim. Make sure you know who the prescriber is and that the prescription clearly describes the compound to be made.

Identify the ingredients. List every ingredient in the preparation, with the quantity of each that will be used. Each ingredient that has a DIN is entered with its DIN. Ingredients that have no DIN are handled according to the payer's rules — this is where PINs come in.

Enter the quantities used, not the quantities bought. This is the single most important detail in compound billing. The claim is for the amount of each ingredient that went into this preparation, not the size of the container it came from. If the formula calls for a small amount of an ingredient, that small amount is what gets claimed.

Add the compounding information. Depending on the software and the payer, there may be a specific field or code that identifies the claim as a compound. Your software may ask for a compound code, a mixture indicator, or a PIN that identifies the preparation as an extemporaneous preparation. Follow your software's prompts and the payer's instructions.

Check the dispensing fee and any mark-up. Compound claims can include a dispensing fee, and in some cases a mark-up on the ingredient cost, according to the payer's rules. These are calculated by the software based on the claim details, but it is worth checking that the fee applied is the one you expect. If the fee looks wrong, something in the claim is probably wrong too.

Review before submitting. Read the whole claim once before you press submit. Check the patient, the ingredients, the quantities and the payer. A compound claim that goes through with a wrong quantity is much harder to fix afterwards than a normal claim, because the payment is based on the quantities you entered.

Eligible vs Ineligible Compounds: General Guidance

The line between an eligible compound and an ineligible one is not always obvious, and it is not the same for every payer. But there are some general principles that will help you think about it correctly.

A compound is more likely to be eligible when:

  • No commercially available product meets the patient's need. The patient needs a strength, a form or a combination that no manufacturer sells.
  • The patient cannot use the commercial product. For example, they are allergic to an ingredient in it, or they cannot swallow the form it comes in.
  • The prescriber has given a clear clinical reason for the compound. The prescription explains why this preparation is needed for this patient.
  • The ingredients are all eligible benefits under the plan being billed.

A compound is more likely to be ineligible when:

  • A commercially available product does the same job. If the patient could use a product that is already on the market, the plan will usually expect them to use it.
  • The preparation is made for convenience rather than clinical need. Making a product in a different form because the patient prefers it, without a clinical reason, is not usually covered.
  • An ingredient is not a benefit under the plan. If one of the ingredients is not covered, the cost of that ingredient cannot be claimed.
  • The preparation does not meet compounding standards. A compound made without proper procedures or documentation is not eligible, whatever its ingredients.

These are general principles, not a checklist that decides every case. The Ontario Drug Benefit program's Reference Manual sets out the detailed rules, and private insurers have their own policies. When a compound falls into a grey area, the pharmacist should check the payer's rules before the preparation is made and billed — not after.

One more point that catches people out: a compound that is eligible under ODB is not automatically eligible under a private plan, and the reverse is also true. Private plans sometimes cover compounds that ODB does not, and sometimes refuse compounds that ODB would pay for. Always check the plan that is actually being billed.

Documentation: What to Record and Keep

Good documentation is not optional in compounding. It is part of the professional standard, part of the billing rules, and part of the pharmacy's protection if a claim is ever reviewed.

The Ontario Drug Benefit program states that claims reimbursed under the Ontario Drug Benefit Act are subject to post-payment verification. That means the Ministry can look at a claim after it has been paid and ask the pharmacy to show that the preparation was made correctly and billed correctly. If the records are not there, the payment can be taken back.

Here is what should be recorded for every compound:

  • The prescription. The original prescription, including the prescriber's details, the patient's details, the formula or the ingredients, and the quantity to be made.
  • The formula. The exact ingredients and the quantity of each used in the preparation. If the formula changes, the change should be recorded with the reason.
  • The ingredients used. For each ingredient, the product name, the DIN or PIN if it has one, the lot number and the expiry date where applicable.
  • The quantity made and the quantity dispensed. How much was prepared, and how much was given to the patient.
  • The date of preparation and the date of dispensing. These may be the same day or different days, and both matter.
  • The pharmacist who made and checked the preparation. Compounding is a pharmacist's responsibility, and the records should show who did the work.
  • Any communications with the prescriber. If the pharmacist called the doctor to clarify the formula or the dose, that conversation should be noted.
  • The claim details. What was submitted, to which payer, and what the response was.

Keep these records organised and easy to find. A shoebox of loose papers is not a filing system. Most pharmacies keep compound records with the patient's file or in a dedicated compounding log, and many pharmacy software systems have a place to record compounding details. Use whatever system your pharmacy has, and use it consistently.

A practical tip: when you are learning, ask the pharmacist to show you a complete compound file — prescription, formula, ingredient records and claim — from start to finish. Seeing one real example will teach you more about documentation than any list of rules.

Common Compound Rejections and How to Fix Them

Compound claims reject for a mix of the same reasons as normal claims and some reasons that are specific to compounds. Here are the ones you are most likely to see.

"Ingredient not a benefit." One of the ingredients in the compound is not covered under the plan. Check each ingredient against the plan's list. If an ingredient is not a benefit, the pharmacist may need to contact the prescriber about an alternative, or the patient may need to pay for that ingredient. Do not remove an ingredient from the claim to make it go through — that would be misrepresenting what was dispensed.

"Quantity exceeds the allowable amount." The quantity of an ingredient claimed is more than the plan allows, or more than the formula calls for. Check the formula and the quantities entered. Remember that the claim is for the quantity used in the preparation, not the size of the container.

"Product not covered" or "preparation not eligible." The payer does not consider this particular preparation eligible. Check the payer's policy. The pharmacist may need to contact the payer's help desk, or the prescriber may need to provide additional information about why the compound is needed.

"Missing information." The claim is missing a field that the payer requires for compounds, such as a compound indicator, a PIN, or a quantity for one of the ingredients. Review the claim against the payer's requirements and fill in what is missing.

"Duplicate claim." A claim for the same preparation and the same patient has already been submitted. Check whether the claim was already paid, and whether you are looking at a refill or a new preparation. A refill of a compound is billed as a new preparation, with its own quantities and documentation.

"Patient not eligible on the date of service." The patient was not covered by the plan on the date the compound was dispensed. Check the eligibility date and the dispensing date. If the compound was prepared on one day and dispensed on another, make sure the claim uses the dispensing date.

As with any rejection, the habit that helps most is to read the message carefully, check the claim against the prescription and the formula, fix one thing at a time, and resubmit. If the rejection does not make sense, call the payer's help desk — for ODB, that is the HNS Help Desk at 1-800-668-6641 — and ask the pharmacist to make the call with the claim details in front of them.

Worked Example: A Compound Claim from Start to Finish

Let us walk through a realistic example to see how the pieces fit together.

A prescription arrives for a young child who needs a liquid medicine. The drug is only sold as a tablet, and the child cannot swallow tablets. The doctor has prescribed the drug to be compounded into a liquid at a specific strength, in a specific quantity.

The pharmacist checks the formula and confirms that the ingredients are appropriate and that the preparation can be made safely in the pharmacy. The pharmacist also checks that the ingredients are ODB benefits, because the child is covered under OHIP+.

You, the assistant, help put the claim together. You enter the patient's details and the prescription details. You list the ingredients with the quantities that will be used — not the full containers they came from. The software asks for the compound details, and you enter them as prompted. You review the whole claim once, checking the patient, the ingredients and the quantities against the prescription and the formula.

You press submit. The response comes back approved, with the amount the plan will pay and the patient's share — in this case, nothing, because the child is covered under OHIP+ and has no private insurance.

Later, the same child needs a refill. The pharmacist makes a fresh preparation, because a compound is made for one patient at one time and is not kept on the shelf. You put together a new claim, with new quantities and a new date, and submit it the same way.

Notice what made this work: the prescription was clear, the formula was documented, the quantities were the amounts actually used, and the ingredients were eligible. None of that is glamorous. All of it is what compound billing actually is.

Five Practical Tips for New Pharmacy Assistants

1. Never guess a quantity. The quantity of each ingredient is the heart of a compound claim. If you are not sure how much of an ingredient was used, ask the pharmacist. Guessing a quantity is guessing at the payment, and it is also misrepresenting what was dispensed.

2. Learn the difference between a DIN and a PIN. When you see a number on a claim, know which one it is and why it is there. A DIN identifies a Health Canada approved drug product. A PIN identifies something that has no DIN — a compound ingredient, a supply, a device or a service — so it can be billed electronically.

3. Keep the formula with the claim. The formula is the link between the prescription, the preparation and the payment. If the formula and the claim do not match, something is wrong, and it is better to find it before submitting than after.

4. Do not remove an ingredient to make a claim go through. If a claim rejects because an ingredient is not a benefit, the answer is not to leave that ingredient off the claim. The answer is to talk to the pharmacist, who may need to contact the prescriber or the payer.

5. Ask the pharmacist to show you a real compound file. A complete example — prescription, formula, ingredient records and claim — will teach you more than any guide. Ask to see one in your first weeks, and ask questions about every part of it.

Frequently Asked Questions

What is an extemporaneous preparation? An extemporaneous preparation is a drug or combination of drugs prepared or compounded in a pharmacy according to a prescription, for a specific patient. It is made when it is needed, in the quantity prescribed, rather than being manufactured in advance and kept on a shelf.

What is the difference between a DIN and a PIN? A DIN (Drug Identification Number) is an 8-digit number assigned by Health Canada to a specific approved drug product. A PIN (Product Identification Number) is a number created by a payer — such as a provincial drug program or an insurer — for something that has no DIN, so it can be billed electronically. PINs are used for compound ingredients, diabetic supplies, devices, nutrition products and professional services. They are sometimes called pseudo-DINs.

Are all compounds covered by ODB? No. The Ontario Drug Benefit program pays for a compound only if it meets the conditions in its extemporaneous preparations policy. The ingredients must be eligible benefits, only the quantity of each ingredient actually used is claimable, and the preparation must meet professional compounding standards. If a commercially available product would do the same job, the compound is generally not covered.

Why does the claim ask for the quantity of each ingredient? Because the reimbursement is based on the cost of the quantity of each ingredient used in the preparation. Only the amount that went into this specific preparation is eligible — not the whole container the ingredient came from. Entering the wrong quantity is one of the most common compound billing mistakes.

Can a compound be billed to a private plan? Yes, but private plans have their own rules, and they are not the same as ODB's rules. A compound covered under ODB may not be covered under a private plan, and a private plan may cover a compound that ODB does not. Always check the rules of the plan actually being billed, and do not assume that approval under one plan means approval under another.

What happens if a compound claim is audited? Claims paid under the Ontario Drug Benefit Act are subject to post-payment verification, which means the Ministry can review a claim after it has been paid and ask the pharmacy to show its records. This is why documentation matters so much: the prescription, the formula, the ingredient records and the claim details should all be kept and easy to find. Good records protect the pharmacy and the patient.

Start Your Pharmacy Career with LearnRx

Compounding is one of the most satisfying parts of pharmacy work. It is also one of the most demanding, because it asks you to be precise twice: once in making the medicine, and once in billing for it. The assistants who are good at compound billing are the ones who understand why each field matters, not just which boxes to fill in.

LearnRx is Canada's training platform for pharmacy assistants, technicians and international pharmacy graduates. Our courses cover Canadian third-party billing, Kroll software workflows, ODB adjudication and compound claim scenarios, all taught by licensed Canadian pharmacy instructors.

Explore our free resources, including the Ontario Drug Benefit (ODB) Codes Database, the Pharmacy Intervention Codes Directory and the Canadian Carrier IDs List, or book a 1-on-1 mentorship session to practise live claim submissions, compound billing drills and real pharmacy scenarios with an instructor.