Skip to content

Commit 1295afb

Browse files
authored
Edit MONAI Deploy Informatics Gateway docs (#78)
* Copy edit index.md * Copy edit schema.md * Copy edit setup.md * Copy edit config.md * Copy edit health.md * Update health.md * Copy edit inference.md * Copy edit dicom.md * Clarify Services list * Clarify Log Levels description
1 parent ee1dca3 commit 1295afb

File tree

7 files changed

+174
-172
lines changed

7 files changed

+174
-172
lines changed

docs/api/rest/config.md

Lines changed: 79 additions & 79 deletions
Large diffs are not rendered by default.

docs/api/rest/health.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!--
2-
SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium
2+
SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium
33
SPDX-License-Identifier: Apache License 2.0
44
-->
55

66
# Health APIs
77

8-
The _health_ endpoint provides the following APIs to get statues of the internals of Informatics Gateway.
8+
The _health_ endpoint provides the following APIs to get the status of the internals of the Informatics Gateway.
99

1010
## GET /health/status
1111

12-
MONAI Informatics Gateway service status:
12+
Returns the MONAI Informatics Gateway service status:
1313

1414
- Active DICOM DIMSE associations
1515
- Internal service status
@@ -22,10 +22,10 @@ N/A
2222

2323
Response Content Type: JSON - [HealthStatusResponse](xref:Monai.Deploy.InformaticsGateway.Api.Rest.HealthStatusResponse).
2424

25-
| Code | Description |
26-
| ---- | ------------------------------------------------------------------------------------------------------------------ |
27-
| 200 | Status is available. |
28-
| 500 | Server error. A [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
25+
| Code | Description |
26+
| ---- | --------------------------------------------------------------------------------------------------------------------------------------- |
27+
| 200 | Status is available. |
28+
| 500 | Server error. The response will be a [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
2929

3030
### Example Request
3131

@@ -53,7 +53,7 @@ curl --location --request GET 'http://localhost:5000/health/status'
5353

5454
## GET /health/ready & GET /health/live
5555

56-
MONAI Deploy Informatics Gateway service readiness and liveness.
56+
Returns the MONAI Deploy Informatics Gateway service readiness and liveness.
5757

5858
### Parameters
5959

@@ -63,14 +63,14 @@ N/A
6363

6464
Response Content Type: JSON
6565

66-
- `Health`: All services are running.
66+
- `Healthy`: All services are running.
6767
- `Unhealthy`: One or more services have stopped or crashed.
6868

69-
| Code | Description |
70-
| ---- | ------------------------------------------------------------------------------------------------------------------ |
71-
| 200 | Service is healthy. |
72-
| 503 | Service is unhealthy. |
73-
| 500 | Server error. A [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
69+
| Code | Description |
70+
| ---- | --------------------------------------------------------------------------------------------------------------------------------------- |
71+
| 200 | Service is healthy. |
72+
| 503 | Service is unhealthy. |
73+
| 500 | Server error. The response will be a [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
7474

7575
### Example Request
7676

docs/api/rest/inference.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium
2+
SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium
33
SPDX-License-Identifier: Apache License 2.0
44
-->
55

@@ -21,52 +21,52 @@ Triggers a new inference job using the specified DICOM dataset from the specifie
2121

2222

2323
> [!IMPORTANT]
24-
> For input and output connections that require credentials, please ensure that all the connections are secured and encrypted.
24+
> For input and output connections that require credentials, ensure that all the connections are secured and encrypted.
2525
2626
### Parameters
2727

28-
Please see the [InferenceRequest](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequest) class
28+
See the [InferenceRequest](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequest) class
2929
definition for examples.
3030

3131
Request Content Type: JSON
3232

33-
| Name | Type | Description |
34-
| --------------- | --------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35-
| transactionID | string | **Required**. User provided transaction ID for correlating an inference request. |
36-
| priority | number | Valid range 0-255. Please refer to [Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequest.Priority](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequest.Priority) for details. |
37-
| inputMetadata | [inputMetadata](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequestMetadata) object | **Required**. Specifies the dataset associated with the inference request. |
38-
| inputResources | array of [inputResource](xref:Monai.Deploy.InformaticsGateway.Api.Rest.RequestInputDataResource) objects | **Required**. Data sources where the specified dataset to be retrieved. **MONAI Deploy Only** Must include one `interface` that is type of `Algorithm`. |
39-
| outputResources | array of [inputResource](xref:Monai.Deploy.InformaticsGateway.Api.Rest.RequestOutputDataResource) objects | **Required**. Output destinations where results are exported to. |
33+
| Name | Type | Description |
34+
| --------------- | --------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
35+
| transactionID | string | (**Required**) A user-provided transaction ID for correlating an inference request. |
36+
| priority | number | The valid range is 0-255. Please refer to [Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequest.Priority](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequest.Priority) for details. |
37+
| inputMetadata | [inputMetadata](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequestMetadata) object | (**Required**) The dataset associated with the inference request. |
38+
| inputResources | array of [inputResource](xref:Monai.Deploy.InformaticsGateway.Api.Rest.RequestInputDataResource) objects | (**Required**) Data sources from which to retrieve the specified dataset. **MONAI Deploy Only**: Must include one `interface` that is type of `Algorithm`. |
39+
| outputResources | array of [inputResource](xref:Monai.Deploy.InformaticsGateway.Api.Rest.RequestOutputDataResource) objects | (**Required**) Output destinations where results are exported to |
4040

4141
### Responses
4242

4343
Response Content Type: JSON - [InferenceRequestResponse](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceRequestResponse).
4444

45-
| Code | Description |
46-
| ---- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- |
47-
| 200 | Inference request received and scheduled for processing. |
48-
| 409 | An request with the same transaction ID already exists. A [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
49-
| 422 | Request contains invalid data or is missing required fields. A [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
50-
| 500 | Server error. A [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
45+
| Code | Description |
46+
| ---- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
47+
| 200 | Inference request received and scheduled for processing. |
48+
| 409 | A request with the same transaction ID already exists. The response will be a [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
49+
| 422 | Request contains invalid data or is missing required fields. The response will be a [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
50+
| 500 | Server error. The response will be a [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
5151

5252
---
5353

5454
## GET /inference/status/{transactionId}
5555

56-
Returns status of an inference request.
56+
Returns the status of an inference request.
5757

5858
### Parameters
5959

6060
| Name | Type | Description |
6161
| ------------- | ------ | ------------------------------------------------------ |
62-
| transactionId | string | the _transactionId_ of the original inference request. |
62+
| transactionId | string | The _transactionId_ of the original inference request |
6363

6464
### Responses
6565

6666
Response Content Type: JSON - [InferenceStatusResponse](xref:Monai.Deploy.InformaticsGateway.Api.Rest.InferenceStatusResponse).
6767

68-
| Code | Description |
69-
| ---- | ------------------------------------------------------------------------------------------------------------------ |
70-
| 200 | Inference request status is available. |
71-
| 404 | Inference request not found. |
72-
| 500 | Server error. A [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |
68+
| Code | Description |
69+
| ---- | --------------------------------------------------------------------------------------------------------------------------------------- |
70+
| 200 | Inference request status is available. |
71+
| 404 | Inference request not found. |
72+
| 500 | Server error. The response will be a [Problem details](https://datatracker.ietf.org/doc/html/rfc7807) object with server error details. |

docs/compliance/dicom.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium
2+
SPDX-FileCopyrightText: © 2021-2022 MONAI Consortium
33
SPDX-License-Identifier: Apache License 2.0
44
-->
55

@@ -44,8 +44,8 @@ MONAI Deploy Informatics Gateway Storage SCP does not conform to any defined DIC
4444
Users may configure the DICOM Storage SCP service to check the following DICOM values when
4545
determining whether to accept Association Open Requests:
4646

47-
- Calling (source) AE Title - to accept DICOM instances from known sources.
48-
- Called (MONAI SCP) AE Title - to accept DICOM instance through configured MONAI AETs.
47+
- Calling (source) AE Title: To accept DICOM instances from known sources.
48+
- Called (MONAI SCP) AE Title: To accept DICOM instance through configured MONAI AETs.
4949

5050
## DICOM SCU
5151

docs/index.md

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SPDX-License-Identifier: Apache License 2.0
99

1010
## Introduction
1111

12-
MONAI Deploy Informatics Gateway (MIG) handles the first and last step in a clinical data pipeline, the Input, and Output (I/O).
12+
MONAI Deploy Informatics Gateway (MIG) handles the first and last step in a clinical data pipeline: the input and output (I/O).
1313

1414
MIG uses standard protocols like DICOM and FHIR. It stores studies and resources from the medical record system as payloads. It then notifies the rest of the MONAI Deploy system, specifically the MONAI Deploy Workflow Manager, that data is ready to be processed.
1515

@@ -18,13 +18,16 @@ After inference completes, MIG receives notifications for exporting the results
1818

1919
## Services
2020

21-
*MONAI Deploy Informatics Gateway* contains the following standard protocols to communicate with your medical devices:
21+
MIG contains the following standard protocols to communicate with medical devices:
2222

2323
* **DICOM SCP**: C-ECHO, C-STORE
2424
* **DICOM SCU**: C-STORE
2525
* **ACR DSI API**: [The American College of Radiology’s Data Science Institute API](https://www.acrdsi.org/-/media/DSI/Files/ACR-DSI-Model-API.pdf)
26-
* **DICOMweb client**: QIDO-RS, WADO-RS, STOW-RS
27-
* **FHIR client**: GET
26+
* **DICOMweb client**: QIDO-RS, WADO-RS, STOW-RS
27+
* **FHIR client**: GET
28+
29+
[!Note]
30+
The DICOMweb client and FHIR client are called using the ACR DSI API.
2831

2932
### DICOM SCP
3033

@@ -33,16 +36,16 @@ the [DICOM Interface](./compliance/dicom.md#dicom-scp) section. The MONAI Deploy
3336

3437
### DICOM SCU
3538

36-
The *DICOM SCU Service* enables users to export application-generated DICOM results to external DICOM devices. It subscribes to the `md.export.request.monaiscu` events emitted by the [MONAI Deploy Workflow Manager](https://github.com/Project-MONAI/monai-deploy-workflow-manager) and then export the data to user-configured DICOM destination(s).
39+
The *DICOM SCU Service* enables users to export application-generated DICOM results to external DICOM devices. It subscribes to the `md.export.request.monaiscu` events generated by the [MONAI Deploy Workflow Manager](https://github.com/Project-MONAI/monai-deploy-workflow-manager) and then exports the data to user-configured DICOM destination(s).
3740

3841
> [!Note]
3942
> DICOM instances are sent as-is; no codec conversion is done as part of the SCU process.
4043
> See the [DICOM Interface SCU](./compliance/dicom.md#dimse-services-scu) section for more information.
4144
4245
### ACR DSI API
4346

44-
The ACR DSI API enables users to trigger inference requests via RESTful calls, utilizing DICOMweb & FHIR to retrieve data specified in the request. Upon data retrieval, the Informatics Gateway uploads the data to the shared storage and emits an `md.workflow.request` event, which notifies the [MONAI Deploy Workflow Manager](https://github.com/Project-MONAI/monai-deploy-workflow-manager) to process.
47+
The ACR DSI API allows users to trigger inference requests via RESTful calls, utilizing DICOMweb & FHIR to retrieve data specified in the request. Upon data retrieval, the Informatics Gateway uploads the data to the shared storage and generates an `md.workflow.request` event, which notifies the [MONAI Deploy Workflow Manager](https://github.com/Project-MONAI/monai-deploy-workflow-manager) for processing.
4548

4649
#### DICOMweb Export
4750

48-
A DICOMweb export agent can export any user-generated DICOM contents to configured DICOM destinations. The agent subscribes to the `md.export.request.monaidicomweb` events emitted by the [MONAI Deploy Workflow Manager](https://github.com/Project-MONAI/monai-deploy-workflow-manager) and then export the data to user-configured DICOMweb destination(s).
51+
A DICOMweb export agent can export any user-generated DICOM content to configured DICOM destinations. The agent subscribes to the `md.export.request.monaidicomweb` events generated by the [MONAI Deploy Workflow Manager](https://github.com/Project-MONAI/monai-deploy-workflow-manager) and then exports the data to user-configured DICOMweb destination(s).

0 commit comments

Comments
 (0)