{
  "resourceType": "StructureDefinition",
  "id": "LogicalModel-OMOP-Person",
  "meta": {
    "versionId": "6",
    "lastUpdated": "2022-06-20T08:53:17.4700841+00:00"
  },
  "url": "https://fhir.ohdsi.org/LogicalModel/OMOPPerson",
  "name": "LogicalModelOMOPPerson",
  "title": "LogicalModel OMOP Person",
  "status": "draft",
  "date": "2022-06-20T15:18:48.5858112+00:00",
  "description": "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": "4.0.1",
  "mapping": [
    {
      "identity": "OMOP-CDM-v5.3.1",
      "uri": "https://ohdsi.github.io/CommonDataModel/cdm531.html",
      "name": "OMOP Common Data Model v5.3.1"
    },
    {
      "identity": "OMOP-CDM-v6.0",
      "uri": "https://ohdsi.github.io/CommonDataModel/cdm60.html"
    }
  ],
  "kind": "logical",
  "abstract": false,
  "type": "https://fhir.ohdsi.org/LogicalModels/OMOPPerson",
  "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Element",
  "derivation": "specialization",
  "differential": {
    "element": [
      {
        "id": "OMOPPerson",
        "path": "OMOPPerson",
        "definition": "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": 0,
        "max": "*",
        "type": [
          {
            "code": "Element"
          }
        ],
        "mapping": [
          {
            "identity": "OMOP-CDM-v5.3.1",
            "map": "Person"
          }
        ]
      },
      {
        "id": "OMOPPerson.person_id",
        "path": "OMOPPerson.person_id",
        "definition": "It is assumed that every person with a different unique identifier is in fact a different person and should be treated independently.\r\n\r\nAny 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": 1,
        "max": "1",
        "type": [
          {
            "code": "integer",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/integer"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "OMOP-CDM-v5.3.1",
            "map": "Person.person_id"
          }
        ]
      },
      {
        "id": "OMOPPerson.gender_concept_id",
        "path": "OMOPPerson.gender_concept_id",
        "definition": "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": 1,
        "max": "1",
        "type": [
          {
            "code": "CodeableConcept",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/CodeableConcept"
            ]
          }
        ],
        "binding": {
          "strength": "required",
          "valueSet": "https://fhir.ohdsi.org/ValueSet/OMOPGender"
        },
        "mapping": [
          {
            "identity": "OMOP-CDM-v5.3.1",
            "map": "Person.gender_concept_id"
          }
        ]
      },
      {
        "id": "OMOPPerson.year_of_birth",
        "path": "OMOPPerson.year_of_birth",
        "definition": "Compute age using year_of_birth.\r\n\r\nFor 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": 1,
        "max": "1",
        "type": [
          {
            "code": "integer",
            "profile": [
              "http://hl7.org/fhir/StructureDefinition/integer"
            ]
          }
        ],
        "mapping": [
          {
            "identity": "OMOP-CDM-v5.3.1",
            "map": "Person.year_of_birth"
          }
        ]
      }
    ]
  }
}