lspace.ns.vocab.schema.DrugCost.scala Maven / Gradle / Ivy
The newest version!
package lspace.ns.vocab.schema
import lspace.ns.vocab.schema._
import lspace.structure.{Property => LProperty, OntologyDef}
object DrugCost extends OntologyDef(
iri = "http://schema.org/DrugCost",
iris = Set("http://schema.org/DrugCost"),
label = "DrugCost",
comment = """The cost per unit of a medical drug. Note that this type is not meant to represent the price in an offer of a drug for sale; see the Offer type for that. This type will typically be used to tag wholesale or average retail cost of a drug, or maximum reimbursable cost. Costs of medical drugs vary widely depending on how and where they are paid for, so while this type captures some of the variables, costs should be used with caution by consumers of this schema's markup.""",
`@extends` = List(MedicalEnumeration.ontology)
){
object keys extends lspace.ns.vocab.schema.MedicalEnumeration.Properties{
lazy val applicableLocation = lspace.ns.vocab.schema.applicableLocation.property
lazy val costCategory = lspace.ns.vocab.schema.costCategory.property
lazy val costCurrency = lspace.ns.vocab.schema.costCurrency.property
lazy val costOrigin = lspace.ns.vocab.schema.costOrigin.property
lazy val costPerUnit = lspace.ns.vocab.schema.costPerUnit.property
lazy val drugUnit = lspace.ns.vocab.schema.drugUnit.property
}
override lazy val properties: List[LProperty] = List(applicableLocation, costCategory, costCurrency, costOrigin, costPerUnit, drugUnit)
trait Properties extends lspace.ns.vocab.schema.MedicalEnumeration.Properties{
lazy val applicableLocation = lspace.ns.vocab.schema.applicableLocation.property
lazy val costCategory = lspace.ns.vocab.schema.costCategory.property
lazy val costCurrency = lspace.ns.vocab.schema.costCurrency.property
lazy val costOrigin = lspace.ns.vocab.schema.costOrigin.property
lazy val costPerUnit = lspace.ns.vocab.schema.costPerUnit.property
lazy val drugUnit = lspace.ns.vocab.schema.drugUnit.property
}
}