phenopackets-to-fhir is a service to convert derived phenopackets objects to FHIR resources. The service is a part of the ongoing work for CHORD Metadata service. The phenopackets schemas are project-specific adaptations of Phenopackets schema standard.
The package contains:
-
json schemas for Phenopacket and its elements derived/based on Phenopackets schema standard.
-
functions to transform phenopackets objects to FHIR resources.
-
mappings derived from Phenopackets on FHIR Implementation Guide.
The conversion uses Python SMART on FHIR client that provides validation of generated FHIR resources.