Person
Source file: person.py
Root XPath
./hl7:recordTarget/hl7:patientRole
Expected OMOP domain: Person
Fields
Field |
Type |
Order |
Details |
|---|---|---|---|
person_id |
DERIVED |
1 |
|
gender_concept_id |
PRIORITY |
2 |
coalesce candidates by priority |
year_of_birth |
DERIVED |
3 |
|
month_of_birth |
DERIVED |
4 |
|
day_of_birth |
DERIVED |
5 |
|
birth_datetime |
FIELD |
6 |
|
race_concept_id |
PRIORITY |
7 |
coalesce candidates by priority |
ethnicity_concept_id |
PRIORITY |
8 |
coalesce candidates by priority |
location_id |
HASH |
9 |
hash(address_1, city, state, zip) |
provider_id |
None |
10 |
— |
care_site_id |
CONSTANT |
11 |
|
person_source_value |
CONSTANT |
12 |
|
gender_source_value |
PRIORITY |
13 |
coalesce candidates by priority |
gender_source_concept_id |
None |
14 |
— |
race_source_value |
PRIORITY |
15 |
coalesce candidates by priority |
race_source_concept_id |
None |
16 |
— |
ethnicity_source_value |
PRIORITY |
17 |
coalesce candidates by priority |
ethnicity_source_concept_id |
None |
18 |
— |
data_partner_id |
DERIVED |
20 |
|
filename |
FILENAME |
100 |
source XML filename |
cfg_name |
CONSTANT |
101 |
|
address_1 |
FIELD |
|
|
city |
FIELD |
|
|
ethnicity_concept_codeSystem_direct |
FIELD |
|
|
ethnicity_concept_codeSystem_sdtc |
FIELD |
|
|
ethnicity_concept_codeSystem_translated |
FIELD |
|
|
ethnicity_concept_code_direct |
FIELD |
|
|
ethnicity_concept_code_sdtc |
FIELD |
|
|
ethnicity_concept_code_translated |
FIELD |
|
|
ethnicity_concept_id_direct |
DERIVED |
|
|
ethnicity_concept_id_sdtc |
DERIVED |
|
|
ethnicity_concept_id_translated |
DERIVED |
|
|
ethnicity_source_value_direct |
FIELD |
|
|
ethnicity_source_value_sdtc |
FIELD |
|
|
ethnicity_source_value_translated |
FIELD |
|
|
gender_concept_codeSystem_direct |
FIELD |
|
|
gender_concept_codeSystem_translated |
FIELD |
|
|
gender_concept_code_direct |
FIELD |
|
|
gender_concept_code_translated |
FIELD |
|
|
gender_concept_id_direct |
DERIVED |
|
|
gender_concept_id_translated |
DERIVED |
|
|
gender_source_value_direct |
FIELD |
|
|
gender_source_value_translated |
FIELD |
|
|
person_id_extension |
FIELD |
|
|
person_id_root |
FIELD |
|
|
race_concept_codeSystem_direct |
FIELD |
|
|
race_concept_codeSystem_sdtc |
FIELD |
|
|
race_concept_codeSystem_translated |
FIELD |
|
|
race_concept_code_direct |
FIELD |
|
|
race_concept_code_sdtc |
FIELD |
|
|
race_concept_code_translated |
FIELD |
|
|
race_concept_id_direct |
DERIVED |
|
|
race_concept_id_sdtc |
DERIVED |
|
|
race_concept_id_translated |
DERIVED |
|
|
race_source_value_direct |
FIELD |
|
|
race_source_value_sdtc |
FIELD |
|
|
race_source_value_translated |
FIELD |
|
|
state |
FIELD |
|
|
zip |
FIELD |
|
Config type reference
config_type |
Meaning |
|---|---|
ROOT |
Defines the XPath root element for this config |
FIELD |
Extracts an XML attribute value via XPath |
DERIVED |
Computed by a Python function from other fields |
HASH |
MD5/hash of a set of fields, used as a surrogate key |
FK |
Foreign key copied from a joined dataset |
CONSTANT |
Fixed literal value written to every row |
PRIORITY |
Coalesces the first non-null value from prioritized candidates |
FILENAME |
The source XML filename |
None |
Not populated (placeholder) |