Skip to content

Commit 3416261

Browse files
author
Christopher Bridge
committed
Tweak to README
Signed-off-by: Christopher Bridge <[email protected]>
1 parent b3e3a8d commit 3416261

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

integrations/nuance_pin/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,7 @@ cd integrations/nuance_pin
3030
In this folder you will see the following directory structure
3131
```bash
3232
nuance_pin
33-
├── app/ # directory with MONAI app code
34-
├── lib/ # you should create this directory where we will place Nuance PIN wheels
33+
├── app/ # directory with MONAI app code ├── lib/ # you should create this directory where we will place Nuance PIN wheels
3534
├── model/ # directory where we will place the model used by our MONAI app
3635
├── app_wrapper.py # Nuance PIN wrapper code
3736
├── docker-compose.yml # docker compose runtime script
@@ -136,12 +135,12 @@ python -m AiSvcTest -i ~/Downloads/dcm -o ~/Downloads/dcm/out -s http://localhos
136135

137136
### Bring Your Own MONAI App
138137

139-
This example integration may be modified to fit any existing MONAI app, however, there may be caveats.
138+
This example integration may be modified to fit any existing MONAI app by tailoring the files within the `app/` directory, however, there may be caveats.
140139

141140
Nuance PIN requires all artifacts present in the output folder to be also added into the `resultManifest.json` output file
142141
to consider the run successful. To see what this means in practical terms, check the `resultManifest.json` output from the
143142
example app we ran the in previous sections. You will notice an entry in `resultManifest.json` that corresponds to the DICOM
144-
SEG output generated by the underlying MONAI app
143+
GSPS output generated by the underlying MONAI app
145144
```json
146145
"study": {
147146
"uid": "1.2.826.0.1.3680043.2.1125.1.67295333199898911264201812221946213",
@@ -153,17 +152,16 @@ SEG output generated by the underlying MONAI app
153152
{
154153
"documentType": "application/dicom",
155154
"groupCode": "default",
156-
"name": "dicom_seg-DICOMSEG.dcm",
155+
"name": "gsps.dcm",
157156
"trackingUids": []
158157
}
159158
]
160159
}
161160
]
162161
},
163162
```
164-
This entry is generated by `app_wrapper.py`, which takes care of adding any DICOM present in the output folder in the `resultManifest.json`
165-
to ensure that existing MONAI apps complete successfully when deployed in Nuance. In general, however, the developer may need to tailor some
166-
of the code in `app_wrapper.py` to provide more insight to Nuance's network, such as adding findings, conclusions, etc. and generating more insight
163+
This entry is generated automatically by Nuance's `ai_service` library as a result of uploading the DICOM GSPS object in `app/post_inference_ops.py`.
164+
In general, however, the developer may need to tailor some of the code in `app_wrapper.py` to provide more insight to Nuance's network, such as adding findings, conclusions, etc. and generating more insight
167165
using SNOMED codes. All of this is handled within the Nuance PIN SDK libraries - for more information please consult Nuance PIN [documentation](https://www.nuance.com/healthcare/diagnostics-solutions/precision-imaging-network.html).
168166

169167
In simpler cases, the developer will need to place their code and model under `nuance_pin`. Placing the model under `model` is optional as the model may be placed

0 commit comments

Comments
 (0)