-
Notifications
You must be signed in to change notification settings - Fork 2
/
patient-journey-dashboard.json
1 lines (1 loc) · 8.46 KB
/
patient-journey-dashboard.json
1
{"content": "{\n \"title\": \"Patient journey demo\",\n \"version\": \"2.4\",\n \"settings\": {\n \"pagenumber\": 1,\n \"editable\": true,\n \"fullscreenEnabled\": false,\n \"parameters\": {\n \"neodash_condition_description\": \"COVID-19\",\n \"neodash_condition_description_display\": \"COVID-19\"\n },\n \"theme\": \"light\"\n },\n \"pages\": [\n {\n \"title\": \"Population\",\n \"reports\": [\n {\n \"id\": \"d2602dee-2e67-4f73-844c-c9e7b9cef44c\",\n \"title\": \"Population\",\n \"query\": \"match (:Patient)\\nreturn count(*) as population\\n\\n\\n\",\n \"settingsOpen\": false,\n \"advancedSettingsOpen\": false,\n \"width\": 6,\n \"height\": 2,\n \"x\": 0,\n \"y\": 0,\n \"type\": \"value\",\n \"fields\": [],\n \"selection\": {},\n \"settings\": {},\n \"collapseTimeout\": 0,\n \"schema\": []\n },\n {\n \"id\": \"caa688dd-7807-4ad0-84ff-b9fbd85738f3\",\n \"title\": \"Diseased\",\n \"query\": \"match (p:Patient)\\nwhere p.deathdate is not null\\nreturn count(*) as dead\\n\\n\\n\",\n \"settingsOpen\": false,\n \"advancedSettingsOpen\": false,\n \"width\": 6,\n \"height\": 2,\n \"x\": 0,\n \"y\": 2,\n \"type\": \"value\",\n \"fields\": [],\n \"selection\": {},\n \"settings\": {},\n \"collapseTimeout\": 0,\n \"schema\": []\n },\n {\n \"id\": \"e9618e61-6a7e-4876-a73f-575af04b2a29\",\n \"title\": \"Gender Distribution\",\n \"query\": \"match (p:Patient)\\nreturn p.gender as gender, \\ncount(*) as population\\n\\n\\n\",\n \"settingsOpen\": false,\n \"advancedSettingsOpen\": false,\n \"width\": 6,\n \"height\": 4,\n \"x\": 6,\n \"y\": 0,\n \"type\": \"pie\",\n \"fields\": [\n \"gender\",\n \"population\"\n ],\n \"selection\": {\n \"index\": \"gender\",\n \"value\": \"population\",\n \"key\": \"(none)\"\n },\n \"settings\": {},\n \"collapseTimeout\": 0,\n \"schema\": []\n },\n {\n \"id\": \"24b35acd-589b-469c-b900-67399128999f\",\n \"title\": \"Location of Patients\",\n \"query\": \"match (p:Patient)\\nreturn p limit 250\\n\\n\\n\",\n \"settingsOpen\": false,\n \"advancedSettingsOpen\": true,\n \"width\": 12,\n \"height\": 4,\n \"x\": 0,\n \"y\": 4,\n \"type\": \"map\",\n \"fields\": [\n [\n \"Patient\",\n \"address\",\n \"birthdate\",\n \"race\",\n \"ethnicity\",\n \"gender\",\n \"last\",\n \"healthcare_expenses\",\n \"city\",\n \"latitude\",\n \"county\",\n \"birthplace\",\n \"healthcare_coverage\",\n \"location\",\n \"state\",\n \"id\",\n \"drivers\",\n \"first\",\n \"longitude\",\n \"prefix\",\n \"martial\",\n \"deathdate\"\n ]\n ],\n \"selection\": {\n \"Patient\": \"(no label)\"\n },\n \"settings\": {\n \"defaultNodeSize\": \"small\"\n },\n \"collapseTimeout\": 0,\n \"schema\": [\n [\n \"Patient\",\n \"address\",\n \"birthdate\",\n \"race\",\n \"ethnicity\",\n \"gender\",\n \"last\",\n \"healthcare_expenses\",\n \"city\",\n \"latitude\",\n \"county\",\n \"birthplace\",\n \"healthcare_coverage\",\n \"location\",\n \"state\",\n \"id\",\n \"drivers\",\n \"first\",\n \"longitude\",\n \"prefix\",\n \"martial\",\n \"deathdate\"\n ]\n ]\n }\n ]\n },\n {\n \"title\": \"Drug prescriptions\",\n \"reports\": [\n {\n \"id\": \"2c913511-aad9-4d0e-a3c5-eb17ba3b2871\",\n \"title\": \"Diagnosed Condition followed by Drug Prescription\",\n \"query\": \"match path= (c:Condition{description:$neodash_condition_description})<-[:HAS_CONDITION]-(e1)(\\n (f)-[n:NEXT]->(t)\\n where not exists {(f)-[:HAS_DRUG]->(:Drug)}\\n ){1,100}\\n(e2)-[:HAS_DRUG]->(d:Drug)\\nreturn c,apoc.create.vRelationship(c,'PRESCRIBED',{count:count(*)},d) as rel,d limit 10\\n\\n\\n\",\n \"settingsOpen\": false,\n \"advancedSettingsOpen\": true,\n \"width\": 18,\n \"height\": 5,\n \"x\": 0,\n \"y\": 2,\n \"type\": \"sankey\",\n \"fields\": [\n [\n \"Condition\",\n \"code\",\n \"stop\",\n \"total_drug_pairings\",\n \"start\",\n \"description\",\n \"isEnd\"\n ],\n [\n \"Drug\",\n \"code\",\n \"basecost\",\n \"stop\",\n \"start\",\n \"description\",\n \"isEnd\",\n \"totalcost\"\n ]\n ],\n \"selection\": {\n \"Condition\": \"description\",\n \"Drug\": \"description\"\n },\n \"settings\": {\n \"labelProperty\": \"count\"\n },\n \"collapseTimeout\": \"auto\",\n \"schema\": []\n },\n {\n \"id\": \"22eacb4f-0b33-49ce-a920-3e6999e5d656\",\n \"title\": \"Select Condition\",\n \"query\": \"MATCH (n:`Condition`) \\nWHERE toLower(toString(n.`description`)) CONTAINS toLower($input) \\nRETURN DISTINCT n.`description` as value, n.`description` as display ORDER BY size(toString(value)) ASC LIMIT 5\",\n \"settingsOpen\": false,\n \"advancedSettingsOpen\": false,\n \"width\": 18,\n \"height\": 2,\n \"x\": 0,\n \"y\": 0,\n \"type\": \"select\",\n \"fields\": [],\n \"selection\": {},\n \"settings\": {\n \"type\": \"Node Property\",\n \"entityType\": \"Condition\",\n \"propertyType\": \"description\",\n \"propertyTypeDisplay\": \"description\",\n \"parameterName\": \"neodash_condition_description\"\n },\n \"collapseTimeout\": 0,\n \"schema\": []\n },\n {\n \"id\": \"5d259dce-d4b8-444c-8869-6060b682416a\",\n \"title\": \"Co-morbidities\",\n \"query\": \"match (c1:Condition)<-[:HAS_CONDITION]-(e1:Encounter)-[:NEXT*1..200]->(e2:Encounter)-[:HAS_CONDITION]->(c2:Condition)\\nmatch (e1)<-[:HAS_ENCOUNTER]-(patient)\\nwhere c1.description = $neodash_condition_description and not c2.description contains \\\"finding\\\"\\nreturn c1,apoc.create.vRelationship(c1,'PRESCRIBED',{count:count(distinct patient)},c2) as rel,c2 limit 10\\n\\n\\n\\n\\n\",\n \"settingsOpen\": false,\n \"advancedSettingsOpen\": true,\n \"width\": 18,\n \"height\": 4,\n \"x\": 0,\n \"y\": 7,\n \"type\": \"sankey\",\n \"fields\": [\n [\n \"Condition\",\n \"code\",\n \"stop\",\n \"total_drug_pairings\",\n \"start\",\n \"description\",\n \"isEnd\"\n ]\n ],\n \"selection\": {\n \"Condition\": \"description\"\n },\n \"settings\": {\n \"labelProperty\": \"count\"\n },\n \"collapseTimeout\": \"auto\",\n \"schema\": []\n }\n ]\n }\n ],\n \"parameters\": {},\n \"extensions\": {\n \"active\": true,\n \"activeReducers\": [],\n \"advanced-charts\": {\n \"active\": true\n },\n \"styling\": {\n \"active\": true\n },\n \"actions\": {\n \"active\": true\n }\n },\n \"uuid\": \"47c4a3d8-580b-4b8b-b165-53a906331dea\"\n}", "title": "Patient journey demo", "uuid": "47c4a3d8-580b-4b8b-b165-53a906331dea", "user": "neo4j", "version": "2.4"}