diff --git a/packages/sampleCommons/config/cbds/explorer.json b/packages/sampleCommons/config/cbds/explorer.json index e15d80c1..aaeef5b4 100644 --- a/packages/sampleCommons/config/cbds/explorer.json +++ b/packages/sampleCommons/config/cbds/explorer.json @@ -1,56 +1,36 @@ [ { - "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" ] } ] @@ -58,7 +38,7 @@ "table": { "enabled": true, "detailsConfig": { - "panel": "patientDetails", + "panel": "specimenDetails", "mode": "click", "idField": "patient_id", "filterField": "subject", @@ -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" ] @@ -141,6 +122,42 @@ "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": { @@ -148,29 +165,8 @@ { "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" ] } ] @@ -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": {},