ccdhmodel
ccdhmodel copied to clipboard
CRDC-H model in LinkML, developed by the Center for Cancer Data Harmonization (CCDH)
The stub enums in the schema file need at least one item for the schema to be valid. Maybe some temporary "Null" value?
Every JSON Schema library should have a way of doing this, so we mainly need to choose a JSON Schema library for Python and then write a test for that....
It would be nice to have some example data in this repository, both as part of the documentation (we could actually convert it to Markdown and display it with the...
- [x] Locate richly-populated instance data in source model(s) for: Subject. Specimen, Diagnosis - [x] Produce example instance data
This program does something quite different from rest of this repository, so we should probably move it elsewhere. We can then publish it to PyPI and import it for use...
CRDC-H defines [a decimal type](https://cancerdhc.github.io/ccdhmodel/v1.1/CrdchDecimal/) based on [Python's Decimal type](https://docs.python.org/3/library/decimal.html#decimal.Decimal). Unfortunately, this doesn't work correctly at present: 1. Trying to create a crdch_model.Decimal() with a Python Decimal works, but when...
We need to be able to support dates that are approximate to a particular year, e.g. https://github.com/cancerDHC/data-model-harmonization/blob/79849628bca909ef113a6031bf1eb25498c48ee2/data-examples/f2f-2021-09-data-examples/d1_harmonized_gdc_specimen_cc.yaml#L312-L313 However, we currently code this field as a linkml:datetime, which has to be...
This PR adds a test for validating the generated JSON Schema, and does the minimum necessary to make the JSON Schema pass validation. This PR is a simpler version of...
Align and integrate models and make a new release with extra metadata elements from DST report.