{ "info": { "author": "Robert Vorbau", "author_email": "robert.vorbau@sll.se", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Healthcare Industry", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Topic :: Scientific/Engineering :: Physics" ], "description": "# RDSR Navigator\n[![Downloads](https://pepy.tech/badge/rdsr-navigator)](https://pepy.tech/project/rdsr-navigator)\n[![Downloads](https://pepy.tech/badge/rdsr-navigator/week)](https://pepy.tech/project/rdsr-navigator/week)\n\nA package for extracting data from [DICOM](https://www.dicomstandard.org/) RDSR files. The focus of this project is to extract data. It is not possible to modify files. The project is currently in early development and things might not work exactly how you expect. The public API is not yet stable, please keep this in mind.\n\n> The package is intended for **RESEARCH USE ONLY, NOT FOR CLINICAL USE**.\n\n## Getting started\n\nThese instructions will get you a copy of the project up and running on your local machine.\n\n### Prerequisites\n\nRDSR Navigator is written in Python 3.6 and uses [pydicom](https://pydicom.github.io/). Therefore make sure you are running Python 3.6 or later and make sure pydicom is installed. If pydicom is not installed, use the command below to install pydicom.\n\n $ pip install pydicom\n\n### Installation\n\nRDSR Navigator is available on pypi and can be installed using the following command.\n\n $ pip install rdsr_navigator\n\nNow, you are ready to start using RDSR navigator.\n\n## Usage\n\n### Read file\n\nTo open an RDSR file, type the following.\n\n```python\n >>> import rdsr_navigator as nav\n >>> rdsr_obj = nav.read_file(r'C:\\rdsr_file.dcm')\n```\n\nThe input argument to `read_file` is a `str` containing the path to an RDSR file. Other supported data types are `pathlib` and `pydicom` objects.\n\n### Extract data\n\nData is extracted by first navigating through the RDSR hierarchy using the concept names. All concept names are given in lower case, separated by underscores (\"_\"). In the example below we are extracting the value from \"Procedure Reported\".\n\n```python\n >>> rdsr_obj['procedure_reported'].value\n\n 'Projection X-Ray'\n```\n\nData can also be extracted by using the code value and coding scheme designator separated by a colon (\":\"). This is shown in the example below.\n\n```python\n >>> rdsr_obj['121058:DCM'].value\n\n 'Projection X-Ray'\n```\n\nWhen the square brackets are used, the first matched concept name is returned. This is inappropriate if several entries with the same concept name exist on the same level. To iterate entries with the same concept name, use the `get_all` method.\n\n```python\n >>> for irr_event in sr_obj.get_all('irradiation_event_x-ray_data')):\n print(irr_event['dose_area_product'].value)\n\n (1.9632189e-7, 'Gy.m2')\n (1.1173212e-5, 'Gy.m2')\n (8.566802e-7, 'Gy.m2')\n```\n\nDrill deeper into the hierarchy by adding more concept names in the square brackets.\n\n```python\n >>> rdsr_obj['procedure_reported', 'has_intent'].value\n\n 'Combined Diagnostic and Therapeutic Procedure'\n```\n\n## Jupyter notebook integration\n\nThe RDSR navigator classes are integrated with [jupyter notebooks](http://jupyter.org/).\n\n+ Data is nicely displayed in tabular form.\n+ Tab completion is available when accessing data using square brackets.\n\n## Supported value types\n\nCurrently, only a few value types are supported. The supported value types are listed below.\n\n+ Code Meaning\n+ Date Time\n+ Measured Values\n+ Text Value\n+ UID\n\n## License\n\nThis project is licensed under the MIT License - see the LICENSE file for details.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://bitbucket.org/robertvorbau_ks/rdsr_navigator/", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rdsr-navigator", "package_url": "https://pypi.org/project/rdsr-navigator/", "platform": "", "project_url": "https://pypi.org/project/rdsr-navigator/", "project_urls": { "Homepage": "https://bitbucket.org/robertvorbau_ks/rdsr_navigator/" }, "release_url": "https://pypi.org/project/rdsr-navigator/0.2.7/", "requires_dist": [ "pydicom" ], "requires_python": ">=3.6", "summary": "Package for extracting data from DICOM RDSR files", "version": "0.2.7" }, "last_serial": 5764577, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "84e1bbae7594f92536a1fe4a227fa96c", "sha256": "5a9cb49b3387141af56bbe977d6274fd28d422d459fb7b3fa3f0e5b26b2bcc63" }, "downloads": -1, "filename": "rdsr_navigator-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "84e1bbae7594f92536a1fe4a227fa96c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8832, "upload_time": "2018-09-16T15:28:23", "url": "https://files.pythonhosted.org/packages/b9/5a/1484cc89af18903750cace5a4224bc1036b0dbcfff16e2802f566eb303b9/rdsr_navigator-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d79e3e3c05677038d5f06a6ce5835833", "sha256": "fabd1d471da5693ce5489539db9136faf5d109d15fb24e13c06fa09feee6aec4" }, "downloads": -1, "filename": "rdsr_navigator-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d79e3e3c05677038d5f06a6ce5835833", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4922, "upload_time": "2018-09-16T15:28:24", "url": "https://files.pythonhosted.org/packages/01/a9/209e7b6358f32fae523a286e7642e94fda85dcc25230a0c48a63f4d1ec46/rdsr_navigator-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "7c596bee48bd2e57fc4abfdecf824554", "sha256": "76250a821ec9b089c2c84af40149ec354bf5af284afb767ce29ccfde9faa5d74" }, "downloads": -1, "filename": "rdsr_navigator-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "7c596bee48bd2e57fc4abfdecf824554", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9022, "upload_time": "2018-09-21T05:10:27", "url": "https://files.pythonhosted.org/packages/f8/8b/65410ae3e16eaba88ff22100309940b191b4cf6b0d72fe16190b154a49d9/rdsr_navigator-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f8a787dfd4127c298a55051bf51daba", "sha256": "1a7af2ad85517ac1c26784239fd6d465d5074dfd51ad61c4511dfde05b917cd7" }, "downloads": -1, "filename": "rdsr_navigator-0.1.2.tar.gz", "has_sig": false, "md5_digest": "6f8a787dfd4127c298a55051bf51daba", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5117, "upload_time": "2018-09-21T05:10:29", "url": "https://files.pythonhosted.org/packages/b5/d4/745e6d381cb348b5894285055eae60e42c4715ce6bb73f06ac7431a726e1/rdsr_navigator-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "f1a9d9bdb94fdd48dd4c94f725084887", "sha256": "967b8f80de0921ac8423d7021b7ee150b8c7de2a447672189fd721c9696d11a5" }, "downloads": -1, "filename": "rdsr_navigator-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "f1a9d9bdb94fdd48dd4c94f725084887", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9235, "upload_time": "2018-09-23T10:28:24", "url": "https://files.pythonhosted.org/packages/cd/95/49eee0b43f3426969fdf9736decd587353f1563e9d91bc8dc3d38472eaf7/rdsr_navigator-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "a3c0eeb1e7bcdb015ac25eaa5911f33e", "sha256": "f43206452916e20ce3039a7ec71067265d80e84e7f363ac3ce09ecc64db68c75" }, "downloads": -1, "filename": "rdsr_navigator-0.2.0.tar.gz", "has_sig": false, "md5_digest": "a3c0eeb1e7bcdb015ac25eaa5911f33e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5357, "upload_time": "2018-09-23T10:28:26", "url": "https://files.pythonhosted.org/packages/cc/e8/dd28d9a647504e96322b608aa5b66c949ed7138f53c2cfd03a440e1795f0/rdsr_navigator-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "38565140b164b64a3eb603147fc8168a", "sha256": "000b3cf26ed11d643cb149537e5aca3443243c0bfa9b969659b55e27fb718e5e" }, "downloads": -1, "filename": "rdsr_navigator-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "38565140b164b64a3eb603147fc8168a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9250, "upload_time": "2018-09-27T19:06:32", "url": "https://files.pythonhosted.org/packages/f6/71/0f9b1c23291f70cec16d2294f18fec8cb9e3c6f5f475f3f994513e8f0034/rdsr_navigator-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71f0e8ecffdd439b6ea38bc007339ec3", "sha256": "4c76fadb3e18bbe242425ce710e7e235baf7e2944e39e2dcb970158e6329c9aa" }, "downloads": -1, "filename": "rdsr_navigator-0.2.1.tar.gz", "has_sig": false, "md5_digest": "71f0e8ecffdd439b6ea38bc007339ec3", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5394, "upload_time": "2018-09-27T19:06:34", "url": "https://files.pythonhosted.org/packages/9c/d5/d92286c35eaaaed1c45617a46c9f09f1f91a061fdcdc3107a8e6f330c9c8/rdsr_navigator-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "24481ee6f7816a2ff55348fe3f02b17b", "sha256": "cc7f4d25f69ad11cc1a19cdf0d3e2ca3a3df91a0e9b17b05b62520d26dc95abf" }, "downloads": -1, "filename": "rdsr_navigator-0.2.2-py3-none-any.whl", "has_sig": false, "md5_digest": "24481ee6f7816a2ff55348fe3f02b17b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9301, "upload_time": "2018-10-04T17:25:44", "url": "https://files.pythonhosted.org/packages/81/98/a691c21297ba7a89f468a029b0f8d0ece5e2b3734f371e75941b2dd9e4b6/rdsr_navigator-0.2.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "488b10d081d2756f0d74d9aec8964cbc", "sha256": "af2704a98cd575b5be4bc24ee1c557074e273c2ff707ede309fe6833fa26b3e7" }, "downloads": -1, "filename": "rdsr_navigator-0.2.2.tar.gz", "has_sig": false, "md5_digest": "488b10d081d2756f0d74d9aec8964cbc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5463, "upload_time": "2018-10-04T17:25:46", "url": "https://files.pythonhosted.org/packages/fc/c5/d9bec6c6221bda29e955d9348d16078ca5cf1dfad958930e747eae57ed7b/rdsr_navigator-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "eaea6a3fe725c6573394177bc9596247", "sha256": "4d2d8a8f0724e5d93f6ef8b86cd28a8823cffd780d1608d4bfe0b729864c548a" }, "downloads": -1, "filename": "rdsr_navigator-0.2.3-py3-none-any.whl", "has_sig": false, "md5_digest": "eaea6a3fe725c6573394177bc9596247", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 10186, "upload_time": "2018-11-10T12:42:10", "url": "https://files.pythonhosted.org/packages/3b/89/b4ec8eceea031cf50b273d6103505fc10b78da757bc3873d708021add6ae/rdsr_navigator-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e74a53a074c1b1c1d3faf96a22f0d325", "sha256": "18856282c85e81fc650e7e75f2ffef3ab5f4cfe0ca48b699691a05a86cac2247" }, "downloads": -1, "filename": "rdsr_navigator-0.2.3.tar.gz", "has_sig": false, "md5_digest": "e74a53a074c1b1c1d3faf96a22f0d325", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5523, "upload_time": "2018-11-10T12:42:12", "url": "https://files.pythonhosted.org/packages/68/dd/7983cc355f120a950ea38d241514005592f9023aa191c9f1114657d70d4d/rdsr_navigator-0.2.3.tar.gz" } ], "0.2.6": [ { "comment_text": "", "digests": { "md5": "973278106cad4ee6d8d2127285f6ba09", "sha256": "1b29b9ab485b5caa6e91f9cb3b325b6180f7307a012b283aff37067221afddff" }, "downloads": -1, "filename": "rdsr_navigator-0.2.6-py3-none-any.whl", "has_sig": false, "md5_digest": "973278106cad4ee6d8d2127285f6ba09", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 10187, "upload_time": "2019-08-11T14:20:06", "url": "https://files.pythonhosted.org/packages/12/7c/88a8dc44be5c29cf45b27c15bcac11264f76b360b490dd9cc4b0df10d6bf/rdsr_navigator-0.2.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ee99cdcea43beecd43bc877b0aa1ce60", "sha256": "b51fc47085caa42d32948cd63123b0483ad14d6053389655b91ba83b26b5b72b" }, "downloads": -1, "filename": "rdsr_navigator-0.2.6.tar.gz", "has_sig": false, "md5_digest": "ee99cdcea43beecd43bc877b0aa1ce60", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6141, "upload_time": "2019-08-11T14:20:08", "url": "https://files.pythonhosted.org/packages/0e/0d/be62cf5abccc8de62edf1e0a172af23d84ea154944c13dc4586a7ef018ce/rdsr_navigator-0.2.6.tar.gz" } ], "0.2.7": [ { "comment_text": "", "digests": { "md5": "21ddd628332115336aeca29850f756bf", "sha256": "55165481670ca150b2728a15a5348de3acf7e2bdcdb66136a355c18161879fa3" }, "downloads": -1, "filename": "rdsr_navigator-0.2.7-py3-none-any.whl", "has_sig": false, "md5_digest": "21ddd628332115336aeca29850f756bf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 10647, "upload_time": "2019-08-31T15:29:52", "url": "https://files.pythonhosted.org/packages/e7/0e/1ac2f97a1959575136b771463f5590645917252f284b785343037e8fe944/rdsr_navigator-0.2.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71118607bd43cb1187d44201d2f0f4ca", "sha256": "422ac306839aaa4c93650ef0349874112bb136a47a3dee2d78adde304e27a831" }, "downloads": -1, "filename": "rdsr_navigator-0.2.7.tar.gz", "has_sig": false, "md5_digest": "71118607bd43cb1187d44201d2f0f4ca", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6377, "upload_time": "2019-08-31T15:29:54", "url": "https://files.pythonhosted.org/packages/90/07/a8511218c9e1d98259523268d8631078d3abaf3544417669db6ec7788b44/rdsr_navigator-0.2.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "21ddd628332115336aeca29850f756bf", "sha256": "55165481670ca150b2728a15a5348de3acf7e2bdcdb66136a355c18161879fa3" }, "downloads": -1, "filename": "rdsr_navigator-0.2.7-py3-none-any.whl", "has_sig": false, "md5_digest": "21ddd628332115336aeca29850f756bf", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 10647, "upload_time": "2019-08-31T15:29:52", "url": "https://files.pythonhosted.org/packages/e7/0e/1ac2f97a1959575136b771463f5590645917252f284b785343037e8fe944/rdsr_navigator-0.2.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "71118607bd43cb1187d44201d2f0f4ca", "sha256": "422ac306839aaa4c93650ef0349874112bb136a47a3dee2d78adde304e27a831" }, "downloads": -1, "filename": "rdsr_navigator-0.2.7.tar.gz", "has_sig": false, "md5_digest": "71118607bd43cb1187d44201d2f0f4ca", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6377, "upload_time": "2019-08-31T15:29:54", "url": "https://files.pythonhosted.org/packages/90/07/a8511218c9e1d98259523268d8631078d3abaf3544417669db6ec7788b44/rdsr_navigator-0.2.7.tar.gz" } ] }