You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
age at diagnosis is represented as the number of days, e.g. 16606.0
There is a class in the cda_individual_factory that transforms number of days to ISO8601 (e.g. P42Y3M"). Probably we can put this method into the common superclass CdaFactory and use it for both.
The text was updated successfully, but these errors were encountered:
phenopackets does not model explicitly the age of diagnosis, but instead would model the age when the disease first manifested. For the purposes of this mapping excercise, probably we need to consider them equivalent though
See the schema here - https://phenopacket-schema.readthedocs.io/en/latest/disease.html
Add a function to cda_disease_factory.py
age at diagnosis is represented as the number of days, e.g. 16606.0
There is a class in the cda_individual_factory that transforms number of days to ISO8601 (e.g. P42Y3M"). Probably we can put this method into the common superclass CdaFactory and use it for both.
The text was updated successfully, but these errors were encountered: