auto_slides
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| auto_slides [2022/01/24 17:47] – yves | auto_slides [2025/11/23 20:08] (current) – ali | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ===== Linking and sharing (automation) ===== | ===== Linking and sharing (automation) ===== | ||
| - | {{: | + | Sharing content is arguably one of the most important applications of digital pathology, if not for the Web in general. |
| - | Sharing content is arguably [[https:// | + | {{:share-new-1.png?200|}} |
| - | Automation sharing functionality | + | PIMS LS allows you to share content |
| - | Let's see how this works for PMA.view and PMA.studio: | + | When you just want to share what you’re currently looking at, chances are that you can get by with one of the quick share buttons: |
| - | ==== Auto-navigate ==== | + | * If you want to share the current folder you’re navigating, click on the “Share folder” button |
| + | * If you want to share the current slide that you’re looking at, click on the “Share slide” button | ||
| + | * If you want to share the current grid that you’re looking at, click on the “Share grid” button | ||
| + | * Etc. | ||
| - | In some instances, you want to point people to PMA.studio, log in, and navigate directly to a particular slide or folder. | + | ==== Auto Navigation ==== |
| - | This use is mostly suited when everybody in your organization has access | + | We have introduced a new feature that allows users to share a slide or an entire folder with either read-only or full-access |
| - | In order for this to work, people must | + | - **Read-only |
| - | | + | |
| - | | + | |
| - | * Have access to the slide/folder | + | |
| + | When you choose Share Current Slide or Share Folder, the system will prompt you to select whether you want to share it in read-only mode or with full access. | ||
| - | === To a particular slide === | + | {{: |
| - | When | + | ===== Slide Share ===== |
| - | * PMA.studio runs at '' | + | |
| - | * Your content resides on PMA.core '' | + | |
| - | * Your slide is called '' | + | |
| - | Then your direct link to that slide becomes | + | If the user selects read-only mode, the shared |
| - | '' | + | {{:slide_share_readonly.png?200|}} |
| - | === To a particular folder === | + | If the slide is shared in full-access mode, the recipient will be prompted to log in to the application. Upon successful login, they will be taken directly to the shared slide, where they can make any necessary modifications as permitted. |
| - | You can't do this yet. But don't despair; this is on our feature list for a future version of PMA.studio | + | {{: |
| - | ==== Automate the share dialog | + | ===== Folder Share ===== |
| - | The content here only describes | + | If the user selects read-only mode, the shared folder will be accessible |
| - | Note that when creating share links in this manner, users that receive the link will | + | {{: |
| - | * not have access to all PMA.studio features (only the specific slide(s) that you refer to) | + | |
| - | * impersonate the account used to create the link with in the first place (probably your own) | + | |
| - | * log access to the shared content under the impersonated credentials | + | |
| - | === For a particular slide === | + | If the user selects full-access mode for sharing |
| - | When all you may want to do is show a button in your own user interface that pops up a viewport to the content that you want to launch, you can create sharing links on via the PMA.studio back-end API. | + | {{: |
| - | When | + | ===== Custom Share ===== |
| - | * PMA.studio runs at '' | + | |
| - | * Your content resides on PMA.core '' | + | |
| - | * You have credentials to the above PMA.core via '' | + | |
| - | * Your slide is called '' | + | |
| - | You can create a sharing link to your slide via the call | + | {{: |
| - | '' | + | It allows for further customization of your share link, including: |
| - | The URL creates and return | + | * Password-protect your link |
| + | * Expire | ||
| + | * Include or exclude annotations from the shared link | ||
| + | * Use a QR code instead of a plain text link | ||
| + | * Etc. | ||
| - | We cover a lot more ground in [[https://realdata.pathomation.com/ | + | {{:share_expire.png?200|}} |
| - | === For a particular folder | + | ===== Share administration ===== |
| + | We’ve worked hard on making the sharing concept in PIMS LS broadly applicable to a variety of content. We’ve also worked on making it easy to share content. | ||
| + | So with all this sharing going on then, it’s only natural to be asking after a while “wait, what am I actually sharing? | ||
| + | |||
| + | On the configure tab, in the “Panels” group, you can active the “Shared links panel” | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Once clicked, you get a new panel with an overview of everything you’ve shared so far. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The buttons behind each link allow various operations. | ||
| + | |||
| + | One application of this is to recycle a share link and re-use as you see fit. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | You can also (temporarily) invalidate links, or delete them altogether. | ||
| + | |||
| + | The history is linked to your PMA.core login, so if at first you don’t see anything, make sure that you’re connected to the PMA.core instance for which you expect to see share links. | ||
| + | |||
| + | ===== Monitoring ===== | ||
| + | |||
| + | On the back-end of PIMS LS, administrators can get an overview of all created shares across all users. They can also use this view to temporarily suspend or even delete shares. | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== Automation ===== | ||
| + | |||
| + | While we highly advocate the implementation of the PMA.UI framework in third-party software like (AP)L(I)MS, PACS, VNA, and other digital pathology consumers, we realize that this is not trivial. In a proof-of-concept phase, all you may want to do is show a button in your own user interface that then subsequently just pops up a viewport to the content that you want to launch. Easy-peasy, as they say. | ||
| + | |||
| + | Let’s say that you have an existing synoptic reporting environment that looks like this: | ||
| + | |||
| + | In order to convince your administration that adding digital pathology to it is a really good idea, you want to upgrade the interface to this: | ||
| + | |||
| + | With PIMS LS, you can now get exactly this effect. | ||
| + | |||
| + | Let’s switch to Jupiter to see how this works: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | First some homekeeping. We import the pma_python core module, and connect to the PMA.core instance that holds our slide. | ||
| + | |||
| + | Our slide is stored at “cases_eu/ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Alternatively, | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== The PIMS LS API ===== | ||
| + | |||
| + | Ok, we’ve identified our slide. Now let’s go to the PIMS LS. Unfortunately, | ||
| + | |||
| + | The back-end call that we need is / | ||
| + | |||
| + | {{: | ||
| + | |||
| + | We create the URL that invokes the API by hand first. We can do this accordingly: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Never mind that pma._pma_q() method that we use. It’s a fast and easy way for ourselves to properly encode HTTP querystring arguments. You’re free to piggy-back on ours, or use your own preferred method. | ||
| + | |||
| + | After execution of the code, you get a URL that looks like this: | ||
| + | |||
| + | https:// | ||
| + | |||
| + | The URL by itself doesn’t do anything, but create the share link. So you still need to invoke it. You can do this by either copying the URL to a webbrowser, or by invoking it from Python as well: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Again: it’s the return result from the URL that you want to distribute to others and not the initial URL. | ||
| + | |||
| + | To confirm that it worked, you go back to PIMS LS and check your panel with the share link overview: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | But you can also just pull up the resulting URL in a new browser window: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | Yay, it worked! | ||
| + | |||
| + | ===== Automating folders ===== | ||
| + | |||
| + | You can also create links that point to folders. | ||
| + | |||
| + | | ||
| + | Say that we want to offer a case-representation of breast cancer patient 06420637F. We use Share/ | ||
| + | |||
| + | {{: | ||
| + | |||
| + | The result again appears on the PIMS LS side. And clicking on it results in a mini-browser interface: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ===== What’s next ===== | ||
| + | |||
| + | After PMA.core, we’re starting to provide back-end API calls into PIMS LS as well. Even though as we prefer developers to integrate with PMA.UI directly, there are scenarios where automation through PMA.UI makes sense. When you’re in one of the following scenarios when: | ||
| + | |||
| + | * PIMS LS is your main cockpit interface to work with slide content, but there are a few other routes (like an intranet) through which you want to provide quick access to content, too. | ||
| + | * You have an (AP)LI(M)S, PACS, VNA, or other system and you’re in a PoC phase to add digital pathology capabilities to your own platform, PIMS LS automation may be a quicker route to go than adapting our SDKs. | ||
| + | |||
| + | Do keep in mind however that we’re providing the PIMS LS back-end mostly for convenience, | ||
auto_slides.1643042857.txt.gz · Last modified: by yves
