Has ethnicity source leaf node


URI

https://w3id.org/omop/ontology/has_ethnicity_source

Label

Has ethnicity source

Description

For Person: Due to the small number of options, this tends to be zero.
If the source data codes ethnicity in an OMOP supported vocabulary, store the concept_id here, otherwise set to 0.

Usage

DOMAINPROPERTYRANGE
Person Has ethnicity source Concept

Implementation

@prefix omop: <https://w3id.org/omop/ontology/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix owlready: <http://www.lesfleursdunormal.fr/static/_downloads/owlready_ontology.owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

omop:has_ethnicity_source a owl:FunctionalProperty,
        owl:ObjectProperty ;
    rdfs:label "Has ethnicity source"^^xsd:string ;
    owlready:python_name "ethnicity_source"^^xsd:string ;
    rdfs:comment """For Person: Due to the small number of options, this tends to be zero.
If the source data codes ethnicity in an OMOP supported vocabulary, store the concept_id here, otherwise set to 0."""@en ;
    rdfs:domain omop:Person ;
    rdfs:range omop:Concept ;
    omop:omop_cdm_name "person.ethnicity_source_concept_id#19 AS Concept"^^xsd:string .