Data model
Phenofhy uses a simple naming convention for fields:
- Raw fields are
entity.field(for example,participant.birth_year). - Derived fields live under
derived.*(for example,derived.age_at_registration).
Metadata dictionaries
Phenofhy uses three dictionary files exported from DNAnexus:
*.codings.csvfor code-to-label mappings*.data_dictionary.csvfor descriptions*.entity_dictionary.csvfor entity metadata
These files are loaded into ./metadata by pipeline.metadata().
Coding names
Coding names are matched using the field suffix, for example:
questionnaire.smoke_status_2_1maps to coding nameSMOKE_STATUS_2_1.