Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UnitCode problems when used as unit of dosage #250

Closed
dvribeira opened this issue Nov 9, 2023 · 19 comments
Closed

UnitCode problems when used as unit of dosage #250

dvribeira opened this issue Nov 9, 2023 · 19 comments
Assignees
Labels
terminology value set Value set related issue
Milestone

Comments

@dvribeira
Copy link
Contributor

Our problem:

There are two semantically different units to be used: units of presentation (what comes in the packaging/article) and units of administration (units suitable to express drug intake/administration). At present, CH EMED uses, besides the UCUM codes, only the SNOMED codes for unit of presentation for both cases (e.g. Medication.amount through CHEMEDRatioWithEmedUnits fields numerator and denominator being CHEMEDQuantityWithEmedUnits which have the code bound to UnitCode). Now, for instance, in the case of a treatment with an inhaler, the unit of presentation would be, as it is the case now, code 732997007 i.e. Inhaler. Now if the planned dosage is to be twice inhalations per day, we cannot use the same unit, since that would mean that the intake is 2 inhalers per day and not two inhalations. For this, SNOMED has codes for unit of drug administration: https://browser.ihtsdotools.org/?perspective=full&conceptId1=408103002 which would allow us to use for this example the code 422237004 for Inhalation (https://browser.ihtsdotools.org/?perspective=full&conceptId1=422237004).

Proposal:

  • Keep the medication resource as is, using CHEMEDRatioWithEmedUnits for the amount field.
  • Keep CHEMEDRatioWithEmedUnits using CHEMEDQuantityWithEmedUnits for both numerator and denominator fields but rename it to something like CHEMEDRatioWithEmedPresentationUnits.
  • Rename UnitCode to PresentationUnitCode.
  • Rename CHEMEDQuantityWithEmedUnits to CHEMEDQuantityWithEmedPresentationUnits.
  • Add new value set AdministrationUnitCode or DoseUnitCode with the same UCUM codes but using the SNOMED codes from https://browser.ihtsdotools.org/?perspective=full&conceptId1=408102007 instead.
  • Add the data type CHEMEDQuantityWithEmedDoseUnits with code bound to DoseUnitCode.
  • Rename CHEMEDRangeWithEmedUnits to CHEMEDRangeWithEmedDoseUnits and change low and high fields to use CHEMEDQuantityWithEmedDoseUnits.
  • Replace CHEMEDQuantityWithEmedUnits with CHEMEDQuantityWithEmedDoseUnits in the dosage data types:
    • CHEMEDDosage.doseAndRate.doseQuantity
    • CHEMEDDosageSplit.doseAndRate.doseQuantity

I hope this is clear but let me know what you think or if something is not clear or if I can provide anything else to help.

@ziegm
Copy link
Collaborator

ziegm commented Nov 10, 2023

@dvribeira
I tried to make an overview of the usage of the units with your proposal. Could you please have a look, if I understood your proposal the correct way?

@ziegm ziegm added terminology value set Value set related issue labels Nov 15, 2023
@dvribeira
Copy link
Contributor Author

I somehow missed the notification 5 days ago. I will have a look first thing this afternoon. Thanks a lot!

@dvribeira
Copy link
Contributor Author

dvribeira commented Nov 15, 2023

@ziegm The proposal is well summarized in the spreadsheet. Perhaps the example I provided is not the best since one could use either inhalation (administration) or indeed actuation (presentation) to express the dosage. Perhaps it would be more tricky for an applicator for which we would have application in the units of administration for instance for https://compendium.ch/product/1510171-bepanthen-med-creme and a very difficult choice on the current UnitCode.

Thanks!

@ziegm
Copy link
Collaborator

ziegm commented Nov 15, 2023

@dvribeira May you could add the example in the sheet?

@dvribeira
Copy link
Contributor Author

@ziegm I have added two examples that I hope are of use by using the data on the HCI indices.

@ziegm
Copy link
Collaborator

ziegm commented Nov 16, 2023

16.11.2023 PJ/OE/MZ:

Evaluation/Discussion:

  • Var 1: Proposal from this issue
  • Var 2: stay with 1 VS and add additional codes

Next step: Integrate a proposal for Var 1 in the next release (v5.0.0-ballot) and collect feedback from the implementers

@dvribeira
Copy link
Contributor Author

dvribeira commented Nov 29, 2023

I know this will not be part of 4.0.0 but in any case I would ask to put this on hold for a while (if we are the only requestors). After another meeting for feedback with a pharmacist we have found that it seems the second set of SNOMED codes (the ones for administration) would also be incomplete after all (at least for what it concerns HUG's PRESCO application). I am trying to get a more complete view of each CARA PMP involved implementer's needs on this in the hopes I can finally get a proper view. In the meantime I apologize for any possible wasted effort and ask not to proceed with this for now.

Once I manage to gain a better understanding of the other system's needs I will get back to this issue.

Thanks a lot :)

@ziegm
Copy link
Collaborator

ziegm commented Jan 4, 2024

@dvribeira
As we are already starting to work on the ballot version, I'd like to know where you are standing on this issue, because you asked to put it on hold. Thx!

@dvribeira
Copy link
Contributor Author

@ziegm Sorry for the delay, I have returned from my holidays only today. I managed to get feedback from all the involved implementers only just before the Christmas holidays, so I didn't have time yet to fully address this on our side. However, I can say that:

  • It seems we would still be missing some important units in the SNOMED units of administration set.
  • If we would have to also complete units of administration then we could live with just completing the current UnitCode value set with what's missing and not separating in two value sets. This should be easier for implementers.

I do not think I will find the time to work on this on what's left of the week, but I hope to work on this next week. Since this work will entail also discussions it might still take a while until I can provide more refined (and more final) feedback on this: I wish to firmly establish which units are needed and how to map them for all the actors involved.

In the meantime: how feasible do you think it would be to add values to UnitCode that are not currently in neither of the aforementioned SNOMED sets?

Many thanks!
Daniel

@ziegm ziegm assigned pjolo and unassigned ziegm Jan 30, 2024
@dvribeira
Copy link
Contributor Author

dvribeira commented Mar 21, 2024

From the units in Code type 9 from HCI index, it seems nmol would be missing and also I am not sure about the following:
Pfl Pflaster patch -> 733010002 pflaster|plaster|emplâtre or 733005001 patch|patch|patch ?
Teilpck Teilpackung emballage individuel -> 1681000175101 package ?

For the mapping of units of the prescription software of HUG, we would miss application as in applying a creme.

@ziegm
Copy link
Collaborator

ziegm commented Mar 21, 2024

21.03.2024 PJ, DV, QL, MZ, AB

@pjolo
Copy link
Collaborator

pjolo commented Mar 26, 2024

@ziegm

  • Do I have to insert the code nmol (nanomole) in ArtDecor or can this be done directly in CH Term?
  • The SNOMED code 413568008 | Application - unit of product usage (qualifier value) can be included. For the translations, it must be checked if there is enough time for the Swiss extension release.

@ziegm
Copy link
Collaborator

ziegm commented Mar 26, 2024

@ziegm

  • Do I have to insert the code nmol (nanomole) in ArtDecor or can this be done directly in CH Term?
  • The SNOMED code 413568008 | Application - unit of product usage (qualifier value) can be included. For the translations, it must be checked if there is enough time for the Swiss extension release.

@pjolo yes please, include both in art decor

@pjolo
Copy link
Collaborator

pjolo commented Mar 26, 2024

@ziegm I have included both codes

image

image

@ziegm
Copy link
Collaborator

ziegm commented Mar 26, 2024

@oliveregger could you please update the import of the CH Term VS from Art-Decor?

@oliveregger
Copy link
Collaborator

@ziegm see PR above

@oliveregger oliveregger assigned ziegm and unassigned oliveregger Mar 27, 2024
ziegm added a commit that referenced this issue Mar 28, 2024
@ziegm
Copy link
Collaborator

ziegm commented Mar 28, 2024

@dvribeira @pjolo you can review the changes:

@ziegm ziegm assigned pjolo and dvribeira and unassigned ziegm Mar 28, 2024
@pjolo
Copy link
Collaborator

pjolo commented Mar 28, 2024

From my side the changes are good

@dvribeira
Copy link
Contributor Author

Good for me too. Thanks!

@ziegm ziegm closed this as completed Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
terminology value set Value set related issue
Projects
None yet
Development

No branches or pull requests

4 participants