Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RESTful service to compare studies in two archive #730

Closed
gunterze opened this issue May 26, 2017 · 0 comments
Closed

RESTful service to compare studies in two archive #730

gunterze opened this issue May 26, 2017 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gunterze
Copy link
Member

gunterze commented May 26, 2017

swagger.json

{
    "/aets/{aet}/diff/{aet1}/{aet2}/studies": {
       "get": {
        "tags": [
          "DIFF-RS"
        ],
        "summary": "Compare Studies",
        "operationId": "CompareStudies",
        "produces": [
          "application/dicom+json",
          "application/json"
        ],
        "parameters": [
          {
            "name": "aet",
            "in": "path",
            "description": "Archive AE Title used as Calling AET for querying for Studies",
            "required": true,
            "type": "string"
          },
          {
            "name": "aet1",
            "in": "path",
            "description": "AE Title of first C-FIND SCP to query for Studies",
            "required": true,
            "type": "string"
          },
          {
            "name": "aet2",
            "in": "path",
            "description": "AE Title of second C-FIND SCP to query for Studies returned from the first C-FIND SCP",
            "required": true,
            "type": "string"
          },
          {
            "name": "{attributeID}",
            "in": "query",
            "description": "{attributeID}={value}; {attributeID} = {dicomTag} | {dicomKeyword} | {dicomTag}.{attributeID} | {dicomKeyword}.{attributeID}",
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "multi"
          },
          {
            "name": "includefield",
            "in": "query",
            "description": "includefield={attributeID}",
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "multi"
          },
          {
            "name": "offset",
            "in": "query",
            "description": "offset={skippedResults}",
            "type": "integer",
            "default": 0
          },
          {
            "name": "limit",
            "in": "query",
            "description": "limit={maximumResults}",
            "type": "integer"
          }
        ],
        "responses": {
         "204": {
            "description": "no different study found"
          },
          "200": {
            "description": "different/missing studies found",
            "schema": {
              "type": "file"
            }
          },
          "default": {
            "description": "unexpected error"
          }
        }
      }
    }
}
@gunterze gunterze added this to the 5.10.3 milestone May 26, 2017
@gunterze gunterze self-assigned this May 26, 2017
@gunterze gunterze closed this as completed Jun 1, 2017
@gunterze gunterze changed the title RESTful service to compare studies in external archive RESTful service to compare studies in two archive Jun 1, 2017
gunterze added a commit to dcm4che-dockerfiles/slapd-dcm4chee that referenced this issue Jun 1, 2017
@gunterze gunterze added enhancement New feature or request and removed new feature labels Jan 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant