<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="ac295430-0cdb-4841-82bc-3fba8feb8941" />
  <meta>
    <versionId value="1" />
    <lastUpdated value="2016-11-30T23:51:29.21+00:00" />
  </meta>
  <url value="http://ohdsi.org/cdm/observation" />
  <version value="ohdsi-cdm-v5" />
  <name value="OHDSI Observation" />
  <status value="draft" />
  <publisher value="Mayo Clinic Standards and Interoperability Program" />
  <contact>
    <name value="MCSI team" />
  </contact>
  <date value="2016-11-28T19:02:09-06:00" />
  <description value="This is an OHDSI Observation Table represented as FHIR StructureDefinition" />
  <kind value="logical" />
  <abstract value="false" />
  <base value="http://hl7.org/fhir/StructureDefinition/DomainResource" />
  <snapshot>
    <element>
      <path value="Observation" />
      <short value="Observation" />
      <definition value="An Observation Table" />
      <min value="0" />
      <max value="*" />
    </element>
    <element>
      <path value="Observation.observation_id" />
      <short value="observation_id" />
      <definition value="A unique identifier for each observation." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.person_id" />
      <short value="person_id" />
      <definition value="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 value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.observation_concept_id" />
      <short value="observation_concept_id" />
      <definition value="A foreign key to the standard observation concept identifier in the Standardized Vocabularies." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.observation_date" />
      <short value="observation_date" />
      <definition value="The date of the observation." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="date" />
      </type>
    </element>
    <element>
      <path value="Observation.observation_time" />
      <short value="observation_time" />
      <definition value="The time of the observation." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="dateTime" />
      </type>
    </element>
    <element>
      <path value="Observation.observation_type_concept_id" />
      <short value="observation_type_concept_id" />
      <definition value="A foreign key to the predefined concept identifier in the Standardized Vocabularies reflecting the type of the observation." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.value_as_number" />
      <short value="value_as_number" />
      <definition value="The observation result stored as a number. This is applicable to observations where the result is expressed as a numeric value." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="decimal" />
      </type>
    </element>
    <element>
      <path value="Observation.value_as_string" />
      <short value="value_as_string" />
      <definition value="The observation result stored as a string. This is applicable to observations where the result is expressed as verbatim text." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Observation.value_as_concept_id" />
      <short value="value_as_concept_id" />
      <definition value="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 value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.qualifier_concept_id" />
      <short value="qualifier_concept_id" />
      <definition value="A foreign key to a Standard Concept ID for a qualifier (e.g., severity of drug-drug interaction alert)" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.unit_concept_id" />
      <short value="unit_concept_id" />
      <definition value="A foreign key to a Standard Concept ID of measurement units in the Standardized Vocabularies." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.provider_id" />
      <short value="provider_id" />
      <definition value="A foreign key to the provider in the PROVIDER table who was responsible for making the observation." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.visit_occurrence_id" />
      <short value="visit_occurrence_id" />
      <definition value="A foreign key to the visit in the VISIT_OCCURRENCE table during which the observation was recorded." />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="id" />
      </type>
    </element>
    <element>
      <path value="Observation.observation_source_value" />
      <short value="observation_source_value" />
      <definition value="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 value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Observation.observation_source_concept_id" />
      <short value="observation_source_concept_id" />
      <definition value="A foreign key to a 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="Observation.unit_source_value" />
      <short value="unit_source_value" />
      <definition value="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 value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
    <element>
      <path value="Observation.qualifier_source_value" />
      <short value="qualifier_source_value" />
      <definition value="The source value associated with a qualifier to characterize the observation" />
      <min value="0" />
      <max value="1" />
      <type>
        <code value="string" />
      </type>
    </element>
  </snapshot>
</StructureDefinition>