Quantity leaf node


URI

https://w3id.org/omop/ontology/quantity

Label

Quantity

Description

For Specimen: The amount of specimen collected from the person. - For Drug Exposure: To find the dose form of a drug the RELATIONSHIP table can be used where the relationship_id is 'Has dose form'. If liquid, quantity stands for the total amount dispensed or ordered of ingredient in the units given by the drug_strength table. If the unit from the source data does not align with the unit in the DRUG_STRENGTH table the quantity should be converted to the correct unit given in DRUG_STRENGTH. For clinical drugs with fixed dose forms (tablets etc.) the quantity is the number of units/tablets/capsules prescribed or dispensed (can be partial, but then only 1/2 or 1/3, not 0.01). Clinical drugs with divisible dose forms (injections) the quantity is the amount of ingredient the patient got. For example, if the injection is 2mg/mL but the patient got 80mL then quantity is reported as 160.
Quantified clinical drugs with divisible dose forms (prefilled syringes), the quantity is the amount of ingredient similar to clinical drugs. Please see [how to calculate drug dose](https://ohdsi.github.io/CommonDataModel/drug_dose.html) for more information.
- For Procedure Occurrence: If the quantity value is omitted, a single procedure is assumed.
If a Procedure has a quantity of '0' in the source, this should default to '1' in the ETL. If there is a record in the source it can be assumed the exposure occurred at least once

Usage

DOMAINPROPERTYRANGE
Blank node (see implementation) Quantity owl:Thing (inferred)

Implementation

@prefix omop: <https://w3id.org/omop/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

omop:quantity a owl:DatatypeProperty,
        owl:FunctionalProperty ;
    rdfs:label "Quantity"^^xsd:string ;
    rdfs:comment """For Drug Exposure: To find the dose form of a drug the RELATIONSHIP table can be used where the relationship_id is 'Has dose form'. If liquid, quantity stands for the total amount dispensed or ordered of ingredient in the units given by the drug_strength table. If the unit from the source data does not align with the unit in the DRUG_STRENGTH table the quantity should be converted to the correct unit given in DRUG_STRENGTH. For clinical drugs with fixed dose forms (tablets etc.) the quantity is the number of units/tablets/capsules prescribed or dispensed (can be partial, but then only 1/2 or 1/3, not 0.01). Clinical drugs with divisible dose forms (injections) the quantity is the amount of ingredient the patient got. For example, if the injection is 2mg/mL but the patient got 80mL then quantity is reported as 160.
Quantified clinical drugs with divisible dose forms (prefilled syringes), the quantity is the amount of ingredient similar to clinical drugs. Please see [how to calculate drug dose](https://ohdsi.github.io/CommonDataModel/drug_dose.html) for more information.
"""@en,
        """For Procedure Occurrence: If the quantity value is omitted, a single procedure is assumed.
If a Procedure has a quantity of '0' in the source, this should default to '1' in the ETL. If there is a record in the source it can be assumed the exposure occurred at least once"""@en,
        "For Specimen: The amount of specimen collected from the person."@en ;
    rdfs:domain [ a owl:Class ;
            owl:unionOf ( omop:DrugExposure omop:Specimen omop:DeviceExposure omop:ProcedureOccurrence ) ] ;
    omop:omop_cdm_name "device_exposure.quantity#123 AS int"^^xsd:string,
        "drug_exposure.quantity#88 AS float"^^xsd:string,
        "procedure_occurrence.quantity#107 AS int"^^xsd:string,
        "specimen.quantity#213 AS float"^^xsd:string .