{ "info": { "author": "Farshid Ghods", "author_email": "farshid.ghods@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: Healthcare Industry", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "|pypi| |wheel| |python3| |build|\n\nAllscripts Touchworks Platform API Client for Python\n====================================================\n\nInstallation\n------------\n\nInstall from PyPI_ using pip_\n\n.. code-block:: bash\n\n $ pip install touchworks\n\n\nResources\n---------\n\nReport issues_ on GitHub\n\n\nQuick start\n-----------\n\n.. code-block:: python\n\n import touchworks\n\n tw = TouchWorks(', '' , '')\n #optional parameter : cache_token=True\n #optional parameter: username : ehr_username\n\n # search for patients whose name matches F*\n patients = tw.search_patients(search_criteria='J*')\n\n patient_id = patients[0]['ID']\n\n #find patient activities\n activities = tw.get_patient_activities(patient_id)\n\n #find all encounters\n cilinical_summary = tw.get_clinical_summary(patient_id)\n\n # get schedules\n schedules = tw.get_schedule(start_date='10/4/2015)\n schedules = tw.get_schedule(start_date='10/4/2015, end_date='10/12/2015')\n\n\nAuthentication and Authorization\n--------------------------------\nPlease see http://developer.allscripts.com/ for more information\n\n.. code-block:: python\n\n import touchworks\n\n tw = TouchWorks(', '' , '', ')\n\nAPIs Available\n--------------\n* \tsave_note\n* \tsearch_patients\n* \tget_document_type\n* \tget_patient\n* \tget_encounter\n* \tget_dictionary\n* \tfind_document_type_by_name\n* \tget_encounter_list_for_patient\n* \tsave_unstructured_document\n* \tset_patient_location_and_status\n* \tget_clinical_summary\n* \tget_patient_activity\n* \tset_patient_medhx_flag\n* \tget_changes_patients\n* \tget_patients_locations\n* \tget_patient_pharmacies\n* \tget_user_id\n* \tget_provider\n* \tget_provider_info\n* \tget_providers\n* \tget_task_list\n* \tsave_message_from_pat_portal\n* \tsave_task_comment\n* \tget_task\n* \tsave_task_status\n* \tsearch_task_views\n* \tsave_task\n* \tget_task_comments\n* \tget_delegates\n* \tget_task_list_by_view\n* \tget_schedule\n* \tget_documents\n\n\nError Handing\n-------------\n\nAll supported APIs right now raise an exception of type TouchWorksException where the string\nwill contain the error received from the TouchWorks WebService APIs.\n\n- example 1: service username or password is invalid:\n\n.. code-block:: python\n\n touchworks.api.http.TouchWorksException: unable to acquire the token from web service\n\nexample 2: SaveNot action failed\n.. code-block:: python\n\n touchworks.api.http.TouchWorksException: magic json api failed : Error converting data type varchar to numeric.\n\nLogging\n-------\nin order to enable debugging user can set the logging level to DEBUG.when DEBUG is enabled\nthe library will print out each request and response in the logs.\n\nDevelopers\n----------\n\n* build instructions:\n\n.. code-block:: bash\n\n make\n\n\nflake8 is used to ensure that there are no syntax issues with the code. if you are\ncontributing to the code base please make sure make is passing before you push the changes\nto the repository.\n\n* test\n\ncreate a config.json file which contains these keys\n\n.. code-block:: javascript\n\n {\n \"server\": \"http://somesandbox.com/Unity/UnityService.svc\",\n \"appname\": \"Test App Name assigned to you\",\n \"serviceusername\": \"Test Service User assigned to you\",\n \"servicepassword\": \"Test Service Password assigned to you\",\n \"ehr_username\": \"username that works on the sandbox\",\n \"ehr_password\": \"password which would work on the sandbox\"\n }\n\nand then\n\n.. code-block:: bash\n\n make tests\n\nSupported Python Versions\n-------------------------\n\nThis library aims to support and is tested against these Python versions:\n\n* 2.7.6\n* 3.4.0\n* PyPy\n\nLicense\n-------\n\nSee LICENSE_ for details.\n\n.. _documentation: http://developer.allscripts.com/\n.. _issues: https://github.com/farshidce/touchworks/issues\n.. _PyPI: https://pypi.python.org/pypi\n.. _pip: https://pypi.python.org/pypi/pip\n.. _LICENSE: LICENSE.txt\n.. _IPython: http://ipython.org/\n\n\n.. |build| image:: https://api.travis-ci.org/farshidce/touchworks-python.svg?branch=master\n :target: https://travis-ci.org/farshidce/touchworks-python/\n :alt: Build status of the master branch\n\n.. |pypi| image:: https://img.shields.io/pypi/v/touchworks.svg?style=flat-square&label=latest%20version\n :target: https://pypi.python.org/pypi/touchworks\n :alt: Latest version released on PyPi\n\n.. |python3| image:: https://caniusepython3.com/project/touchworks.svg\n :target: https://caniusepython3.com/project/touchworks\n\n.. |wheel| image:: https://pypip.in/wheel/touchworks/badge.png\n :target: https://pypi.python.org/pypi/touchworks/", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/farshidce/touchworks-python/tarball/0.3", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/farshidce/touchworks-python", "keywords": "health,api,touchworks,ehr", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "touchworks", "package_url": "https://pypi.org/project/touchworks/", "platform": "any", "project_url": "https://pypi.org/project/touchworks/", "project_urls": { "Download": "https://github.com/farshidce/touchworks-python/tarball/0.3", "Homepage": "https://github.com/farshidce/touchworks-python" }, "release_url": "https://pypi.org/project/touchworks/0.3/", "requires_dist": null, "requires_python": null, "summary": "Allscripts Touchworks API Client for Python", "version": "0.3" }, "last_serial": 1759447, "releases": { "0.1": [], "0.2": [ { "comment_text": "", "digests": { "md5": "3436b1fd5e243f0a30d11d62754fc2d7", "sha256": "4be24f00c22540bfaa26a79dd47f20924f50c8dae4631f2bd762e219e0de32f6" }, "downloads": -1, "filename": "touchworks-0.2.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "3436b1fd5e243f0a30d11d62754fc2d7", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64242, "upload_time": "2015-10-08T22:24:19", "url": "https://files.pythonhosted.org/packages/48/4a/112904436157813545033d38e73694922ad064b358e34d7ffde6cfd01907/touchworks-0.2.macosx-10.6-intel.exe" }, { "comment_text": "built for Darwin-15.0.0", "digests": { "md5": "acb69b6913c7355ceb3567cb0a3c8b72", "sha256": "4a8ef229c47767f9d26c2f8e3184569658f3554e0ec5f888edb01729f7f9e22d" }, "downloads": -1, "filename": "touchworks-0.2.macosx-10.6-intel.tar.gz", "has_sig": false, "md5_digest": "acb69b6913c7355ceb3567cb0a3c8b72", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 1973, "upload_time": "2015-10-08T22:24:15", "url": "https://files.pythonhosted.org/packages/8b/44/57fd10f9581a2a69aabba321a07a2bd607282164f550e09efb714a8a7a43/touchworks-0.2.macosx-10.6-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "84e96b70610ab3702f15f0330cb1391b", "sha256": "a36a83e4524855d954c441b4327aec6991a6515b5203f79ebe6cd39bccc3688d" }, "downloads": -1, "filename": "touchworks-0.2.tar.gz", "has_sig": false, "md5_digest": "84e96b70610ab3702f15f0330cb1391b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3068, "upload_time": "2015-10-08T22:24:23", "url": "https://files.pythonhosted.org/packages/9c/fa/6f0183c9cc06d47f469ebcc4c2371ae0e1fc825f46bf9c2c983f1cab2c51/touchworks-0.2.tar.gz" } ], "0.3": [ { "comment_text": "", "digests": { "md5": "da5f23cc2f84ac5ef6e0fc45b1c2b550", "sha256": "165e5e8cc5088e3ad84811b7e7951b7951600e4f9436b372d938c28d290de582" }, "downloads": -1, "filename": "touchworks-0.3.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "da5f23cc2f84ac5ef6e0fc45b1c2b550", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64242, "upload_time": "2015-10-09T06:46:54", "url": "https://files.pythonhosted.org/packages/6f/ab/02060c10db803cc5e040c8cdeddec6256b25233099ebc9b04307931cc351/touchworks-0.3.macosx-10.6-intel.exe" }, { "comment_text": "built for Darwin-15.0.0", "digests": { "md5": "8800dbbf296b7f11c54ad826be60010c", "sha256": "24a8f9abbeb9fca8c63a04fc06e389f04610c5502b4f360ceccb2b6cfff9fc1f" }, "downloads": -1, "filename": "touchworks-0.3.macosx-10.6-intel.tar.gz", "has_sig": false, "md5_digest": "8800dbbf296b7f11c54ad826be60010c", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 1977, "upload_time": "2015-10-09T06:46:49", "url": "https://files.pythonhosted.org/packages/81/6e/6be0b884b9da5c79979a628d4d13340fa04d898fa4576ea6d1d5b8f815fb/touchworks-0.3.macosx-10.6-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "f19886cba6dd5d5a4bf36cf1bbebd030", "sha256": "9dc295966b7d235b5cdd876b74c13fea7ba899a83e31ccfca42d18a844734a0f" }, "downloads": -1, "filename": "touchworks-0.3.tar.gz", "has_sig": false, "md5_digest": "f19886cba6dd5d5a4bf36cf1bbebd030", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3453, "upload_time": "2015-10-09T06:46:58", "url": "https://files.pythonhosted.org/packages/5c/d1/3898bbbc070eee309fedf3f49ae1de98453a8f85ea4f87325ce155c5908e/touchworks-0.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "da5f23cc2f84ac5ef6e0fc45b1c2b550", "sha256": "165e5e8cc5088e3ad84811b7e7951b7951600e4f9436b372d938c28d290de582" }, "downloads": -1, "filename": "touchworks-0.3.macosx-10.6-intel.exe", "has_sig": false, "md5_digest": "da5f23cc2f84ac5ef6e0fc45b1c2b550", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 64242, "upload_time": "2015-10-09T06:46:54", "url": "https://files.pythonhosted.org/packages/6f/ab/02060c10db803cc5e040c8cdeddec6256b25233099ebc9b04307931cc351/touchworks-0.3.macosx-10.6-intel.exe" }, { "comment_text": "built for Darwin-15.0.0", "digests": { "md5": "8800dbbf296b7f11c54ad826be60010c", "sha256": "24a8f9abbeb9fca8c63a04fc06e389f04610c5502b4f360ceccb2b6cfff9fc1f" }, "downloads": -1, "filename": "touchworks-0.3.macosx-10.6-intel.tar.gz", "has_sig": false, "md5_digest": "8800dbbf296b7f11c54ad826be60010c", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 1977, "upload_time": "2015-10-09T06:46:49", "url": "https://files.pythonhosted.org/packages/81/6e/6be0b884b9da5c79979a628d4d13340fa04d898fa4576ea6d1d5b8f815fb/touchworks-0.3.macosx-10.6-intel.tar.gz" }, { "comment_text": "", "digests": { "md5": "f19886cba6dd5d5a4bf36cf1bbebd030", "sha256": "9dc295966b7d235b5cdd876b74c13fea7ba899a83e31ccfca42d18a844734a0f" }, "downloads": -1, "filename": "touchworks-0.3.tar.gz", "has_sig": false, "md5_digest": "f19886cba6dd5d5a4bf36cf1bbebd030", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3453, "upload_time": "2015-10-09T06:46:58", "url": "https://files.pythonhosted.org/packages/5c/d1/3898bbbc070eee309fedf3f49ae1de98453a8f85ea4f87325ce155c5908e/touchworks-0.3.tar.gz" } ] }