{"info":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"9166767","collectionId":"17323426-ae1c-43cd-8f5d-832424dd732d","publishedId":"T17Q4P7U","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2020-07-14T17:21:58.000Z"},"item":[{"name":"Report Query - Measure","id":"6808fdd3-7722-4e8f-bda9-ef9853a13d80","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"domain\": \"{{domain}}\",\n\t\"criteria\": {\n\t},\n\t\"count_only\": false,\n\t\"page\": 1,\n\t\"limit\": 50\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/","description":"<p>Queries measure response data based upon the specified critiera. It can also provide a count of results only rather than returning the full report data.</p>\n<p>The <code>criteria</code> and <code>domain</code> elements must always be specified. Everything else is optional.</p>\n<h2 id=\"criteria\">Criteria</h2>\n<p>Query criteria can be specified for any column in the result set matching the colum name. Behind the scenes, the database query is built based upon the format of the JSON key for the criteria:</p>\n<ul>\n<li>\"String\" - Exact match</li>\n<li>[item, item] - Equivalent to an SQL \"IN\" clause</li>\n<li>{Object} - Varies\n** {\"greater_than\": NUM, \"less_than\": NUM} - Equivalent to SQL \"BETWEEN\". Either less than or greater than can be omitted.</li>\n</ul>\n<p><strong>Note:</strong> Due to aliasing behind the scenes, some column queries may currently fail during development. If that happens, please contact Nathan with the column name so it can get resolved.</p>\n<h2 id=\"pagination\">Pagination</h2>\n<p>Pagination is handled via a combination of the <code>page</code>, <code>offset</code>, and <code>limit</code> keys.</p>\n<ul>\n<li><code>limit</code> specifies the number of rows to return. The default is <code>100</code>.</li>\n<li><code>page</code> refers to the page of results to return, based upon the <code>limit</code>. The default is <code>1</code>. This field is one based, not zero based.</li>\n<li><code>offset</code> specifies the number of rows to offset. The default is <code>0</code>.</li>\n</ul>\n<p><strong>Note:</strong> <code>offset</code> takes priority over <code>page</code> if both are specified. Behind the scenes, <code>page</code> is converted to <code>offset</code> due to the underlying storage system.</p>\n<h2 id=\"sorting\">Sorting</h2>\n<p>Sorting is handled by the <code>order_by</code> key. This key takes an array of objects. The column key of each object refers to the column name; the direction key specifies the direction in which to sort. The valid direction options are: <code>asc</code> for ascending and <code>desc</code>, or <code>-</code> for descending. The default is an ascending sort. Any unrecognized sort value is discarded.</p>\n<h2 id=\"time-zone\">Time Zone</h2>\n<p>Time zone offsets are handled by the <code>timezone</code> key. This key takes a valid time zone string (e.g. \"America/Chicago\") and uses it for converting all <em>exported</em> date/time fields to the specified time zone. Defaults to <code>UTC</code> if omitted.</p>\n<h2 id=\"printing-queries\">Printing Queries</h2>\n<p>When developing locally, you can send a <code>print_queries</code> key set to <code>true</code> to cause the system's queries to print to the console. Due to how Django handles queries on the backend, this does have a minor performance impact, but can be useful for debugging. This only works locally or in the dev environment; the parameter will be ignored in all other environments.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","report","query","measure",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"12e1d4d6-41c1-475b-b5e0-dae478c9dbde","name":"Retrieve a count only","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"domain\": \"{{domain}}\",\n\t\"criteria\": {\n\t},\n\t\"count_only\": true\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Jul 2020 17:13:28 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.7"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"11"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2\n}"},{"id":"216235fd-bf54-4bfe-82ea-e485db1f776f","name":"Gender Breakdown Chart Query - Updated","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"{{domain}}\",\n    \"criteria\": {\n        \"program_uuid\": {\n            \"condition\": \"not\",\n            \"value\": null\n        }\n    },\n    \"group_by\": [\n        {\"column\": \"program_uuid\", \"function\": \"group_only\"},\n        {\"column\": \"gender\", \"function\": \"group_only\"}\n    ],\n    \"aggregate\": [\n        {\"column\": \"patient_uuid\", \"function\": \"count\", \"distinct\": true}\n    ],\n    \"order_by\": [\n        {\"column\": \"program_uuid\"}\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Sep 2020 20:48:20 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"749"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"gender\": \"f\",\n            \"count_patient_uuid\": 1,\n            \"program_uuid\": \"253de33c-fc1e-4d4d-8a71-fa11f8d6f515\"\n        },\n        {\n            \"gender\": \"m\",\n            \"count_patient_uuid\": 2,\n            \"program_uuid\": \"253de33c-fc1e-4d4d-8a71-fa11f8d6f515\"\n        },\n        {\n            \"gender\": \"f\",\n            \"count_patient_uuid\": 1,\n            \"program_uuid\": \"65109109-061a-4f79-acba-b2d7cdef6bad\"\n        },\n        {\n            \"gender\": \"m\",\n            \"count_patient_uuid\": 1,\n            \"program_uuid\": \"65109109-061a-4f79-acba-b2d7cdef6bad\"\n        },\n        {\n            \"gender\": \"f\",\n            \"count_patient_uuid\": 3,\n            \"program_uuid\": \"f6299ba5-23f9-4911-b2a4-e95db71358ee\"\n        },\n        {\n            \"gender\": \"m\",\n            \"count_patient_uuid\": 5,\n            \"program_uuid\": \"f6299ba5-23f9-4911-b2a4-e95db71358ee\"\n        },\n        {\n            \"gender\": \"f\",\n            \"count_patient_uuid\": 2,\n            \"program_uuid\": \"fe1aee87-cf20-4cdd-a675-60b5012c4c53\"\n        },\n        {\n            \"gender\": \"m\",\n            \"count_patient_uuid\": 3,\n            \"program_uuid\": \"fe1aee87-cf20-4cdd-a675-60b5012c4c53\"\n        }\n    ]\n}"},{"id":"2346a920-eac8-414e-972a-d5e47eea38b6","name":"Query on Program UUIDs with Full Results","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"domain\": \"{{domain}}\",\n\t\"criteria\": {\n\t\t\"program_uuid\": [\"{{uuid_1}}\", \"{{uuid_2}}\"]\n\t},\n\t\"count_only\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Jul 2020 17:36:25 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.7"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2287"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"page\": 1,\n    \"start_row\": 1,\n    \"end_row\": 2,\n    \"results\": [\n        {\n            \"completed\": \"2020-06-02\",\n            \"completed_on_due_date\": false,\n            \"due_date\": null,\n            \"measure_available\": null,\n            \"response_type\": \"standard\",\n            \"skipped_answers\": false,\n            \"response_modified_datetime\": null,\n            \"response_modified_by\": null,\n            \"measure_name\": \"PHQ-9\",\n            \"measure_abbreviation\": \"PHQ-9\",\n            \"measure_id\": \"792\",\n            \"age\": 34,\n            \"first_name\": \"Patient\",\n            \"gender\": \"male\",\n            \"last_name\": \"User 1\",\n            \"middle_name\": null,\n            \"patient_uuid\": \"0b3d3f1c-08f5-4f53-82e4-3f5a8e4ea14c\",\n            \"respondent_first_name\": null,\n            \"respondent_middle_name\": null,\n            \"respondent_last_name\": null,\n            \"respondent_relationship\": null,\n            \"respondent_uuid\": null,\n            \"length_of_treatment\": 30,\n            \"visit_id\": null,\n            \"visit_datetime\": null,\n            \"scheduled_frequency\": null,\n            \"schedule_type\": null,\n            \"appointment_uuid\": null,\n            \"measure_uuid\": \"db679ef7-46e8-4a86-9ad7-93adab54130e\",\n            \"response_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cbcc\",\n            \"domain\": \"site1.com\",\n            \"clinicians\": \"\",\n            \"clinical_teams\": \"\",\n            \"program\": \"Program 1\",\n            \"program_assignment_uuid\": \"00099804-c421-4b4a-974f-6b96394f5bee\",\n            \"program_id\": 345,\n            \"program_status\": \"admitted\",\n            \"program_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cfee\",\n            \"scores\": [\n                {\n                    \"label\": \"New Score\",\n                    \"name\": \"score\",\n                    \"type\": \"standard\",\n                    \"value\": 2.7\n                }\n            ]\n        },\n        {\n            \"completed\": \"2020-06-02\",\n            \"completed_on_due_date\": false,\n            \"due_date\": null,\n            \"measure_available\": null,\n            \"response_type\": \"standard\",\n            \"skipped_answers\": false,\n            \"response_modified_datetime\": null,\n            \"response_modified_by\": null,\n            \"measure_name\": \"PHQ-9\",\n            \"measure_abbreviation\": \"PHQ-9\",\n            \"measure_id\": \"792\",\n            \"age\": 34,\n            \"first_name\": \"Patient\",\n            \"gender\": \"male\",\n            \"last_name\": \"User 1\",\n            \"middle_name\": null,\n            \"patient_uuid\": \"0b3d3f1c-08f5-4f53-82e4-3f5a8e4ea14c\",\n            \"respondent_first_name\": null,\n            \"respondent_middle_name\": null,\n            \"respondent_last_name\": null,\n            \"respondent_relationship\": null,\n            \"respondent_uuid\": null,\n            \"length_of_treatment\": 30,\n            \"visit_id\": null,\n            \"visit_datetime\": null,\n            \"scheduled_frequency\": null,\n            \"schedule_type\": null,\n            \"appointment_uuid\": null,\n            \"measure_uuid\": \"db679ef7-46e8-4a86-9ad7-93adab54130e\",\n            \"response_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cbcb\",\n            \"domain\": \"site1.com\",\n            \"clinicians\": \"\",\n            \"clinical_teams\": \"\",\n            \"program\": \"Program 1\",\n            \"program_assignment_uuid\": \"00099804-c421-4b4a-974f-6b96394f5bee\",\n            \"program_id\": 345,\n            \"program_status\": \"admitted\",\n            \"program_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cfee\",\n            \"scores\": [\n                {\n                    \"label\": \"New Score\",\n                    \"name\": \"score\",\n                    \"type\": \"standard\",\n                    \"value\": 2.7\n                }\n            ]\n        }\n    ]\n}"},{"id":"3017661c-2e3f-43a1-a581-089a89b57248","name":"Admit/Discharge Chart Query","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"stage.owloutcomes.net\",\n    \"criteria\": {\n        \"program_uuid\": \"21e5967b-cc20-4919-b413-0b948bee0eaa\"\n    },\n    \"query\": \"admit_discharge\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"1346"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 24 Sep 2020 17:51:04 GMT"},{"key":"x-amzn-RequestId","value":"04b18b2d-9990-45d2-8ea1-329edf47a17c"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Encoding","value":"gzip"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"x-amzn-Remapped-Content-Length","value":"12866"},{"key":"X-Frame-Options","value":"DENY"},{"key":"x-amz-apigw-id","value":"TYdlFFRyvHcF1RA="},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-5f6cdc86-af4a27e2a73b50aadd8d90f0;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 83531277f8a7b6bfcc4fb63e4b5a2198.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DFW55-C1"},{"key":"X-Amz-Cf-Id","value":"aZQWczlrEsoRs0wyIUskJeT6JxLUcPPC5MpbtSbRCcPb0Cp8xHiORQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": {\n        \"21e5967b-cc20-4919-b413-0b948bee0eaa\": {\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"6\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score (%)\",\n                            \"score_name\": \"Total Score (%)\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 33.1428571428571,\n                            \"discharge\": 51.5\n                        }\n                    ]\n                },\n                \"7\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score (%)\",\n                            \"score_name\": \"Total Score (%)\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 33.2631578947368,\n                            \"discharge\": 64\n                        }\n                    ]\n                },\n                \"8\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score (%)\",\n                            \"score_name\": \"Total Score (%)\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 32.4,\n                            \"discharge\": 47.6\n                        }\n                    ]\n                },\n                \"9\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score (%)\",\n                            \"score_name\": \"Total Score (%)\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 38,\n                            \"discharge\": 56\n                        }\n                    ]\n                },\n                \"10\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score (%)\",\n                            \"score_name\": \"Total Score (%)\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 23.2727272727273,\n                            \"discharge\": 36\n                        }\n                    ]\n                }\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"3\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 13,\n                            \"discharge\": 10.5\n                        }\n                    ]\n                },\n                \"4\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 15.0952380952381,\n                            \"discharge\": 10.2857142857143\n                        }\n                    ]\n                },\n                \"5\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 12.7,\n                            \"discharge\": 6.88888888888889\n                        }\n                    ]\n                },\n                \"6\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 13.7894736842105,\n                            \"discharge\": 6.125\n                        }\n                    ]\n                },\n                \"7\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 11.1578947368421,\n                            \"discharge\": 2.16666666666667\n                        }\n                    ]\n                },\n                \"8\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 14.15,\n                            \"discharge\": 8.33333333333333\n                        }\n                    ]\n                },\n                \"9\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 10.2142857142857,\n                            \"discharge\": 5.8\n                        }\n                    ]\n                },\n                \"10\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 13.3181818181818,\n                            \"discharge\": 8.11111111111111\n                        }\n                    ]\n                },\n                \"11\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Severity Score\",\n                            \"score_name\": \"Total Severity Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 13.2631578947368,\n                            \"discharge\": 9.5\n                        }\n                    ]\n                }\n            },\n            \"6e7ab720-e394-4457-89f6-c7f1c7147b32\": {\n                \"3\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.33333333333333,\n                            \"discharge\": 7\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 1.66666666666667,\n                            \"discharge\": 2\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.16666666666667,\n                            \"discharge\": 3\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.33333333333333,\n                            \"discharge\": 6\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4,\n                            \"discharge\": 3\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 19,\n                            \"discharge\": 24\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.5,\n                            \"discharge\": 3\n                        }\n                    ]\n                },\n                \"4\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3,\n                            \"discharge\": 3.71428571428571\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.15,\n                            \"discharge\": 3.42857142857143\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.8,\n                            \"discharge\": 4.28571428571429\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 8.95,\n                            \"discharge\": 7.14285714285714\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.3,\n                            \"discharge\": 2.85714285714286\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 27.1,\n                            \"discharge\": 25.5714285714286\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.9,\n                            \"discharge\": 4.14285714285714\n                        }\n                    ]\n                },\n                \"5\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.95,\n                            \"discharge\": 2.44444444444444\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.8,\n                            \"discharge\": 1.44444444444444\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.7,\n                            \"discharge\": 1.44444444444444\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 8.2,\n                            \"discharge\": 6.22222222222222\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.45,\n                            \"discharge\": 1.77777777777778\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 28.4,\n                            \"discharge\": 16\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.3,\n                            \"discharge\": 2.66666666666667\n                        }\n                    ]\n                },\n                \"6\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.78947368421053,\n                            \"discharge\": 1.25\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.63157894736842,\n                            \"discharge\": 0.625\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.15789473684211,\n                            \"discharge\": 2.125\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 7.78947368421053,\n                            \"discharge\": 4.125\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.57894736842105,\n                            \"discharge\": 1.625\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 25.1578947368421,\n                            \"discharge\": 12.75\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 5.21052631578947,\n                            \"discharge\": 3\n                        }\n                    ]\n                },\n                \"7\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.36842105263158,\n                            \"discharge\": 1.5\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.10526315789474,\n                            \"discharge\": 0.833333333333333\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 1.89473684210526,\n                            \"discharge\": 0.5\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 6.05263157894737,\n                            \"discharge\": 4.33333333333333\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.73684210526316,\n                            \"discharge\": 1.33333333333333\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 18.5789473684211,\n                            \"discharge\": 9.5\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.42105263157895,\n                            \"discharge\": 1\n                        }\n                    ]\n                },\n                \"8\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.85,\n                            \"discharge\": 1.33333333333333\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4,\n                            \"discharge\": 1.41666666666667\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.35,\n                            \"discharge\": 1.58333333333333\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 7.35,\n                            \"discharge\": 3.91666666666667\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.5,\n                            \"discharge\": 2.66666666666667\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 24.9,\n                            \"discharge\": 12.5833333333333\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.85,\n                            \"discharge\": 1.66666666666667\n                        }\n                    ]\n                },\n                \"9\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.42857142857143,\n                            \"discharge\": 2.8\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.92857142857143,\n                            \"discharge\": 0.6\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.78571428571429,\n                            \"discharge\": 3\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 6,\n                            \"discharge\": 2.6\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 4.28571428571429,\n                            \"discharge\": 2.4\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 24.2142857142857,\n                            \"discharge\": 13.6\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.78571428571429,\n                            \"discharge\": 2.2\n                        }\n                    ]\n                },\n                \"10\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.86363636363636,\n                            \"discharge\": 1\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.31818181818182,\n                            \"discharge\": 1.22222222222222\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.40909090909091,\n                            \"discharge\": 0.555555555555556\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 6.36363636363636,\n                            \"discharge\": 4\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.18181818181818,\n                            \"discharge\": 2.55555555555556\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 20.1818181818182,\n                            \"discharge\": 10.1111111111111\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.04545454545455,\n                            \"discharge\": 0.777777777777778\n                        }\n                    ]\n                },\n                \"11\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Checking\",\n                            \"score_name\": \"Checking\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.89473684210526,\n                            \"discharge\": 2\n                        },\n                        {\n                            \"score_label\": \"Hoarding\",\n                            \"score_name\": \"Hoarding\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.68421052631579,\n                            \"discharge\": 2.5\n                        },\n                        {\n                            \"score_label\": \"Neutralizing\",\n                            \"score_name\": \"Neutralizing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 2.36842105263158,\n                            \"discharge\": 0.5\n                        },\n                        {\n                            \"score_label\": \"Obsessing\",\n                            \"score_name\": \"Obsessing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 5.89473684210526,\n                            \"discharge\": 6.5\n                        },\n                        {\n                            \"score_label\": \"Ordering\",\n                            \"score_name\": \"Ordering\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.57894736842105,\n                            \"discharge\": 2\n                        },\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 20.5263157894737,\n                            \"discharge\": 19.5\n                        },\n                        {\n                            \"score_label\": \"Washing\",\n                            \"score_name\": \"Washing\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 3.10526315789474,\n                            \"discharge\": 6\n                        }\n                    ]\n                }\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"6\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 24,\n                            \"discharge\": 17.375\n                        }\n                    ]\n                },\n                \"7\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 27.5789473684211,\n                            \"discharge\": 12.5\n                        }\n                    ]\n                },\n                \"8\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 30.5,\n                            \"discharge\": 20.1\n                        }\n                    ]\n                },\n                \"9\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 27,\n                            \"discharge\": 21\n                        }\n                    ]\n                },\n                \"10\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 28.9545454545455,\n                            \"discharge\": 18.3333333333333\n                        }\n                    ]\n                }\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"3\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 12.1666666666667,\n                            \"discharge\": 9\n                        }\n                    ]\n                },\n                \"4\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 15.7142857142857,\n                            \"discharge\": 10.4285714285714\n                        }\n                    ]\n                },\n                \"5\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 14.25,\n                            \"discharge\": 7\n                        }\n                    ]\n                },\n                \"6\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 13.6842105263158,\n                            \"discharge\": 6\n                        }\n                    ]\n                },\n                \"7\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 12.9473684210526,\n                            \"discharge\": 4.33333333333333\n                        }\n                    ]\n                },\n                \"8\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 13.6,\n                            \"discharge\": 8.66666666666667\n                        }\n                    ]\n                },\n                \"9\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 12.7857142857143,\n                            \"discharge\": 6.6\n                        }\n                    ]\n                },\n                \"10\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 12.1363636363636,\n                            \"discharge\": 7.88888888888889\n                        }\n                    ]\n                },\n                \"11\": {\n                    \"total_score\": [\n                        {\n                            \"score_label\": \"Total Score\",\n                            \"score_name\": \"Total Score\",\n                            \"score_type\": \"total_score\",\n                            \"admission\": 12.4736842105263,\n                            \"discharge\": 11.5\n                        }\n                    ]\n                }\n            }\n        }\n    }\n}"},{"id":"478e8a0c-e827-407d-98cc-e9a21086055a","name":"Average Scores over Time Chart Query","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"{{domain}}\",\n    \"query\": \"scores_over_time\"\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 24 Sep 2020 17:42:32 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"33602"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": {\n        \"e3c6224b-7215-4c37-82f0-39cebb1f1f83\": {\n            \"3d722f4f-a8b9-4696-a03c-a51d8eea787a\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 8.73333333333333\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.66666666666667\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 21.32\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 48.32\n                    }\n                ]\n            },\n            \"dc437068-00fd-4e39-bbb4-e1076c54fcf7\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 3.80645161290323\n                    }\n                ]\n            }\n        },\n        \"89e38adb-7855-49aa-9e61-5779c348e2eb\": {\n            \"4ed374c9-eed2-4e8f-9985-b01747fb37fc\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (Eating and Weight-Related Concerns)\",\n                        \"score_name\": \"Total Score (Eating and Weight-Related Concerns)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 23.953488372093\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 33.5609756097561\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 11.7115384615385\n                    }\n                ]\n            },\n            \"e4300afb-2035-4e42-94db-9a5a4165eada\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - ED Symptom Severity\",\n                        \"score_name\": \"Total Score - ED Symptom Severity\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 12.6410256410256\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 24.093023255814\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 12\n                    }\n                ]\n            }\n        },\n        \"c371de0e-2e58-4319-a90f-6654db462cee\": {\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 65.4545454545455\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.61538461538461\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 16.7727272727273\n                    }\n                ]\n            },\n            \"90a97c47-f818-47cc-93aa-b74565d09b68\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Depression\",\n                        \"score_name\": \"Total Score - Severity of Depression\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.26923076923077\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4.69230769230769\n                    }\n                ]\n            }\n        },\n        \"7c1c1753-ecf4-4f1d-83e4-9bdea172125b\": {\n            \"4ed374c9-eed2-4e8f-9985-b01747fb37fc\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (Eating and Weight-Related Concerns)\",\n                        \"score_name\": \"Total Score (Eating and Weight-Related Concerns)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 9.96363636363636\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.28571428571429\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 56.1509433962264\n                    }\n                ]\n            },\n            \"e4300afb-2035-4e42-94db-9a5a4165eada\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - ED Symptom Severity\",\n                        \"score_name\": \"Total Score - ED Symptom Severity\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 14.25\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 17.9056603773585\n                    }\n                ]\n            }\n        },\n        \"179b3881-9e45-42b3-86c8-afac6f00bee9\": {\n            \"43ed2a16-9b49-483f-b83a-139a2de73ba3\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Attention Subscale\",\n                        \"score_name\": \"Attention Subscale\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.35714285714286\n                    },\n                    {\n                        \"score_label\": \"Total Score - Mental Health Risk\",\n                        \"score_name\": \"Total Score - Mental Health Risk\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 30.8571428571429\n                    },\n                    {\n                        \"score_label\": \"Externalizing Subscale\",\n                        \"score_name\": \"Externalizing Subscale\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.07142857142857\n                    },\n                    {\n                        \"score_label\": \"Internalizing Subscale\",\n                        \"score_name\": \"Internalizing Subscale\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.85714285714286\n                    }\n                ]\n            },\n            \"a229b187-9a6a-49ec-b054-7fd1537ad2ac\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Attention\",\n                        \"score_name\": \"Attention\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.8\n                    },\n                    {\n                        \"score_label\": \"Total Score - Mental Health Risk\",\n                        \"score_name\": \"Total Score - Mental Health Risk\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 20.6\n                    },\n                    {\n                        \"score_label\": \"Externalizing\",\n                        \"score_name\": \"Externalizing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.2\n                    },\n                    {\n                        \"score_label\": \"Internalizing\",\n                        \"score_name\": \"Internalizing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.6\n                    }\n                ]\n            },\n            \"d0f46c09-c851-420c-8053-7edd652780fc\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Oppositional Defiant Disorder\",\n                        \"score_name\": \"Oppositional Defiant Disorder\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2.92857142857143\n                    },\n                    {\n                        \"score_label\": \"ADHD - Inattention\",\n                        \"score_name\": \"ADHD - Inattention\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 3.35714285714286\n                    },\n                    {\n                        \"score_label\": \"ADHD - Hyperactivity/Impulsivity\",\n                        \"score_name\": \"ADHD - Hyperactivity/Impulsivity\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2.92857142857143\n                    },\n                    {\n                        \"score_label\": \"Conduct Disorder\",\n                        \"score_name\": \"Conduct Disorder\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0.357142857142857\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 56.5714285714286\n                    }\n                ]\n            }\n        },\n        \"06c885e4-eec9-4a65-a719-fae2b1f61a51\": {\n            \"6e7ab720-e394-4457-89f6-c7f1c7147b32\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Checking\",\n                        \"score_name\": \"Checking\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1.16564417177914\n                    },\n                    {\n                        \"score_label\": \"Neutralizing\",\n                        \"score_name\": \"Neutralizing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0.920245398773006\n                    },\n                    {\n                        \"score_label\": \"Ordering\",\n                        \"score_name\": \"Ordering\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1.38650306748466\n                    },\n                    {\n                        \"score_label\": \"Obsessing\",\n                        \"score_name\": \"Obsessing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 3.38650306748466\n                    },\n                    {\n                        \"score_label\": \"Hoarding\",\n                        \"score_name\": \"Hoarding\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1.04907975460123\n                    },\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 9.34969325153374\n                    },\n                    {\n                        \"score_label\": \"Washing\",\n                        \"score_name\": \"Washing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1.44171779141104\n                    }\n                ]\n            },\n            \"be431eef-9308-4c3c-b3ab-b8afa076e041\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_name\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 9\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.01829268292683\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.27878787878788\n                    }\n                ]\n            },\n            \"e4300afb-2035-4e42-94db-9a5a4165eada\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - ED Symptom Severity\",\n                        \"score_name\": \"Total Score - ED Symptom Severity\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {\n                            \"1\": 2\n                        },\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 16.7785714285714\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 57.9290780141844\n                    }\n                ]\n            },\n            \"9ab01e4d-2760-414e-b617-adba652e5557\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5\n                    }\n                ]\n            }\n        },\n        \"6659fe7f-6844-4cfd-8dd4-d7ddf739e5b4\": {\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 9.5\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 39.5555555555556\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 10.2857142857143\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 24\n                    }\n                ]\n            }\n        },\n        \"18c28cf6-3356-46ef-8388-71e5b5bbe31b\": {\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 19.8181818181818\n                    }\n                ]\n            },\n            \"e4300afb-2035-4e42-94db-9a5a4165eada\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - ED Symptom Severity\",\n                        \"score_name\": \"Total Score - ED Symptom Severity\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 12.9333333333333\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 49.0909090909091\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 8.79411764705882\n                    }\n                ]\n            },\n            \"4ed374c9-eed2-4e8f-9985-b01747fb37fc\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (Eating and Weight-Related Concerns)\",\n                        \"score_name\": \"Total Score (Eating and Weight-Related Concerns)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 26.2272727272727\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {\n                            \"1\": 7\n                        },\n                        \"discharge\": null\n                    }\n                ]\n            }\n        },\n        \"bc30802d-1ea8-4401-9962-643be7996be3\": {\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 18.0697674418605\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.46938775510204\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.85714285714286\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 53.4883720930233\n                    }\n                ]\n            },\n            \"f55348a3-4271-4474-a644-26e07308f665\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0.976190476190476\n                    }\n                ]\n            },\n            \"be431eef-9308-4c3c-b3ab-b8afa076e041\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_name\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    }\n                ]\n            },\n            \"9ab01e4d-2760-414e-b617-adba652e5557\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    }\n                ]\n            }\n        },\n        \"6b007bcb-3969-4b74-b42a-323911d6b643\": {\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 9\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 21\n                    }\n                ]\n            },\n            \"a3792ae1-04a2-4b2f-b504-3c3bba994991\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Inter-personal influence\",\n                        \"score_name\": \"Inter-personal influence\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Anti-dissociation\",\n                        \"score_name\": \"Anti-dissociation\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Toughness\",\n                        \"score_name\": \"Toughness\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Autonomy\",\n                        \"score_name\": \"Autonomy\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Revenge\",\n                        \"score_name\": \"Revenge\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Affect Regulation\",\n                        \"score_name\": \"Affect Regulation\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Self-punishment\",\n                        \"score_name\": \"Self-punishment\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Anti-suicide\",\n                        \"score_name\": \"Anti-suicide\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Inter-personal boundaries\",\n                        \"score_name\": \"Inter-personal boundaries\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Self-care\",\n                        \"score_name\": \"Self-care\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Marking distress\",\n                        \"score_name\": \"Marking distress\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Sensation seeking\",\n                        \"score_name\": \"Sensation seeking\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Peer bonding\",\n                        \"score_name\": \"Peer bonding\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 28\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 24\n                    }\n                ]\n            }\n        },\n        \"3d6ceac9-125c-4ad8-92d5-f587159a7467\": {\n            \"6e7ab720-e394-4457-89f6-c7f1c7147b32\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Washing\",\n                        \"score_name\": \"Washing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 9,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 30,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Obsessing\",\n                        \"score_name\": \"Obsessing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 9.5,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Neutralizing\",\n                        \"score_name\": \"Neutralizing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 2.5,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Checking\",\n                        \"score_name\": \"Checking\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 3,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Ordering\",\n                        \"score_name\": \"Ordering\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 6,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Hoarding\",\n                        \"score_name\": \"Hoarding\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 0,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"9584a8ba-551a-402c-9151-5709bacdd082\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Obsessive Thoughts Severity - Total Score\",\n                        \"score_name\": \"Obsessive Thoughts Severity - Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 10,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 24.5,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    },\n                    {\n                        \"score_label\": \"Compulsive Behaviors Severity- Total Score\",\n                        \"score_name\": \"Compulsive Behaviors Severity- Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 14.5,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 10.5,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 8,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 36,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": 20,\n                        \"over_time\": {},\n                        \"discharge\": null\n                    }\n                ]\n            }\n        },\n        \"1de152bd-c1a4-4719-972a-2ac7ede7e644\": {\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.64705882352941\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 15.5384615384615\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 57.5384615384615\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.11764705882353\n                    }\n                ]\n            }\n        },\n        \"3a8abc9f-42bd-47d0-9e57-1cc207570225\": {\n            \"f55348a3-4271-4474-a644-26e07308f665\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1.09090909090909\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 61.8181818181818\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.625\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 16.4545454545455\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.625\n                    }\n                ]\n            }\n        },\n        \"2ccb5be2-6f92-4727-a563-c1cc95f08972\": {\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 70.8571428571429\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 13.1428571428571\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4\n                    }\n                ]\n            },\n            \"be431eef-9308-4c3c-b3ab-b8afa076e041\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_name\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2.16666666666667\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5\n                    }\n                ]\n            },\n            \"9ab01e4d-2760-414e-b617-adba652e5557\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2.5\n                    }\n                ]\n            }\n        },\n        \"b3a0770e-07b0-48cb-9282-6bb44d3563c2\": {\n            \"be431eef-9308-4c3c-b3ab-b8afa076e041\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_name\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 20\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7\n                    }\n                ]\n            },\n            \"9ab01e4d-2760-414e-b617-adba652e5557\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 12\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 48\n                    }\n                ]\n            }\n        },\n        \"21e5967b-cc20-4919-b413-0b948bee0eaa\": {\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 49.1929824561403\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 8.12621359223301\n                    }\n                ]\n            },\n            \"6e7ab720-e394-4457-89f6-c7f1c7147b32\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Ordering\",\n                        \"score_name\": \"Ordering\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2.35922330097087\n                    },\n                    {\n                        \"score_label\": \"Neutralizing\",\n                        \"score_name\": \"Neutralizing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1.67961165048544\n                    },\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 14.9417475728155\n                    },\n                    {\n                        \"score_label\": \"Obsessing\",\n                        \"score_name\": \"Obsessing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4.96116504854369\n                    },\n                    {\n                        \"score_label\": \"Hoarding\",\n                        \"score_name\": \"Hoarding\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1.46601941747573\n                    },\n                    {\n                        \"score_label\": \"Washing\",\n                        \"score_name\": \"Washing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2.39805825242718\n                    },\n                    {\n                        \"score_label\": \"Checking\",\n                        \"score_name\": \"Checking\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2.07766990291262\n                    }\n                ]\n            },\n            \"9ab01e4d-2760-414e-b617-adba652e5557\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {\n                            \"1\": 0\n                        },\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.93203883495146\n                    }\n                ]\n            },\n            \"be431eef-9308-4c3c-b3ab-b8afa076e041\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_name\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {\n                            \"1\": 2\n                        },\n                        \"discharge\": null\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 19.3859649122807\n                    }\n                ]\n            }\n        },\n        \"30c020a9-f0f2-4343-bcdd-8c13550477b6\": {\n            \"43ed2a16-9b49-483f-b83a-139a2de73ba3\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Mental Health Risk\",\n                        \"score_name\": \"Total Score - Mental Health Risk\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 35\n                    },\n                    {\n                        \"score_label\": \"Externalizing Subscale\",\n                        \"score_name\": \"Externalizing Subscale\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.66666666666667\n                    },\n                    {\n                        \"score_label\": \"Attention Subscale\",\n                        \"score_name\": \"Attention Subscale\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.33333333333333\n                    },\n                    {\n                        \"score_label\": \"Internalizing Subscale\",\n                        \"score_name\": \"Internalizing Subscale\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.66666666666667\n                    }\n                ]\n            },\n            \"d0f46c09-c851-420c-8053-7edd652780fc\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"ADHD - Inattention\",\n                        \"score_name\": \"ADHD - Inattention\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.66666666666667\n                    },\n                    {\n                        \"score_label\": \"ADHD - Hyperactivity/Impulsivity\",\n                        \"score_name\": \"ADHD - Hyperactivity/Impulsivity\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 3.33333333333333\n                    },\n                    {\n                        \"score_label\": \"Conduct Disorder\",\n                        \"score_name\": \"Conduct Disorder\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    },\n                    {\n                        \"score_label\": \"Oppositional Defiant Disorder\",\n                        \"score_name\": \"Oppositional Defiant Disorder\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4.66666666666667\n                    }\n                ]\n            },\n            \"a229b187-9a6a-49ec-b054-7fd1537ad2ac\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Attention\",\n                        \"score_name\": \"Attention\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7\n                    },\n                    {\n                        \"score_label\": \"Internalizing\",\n                        \"score_name\": \"Internalizing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5\n                    },\n                    {\n                        \"score_label\": \"Total Score - Mental Health Risk\",\n                        \"score_name\": \"Total Score - Mental Health Risk\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 22\n                    },\n                    {\n                        \"score_label\": \"Externalizing\",\n                        \"score_name\": \"Externalizing\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 10\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 64\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 2\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 1\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7\n                    }\n                ]\n            },\n            \"f55348a3-4271-4474-a644-26e07308f665\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    }\n                ]\n            }\n        },\n        \"7c8e049f-ce4f-4a9a-9551-afcdd4ed6fc6\": {\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4.78571428571429\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4.33333333333333\n                    }\n                ]\n            },\n            \"9ab01e4d-2760-414e-b617-adba652e5557\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4.33333333333333\n                    }\n                ]\n            },\n            \"be431eef-9308-4c3c-b3ab-b8afa076e041\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_name\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 3.16666666666667\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 12.2285714285714\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 69.8285714285714\n                    }\n                ]\n            }\n        },\n        \"cc7af09a-1403-4e0e-b414-a6dd22a6964e\": {\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 4.87837837837838\n                    }\n                ]\n            },\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.27397260273973\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 14.8787878787879\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 59.3939393939394\n                    }\n                ]\n            },\n            \"f55348a3-4271-4474-a644-26e07308f665\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0.815384615384615\n                    }\n                ]\n            },\n            \"be431eef-9308-4c3c-b3ab-b8afa076e041\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_name\": \"Total Score - Severity of Drug-Related Problems\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    }\n                ]\n            },\n            \"9ab01e4d-2760-414e-b617-adba652e5557\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0\n                    }\n                ]\n            }\n        },\n        \"a5d7c3d8-a03b-4372-ba96-7cdabf12fe79\": {\n            \"4238073d-d53f-4adc-a36a-6c28bd1b4e56\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 7.10169491525424\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 5.55932203389831\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 17.6363636363636\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 49.9636363636364\n                    }\n                ]\n            },\n            \"f55348a3-4271-4474-a644-26e07308f665\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 0.907407407407407\n                    }\n                ]\n            }\n        },\n        \"eac17939-2f68-4fb5-a09f-53cc5b1869d6\": {\n            \"dc437068-00fd-4e39-bbb4-e1076c54fcf7\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 3.91666666666667\n                    }\n                ]\n            },\n            \"3d722f4f-a8b9-4696-a03c-a51d8eea787a\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Severity Score\",\n                        \"score_name\": \"Total Severity Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 8.73333333333333\n                    }\n                ]\n            },\n            \"b204f428-e195-4ac9-b370-5ddc1e16cfd5\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 22.9411764705882\n                    }\n                ]\n            },\n            \"cfda2630-5a50-4af4-97c5-dd4ad1095a43\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score\",\n                        \"score_name\": \"Total Score\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 6.96666666666667\n                    }\n                ]\n            },\n            \"205af142-380e-42c4-a1fa-16c9105085c0\": {\n                \"total_score\": [\n                    {\n                        \"score_label\": \"Total Score (%)\",\n                        \"score_name\": \"Total Score (%)\",\n                        \"score_type\": \"total_score\",\n                        \"admission\": null,\n                        \"over_time\": {},\n                        \"discharge\": 44.2352941176471\n                    }\n                ]\n            }\n        }\n    }\n}"},{"id":"b050d0bd-a504-4abd-ab34-7dd9a37a1952","name":"Days From Admission to Discharge Chart Query (using Length of Treatment)","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"{{domain}}\",\n    \"criteria\": {\n        \"program_uuid\": [\"ef106989-b22c-4ca3-ab25-fc5485c8e516\"]\n    },\n    \"group_by\": [\n        {\"column\": \"program_uuid\", \"function\": \"group_only\"}\n    ],\n    \"ranges\": {\"column\": \"patient_uuid\", \"function\": \"count\", \"distinct\": true, \"groups\": [{\n        \"criteria\": {\"length_of_treatment\": {\"less_than\": 2}},\n        \"alias\": \"lot_under_2\"\n    }, {\n        \"criteria\": {\"length_of_treatment\": {\"greater_than\": 3, \"less_than\": 5}},\n        \"alias\": \"lot_3_5\"\n    }, {\n        \"criteria\": {\"length_of_treatment\": {\"greater_than\": 6, \"less_than\": 7}},\n        \"alias\": \"lot_6_7\"\n    }, {\n        \"criteria\": {\"length_of_treatment\": {\"greater_than\": 8, \"less_than\": 10}},\n        \"alias\": \"lot_8_10\"\n    }, {\n        \"criteria\": {\"length_of_treatment\": {\"greater_than\": 11, \"less_than\": 14}},\n        \"alias\": \"lot_11_14\"\n    }, {\n        \"criteria\": {\"length_of_treatment\": {\"greater_than\": 15, \"less_than\": 20}},\n        \"alias\": \"lot_15_20\"\n    }, {\n        \"criteria\": {\"length_of_treatment\": {\"greater_than\": 21, \"less_than\": 28}},\n        \"alias\": \"lot_21_28\"\n    }, {\n        \"criteria\": {\"length_of_treatment\": {\"greater_than\": 29}},\n        \"alias\": \"lot_over_29\"\n    }\n    ]}\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Sep 2020 19:18:29 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"187"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"program_uuid\": \"ef106989-b22c-4ca3-ab25-fc5485c8e516\",\n            \"lot_under_2\": 26,\n            \"lot_3_5\": 19,\n            \"lot_6_7\": 36,\n            \"lot_8_10\": 33,\n            \"lot_11_14\": 61,\n            \"lot_15_20\": 78,\n            \"lot_21_28\": 82,\n            \"lot_over_29\": 6\n        }\n    ]\n}"},{"id":"b394551b-b0b8-4327-bdec-e0976ee67e49","name":"Age Range Chart Query","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"{{domain}}\",\n    \"criteria\": {\n        \"program_uuid\": [\"ef106989-b22c-4ca3-ab25-fc5485c8e516\"]\n    },\n    \"group_by\": [\n        {\"column\": \"program_uuid\", \"function\": \"group_only\"}\n    ],\n    \"ranges\": {\"column\": \"patient_uuid\", \"function\": \"count\", \"distinct\": true, \"groups\": [{\n        \"criteria\": {\"age\": {\"less_than\": 17}},\n        \"alias\": \"age_under_18\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 18, \"less_than\": 25}},\n        \"alias\": \"age_18_25\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 26, \"less_than\": 30}},\n        \"alias\": \"age_26_30\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 31, \"less_than\": 35}},\n        \"alias\": \"age_31_35\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 36, \"less_than\": 40}},\n        \"alias\": \"age_36_40\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 41, \"less_than\": 45}},\n        \"alias\": \"age_41_45\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 46, \"less_than\": 50}},\n        \"alias\": \"age_46_50\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 51, \"less_than\": 55}},\n        \"alias\": \"age_51_55\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 56, \"less_than\": 60}},\n        \"alias\": \"age_56_60\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 61, \"less_than\": 65}},\n        \"alias\": \"age_61_65\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 66, \"less_than\": 70}},\n        \"alias\": \"age_66_70\"\n    }, {\n        \"criteria\": {\"age\": {\"greater_than\": 71}},\n        \"alias\": \"age_over_71\"\n    }\n    ]}\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Sep 2020 19:21:58 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"244"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"program_uuid\": \"ef106989-b22c-4ca3-ab25-fc5485c8e516\",\n            \"age_under_18\": 331,\n            \"age_18_25\": 0,\n            \"age_26_30\": 0,\n            \"age_31_35\": 0,\n            \"age_36_40\": 0,\n            \"age_41_45\": 0,\n            \"age_46_50\": 0,\n            \"age_51_55\": 0,\n            \"age_56_60\": 0,\n            \"age_61_65\": 0,\n            \"age_66_70\": 0,\n            \"age_over_71\": 0\n        }\n    ]\n}"},{"id":"c869aa7f-ea8b-43cb-b028-dec980a20203","name":"Responses Completed After 2020-06-01 with Full Results","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"domain\": \"{{domain}}\",\n\t\"criteria\": {\n\t\t\"completed\": {\"greater_than\": 1590969600}\n\t},\n\t\"count_only\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 14 Jul 2020 17:48:35 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.7.7"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"2287"},{"key":"X-Content-Type-Options","value":"nosniff"}],"cookie":[],"responseTime":null,"body":"{\n    \"count\": 2,\n    \"page\": 1,\n    \"start_row\": 1,\n    \"end_row\": 2,\n    \"results\": [\n        {\n            \"completed\": \"2020-06-02\",\n            \"completed_on_due_date\": false,\n            \"due_date\": null,\n            \"measure_available\": null,\n            \"response_type\": \"standard\",\n            \"skipped_answers\": false,\n            \"response_modified_datetime\": null,\n            \"response_modified_by\": null,\n            \"measure_name\": \"PHQ-9\",\n            \"measure_abbreviation\": \"PHQ-9\",\n            \"measure_id\": \"792\",\n            \"age\": 34,\n            \"first_name\": \"Patient\",\n            \"gender\": \"male\",\n            \"last_name\": \"User 1\",\n            \"middle_name\": null,\n            \"patient_uuid\": \"0b3d3f1c-08f5-4f53-82e4-3f5a8e4ea14c\",\n            \"respondent_first_name\": null,\n            \"respondent_middle_name\": null,\n            \"respondent_last_name\": null,\n            \"respondent_relationship\": null,\n            \"respondent_uuid\": null,\n            \"length_of_treatment\": 30,\n            \"visit_id\": null,\n            \"visit_datetime\": null,\n            \"scheduled_frequency\": null,\n            \"schedule_type\": null,\n            \"appointment_uuid\": null,\n            \"measure_uuid\": \"db679ef7-46e8-4a86-9ad7-93adab54130e\",\n            \"response_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cbcc\",\n            \"domain\": \"site1.com\",\n            \"clinicians\": \"\",\n            \"clinical_teams\": \"\",\n            \"program\": \"Program 1\",\n            \"program_assignment_uuid\": \"00099804-c421-4b4a-974f-6b96394f5bee\",\n            \"program_id\": 345,\n            \"program_status\": \"admitted\",\n            \"program_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cfee\",\n            \"scores\": [\n                {\n                    \"label\": \"New Score\",\n                    \"name\": \"score\",\n                    \"type\": \"standard\",\n                    \"value\": 2.7\n                }\n            ]\n        },\n        {\n            \"completed\": \"2020-06-02\",\n            \"completed_on_due_date\": false,\n            \"due_date\": null,\n            \"measure_available\": null,\n            \"response_type\": \"standard\",\n            \"skipped_answers\": false,\n            \"response_modified_datetime\": null,\n            \"response_modified_by\": null,\n            \"measure_name\": \"PHQ-9\",\n            \"measure_abbreviation\": \"PHQ-9\",\n            \"measure_id\": \"792\",\n            \"age\": 34,\n            \"first_name\": \"Patient\",\n            \"gender\": \"male\",\n            \"last_name\": \"User 1\",\n            \"middle_name\": null,\n            \"patient_uuid\": \"0b3d3f1c-08f5-4f53-82e4-3f5a8e4ea14c\",\n            \"respondent_first_name\": null,\n            \"respondent_middle_name\": null,\n            \"respondent_last_name\": null,\n            \"respondent_relationship\": null,\n            \"respondent_uuid\": null,\n            \"length_of_treatment\": 30,\n            \"visit_id\": null,\n            \"visit_datetime\": null,\n            \"scheduled_frequency\": null,\n            \"schedule_type\": null,\n            \"appointment_uuid\": null,\n            \"measure_uuid\": \"db679ef7-46e8-4a86-9ad7-93adab54130e\",\n            \"response_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cbcb\",\n            \"domain\": \"site1.com\",\n            \"clinicians\": \"\",\n            \"clinical_teams\": \"\",\n            \"program\": \"Program 1\",\n            \"program_assignment_uuid\": \"00099804-c421-4b4a-974f-6b96394f5bee\",\n            \"program_id\": 345,\n            \"program_status\": \"admitted\",\n            \"program_uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cfee\",\n            \"scores\": [\n                {\n                    \"label\": \"New Score\",\n                    \"name\": \"score\",\n                    \"type\": \"standard\",\n                    \"value\": 2.7\n                }\n            ]\n        }\n    ]\n}"},{"id":"e0fc2807-7592-4e21-9068-8cf6c84b1735","name":"Discharge Disposition Chart Query","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"{{domain}}\",\n    \"criteria\": {\n        \"program_status\": {\n            \"condition\": \"not\",\n            \"value\": null\n        }\n    },\n    \"group_by\": [\n        {\"column\": \"program_uuid\", \"function\": \"group_only\"},\n        {\"column\": \"program_status\", \"function\": \"group_only\", \"include_column\": true}\n    ],\n    \"aggregate\": [\n        {\"column\": \"patient_uuid\", \"function\": \"count\", \"distinct\": true, \"alias\": \"patient_count\"}\n    ],\n    \"order_by\": [\n        {\"column\": \"program_uuid\"}\n    ]\n}\n","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 21 Sep 2020 20:53:12 GMT"},{"key":"Server","value":"WSGIServer/0.2 CPython/3.8.5"},{"key":"Content-Type","value":"application/json"},{"key":"Vary","value":"Accept"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"X-Frame-Options","value":"DENY"},{"key":"Content-Length","value":"845"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"}],"cookie":[],"responseTime":null,"body":"{\n    \"results\": [\n        {\n            \"patient_count\": 1,\n            \"program_uuid\": \"253de33c-fc1e-4d4d-8a71-fa11f8d6f515\",\n            \"program_status\": \"completed\"\n        },\n        {\n            \"patient_count\": 2,\n            \"program_uuid\": \"253de33c-fc1e-4d4d-8a71-fa11f8d6f515\",\n            \"program_status\": \"admitted\"\n        },\n        {\n            \"patient_count\": 2,\n            \"program_uuid\": \"65109109-061a-4f79-acba-b2d7cdef6bad\",\n            \"program_status\": \"admitted\"\n        },\n        {\n            \"patient_count\": 1,\n            \"program_uuid\": \"f6299ba5-23f9-4911-b2a4-e95db71358ee\",\n            \"program_status\": \"discharged_inactivity\"\n        },\n        {\n            \"patient_count\": 2,\n            \"program_uuid\": \"f6299ba5-23f9-4911-b2a4-e95db71358ee\",\n            \"program_status\": \"completed\"\n        },\n        {\n            \"patient_count\": 5,\n            \"program_uuid\": \"f6299ba5-23f9-4911-b2a4-e95db71358ee\",\n            \"program_status\": \"admitted\"\n        },\n        {\n            \"patient_count\": 2,\n            \"program_uuid\": \"fe1aee87-cf20-4cdd-a675-60b5012c4c53\",\n            \"program_status\": \"completed\"\n        },\n        {\n            \"patient_count\": 3,\n            \"program_uuid\": \"fe1aee87-cf20-4cdd-a675-60b5012c4c53\",\n            \"program_status\": \"admitted\"\n        }\n    ]\n}"}],"_postman_id":"6808fdd3-7722-4e8f-bda9-ef9853a13d80"},{"name":"Report Query - Measure Export","id":"740962ac-bb6e-487e-9c4c-0cdad2a178c0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"{{domain}}\",\n    \"criteria\": {\n        \"program_uuid\": [\"06c885e4-eec9-4a65-a719-fae2b1f61a51\", \"21e5967b-cc20-4919-b413-0b948bee0eaa\"]\n    },\n    \"export\": {\n        \"format\": \"csv\",\n        \"requestor\": \"f3f34926-efa7-48a3-8c7a-ab1aaa0d7bbd\",\n        \"filename\": \"CAR-2020-01-28-13:02\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/","description":"<p>Queries measure response data based upon the specified critiera and queues the data for export. Uses the exact same <code>criteria</code> syntax as the query endpoint with the addition of an <code>export</code> key. This record is only separated for simplicity of documentation.</p>\n<h2 id=\"criteria\">Criteria</h2>\n<h1 id=\"export-key\">export key</h1>\n<p>To perform an export, the <code>export</code> key must be specified and include the <code>format</code> key. All other keys are optional.</p>\n<ul>\n<li><code>format</code> - The file format for the export. Supported options are: csv</li>\n<li><code>requestor</code> - UUID of the user requesting the export. This will be considered the file's owner.</li>\n<li><code>filename</code> - Optional. If specified, the output will be saved using this filename. Default is Owl-[MON][day]-[year]-[hour]:[min]:[sec].[format extension]</li>\n<li><code>columns</code> - Optional. If specified, it should be an array of JSON objects in the following format:</li>\n</ul>\n<p>{\"header\": \"[Column header for the column]\", \"field\": \"[The query field name as it appears in the query results]\"}</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","report","query","measure",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"57e6c166-6623-4bae-82b4-bc60214ba155","name":"Report Query - Measure Export - Export Queued","originalRequest":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","type":"text","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"domain\": \"{{domain}}\",\n    \"criteria\": {\n        \"program_uuid\": [\"06c885e4-eec9-4a65-a719-fae2b1f61a51\", \"21e5967b-cc20-4919-b413-0b948bee0eaa\"]\n    },\n    \"export\": {\n        \"format\": \"csv\",\n        \"requestor\": \"f3f34926-efa7-48a3-8c7a-ab1aaa0d7bbd\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/report/query/measure/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"138"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 20 Jan 2021 21:09:52 GMT"},{"key":"x-amzn-RequestId","value":"ade4e5af-623e-4a35-b199-f571c8d099f7"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Encoding","value":"gzip"},{"key":"Allow","value":"POST, OPTIONS"},{"key":"x-amzn-Remapped-Content-Length","value":"137"},{"key":"X-Frame-Options","value":"DENY"},{"key":"x-amz-apigw-id","value":"Zd1VHE6VvHcFtDg="},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60089c20-715a00c41fcdeebd3661cae7;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f99016c858f903f368ea65409c60a471.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DFW55-C2"},{"key":"X-Amz-Cf-Id","value":"VYj3ZTz6Q4MgWb3o4Dk3MFPqQRD7cTb48Tp1dLMevWgZ71QE79OUMQ=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1ee0967c-bc3b-4630-a266-5aa16289627a\",\n    \"status\": \"received\",\n    \"filename\": \"Owl-Jan20-2021-21:9:52\",\n    \"message\": \"Export request received\"\n}"}],"_postman_id":"740962ac-bb6e-487e-9c4c-0cdad2a178c0"},{"name":"Data Import - Measure","id":"7a0b0913-363d-41ce-af25-341abe3364cf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n\t\"domain\": \"site1.com\",\n\t\"data\": {\n\t\t\"program\": {\n\t\t\t\"admission\": 1591107105,\n\t\t\t\"assignment_uuid\": \"00099804-c421-4b4a-974f-6b96394f5bee\",\n\t\t\t\"id\": 345,\n\t\t\t\"length_of_treatment\": 30,\n\t\t\t\"name\": \"Program 1\",\n\t\t\t\"program_status\": \"admitted\",\n\t\t\t\"uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cfee\"\n\t\t},\n\t\t\"measure\": {\n\t\t\t\"abbreviation\": \"PHQ-9\",\n\t\t\t\"id\": 792,\n\t\t\t\"name\": \"PHQ-9\",\n\t\t\t\"uuid\": \"db679ef7-46e8-4a86-9ad7-93adab54130e\"\n\t\t},\n\t\t\"response\": {\n\t\t\t\"completed\": 1591107105,\n\t\t\t\"type\": \"standard\",\n\t\t\t\"uuid\": \"f10a22c8-fdc7-415d-b89a-f045c113cbcc\"\n\t\t},\n\t\t\"patient\": {\n\t\t\t\"age\": 34,\n\t\t\t\"customer_unique_identifier\": \"98765\",\n\t\t\t\"customer_unique_identifier_name\": \"FIN\",\n\t\t\t\"gender\": \"male\",\n\t\t\t\"mrn\": \"123456\",\n\t\t\t\"uuid\": \"0b3d3f1c-08f5-4f53-82e4-3f5a8e4ea14c\"\n\t\t},\n\t\t\"scores\": [\n\t\t\t{\n\t\t\t\t\"name\": \"score\",\n\t\t\t\t\"label\": \"New Score\", \n\t\t\t\t\"type\": \"standard\",\n\t\t\t\t\"value\": 2.7\n\t\t\t}\n\t\t],\n\t\t\"clinicians\": [\n\t\t\t\"06485468-4dd4-4cfd-b33e-beace28d09b0\"\n\t\t],\n\t\t\"clinical_teams\": null\n\t}\n}","options":{"raw":{"language":"json"}}},"url":"{{url}}/api/v1/data/import/measure/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","data","import","measure",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7a0b0913-363d-41ce-af25-341abe3364cf"},{"name":"Download Export","id":"3d0ccacf-5dd0-47df-85ae-3d4bfd7bee32","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/export/download/{{request_uuid}}/user/{{user_uuid}}/","description":"<p>Allows downloading the file for a single export</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","export","download","{{request_uuid}}","user","{{user_uuid}}",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"3d0ccacf-5dd0-47df-85ae-3d4bfd7bee32"},{"name":"Export Status","id":"691a999a-a9ce-4e2a-8dbc-b0192089d3e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/export/status/{{request_uuid}}/","description":"<p>Returns the status of a single export request</p>\n<h2 id=\"criteria\">Criteria</h2>\n<ul>\n<li><code>uuid</code> - The UUID identifier of the export request</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","export","status","{{request_uuid}}",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"492b95ff-fa78-48d5-a8f4-20a6c66e24d3","name":"Export Status - Failed Export Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/v1/export/status/{{request_uuid}}/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"233"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 14 Jan 2021 16:22:15 GMT"},{"key":"x-amzn-RequestId","value":"595b6886-0b93-468a-ac8a-2fd0d0e29894"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Encoding","value":"gzip"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"x-amzn-Remapped-Content-Length","value":"318"},{"key":"X-Frame-Options","value":"DENY"},{"key":"x-amz-apigw-id","value":"ZJZkuEzCPHcF9Iw="},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60006fb7-0da47a151afb0e8e45d89bbf;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 64585853437a64d04c376ce448746668.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DFW55-C3"},{"key":"X-Amz-Cf-Id","value":"Ychn4eXYB-qVjzFLhBhVHIUy7w02qKeI7HmuQDeehsoVOG5-R8TU8A=="}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": {\n        \"filename\": \"Owl-Jan14-2021-16:59:13.csv\",\n        \"status\": \"error\",\n        \"message\": \"Failed to upload file\"\n    }\n}"},{"id":"86bae444-5f2c-4cd0-9185-605408f337b5","name":"Export Status - Completed Successfully","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/v1/export/status/{{request_uuid}}/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"134"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 20 Jan 2021 21:10:04 GMT"},{"key":"x-amzn-RequestId","value":"c1d4623b-e193-49f3-9500-2d6539a71ce0"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Encoding","value":"gzip"},{"key":"Allow","value":"GET, DELETE, HEAD, OPTIONS"},{"key":"x-amzn-Remapped-Content-Length","value":"130"},{"key":"X-Frame-Options","value":"DENY"},{"key":"x-amz-apigw-id","value":"Zd1W5GUZvHcFYEw="},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60089c2c-035653184fbfedf952f7f646;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 f99016c858f903f368ea65409c60a471.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DFW55-C2"},{"key":"X-Amz-Cf-Id","value":"1PfJxXmZvGZNwUxDY54VdfAstmUALkeKRXsg2UouqDGcRDYT7KFpog=="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"1ee0967c-bc3b-4630-a266-5aa16289627a\",\n    \"status\": \"completed\",\n    \"filename\": \"Owl-Jan20-2021-21:9:52\",\n    \"message\": \"Export Complete\"\n}"}],"_postman_id":"691a999a-a9ce-4e2a-8dbc-b0192089d3e9"},{"name":"Delete Export","id":"d86a3e18-5090-4c8e-8bec-edbd52b88a22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/v1/export/status/{{request_uuid}}/","description":"<p>Deletes the specified export</p>\n<h2 id=\"criteria\">Criteria</h2>\n<ul>\n<li><code>uuid</code> - The UUID identifier of the export request</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","export","status","{{request_uuid}}",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"5a514b63-acb0-41f0-9b00-1a5cd6f1c20a","name":"Delete Export - Success","originalRequest":{"method":"DELETE","header":[],"url":"{{url}}/api/v1/export/status/{{request_uuid}}/"},"status":"No Content","code":204,"_postman_previewlanguage":"plain","header":[{"key":"Content-Type","value":"text/plain; charset=utf-8"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Wed, 20 Jan 2021 20:53:53 GMT"},{"key":"x-amzn-RequestId","value":"ea8fce65-0fb2-4ee8-bb7d-ef4dbb114494"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Allow","value":"GET, DELETE, HEAD, OPTIONS"},{"key":"x-amzn-Remapped-Content-Length","value":"0"},{"key":"X-Frame-Options","value":"DENY"},{"key":"x-amz-apigw-id","value":"Zdy_PGy6vHcFmcg="},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-60089861-4db00e7e318bec4845bffa01;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 537cc853d0029631735295e97f43e786.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DFW55-C2"},{"key":"X-Amz-Cf-Id","value":"NvsuWILC3Cift_qANdT--cxJRuJ_DnIa2hgQeycZqjp6pNs6C5pJXA=="}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"d86a3e18-5090-4c8e-8bec-edbd52b88a22"},{"name":"User Export Status","id":"ba128e52-4fbd-4262-9c8a-30e4a656e837","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{url}}/api/v1/export/user/{{user_uuid}}/","description":"<p>Returns all export requests in the system for the specified user.</p>\n<h2 id=\"criteria\">Criteria</h2>\n<p><code>uuid</code> - The UUID of the user whose exports you want to retrieve</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","export","user","{{user_uuid}}",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[{"id":"da3946ef-ef06-4da1-b10b-09a94cc049ed","name":"User Export Status - Response","originalRequest":{"method":"GET","header":[],"url":"{{url}}/api/v1/export/user/{{user_uuid}}/"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"853"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 14 Jan 2021 16:38:50 GMT"},{"key":"x-amzn-RequestId","value":"7330873e-51b7-4e10-a87d-3359275fc65b"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Content-Encoding","value":"gzip"},{"key":"Allow","value":"GET, HEAD, OPTIONS"},{"key":"x-amzn-Remapped-Content-Length","value":"5195"},{"key":"X-Frame-Options","value":"DENY"},{"key":"x-amz-apigw-id","value":"ZJcAMFpuPHcFdeA="},{"key":"Vary","value":"Accept"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Amzn-Trace-Id","value":"Root=1-6000739a-5e1fa43e0682fc69183d2894;Sampled=0"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 73724c215d7e98456c16352cf31e499c.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"DFW55-C3"},{"key":"X-Amz-Cf-Id","value":"gBBK4L6HndFKhMwrQDKP-iDO_pHTzowitqRC6SnDODytDtaZxPssvA=="}],"cookie":[],"responseTime":null,"body":"{\n    \"requests\": {\n        \"2753e602-0c76-4c06-b548-40c24225481b\": {\n            \"filename\": \"Owl-Jan13-2021-12:19:57.csv\",\n            \"status\": \"error\",\n            \"message\": \"Failed to upload\"\n        },\n        \"4ba74593-129e-4b92-a8e7-c67c3cf95a52\": {\n            \"filename\": \"Owl-Jan14-2021-17:22:57.csv\",\n            \"status\": \"in_process\",\n            \"message\": null\n        },\n        \"77ce8e26-fa42-47a2-b134-fdcc5ceb5b45\": {\n            \"filename\": \"Owl-Jan13-2021-13:17:05.csv\",\n            \"status\": \"completed\",\n            \"message\": null\n        },\n        \"321845bb-94ae-4630-bd42-e7bca609b258\": {\n            \"filename\": \"Owl-Jan14-2021-17:27:12.csv\",\n            \"status\": \"received\",\n            \"message\": null\n        },\n    }\n}"}],"_postman_id":"ba128e52-4fbd-4262-9c8a-30e4a656e837"},{"name":"Delete Single Measure","id":"7f797bf9-d401-46a4-aa77-1ce008d49982","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"{{url}}/api/v1/data/delete/measure/{{request_uuid}}/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"17323426-ae1c-43cd-8f5d-832424dd732d","id":"17323426-ae1c-43cd-8f5d-832424dd732d","name":"Analytics API","type":"collection"}},"urlObject":{"path":["api","v1","data","delete","measure","{{request_uuid}}",""],"host":["{{url}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"7f797bf9-d401-46a4-aa77-1ce008d49982"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"52a68884-4c2e-4bad-a343-a7319e413e35","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"421a0438-f9cb-423b-8b69-d4633de51983","type":"text/javascript","exec":[""]}}]}