Metadata-Version: 2.1
Name: powerscribe
Version: 1.3
Summary: A simple REST API implementation for Radiology Nuance PowerScribe 360 dictation system
Home-page: https://github.com/amin2997/PyPowerScribe
Author: Amin
Author-email: amin2997@yahoo.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: requests (>=2.21.0)

# PyPowerscribe360

This is a REST API implementation for Radiology Nuance PowerScribe 360 dictation system. This API will allow you to send and retrieve data points into pre-built custom fields that populates radiologist final report. For example, you can push radiation dose information into custom field that will populate the radiologist final report.

## Sample Implementation

The following will allow you to connect to PowerScribe 360 server and send custom field to the radiologist report.

```python
from powerscribe import Powerscribe

if __name__ == '__main__':
    url = 'http://ps360ServerName/RadPortal'
    username = "PowerScribe USERNAME"
    password = "PowerScribe Password"

    accession = "12345"
    field_name = "CTRAD"
    field_value = "29997"

    with Powerscribe(url) as ps:
        if ps.sign_in(username, password):
            print("Signin successfully")
            if ps.set_custom_field(accession, field_name, field_value):
                print(f"Sent field name {field_name} and value {field_value} into accession {accession})
            else:
                print(f"Error sending field name {field_name} and value {field_value} into accession {accession}")
        else:
            print("Signin failed")
```


