Skip to content

More Units for medical needings #596

@ASchmidt84

Description

@ASchmidt84

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions