-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WIP] Feature/docref additions (#98)
* Add system level category key/value for muli element codings * Add support for multiple identifiers * update research subject to use SimplifiedResource * temp commit * initial research subject update, requires Condition.ndjson for pytest fixture * add SimplifiedCondition to override codings() method * update research subject to use SimplifiedResource * rebase conflict resolve * test fixture for condition and associated references (#96) Includes new Condition, Observation and Encounter metadata * simplify pulling observation values; clarify get_resource_by_reference * simplify dataframer command line args * add SimplifiedCondition to override codings() method * fix pytests (still need to test new condition fixture); linting * Add system level category key/value for muli element codings * add SimplifiedCondition to override codings() method * fix tests * fix tests * make data loadable * Add observation code * enable multiple focus references; allow specified dataframer output_path * improve error handling * improve tests and write logs to file * add expected invalid docref fixture * Preserve functionality through backend bulk loader swap --------- Co-authored-by: quinnwai <quinnwai.wong@gmail.com> Co-authored-by: Nasim Sanati (Rieker) <nasim@plenary.org>
- Loading branch information
1 parent
94281ad
commit 04d6e8b
Showing
8 changed files
with
165 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
tests/fixtures/negative-examples/fhir-gdc-DocumentReference-invalid-date.ndjson
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"resourceType":"DocumentReference","id":"6b024bdd-810f-5af0-8f36-9effc5da9b02","identifier":[{"system":"https://gdc.cancer.gov/file_id","value":"adb14cb5-6c6a-4c9a-9611-4f560e696e21"}],"version":"2","basedOn":[{"reference":"Specimen/91749e5f-aff9-5da6-a396-e53da6572bb7"},{"reference":"Specimen/ef84de6b-474e-5f96-a22f-2f105e4006ce"}],"status":"current","type":{"coding":[{"system":"https://gdc.cancer.gov/data_type","code":"VCF","display":"VCF"}]},"category":[{"coding":[{"system":"https://gdc.cancer.gov/data_category","code":"Simple Nucleotide Variation","display":"Simple Nucleotide Variation"}]},{"coding":[{"system":"https://gdc.cancer.gov/experimental_strategy","code":"WXS","display":"WXS"}]}],"subject":{"reference":"Patient/ccf801ae-7d28-5446-9c98-d79185ce2eb1"},"date":"2022-02-03T20:41:18.844488-06:00","content":[{"attachment":{"contentType":"Annotated Somatic Mutation","url":"https://api.gdc.cancer.gov/data/adb14cb5-6c6a-4c9a-9611-4f560e696e21","size":192763,"hash":"e389d0afe4c523b366853d32d89455ad","title":"TCGA_LUAD.c78eaf74-7747-40c3-be4d-0065e4e4d0f2.wxs.VarScan2.somatic_annotation.vcf.gz", "creation": "2023-10-05T12:07:50"},"profile":[{"valueCoding":{"system":"https://gdc.cancer.gov/data_format","code":"VCF","display":"VCF"}}]}]} |
Oops, something went wrong.