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