reporting

does orthan has a provision to write a report on images viewed?

Please check out the Osimis Web viewer plugin, that has support for annotations:
https://bitbucket.org/osimis/osimis-webviewer-plugin/src/master/

The angle measurement of the Osimis Webviewer Plugin looks very nice.
Is there a method of saving the annotations in a way other than printing the image with the annotations? For example a structured report, a json or xml that can be attached to the study?

The text annotations are stored as JSON attachments to the studies (with “9999” identifier), and can be retrieved using the REST API of Orthanc:
https://book.orthanc-server.com/faq/features.html#accessing-attachments
https://book.orthanc-server.com/faq/features.html#central-registry-of-metadata-and-attachments

Note that the “AnnotationStorageEnabled” configuration option must be set to “true”:
https://osimis.atlassian.net/wiki/spaces/OKB/pages/10321921/Osimis+Web+Viewer+-+Configuration+file

For instance, here is how to start Orthanc together with the Web viewer with annotations enabled using Docker, then retrieve the stored annotations:

$ docker run --publish=8042:8042 --publish=4242:4242 -e WVB_ENABLED=true -e WVB_ANNOTATIONS_STORAGE_ENABLED=true osimis/orthanc
$ curl -s http://localhost:8042/studies/{study}/attachments/9999/data

HTH,
Sébastien-