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 return number of different or missing studies in two archives #802

Closed
gunterze opened this issue Jun 20, 2017 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@gunterze
Copy link
Member

gunterze commented Jun 20, 2017

Related #730
swagger.json

{
    "/aets/{aet}/dimse/{externalAET}/diff/{originalAET}/studies/count": {
      "get": {
        "tags": [
          "DIMSE-RS",
          "DIFF-RS"
        ],
        "summary": "Count different Studies",
        "operationId": "CountDifferentStudies",
        "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": "externalAET",
            "in": "path",
            "description": "AE Title of C-FIND SCP to query for Studies",
            "required": true,
            "type": "string"
          },
          {
            "name": "originalAET",
            "in": "path",
            "description": "AE Title of second C-FIND SCP to query for Studies returned from externalAET",
            "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": "comparefield",
            "in": "query",
            "description": "comparefield={attributeID}",
            "type": "array",
            "items": {
              "type": "string"
            },
            "collectionFormat": "multi"
          },
          {
            "name": "fuzzymatching",
            "in": "query",
            "description": "fuzzy semantic matching of person names",
            "type": "boolean",
            "default": false
          }
        ],
        "responses": {
          "200": {
            "description": "successful operation",
            "schema": {
              "required": [
                "different",
                "missing"
              ],
              "properties": {
                "count": {
                  "title": "Number of different studies",
                  "type": "integer"
                },
                "missing": {
                  "title": "Number of missing studies",
                  "type": "integer"
                }
              }
            }
          },
          "404": {
            "description": "External AE Title not found"
          },
          "default": {
            "description": "unexpected error"
          }
        }
      }
    }
}
@gunterze gunterze added this to the 5.10.4 milestone Jun 20, 2017
@gunterze gunterze self-assigned this Jun 20, 2017
gunterze added a commit that referenced this issue Jun 20, 2017
gunterze added a commit that referenced this issue Jun 21, 2017
gunterze added a commit that referenced this issue Jul 4, 2017
…, 'missing'; return count of different and missing studies
@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