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

More Units for medical needings #596

Open
ASchmidt84 opened this issue May 19, 2023 · 0 comments
Open

More Units for medical needings #596

ASchmidt84 opened this issue May 19, 2023 · 0 comments

Comments

@ASchmidt84
Copy link

Hi,

for a few medical neddings I need more units. I have a labor report and need to"understand" that values and to be able to calculate the differnences to an special value and also to show the normal range. Also are their a few mor units which not be their.
Maybe do you have a workaround or a way to enhance them.

  1. I need femtoliters and picograms
object Picograms extends MassUnit with SiUnit {
  val conversionFactor = MetricSystem.Pico
  val symbol = "pg"
}
object Femtoliters extends VolumeUnit {
  val symbol = "fl"
  val conversionFactor = Litres.conversionFactor * MetricSystem.Femto
}
  1. Also their exists a unit called Unit. The Unit comes a long with the possible to set it to U/l (Units/liters). Their is no conversion to any other Unit. But it could be calculated to kiloUnits/liter or so on. What would be their the best way.
  2. Their a also a "range" of counted items on µl (like 4.73 Mio/µl) => this means 4.730.000 / µl
4730000 / milliliter //Leads to Any and not a specific Type

Do anyone have an idea?

Thanks a lot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant