Skip to content

Commit

Permalink
surface research subject tab and clean up explorer
Browse files Browse the repository at this point in the history
  • Loading branch information
quinnwai committed Aug 12, 2024
1 parent 6953f92 commit 2aab9ec
Showing 1 changed file with 30 additions and 20 deletions.
50 changes: 30 additions & 20 deletions packages/sampleCommons/config/cbds/explorer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
"filters": {
"tabs": [
{
"title": "Specimen",
"fields": [
"project_id",
"enrollment_diagnosis",
Expand Down Expand Up @@ -70,6 +69,19 @@
"subject_type"
]
},
"columns": {
"specimen_identifier":
{
"title": "BEMS ID"
},
"identifier":
{
"title": "Subject ID"
},
"product_notes_project_id": {
"title": "Product Notes Project ID"
}
},
"fields": [
"specimen_identifier",
"identifier",
Expand All @@ -86,7 +98,6 @@
"specimen_processing_method",
"specimen_collection_concept",
"treatments",

"tissue_type",
"histology",
"allocated_for_site",
Expand All @@ -109,7 +120,7 @@
"guppyConfig": {
"dataType": "observation",
"fieldMapping": [],
"nodeCountTitle": "Observations",
"nodeCountTitle": "Specimens",
"manifestMapping": {
"resourceIndexType": "Observation",
"resourceIdField": "_patient_id",
Expand All @@ -123,11 +134,10 @@
}
},
{
"tabTitle": "Subject",
"tabTitle": "Research Subject",
"filters": {
"tabs": [
{
"title": "Subject",
"fields": [
"project_id"
]
Expand All @@ -136,34 +146,34 @@
},
"table": {
"enabled": true,
"columns" : {
"project_id": {
"title": "Clinical Trial"
},
"identifier": {
"title": "Research Subject ID"
},
"subject_id": {
"title": "Patient ID"
}
},
"fields": [
"project_id",
"patient_id"
"identifier",
"subject_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"
"dataType": "researchsubject",
"nodeCountTitle": "Research Subjects"
}
},
{
"tabTitle": "File",
"filters": {
"tabs": [
{
"title": "File",
"fields": [
"project_id",
"contentType"
Expand Down

0 comments on commit 2aab9ec

Please sign in to comment.