Skip to content

Commit

Permalink
update cbds configs
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewpeterkort committed Jul 3, 2024
1 parent 901838e commit 55dab78
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 21 deletions.
53 changes: 34 additions & 19 deletions packages/sampleCommons/config/cbds/explorer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,25 @@
{
"tabTitle": "Patient",
"charts": {
"project_id": {
"us_core_race": {
"chartType": "fullPie",
"title": "project_id"
"title": "us_core_race"
},
"us_core_ethnicity": {
"chartType": "fullPie",
"title": "us_core_ethnicity"
},
"gender": {
"chartType": "fullPie",
"title": "gender"
},
"maritalStatus": {
"chartType": "donut",
"title": "maritalStatus"
}
},
"filters": {
"tabs": [
{
"title": "Patient",
"fields": [
"identifier",
"project_id",
"us_core_race",
"us_core_ethnicity",
Expand All @@ -34,6 +35,7 @@
"table": {
"enabled": true,
"fields": [
"identifier",
"id",
"project_id",
"us_core_race",
Expand All @@ -44,6 +46,7 @@
"disability_adjusted_life_years"
]
},
"dropdowns": {},
"guppyConfig": {
"dataType": "patient",
"fieldMapping": [
Expand Down Expand Up @@ -72,17 +75,13 @@
{
"tabTitle": "Observation",
"charts": {
"project_id": {
"category": {
"chartType": "fullPie",
"title": "Project"
"title": "Category"
},
"code": {
"chartType": "fullPie",
"title": "Code"
},
"valueString": {
"chartType": "fullPie",
"title": "Value"
}
},
"filters": {
Expand All @@ -91,8 +90,9 @@
"title": "Observation",
"fields": [
"project_id",
"category",
"code",
"valueString"
"subject"
]
}
]
Expand All @@ -104,9 +104,22 @@
"project_id",
"category",
"code",
"valueString"
"bodySite",
"subject",
"effectiveDateTime",
"valueBoolean",
"valueCodeableConcept",
"valueDateTime",
"valueInteger",
"valueQuantity",
"valueRange",
"valueRatio",
"valueSampledData",
"valueString",
"interpretation"
]
},
"dropdowns": {},
"guppyConfig": {
"dataType": "observation",
"fieldMapping": [],
Expand Down Expand Up @@ -166,6 +179,7 @@
"type_coding"
]
},
"dropdowns": {},
"guppyConfig": {
"dataType": "file",
"fieldMapping": [
Expand Down Expand Up @@ -209,14 +223,15 @@
"rightIcon": "gen3:download",
"fileName": "manifest.json",
"actionArgs": {
"resourceIndexType": "Patient",
"resourceIdField": "_patient_id",
"resourceIndexType": "file",
"resourceIdField": "object_id",
"referenceIdFieldInDataIndex": "object_id",
"referenceIdFieldInResourceIndex": "object_id",
"fileFields": [
"file_name",
"file_size",
"md5sum",
"object_id"
"object_id",
"file_name",
"content_attachment_size"
]
}
}
Expand Down
4 changes: 2 additions & 2 deletions packages/sampleCommons/config/cbds/query.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"graphQLEndpoint": "https://development.compbio.ohsu.edu/guppy/graphql"
}
"graphQLEndpoint": "https://idp.cbds.ohsu.edu/guppy/graphql"
}

0 comments on commit 55dab78

Please sign in to comment.