Skip to main content

Convert Clinical Formats to BFF

Pheno-Ranker reads Beacon v2 Models (BFF) and Phenopackets v2 (PXF) directly. For other structured clinical standards, use Convert-Pheno to normalize the source data to BFF before comparison.

RoleConversion-assisted input
Clinical sourcesOMOP, openEHR, FHIR, REDCap, CDISC
Handoffindividuals.json (BFF)
ConfigurationBuilt in after conversion
Clinical source formats pass through Convert-Pheno to produce BFF individuals records for Pheno-Ranker
Convert-Pheno performs source-aware clinical harmonization; Pheno-Ranker compares the resulting BFF individual records.
Why convert first?

Clinical standards encode identity, terminology, and repeated events differently. Convert-Pheno owns those source-specific mappings and groups the data into individual-level BFF records. Pheno-Ranker can then use its built-in BFF configuration and canonicalization instead of treating clinical JSON as an arbitrary structure.

Source Format Guides

Use the maintained Convert-Pheno guide for your source format. These pages contain the current installation requirements, mapping scope, examples, and format-specific options.

General-purpose data

This workflow is for clinical harmonization. To compare arbitrary categorical tables or custom records, use CSV Import or Generic JSON/YAML instead.

Run the BFF Output

After Convert-Pheno writes the BFF output, pass its individuals.json file to Pheno-Ranker. No source-format configuration is needed at this stage.

For an all-vs-all cohort comparison:

pheno-ranker -r individuals.json

To rank references against a target record:

pheno-ranker -r individuals.json -t target.json