<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="LogicalModel-OMOP-Person" />
  <meta>
    <versionId value="6" />
    <lastUpdated value="2022-06-20T08:53:17.4700841+00:00" />
  </meta>
  <url value="https://fhir.ohdsi.org/LogicalModel/OMOPPerson" />
  <name value="LogicalModelOMOPPerson" />
  <title value="LogicalModel OMOP Person" />
  <status value="draft" />
  <date value="2022-06-20T15:18:48.5858112+00:00" />
  <description value="This table serves as the central identity management for all Persons in the database. It contains records that uniquely identify each person or patient, and some demographic information." />
  <fhirVersion value="4.0.1" />
  <mapping>
    <identity value="OMOP-CDM-v5.3.1" />
    <uri value="https://ohdsi.github.io/CommonDataModel/cdm531.html" />
    <name value="OMOP Common Data Model v5.3.1" />
  </mapping>
  <mapping>
    <identity value="OMOP-CDM-v6.0" />
    <uri value="https://ohdsi.github.io/CommonDataModel/cdm60.html" />
  </mapping>
  <kind value="logical" />
  <abstract value="false" />
  <type value="https://fhir.ohdsi.org/LogicalModels/OMOPPerson" />
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Element" />
  <derivation value="specialization" />
  <differential>
    <element id="OMOPPerson">
      <path value="OMOPPerson" />
      <definition value="This table serves as the central identity management for all Persons in the database. It contains records that uniquely identify each person or patient, and some demographic information." />
      <min value="0" />
      <max value="*" />
      <type>
        <code value="Element" />
      </type>
      <mapping>
        <identity value="OMOP-CDM-v5.3.1" />
        <map value="Person" />
      </mapping>
    </element>
    <element id="OMOPPerson.person_id">
      <path value="OMOPPerson.person_id" />
      <definition value="It is assumed that every person with a different unique identifier is in fact a different person and should be treated independently.&#xD;&#xA;&#xD;&#xA;Any person linkage that needs to occur to uniquely identify Persons ought to be done prior to writing this table. This identifier can be the original id from the source data provided if it is an integer, otherwise it can be an autogenerated number." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </type>
      <mapping>
        <identity value="OMOP-CDM-v5.3.1" />
        <map value="Person.person_id" />
      </mapping>
    </element>
    <element id="OMOPPerson.gender_concept_id">
      <path value="OMOPPerson.gender_concept_id" />
      <definition value="This field is meant to capture the biological sex at birth of the Person. This field should not be used to study gender identity issues." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="CodeableConcept" />
        <profile value="http://hl7.org/fhir/StructureDefinition/CodeableConcept" />
      </type>
      <binding>
        <strength value="required" />
        <valueSet value="https://fhir.ohdsi.org/ValueSet/OMOPGender" />
      </binding>
      <mapping>
        <identity value="OMOP-CDM-v5.3.1" />
        <map value="Person.gender_concept_id" />
      </mapping>
    </element>
    <element id="OMOPPerson.year_of_birth">
      <path value="OMOPPerson.year_of_birth" />
      <definition value="Compute age using year_of_birth.&#xD;&#xA;&#xD;&#xA;For data sources with date of birth, the year should be extracted. For data sources where the year of birth is not available, the approximate year of birth could be derived based on age group categorization, if available." />
      <min value="1" />
      <max value="1" />
      <type>
        <code value="integer" />
        <profile value="http://hl7.org/fhir/StructureDefinition/integer" />
      </type>
      <mapping>
        <identity value="OMOP-CDM-v5.3.1" />
        <map value="Person.year_of_birth" />
      </mapping>
    </element>
  </differential>
</StructureDefinition>