ethnicity

Affiliation, kinship or connection with one or more groupings of people, according to common origins or background.

Affiliation, kinship or connection with one or more groupings of people, according to common origins or background.

Purpose. To record the affiliation, kinship or connection of an individual with one or more groupings of people, usually self-identified.

Source

ModelLegRole
openEHR-EHR-EVALUATION.ethnicity.v1openEHRdefines this table

Columns

ColumnTypeNullDescriptionSource
iduuid primary keynoPrimary key.
form_iduuidformnoThe form this entry was recorded on.
form_block_iduuidyesThe block within the form, when the entry is bound to one.
descriptiontextyesDescription/data[at0001]/items[at0002]
ethnicity
ethnicity_code
ethnicity_system
ethnicity_valueset_id
coded text
text, text, text, text
yesEthnicity/data[at0001]/items[at0003]
ancestry
ancestry_code
ancestry_system
ancestry_valueset_id
coded text
text, text, text, text
yesAncestry/data[at0001]/items[at0004]
national_identitytextyesNational identity/data[at0001]/items[at0010]
commenttextyesComment/data[at0001]/items[at0005]
last_updatedtimestamptzyesLast updated/protocol[at0006]/items[at0008]

Constraints

check ((ethnicity_code is null and ethnicity_system is null and ethnicity_valueset_id is null) or (ethnicity is not null and ethnicity_code is not null and ethnicity_system is not null and ethnicity_valueset_id is not null))
check ((ancestry_code is null and ancestry_system is null and ancestry_valueset_id is null) or (ancestry is not null and ancestry_code is not null and ancestry_system is not null and ancestry_valueset_id is not null))

Unique

References

ColumnsTargetOn delete
form_idformcascade
form_id, form_block_idform_blockcascade
ethnicity_valueset_id, ethnicity_code, ethnicity_system, ethnicityvalueset_coderestrict
ancestry_valueset_id, ancestry_code, ancestry_system, ancestryvalueset_coderestrict

Indexes