{
  "resourceType": "StructureDefinition",
  "id": "ac295430-0cdb-4841-82bc-3fba8feb8941",
  "meta": {
    "versionId": "1",
    "lastUpdated": "2016-11-30T23:51:29.21+00:00"
  },
  "url": "http://ohdsi.org/cdm/observation",
  "version": "ohdsi-cdm-v5",
  "name": "OHDSI Observation",
  "status": "draft",
  "publisher": "Mayo Clinic Standards and Interoperability Program",
  "contact": [
    {
      "name": "MCSI team"
    }
  ],
  "date": "2016-11-29T01:02:09+00:00",
  "description": "This is an OHDSI Observation Table represented as FHIR StructureDefinition",
  "kind": "logical",
  "abstract": false,
  "base": "http://hl7.org/fhir/StructureDefinition/DomainResource",
  "snapshot": {
    "element": [
      {
        "path": "Observation",
        "short": "Observation",
        "definition": "An Observation Table",
        "min": 0,
        "max": "*"
      },
      {
        "path": "Observation.observation_id",
        "short": "observation_id",
        "definition": "A unique identifier for each observation.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.person_id",
        "short": "person_id",
        "definition": "A foreign key identifier to the Person about whom the observation was recorded. The demographic details of that Person are stored in the PERSON table.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.observation_concept_id",
        "short": "observation_concept_id",
        "definition": "A foreign key to the standard observation concept identifier in the Standardized Vocabularies.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.observation_date",
        "short": "observation_date",
        "definition": "The date of the observation.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "date"
          }
        ]
      },
      {
        "path": "Observation.observation_time",
        "short": "observation_time",
        "definition": "The time of the observation.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "dateTime"
          }
        ]
      },
      {
        "path": "Observation.observation_type_concept_id",
        "short": "observation_type_concept_id",
        "definition": "A foreign key to the predefined concept identifier in the Standardized Vocabularies reflecting the type of the observation.",
        "min": 1,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.value_as_number",
        "short": "value_as_number",
        "definition": "The observation result stored as a number. This is applicable to observations where the result is expressed as a numeric value.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "decimal"
          }
        ]
      },
      {
        "path": "Observation.value_as_string",
        "short": "value_as_string",
        "definition": "The observation result stored as a string. This is applicable to observations where the result is expressed as verbatim text.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "Observation.value_as_concept_id",
        "short": "value_as_concept_id",
        "definition": "A foreign key to an observation result stored as a Concept ID. This is applicable to observations where the result can be expressed as a Standard Concept from the Standardized Vocabularies (e.g., positive/negative, present/absent, low/high, etc.).",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.qualifier_concept_id",
        "short": "qualifier_concept_id",
        "definition": "A foreign key to a Standard Concept ID for a qualifier (e.g., severity of drug-drug interaction alert)",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.unit_concept_id",
        "short": "unit_concept_id",
        "definition": "A foreign key to a Standard Concept ID of measurement units in the Standardized Vocabularies.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.provider_id",
        "short": "provider_id",
        "definition": "A foreign key to the provider in the PROVIDER table who was responsible for making the observation.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.visit_occurrence_id",
        "short": "visit_occurrence_id",
        "definition": "A foreign key to the visit in the VISIT_OCCURRENCE table during which the observation was recorded.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.observation_source_value",
        "short": "observation_source_value",
        "definition": "The observation code as it appears in the source data. This code is mapped to a Standard Concept in the Standardized Vocabularies and the original code is, stored here for reference.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "Observation.observation_source_concept_id",
        "short": "observation_source_concept_id",
        "definition": "A foreign key to a Concept that refers to the code used in the source.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "id"
          }
        ]
      },
      {
        "path": "Observation.unit_source_value",
        "short": "unit_source_value",
        "definition": "The source code for the unit as it appears in the source data. This code is mapped to a standard unit concept in the Standardized Vocabularies and the original code is, stored here for reference.",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      },
      {
        "path": "Observation.qualifier_source_value",
        "short": "qualifier_source_value",
        "definition": "The source value associated with a qualifier to characterize the observation",
        "min": 0,
        "max": "1",
        "type": [
          {
            "code": "string"
          }
        ]
      }
    ]
  }
}