<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="aca01041-ba0d-4a64-b5ac-15c3a70118da" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-11-30T23:53:39.298+00:00" />
  </meta>
  <url value="http://ohdsi.org/cdm/drug_exposure" />
  <version value="ohdsi-cdm-v5" />
  <name value="OHDSI Drug Exposure" />
  <status value="draft" />
  <publisher value="Mayo Clinic Standards and Interoperability Program" />
  <contact>
    <name value="MCSI team" />
  </contact>
  <date value="2016-11-28T18:50:48-06:00" />
  <description value="This is an OHDSI Drug Exposure Table represented as FHIR StructureDefinition" />
  <kind value="logical" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <snapshot>
    <element>
      <path value="DrugExposure" />
      <short value="DrugExposure" />
      <definition value="A Drug Exposure Table" />
      <min value="0" />
      <max value="*" />
    </element>
    <element>
      <path value="DrugExposure.drug_exposure_id" />
      <short value="drug_exposure_id" />
      <definition value="A system-generated unique identifier for each Drug utilization event." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.person_id" />
      <short value="person_id" />
      <definition value="A foreign key identifier to the person who is subjected to the Drug. The demographic details of that person are stored in the person table." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.drug_concept_id" />
      <short value="drug_concept_id" />
      <definition value="A foreign key that refers to a Standard Concept identifier in the Standardized Vocabularies for the Drug concept." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.drug_exposure_start_date" />
      <short value="drug_exposure_start_date" />
      <definition value="The start date for the current instance of Drug utilization. Valid entries include a start date of a prescription, the date a prescription was filled, or the date on which a Drug administration procedure was recorded." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.drug_exposure_end_date" />
      <short value="drug_exposure_end_date" />
      <definition value="The end date for the current instance of Drug utilization. It is not available from all sources." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.drug_type_concept_id" />
      <short value="drug_type_concept_id" />
      <definition value="A foreign key to the predefined Concept identifier in the Standardized Vocabularies reflecting the type of Drug Exposure recorded. It indicates how the Drug Exposure was represented in the source data." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.stop_reason" />
      <short value="stop_reason" />
      <definition value="The reason the Drug was stopped. Reasons include regimen completed, changed, removed, etc." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.refills" />
      <short value="refills" />
      <definition value="The number of refills after the initial prescription. The initial prescription is not counted, values start with 0." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="integer" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.quantity" />
      <short value="quantity" />
      <definition value="The quantity of drug as recorded in the original prescription or dispensing record." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="decimal" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.days_supply" />
      <short value="days_supply" />
      <definition value="The number of days of supply of the medication as recorded in the original prescription or dispensing record." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="integer" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.sig" />
      <short value="sig" />
      <definition value="The directions (“signetur”) on the Drug prescription as recorded in the original prescription (and printed on the container) or dispensing record." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.route_concept_id" />
      <short value="route_concept_id" />
      <definition value="A foreign key to a predefined concept in the Standardized Vocabularies reflecting the route of administration." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.effective_drug_dose" />
      <short value="effective_drug_dose" />
      <definition value="Numerical value of Drug dose for this Drug Exposure record." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="decimal" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.dose_unit_concept_ id" />
      <short value="dose_unit_concept_ id" />
      <definition value="A foreign key to a predefined concept in the Standardized Vocabularies reflecting the unit the effective_drug_dose value is expressed." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.lot_number" />
      <short value="lot_number" />
      <definition value="An identifier assigned to a particular quantity or lot of Drug product from the manufacturer." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.provider_id" />
      <short value="provider_id" />
      <definition value="A foreign key to the provider in the provider table who initiated (prescribed or administered) the Drug Exposure." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.visit_occurrence_id" />
      <short value="visit_occurrence_id" />
      <definition value="A foreign key to the visit in the visit table during which the Drug Exposure was initiated." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.drug_source_value" />
      <short value="drug_source_value" />
      <definition value="The source code for the Drug as it appears in the source data. This code is mapped to a Standard Drug concept in the Standardized Vocabularies and the original code is, stored here for reference." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.drug_source_concept_id" />
      <short value="drug_source_concept_id" />
      <definition value="A foreign key to a Drug Concept that refers to the code used in the source." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.route_source_value" />
      <short value="route_source_value" />
      <definition value="The information about the route of administration as detailed in the source." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="DrugExposure.dose_unit_source_value" />
      <short value="dose_unit_source_value" />
      <definition value="The information about the dose unit as detailed in the source." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </snapshot>
</StructureDefinition>