Skip to content

Commit

Permalink
update explorer config with ordering/subsets of columns, facets, and …
Browse files Browse the repository at this point in the history
…charts
  • Loading branch information
quinnwai committed Aug 8, 2024
1 parent 8799587 commit 6953f92
Showing 1 changed file with 80 additions and 95 deletions.
175 changes: 80 additions & 95 deletions packages/sampleCommons/config/cbds/explorer.json
Original file line number Diff line number Diff line change
@@ -1,64 +1,44 @@
[
{
"tabTitle": "Patient",
"tabTitle": "Specimen",
"charts": {
"biopsy_procedure_type": {
"enrollment_diagnosis": {
"chartType": "fullPie",
"title": "biopsy_procedure_type"
"title": "Enrollment Diagnosis"
},
"product_notes_read_length": {
"product_notes_sequencing_site": {
"chartType": "fullPie",
"title": "product_notes_read_length"
"title": "Product Notes Sequencing Site"
},
"protocol_library_type": {
"chartType": "fullPie",
"title": "protocol_library_type"
"title": "Protocol Library Type"
}
},
"filters": {
"tabs": [
{
"title": "Observation",
"title": "Specimen",
"fields": [
"identifier",
"project_id",
"pathology_record_number",
"package_recipient",
"library_id",
"indexed_collection_date_days",
"histology",
"enrollment_diagnosis",
"clinical_event",
"biopsy_specimens_bems_id",
"biopsy_procedure_type",
"biopsy_event",
"enrollment_diagnosis",
"biopsy_anatomical_location",
"allocated_for_site",
"alias",
"product_notes_end_type",
"product_notes_index",
"product_notes_project_id",
"product_notes_read_length",
"product_notes_sequencer",
"product_notes_sequencing_site",
"protocol_hybrid_capture_bait_set",
"protocol_library_type",
"protocol_library_construction",
"specimen_processing_method",
"specimen_collection_concept",
"specimen_identifier",
"tissue_type",
"treatments",
"patient_id",
"id"
"protocol_library_type",
"product_notes_sequencing_site",
"product_notes_sequencer",
"product_notes_end_type",
"product_notes_read_length",
"protocol_library_construction",
"protocol_hybrid_capture_bait_set"
]
}
]
},
"table": {
"enabled": true,
"detailsConfig": {
"panel": "patientDetails",
"panel": "specimenDetails",
"mode": "click",
"idField": "patient_id",
"filterField": "subject",
Expand Down Expand Up @@ -91,35 +71,36 @@
]
},
"fields": [
"specimen_identifier",
"identifier",
"project_id",
"pathology_record_number",
"package_recipient",
"library_id",
"indexed_collection_date_days",
"histology",
"enrollment_diagnosis",
"clinical_event",
"biopsy_specimens_bems_id",
"biopsy_procedure_type",
"biopsy_event",
"biopsy_anatomical_location",
"allocated_for_site",
"alias",
"protocol_library_type",
"product_notes_sequencing_site",
"product_notes_sequencer",
"product_notes_end_type",
"product_notes_index",
"product_notes_project_id",
"product_notes_read_length",
"product_notes_sequencer",
"product_notes_sequencing_site",
"protocol_hybrid_capture_bait_set",
"protocol_library_type",
"protocol_library_construction",
"protocol_hybrid_capture_bait_set",
"specimen_processing_method",
"specimen_collection_concept",
"specimen_identifier",
"tissue_type",
"treatments",

"tissue_type",
"histology",
"allocated_for_site",
"pathology_record_number",
"package_recipient",
"clinical_event",
"biopsy_procedure_type",
"biopsy_event",
"product_notes_index",
"alias",
"library_id",
"product_notes_project_id",
"biopsy_specimens_bems_id",
"project_id",
"patient_id",
"id"
]
Expand All @@ -141,36 +122,51 @@
"accessibleValidationField": "project_id"
}
},
{
"tabTitle": "Subject",
"filters": {
"tabs": [
{
"title": "Subject",
"fields": [
"project_id"
]
}
]
},
"table": {
"enabled": true,
"fields": [
"project_id",
"patient_id"
]
},
"dropdowns": {},
"guppyConfig": {
"dataType": "observation",
"fieldMapping": [],
"nodeCountTitle": "Patients",
"manifestMapping": {
"resourceIndexType": "Observation",
"resourceIdField": "_patient_id",
"referenceIdFieldInResourceIndex": "object_id",
"referenceIdFieldInDataIndex": "object_id"
},
"accessibleFieldCheckList": [
"project_id"
],
"accessibleValidationField": "project_id"
}
},
{
"tabTitle": "File",
"filters": {
"tabs": [
{
"title": "File",
"fields": [
"identifier",
"project_id",
"title",
"date",
"source_url",
"size",
"md5",
"url",
"subject",
"id",
"basedOn_0",
"basedOn_1",
"category",
"contentType",
"creation",
"docStatus",
"group_subject",
"hash",
"patient",
"resourceType",
"specimen_subject",
"status",
"subject_type"
"contentType"
]
}
]
Expand All @@ -185,29 +181,18 @@
"title": "File Details"
},
"fields": [
"identifier",
"project_id",
"title",
"date",
"source_url",
"contentType",
"size",
"md5",
"url",
"subject",
"id",
"basedOn_0",
"basedOn_1",
"category",
"contentType",
"source_url",
"date",
"project_id",
"creation",
"docStatus",
"group_subject",
"hash",
"patient",
"resourceType",
"specimen_subject",
"status",
"subject_type"
"subject",
"id",
"identifier"
]
},
"dropdowns": {},
Expand Down

0 comments on commit 6953f92

Please sign in to comment.